HomeSort by relevance Sort by last modified time
    Searched refs:locationManager (Results 1 - 9 of 9) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowLocationManagerTest.java 3 import static android.location.LocationManager.GPS_PROVIDER;
4 import static android.location.LocationManager.NETWORK_PROVIDER;
21 import android.location.LocationManager;
41 private LocationManager locationManager;
48 locationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
49 shadowLocationManager = shadowOf(locationManager);
55 assertFalse(locationManager.isLocationEnabled());
61 locationManager.setLocationEnabledForUser(true, Process.myUserHandle())
    [all...]
  /external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/ui/
HomeActivity.java 18 import android.location.LocationManager;
26 @Inject LocationManager locationManager;
33 Log.d("HomeActivity", locationManager.toString());
  /external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/
ApplicationComponent.java 19 import android.location.LocationManager;
34 LocationManager locationManager();
DemoApplication.java 19 import android.location.LocationManager;
27 @Inject LocationManager locationManager; // to illustrate injecting something into the app.
  /external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
HomeActivity.java 18 import android.location.LocationManager;
26 @Inject LocationManager locationManager;
  /external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/
DemoApplication.java 19 import android.location.LocationManager;
37 @Inject LocationManager locationManager; // for some reason.
46 component().inject(this); // As of now, LocationManager should be injected into this.
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/wifi/
TestListActivity.java 24 import android.location.LocationManager;
109 LocationManager locationManager =
110 (LocationManager) getSystemService(Context.LOCATION_SERVICE);
111 if (!mWifiManager.isWifiEnabled() || !locationManager.isLocationEnabled()) {
  /development/samples/training/location-aware/src/com/example/android/location/
LocationActivity.java 29 import android.location.LocationManager;
52 private LocationManager mLocationManager;
113 // Get a reference to the LocationManager object.
114 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
139 LocationManager locationManager =
140 (LocationManager) getSystemService(Context.LOCATION_SERVICE);
141 final boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
178 LocationManager.GPS_PROVIDER, R.string.not_support_gps)
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
ClientTest.java 53 import android.location.LocationManager;
    [all...]

Completed in 99 milliseconds