/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/ |
D | MeasurementCompatibleManagerTest.java | 125 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_callingApp_expectedAttributionSource() local 168 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_adIdEnabled_register() local 207 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_adIdZeroOut_register() local 245 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_adIdDisabled_register() local 284 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_adIdTimeOut_register() local 362 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterSource_callingSdk_expectedAttributionSource() local 428 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterWebSource_callingApp_expectedAttributionSource() local 455 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterWebSource_callingSdk_expectedAttributionSource() local 506 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterWebSource_adIdEnabled_register() local 544 IMeasurementService mockService = mock(IMeasurementService.class); in testRegisterWebSource_adIdZeroOut_register() local [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | PbapClientServiceTest.java | 236 PbapClientService mockService = mock(PbapClientService.class); in binder_connect_callsServiceMethod() local 247 PbapClientService mockService = mock(PbapClientService.class); in binder_disconnect_callsServiceMethod() local 258 PbapClientService mockService = mock(PbapClientService.class); in binder_getConnectedDevices_callsServiceMethod() local 269 PbapClientService mockService = mock(PbapClientService.class); in binder_getDevicesMatchingConnectionStates_callsServiceMethod() local 281 PbapClientService mockService = mock(PbapClientService.class); in binder_getConnectionState_callsServiceMethod() local 292 PbapClientService mockService = mock(PbapClientService.class); in binder_setConnectionPolicy_callsServiceMethod() local 304 PbapClientService mockService = mock(PbapClientService.class); in binder_getConnectionPolicy_callsServiceMethod() local 315 PbapClientService mockService = mock(PbapClientService.class); in binder_cleanUp_doesNotCrash() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/sim/receivers/ |
D | SimSlotChangeServiceTest.java | 57 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in SimSlotChangeServiceTest
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | TestingSettingsTest.java | 63 private <T> void mockService(Context context, String serviceName, in mockService() method in TestingSettingsTest
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogProcessServiceTest.cpp | 465 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local 489 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local 575 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local 613 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local 633 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local 666 std::shared_ptr<MockCarWatchdogServiceForSystem> mockService = in TEST_F() local
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | ListAdapterTest.java | 57 private ApduServiceInfo mockService; field in ListAdapterTest
|
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/ |
D | AppSearchMaintenanceServiceTest.java | 138 AppSearchManagerService.LocalService mockService = Mockito.mock( in testDoFullPersistForUser_onEncounteringException_failsGracefully() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/ |
D | SlotSimStatusTest.java | 162 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in SlotSimStatusTest
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | ContextUtils.kt | 64 fun <T> mockService(context: Context, clazz: Class<T>, name: String, service: T) { in mockService() method
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/platform/ |
D | FakeUserManager.kt | 232 fun mockService(): IUserManager { in mockService() method
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/ |
D | TaskbarNavButtonControllerTest.java | 53 TouchInteractionService mockService; field in TaskbarNavButtonControllerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoPreferenceControllerTest.java | 231 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in ImeiInfoPreferenceControllerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/simstatus/ |
D | SimStatusPreferenceControllerTest.java | 213 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in SimStatusPreferenceControllerTest
|
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerMaintenanceTest.java | 279 AppsIndexerManagerService.LocalService mockService = in testDoUpdateForUser_onEncounteringException_failsGracefully() local
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactsIndexerMaintenanceTest.java | 275 ContactsIndexerManagerService.LocalService mockService = Mockito.mock( in testDoFullUpdateForUser_onEncounteringException_failsGracefully() local
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 123 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in MultipathPolicyTrackerTest
|
D | SatelliteAccessControllerTest.kt | 92 private fun <T> mockService(name: String, clazz: Class<T>, service: T) { in mockService() method in com.android.server.connectivity.SatelliteAccessControllerTest
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 122 Context ctx, String serviceName, Class<T> serviceClass, T mockService) { in mockGetSystemService()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SandboxedSdkContextUnitTest.java | 305 private TestContext(TestService mockService) { in TestContext()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | ConnectivityManagerTest.java | 519 private <T> void mockService(Class<T> clazz, String name, T service) { in mockService() method in ConnectivityManagerTest
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 296 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in EntitlementManagerTest
|
D | TetheringConfigurationTest.java | 506 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in TetheringConfigurationTest
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 3817 ServiceState mockService = Mockito.mock(ServiceState.class); in testIsAvailableForEmergencyCallsForEmergencyRoutingInEmergencyOnly() local 3836 ServiceState mockService = Mockito.mock(ServiceState.class); in testIsAvailableForEmergencyCallsForEmergencyRoutingInService() local 3859 ServiceState mockService = Mockito.mock(ServiceState.class); in testGetPhoneForNormalRoutedEmergencyCallWhenCarrierDoesntSupport() local 3879 ServiceState mockService = Mockito.mock(ServiceState.class); in testGetPhoneForNormalRoutedEmergencyCallWhenCarrierDoesSupport() local
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 196 <T> void mockGetSystemService(String serviceName, Class<T> serviceClass, T mockService) { in mockGetSystemService()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
D | NetworkStackNotifierTest.kt | 189 private fun <T : Any> Context.mockService(name: String, clazz: KClass<T>, service: T) { in mockService() method in com.android.networkstack.NetworkStackNotifierTest
|