Searched refs:createLocationResult (Results 1 – 3 of 3) sorted by relevance
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
H A D | LocationUtils.java | 43 public static LocationResult createLocationResult(String provider, Random random) { in createLocationResult() method in LocationUtils 47 public static LocationResult createLocationResult(String provider, Random random, in createLocationResult() method in LocationUtils 67 public static LocationResult createLocationResult(String provider, double latitude, in createLocationResult() method in LocationUtils
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
H A D | StationaryThrottlingLocationProviderTest.java | 20 import static com.android.server.location.LocationUtils.createLocationResult; 97 mDelegateProvider.reportLocation(createLocationResult("test_provider", mRandom)); in testThrottle_lowInterval() 112 mDelegateProvider.reportLocation(createLocationResult("test_provider", mRandom)); in testThrottle_stationaryExit() 134 mDelegateProvider.reportLocation(createLocationResult("test_provider", mRandom)); in testThrottle_idleExit() 160 mDelegateProvider.reportLocation(createLocationResult("test_provider", mRandom)); in testThrottle_NoInitialLocation() 212 LocationResult loc = createLocationResult("test_provider", mRandom); in testNoThrottle_locationSettingsIgnored()
|
H A D | LocationProviderManagerTest.java | 34 import static com.android.server.location.LocationUtils.createLocationResult; 462 LocationResult loc = createLocationResult(NAME, mRandom); in testPassive_Listener() 485 LocationResult loc = createLocationResult(NAME, mRandom); in testRegisterListener() 491 loc = createLocationResult(NAME, mRandom); in testRegisterListener() 501 loc = createLocationResult(NAME, mRandom); in testRegisterListener() 509 loc = createLocationResult(NAME, mRandom); in testRegisterListener() 526 LocationResult loc = createLocationResult(NAME, mRandom); in testRegisterListener_SameProcess() 607 mProvider.setProviderLocation(createLocationResult(NAME, mRandom)); in testRegisterListener_InvisibleUser() 612 LocationResult loc = createLocationResult(NAME, mRandom); in testRegisterListener_InvisibleUser() 869 LocationResult loc = createLocationResult(NAME, mRandom); in testFlush()
|