Home
last modified time | relevance | path

Searched refs:mTestProvider (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/location/
DGnssNavigationMessageProviderTest.java29 private GnssNavigationMessageProvider mTestProvider; field in GnssNavigationMessageProviderTest
37 mTestProvider = new GnssNavigationMessageProvider(RuntimeEnvironment.application, in setUp()
48 mTestProvider.registerWithService(); in register_nativeStarted()
54 mTestProvider.registerWithService(); in unregister_nativeStopped()
55 mTestProvider.unregisterFromService(); in unregister_nativeStopped()
62 assertThat(mTestProvider.isAvailableInPlatform()).isTrue(); in isSupported_nativeIsSupported()
65 assertThat(mTestProvider.isAvailableInPlatform()).isFalse(); in isSupported_nativeIsSupported()
70 mTestProvider.registerWithService(); in register_resume_started()
71 mTestProvider.resumeIfStarted(); in register_resume_started()
77 mTestProvider.registerWithService(); in unregister_resume_notStarted()
[all …]
DGnssMeasurementsProviderTest.java30 private GnssMeasurementsProvider mTestProvider; field in GnssMeasurementsProviderTest
38 mTestProvider = new GnssMeasurementsProvider(RuntimeEnvironment.application, in setUp()
49 mTestProvider.registerWithService(); in register_nativeStarted()
55 mTestProvider.registerWithService(); in unregister_nativeStopped()
56 mTestProvider.unregisterFromService(); in unregister_nativeStopped()
63 assertThat(mTestProvider.isAvailableInPlatform()).isTrue(); in isSupported_nativeIsSupported()
66 assertThat(mTestProvider.isAvailableInPlatform()).isFalse(); in isSupported_nativeIsSupported()
71 mTestProvider.registerWithService(); in register_resume_started()
72 mTestProvider.resumeIfStarted(); in register_resume_started()
78 mTestProvider.registerWithService(); in unregister_resume_notStarted()
[all …]
DGnssBatchingProviderTest.java35 private GnssBatchingProvider mTestProvider; field in GnssBatchingProviderTest
44 mTestProvider = new GnssBatchingProvider(mMockNative); in setUp()
45 mTestProvider.enable(); in setUp()
46 mTestProvider.start(PERIOD_NANOS, WAKE_ON_FIFO_FULL); in setUp()
56 mTestProvider.stop(); in stop_nativeStopped()
62 mTestProvider.flush(); in flush_nativeFlushed()
68 assertThat(mTestProvider.getBatchSize()).isEqualTo(BATCH_SIZE); in getBatchSize_nativeGetBatchSize()
73 mTestProvider.resumeIfStarted(); in started_resume_started()
79 mTestProvider.stop(); in stopped_resume_notStarted()
80 mTestProvider.resumeIfStarted(); in stopped_resume_notStarted()
DGnssGeofenceProviderTest.java36 private GnssGeofenceProvider mTestProvider; field in GnssGeofenceProviderTest
46 mTestProvider = new GnssGeofenceProvider(mMockNative); in setUp()
47 mTestProvider.addCircularHardwareGeofence(GEOFENCE_ID, LATITUDE, in setUp()
63 mTestProvider.pauseHardwareGeofence(GEOFENCE_ID); in pauseGeofence_nativePaused()
69 mTestProvider.removeHardwareGeofence(GEOFENCE_ID); in removeGeofence_nativeRemoved()
75 mTestProvider.pauseHardwareGeofence(GEOFENCE_ID); in resumeGeofence_nativeResumed()
76 mTestProvider.resumeHardwareGeofence(GEOFENCE_ID, MONITOR_TRANSITIONS); in resumeGeofence_nativeResumed()
82 mTestProvider.resumeIfStarted(); in addGeofence_restart_added()
92 mTestProvider.removeHardwareGeofence(GEOFENCE_ID); in removeGeofence_restart_notAdded()
93 mTestProvider.resumeIfStarted(); in removeGeofence_restart_notAdded()
[all …]