Searched refs:TestService (Results 1 – 7 of 7) sorted by relevance
179 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testGetSystemService_notRegistered_delegatesToBaseContext()204 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testGetSystemService_registered_mutatesService()215 "service", (service, ctx) -> (((TestService) service)).initialize(ctx)); in testGetSystemService_registered_mutatesService()226 TestService service = (TestService) sandboxedSdkContext.getSystemService("service"); in testGetSystemService_registered_mutatesService()281 TestService testService = new TestService(InstrumentationRegistry.getContext()); in testCreateContextWithNewBase()303 private final TestService mMockService;305 private TestContext(TestService mockService) { in TestContext()315 private static class TestService { class in SandboxedSdkContextUnitTest320 private TestService(Context ctx) { in TestService() method in SandboxedSdkContextUnitTest.TestService324 public TestService initialize(Context ctx) { in initialize()
42 public static final class TestService extends Service { class in CarProjectionManagerTest87 InstrumentationRegistry.getInstrumentation().getContext(), TestService.class); in testRegisterProjectionRunner()88 assertThat(TestService.isBound()).isFalse(); in testRegisterProjectionRunner()90 synchronized (TestService.mLock) { in testRegisterProjectionRunner()92 TestService.mLock.wait(1000); in testRegisterProjectionRunner()97 assertThat(TestService.isBound()).isTrue(); in testRegisterProjectionRunner()
54 private TestService mTestService;60 when(mPackageManager.resolveActivity(TestService.BROWSER_INTENT, in setUp()62 mTestService = spy(new TestService()); in setUp()98 private class TestService extends SettingsDumpService { class in SettingsDumpServiceTest
54 IOnDevicePersonalizationManagingService.Stub.asInterface(new TestService()));132 class TestService extends IOnDevicePersonalizationManagingService.Stub { class in OnDevicePersonalizationSystemEventManagerTest
66 IOnDevicePersonalizationManagingService.Stub.asInterface(new TestService()));231 class TestService extends IOnDevicePersonalizationManagingService.Stub { class in OnDevicePersonalizationManagerTest
61 private final TestService mTestService = new TestService();730 class TestService extends IsolatedService { class in IsolatedServiceTest
168 class TestService : public BnTestService { in start_test_service() class343 auto testService = ndk::SharedRefBase::make<TestService>(); in start_test_service()