Home
last modified time | relevance | path

Searched refs:mockContextGetService (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
H A DCarUserNoticeServiceTest.java19 import static android.car.test.mocks.AndroidMockitoHelper.mockContextGetService;
131 mockContextGetService(mMockContext, PowerManager.class, mMockPowerManager); in setUpMocks()
132 mockContextGetService(mMockContext, AppOpsManager.class, mMockAppOpsManager); in setUpMocks()
133 mockContextGetService(mMockContext, PackageManager.class, mMockPackageManager); in setUpMocks()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
H A DAndroidMockitoHelperTest.java21 import static android.car.test.mocks.AndroidMockitoHelper.mockContextGetService;
226 mockContextGetService(context, Service.class, someService); in testMockContextGetService()
236 mockContextGetService(context, PackageManager.class, packageManager); in testMockContextGetService_PackageManager()
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/mocks/
H A DAndroidMockitoHelper.java261 public static <T> void mockContextGetService(@NonNull Context context, in mockContextGetService() method in AndroidMockitoHelper