Home
last modified time | relevance | path

Searched refs:testService (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManagerTest.java92 private static final ComponentName testService = new ComponentName( field in HostNfcFEmulationManagerTest
128 manager.onEnabledForegroundNfcFServiceChanged(USER_ID, testService); in testOnEnabledForegroundNfcFServiceChangedWithNonNullService()
131 assertThat(manager.mEnabledFgServiceName).isEqualTo(testService); in testOnEnabledForegroundNfcFServiceChangedWithNonNullService()
170 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithDisabledResolvedServiceFromActiveService_ReturnsEarly()
183 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithEnabledResolvedServiceFromCache_BindToService()
184 manager.mEnabledFgServiceName = testService; in testOnHostEmulationDataWithEnabledResolvedServiceFromCache_BindToService()
186 manager.mServiceName = testService; in testOnHostEmulationDataWithEnabledResolvedServiceFromCache_BindToService()
200 manager.mActiveServiceName = testService; in testOnHostEmulationDataWithValidExistingService_BindToService()
201 manager.mEnabledFgServiceName = testService; in testOnHostEmulationDataWithValidExistingService_BindToService()
204 manager.mServiceName = testService; in testOnHostEmulationDataWithValidExistingService_BindToService()
[all …]
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkContextUnitTest.java179 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testGetSystemService_notRegistered_delegatesToBaseContext() local
180 TestContext testContext = new TestContext(testService); in testGetSystemService_notRegistered_delegatesToBaseContext()
199 assertThat(sandboxedSdkContext.getSystemService("ignored")).isSameInstanceAs(testService); in testGetSystemService_notRegistered_delegatesToBaseContext()
204 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testGetSystemService_registered_mutatesService() local
205 TestContext testContext = new TestContext(testService); in testGetSystemService_registered_mutatesService()
281 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testCreateContextWithNewBase() local
282 TestContext baseContext = new TestContext(testService); in testCreateContextWithNewBase()
294 Context newBaseContext = new TestContext(testService); in testCreateContextWithNewBase()
/packages/modules/Virtualization/tests/testapk/src/native/
Dtestbinary.cpp343 auto testService = ndk::SharedRefBase::make<TestService>(); in start_test_service() local
346 AVmPayload_runVsockRpcServer(testService->asBinder().get(), testService->PORT, callback, in start_test_service()
/packages/modules/Virtualization/tests/vmshareapp/src/java/com/android/microdroid/test/sharevm/
DVmShareServiceImpl.java151 ITestService testService = in startVm() local
154 return new RemoteTestServiceDelegate(testService); in startVm()
/packages/modules/Virtualization/demo/java/com/android/microdroid/demo/
DMainActivity.java201 ITestService testService = ITestService.Stub.asInterface(binder); in run()
202 int ret = testService.addInteger(123, 456); in run()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java1208 ITestService testService = in launchVmAndGetCdis()
1211 vmCdis.cdiAttest = testService.insecurelyExposeAttestationCdi(); in launchVmAndGetCdis()
1212 vmCdis.instanceSecret = testService.insecurelyExposeVmInstanceSecret(); in launchVmAndGetCdis()
1838 (testService, ts) -> { in canReadFileFromAssets_debugFull()
1839 ts.mFileContent = testService.readFromFile("/mnt/apk/assets/file.txt"); in canReadFileFromAssets_debugFull()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java678 void runTests(ITestService testService, TestResults testResults) throws Exception; in runTests() argument