Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DMockedCarTestBase.java118 private MockedCarTestContext mMockedCarTestContext;
291 protected MockedCarTestContext createMockedCarTestContext(Context context) { in createMockedCarTestContext()
292 return new MockedCarTestContext(context); in createMockedCarTestContext()
329 mMockedCarTestContext = (MockedCarTestContext) getContext(); in setUp()
723 protected static class MockedCarTestContext extends ContextWrapper { class in MockedCarTestBase
728 protected MockedCarTestContext(Context base) { in MockedCarTestContext() method in MockedCarTestBase.MockedCarTestContext
DCarPropertyManagerTest.java572 ((MockedCarTestContext) getContext()).setDeniedPermissions( in testSubscribePropertyEvents_noReadOrWritePermission()
589 ((MockedCarTestContext) getContext()).setDeniedPermissions( in testSubscribePropertyEvents_onlyWritePermission()
615 ((MockedCarTestContext) getContext()).setDeniedPermissions( in testSubscribePropertyEvents_unsupportedProperty_noPermission()
631 ((MockedCarTestContext) getContext()).setDeniedPermissions( in testRegisterCallback_noReadOrWritePermission()
660 ((MockedCarTestContext) getContext()).setDeniedPermissions( in testRegisterCallback_onlyWritePermission()
DCarStorageMonitoringTest.java312 protected MockedCarTestContext createMockedCarTestContext(Context context) { in createMockedCarTestContext()
783 private static final class CarStorageMonitoringTestContext extends MockedCarTestContext {
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java145 private final class MyMockedCarTestContext extends MockedCarTestContext {
218 protected MockedCarTestContext createMockedCarTestContext(Context context) { in createMockedCarTestContext()