Search in sources :

Example 21 with LocationProvider

use of android.location.LocationProvider in project android_frameworks_base by AOSPA.

the class LocationManagerTest method testGetNetworkProvider.

public void testGetNetworkProvider() {
    LocationProvider p = manager.getProvider("network");
    assertNotNull(p);
}
Also used : LocationProvider(android.location.LocationProvider)

Example 22 with LocationProvider

use of android.location.LocationProvider in project android_frameworks_base by ResurrectionRemix.

the class LocationManagerTest method testGetBogusProvider.

public void testGetBogusProvider() {
    LocationProvider p = manager.getProvider("bogus");
    assertNull(p);
}
Also used : LocationProvider(android.location.LocationProvider)

Example 23 with LocationProvider

use of android.location.LocationProvider in project android_frameworks_base by DirtyUnicorns.

the class LocationManagerTest method testGetBogusProvider.

public void testGetBogusProvider() {
    LocationProvider p = manager.getProvider("bogus");
    assertNull(p);
}
Also used : LocationProvider(android.location.LocationProvider)

Example 24 with LocationProvider

use of android.location.LocationProvider in project android_frameworks_base by crdroidandroid.

the class LocationManagerTest method testGetBogusProvider.

public void testGetBogusProvider() {
    LocationProvider p = manager.getProvider("bogus");
    assertNull(p);
}
Also used : LocationProvider(android.location.LocationProvider)

Example 25 with LocationProvider

use of android.location.LocationProvider in project android_frameworks_base by crdroidandroid.

the class LocationManagerTest method testGetNetworkProvider.

public void testGetNetworkProvider() {
    LocationProvider p = manager.getProvider("network");
    assertNotNull(p);
}
Also used : LocationProvider(android.location.LocationProvider)

Aggregations

LocationProvider (android.location.LocationProvider)27 Intent (android.content.Intent)1 SharedPreferences (android.content.SharedPreferences)1 AnimationDrawable (android.graphics.drawable.AnimationDrawable)1 Criteria (android.location.Criteria)1 Location (android.location.Location)1 LocationManager (android.location.LocationManager)1 Looper (android.os.Looper)1 IOException (java.io.IOException)1