Home
last modified time | relevance | path

Searched defs:mockService (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java125 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/
DPbapClientServiceTest.java236 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/
DSimSlotChangeServiceTest.java57 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/
DTestingSettingsTest.java63 private <T> void mockService(Context context, String serviceName, in mockService() method in TestingSettingsTest
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp465 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/
DListAdapterTest.java57 private ApduServiceInfo mockService; field in ListAdapterTest
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchMaintenanceServiceTest.java138 AppSearchManagerService.LocalService mockService = Mockito.mock( in testDoFullPersistForUser_onEncounteringException_failsGracefully() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/
DSlotSimStatusTest.java162 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/
DContextUtils.kt64 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/
DFakeUserManager.kt232 fun mockService(): IUserManager { in mockService() method
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/
DTaskbarNavButtonControllerTest.java53 TouchInteractionService mockService; field in TaskbarNavButtonControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/imei/
DImeiInfoPreferenceControllerTest.java231 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/
DSimStatusPreferenceControllerTest.java213 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/
DAppsIndexerMaintenanceTest.java279 AppsIndexerManagerService.LocalService mockService = in testDoUpdateForUser_onEncounteringException_failsGracefully() local
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerMaintenanceTest.java275 ContactsIndexerManagerService.LocalService mockService = Mockito.mock( in testDoFullUpdateForUser_onEncounteringException_failsGracefully() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java123 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in MultipathPolicyTrackerTest
DSatelliteAccessControllerTest.kt92 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/
DTestUtils.java122 Context ctx, String serviceName, Class<T> serviceClass, T mockService) { in mockGetSystemService()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkContextUnitTest.java305 private TestContext(TestService mockService) { in TestContext()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java519 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/
DEntitlementManagerTest.java296 private <T> void mockService(String serviceName, Class<T> serviceClass, T service) { in mockService() method in EntitlementManagerTest
DTetheringConfigurationTest.java506 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/
DTelephonyConnectionServiceTest.java3817 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/
DAdapterServiceTest.java196 <T> void mockGetSystemService(String serviceName, Class<T> serviceClass, T mockService) { in mockGetSystemService()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt189 private fun <T : Any> Context.mockService(name: String, clazz: KClass<T>, service: T) { in mockService() method in com.android.networkstack.NetworkStackNotifierTest

12