Home
last modified time | relevance | path

Searched refs:CarPackageManagerService (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DCarPackageManagerServiceUnitTest.java83 CarPackageManagerService mService;
103 super(CarPackageManagerService.TAG); in CarPackageManagerServiceUnitTest()
113 .spyStatic(CarPackageManagerService.class); in onSessionBuilder()
125 mService = new CarPackageManagerService(mSpiedContext, in setUp()
213 .when(() -> CarPackageManagerService.getTargetCarVersion(mUserContext, pkgName)); in testGetTargetCarVersion_ok()
227 .when(() -> CarPackageManagerService.getTargetCarVersion(mUserContext, pkgName)); in testGetTargetCarVersion_byUser()
244 .when(() -> CarPackageManagerService.getTargetCarVersion(mUserContext, pkgName)); in testGetTargetCarVersion_self_ok()
260 .when(() -> CarPackageManagerService.getTargetCarVersion(mUserContext, pkgName)); in testGetTargetCarVersion_self_wrongUid()
275 () -> CarPackageManagerService.getTargetCarVersion(mUserContext, null)); in testGetTargetCarVersion_static_null()
283 () -> CarPackageManagerService.getTargetCarVersion(mUserContext, "d.oh")); in testGetTargetCarVersion_static_noPermission()
[all …]
DCarSafetyAccessibilityServiceImplTest.java38 private CarPackageManagerService mMockCarPackageManagerService;
48 mockGetCarLocalService(CarPackageManagerService.class, mMockCarPackageManagerService); in setup()
DVendorServiceControllerTest.java132 private CarPackageManagerService mCarPackageManagerService;
/packages/services/Car/service/src/com/android/car/pm/
DCarSafetyAccessibilityServiceImpl.java33 CarPackageManagerService carPackageManagerService = in onAccessibilityEvent()
34 CarLocalServices.getService(CarPackageManagerService.class); in onAccessibilityEvent()
DCarAppMetadataReader.java97 if (CarPackageManagerService.DBG) { in findDistractionOptimizedActivitiesAsUser()
114 if (CarPackageManagerService.DBG) { in findDistractionOptimizedActivitiesAsUser()
181 if (CarPackageManagerService.DBG) { in isRegionSupported()
DAppBlockingPolicyProxy.java40 private final CarPackageManagerService mService;
70 public AppBlockingPolicyProxy(CarPackageManagerService service, Context context, in AppBlockingPolicyProxy()
DCarVersionParser.java21 import static com.android.car.pm.CarPackageManagerService.DBG;
DCarPackageManagerService.java137 public final class CarPackageManagerService extends ICarPackageManager.Stub class
141 static final String TAG = CarLog.tagFor(CarPackageManagerService.class);
270 public CarPackageManagerService(Context context, in CarPackageManagerService() method in CarPackageManagerService
1784 private static final String TAG = CarLog.tagFor(CarPackageManagerService.class);
1791 private final WeakReference<CarPackageManagerService> mService;
1793 private PackageHandler(Looper looper, CarPackageManagerService service) { in PackageHandler()
1795 mService = new WeakReference<CarPackageManagerService>(service); in PackageHandler()
1823 CarPackageManagerService service = mService.get(); in handleMessage()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java31 import com.android.car.pm.CarPackageManagerService;
45 private CarPackageManagerService mCarPmService;
52 mCarPmService = CarLocalServices.getService(CarPackageManagerService.class); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputRotaryServiceTest.java52 import com.android.car.pm.CarPackageManagerService;
93 @Mock private CarPackageManagerService mCarPackageManagerService;
/packages/services/Car/service/src/com/android/car/
DICarImpl.java88 import com.android.car.pm.CarPackageManagerService;
139 private final CarPackageManagerService mCarPackageManagerService;
263 mCarPackageManagerService = constructWithTrace(t, CarPackageManagerService.class, in ICarImpl()
264 () -> new CarPackageManagerService(mContext, mCarUXRestrictionsService, in ICarImpl()
DCarShellCommand.java146 import com.android.car.pm.CarPackageManagerService;
540 private final CarPackageManagerService mCarPackageManagerService;
569 mCarPackageManagerService = (CarPackageManagerService) allServicesByClazz.get( in CarShellCommand()
570 CarPackageManagerService.class); in CarShellCommand()
3480 CarLocalServices.getService(CarPackageManagerService.class).resetDrivingSafetyRegion(
4272 CarVersion Version = CarPackageManagerService.getTargetCarVersion(
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java133 import com.android.car.pm.CarPackageManagerService;
305 private final CarPackageManagerService mCarPackageManagerService;
346 @NonNull CarPackageManagerService carPackageManagerService, in CarUserService()
365 @NonNull CarPackageManagerService carPackageManagerService, in CarUserService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java117 import com.android.car.pm.CarPackageManagerService;
178 @Mock protected CarPackageManagerService mCarPackageManagerService;