Searched refs:MockedCarTestContext (Results 1 – 4 of 4) sorted by relevance
118 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 MockedCarTestBase728 protected MockedCarTestContext(Context base) { in MockedCarTestContext() method in MockedCarTestBase.MockedCarTestContext
572 ((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()
312 protected MockedCarTestContext createMockedCarTestContext(Context context) { in createMockedCarTestContext()783 private static final class CarStorageMonitoringTestContext extends MockedCarTestContext {
145 private final class MyMockedCarTestContext extends MockedCarTestContext {218 protected MockedCarTestContext createMockedCarTestContext(Context context) { in createMockedCarTestContext()