Home
last modified time | relevance | path

Searched refs:CarPackageManager (Results 1 – 25 of 44) sorted by relevance

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPackageManagerTest.java23 import android.car.content.pm.CarPackageManager;
44 private CarPackageManager mCarPm;
50 mCarPm = (CarPackageManager) getCar().getCarManager(Car.PACKAGE_SERVICE); in init()
99 CarPackageManager.FLAG_SET_POLICY_WAIT_FOR_CHANGE); in testSettingAllowlist()
112 CarPackageManager.FLAG_SET_POLICY_WAIT_FOR_CHANGE); in testSettingAllowlist()
126 CarPackageManager.FLAG_SET_POLICY_WAIT_FOR_CHANGE | in testSettingAllowlist()
127 CarPackageManager.FLAG_SET_POLICY_ADD); in testSettingAllowlist()
141 CarPackageManager.FLAG_SET_POLICY_WAIT_FOR_CHANGE | in testSettingAllowlist()
142 CarPackageManager.FLAG_SET_POLICY_REMOVE); in testSettingAllowlist()
/packages/services/Car/service/src/com/android/car/pm/
DCarAppMetadataReader.java18 import static android.car.content.pm.CarPackageManager.DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS;
25 import android.car.content.pm.CarPackageManager;
60 CarPackageManager.DRIVING_SAFETY_REGION_ALL);
109 CarPackageManager.DRIVING_SAFETY_REGION_ALL); in findDistractionOptimizedActivitiesAsUser()
152 CarPackageManager.DRIVING_SAFETY_REGION_ALL); in getSupportedDrivingSafetyRegionsForActivityAsUser()
155 if (CarPackageManager.DRIVING_SAFETY_REGION_ALL.equals(region)) { in getSupportedDrivingSafetyRegionsForActivityAsUser()
168 if (currentRegion.equals(CarPackageManager.DRIVING_SAFETY_REGION_ALL)) { in isRegionSupported()
173 if (CarPackageManager.DRIVING_SAFETY_REGION_ALL.equals(region)) { in isRegionSupported()
DCarPackageManagerService.java21 import static android.car.content.pm.CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME;
22 import static android.car.content.pm.CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID;
23 import static android.car.content.pm.CarPackageManager.BLOCKING_INTENT_EXTRA_DISPLAY_ID;
24 import static android.car.content.pm.CarPackageManager.BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO;
25 import static android.car.content.pm.CarPackageManager.BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME;
52 import android.car.content.pm.CarPackageManager;
202 private String mCurrentDrivingSafetyRegion = CarPackageManager.DRIVING_SAFETY_REGION_ALL;
344 throw new ServiceSpecificException(CarPackageManager.ERROR_CODE_NO_PACKAGE, in controlOneTimeActivityBlockingBypassingAsUser()
377 throw new ServiceSpecificException(CarPackageManager.ERROR_CODE_NO_PACKAGE, in getSupportedDrivingSafetyRegionsForActivityAsUser()
409 if ((flags & CarPackageManager.FLAG_SET_POLICY_ADD) != 0 && in doSetAppBlockingPolicy()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DDrivingSafetyRegionTest.java28 import android.car.content.pm.CarPackageManager;
48 private CarPackageManager mCarPackageManager;
55 mCarPackageManager = (CarPackageManager) getCar().getCarManager(Car.PACKAGE_SERVICE); in setUp()
91 assertThat(regions).containsExactly(CarPackageManager.DRIVING_SAFETY_REGION_ALL); in doTestAllRegions()
143 setDrivingSafetyRegion(CarPackageManager.DRIVING_SAFETY_REGION_ALL); in testOneRegionOnly()
173 setDrivingSafetyRegion(CarPackageManager.DRIVING_SAFETY_REGION_ALL); in testTwoRegionsOnly()
205 setDrivingSafetyRegion(CarPackageManager.DRIVING_SAFETY_REGION_ALL); in doTestRegionOnlyOrNoRegionCase()
269 CarPackageManager.DRIVING_SAFETY_REGION_ALL); in testResetEmptyRegion()
DCarPackageManagerTest.java26 import android.car.content.pm.CarPackageManager;
39 private CarPackageManager mCarPackageManager;
43 mCarPackageManager = (CarPackageManager) getCar().getCarManager(Car.PACKAGE_SERVICE); in setFixtures()
DCarGetCarManagerTest.java31 import android.car.content.pm.CarPackageManager;
87 {CarPackageManager.class, Car.PACKAGE_SERVICE}, in inputParameters()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DActivityBlockingActivity.java24 import android.car.content.pm.CarPackageManager;
81 private CarPackageManager mCarPackageManager;
111 private final CarPackageManager.BlockingUiCommandListener mBlockingUiCommandListener = () -> {
137 mCarPackageManager = (CarPackageManager) car.getCarManager( in onCreate()
160 CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME); in onCreate()
197 CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID, in onResume()
202 CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME); in onResume()
298 CarPackageManager.BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO, false); in isExitOptionCloseApplication()
360 CarPackageManager.BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME); in displayDebugInfo()
362 CarPackageManager.BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME); in displayDebugInfo()
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/
DUXRestrictionsDataSourceImplTest.kt19 import android.car.content.pm.CarPackageManager
85 mock(CarPackageManager::class.java), in requiresDistractionOptimization_sendsRequired()
112 mock(CarPackageManager::class.java), in <lambda>()
139 mock(CarPackageManager::class.java), in <lambda>()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/content/pm/
DCarPackageManagerUnitTest.java67 private CarPackageManager.BlockingUiCommandListener mBlockingUiCommandListener;
69 private CarPackageManager mMgr;
73 mMgr = new CarPackageManager(mCar, mService); in setFixtures()
130 .thenThrow(new ServiceSpecificException(CarPackageManager.ERROR_CODE_NO_PACKAGE, in testGetTargetCarVersion_serviceException_notFound()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DNonDODisabledTaskProvider.java20 import android.car.content.pm.CarPackageManager;
45 private final CarPackageManager mCarPackageManager;
61 mCarPackageManager = (CarPackageManager) mCar.getCarManager(Car.PACKAGE_SERVICE); in NonDODisabledTaskProvider()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/panel/
DGripBarView.java24 import android.car.content.pm.CarPackageManager;
45 private CarPackageManager mCarPackageManager = null;
81 mCarPackageManager = car.getCarManager(CarPackageManager.class); in initView()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/displaycompat/
DToolbarControllerImpl.java26 import android.car.content.pm.CarPackageManager;
64 private CarPackageManager mCarPackageManager;
69 mCarPackageManager = car.getCarManager(CarPackageManager.class);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java21 import android.car.content.pm.CarPackageManager;
63 private CarPackageManager mCarPm;
93 mCarPm = (CarPackageManager) car.getCarManager(Car.PACKAGE_SERVICE); in onStart()
/packages/services/Car/car-lib/src/android/car/content/pm/
DCarPackageManager.java62 public final class CarPackageManager extends CarManagerBase { class
64 private static final String TAG = CarPackageManager.class.getSimpleName();
218 public CarPackageManager(ICarBase car, IBinder service) { in CarPackageManager() method in CarPackageManager
224 public CarPackageManager(ICarBase car, ICarPackageManager service) { in CarPackageManager() method in CarPackageManager
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/
DUXRestrictionDataSource.kt19 import android.car.content.pm.CarPackageManager in <lambda>()
64 private val carPackageManager: CarPackageManager,
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java25 import android.car.content.pm.CarPackageManager;
63 private CarPackageManager mCarPackageManager;
126 mCarPackageManager = (CarPackageManager) mCar.getCarManager( in onCreate()
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/
DNonDODisabledTaskProviderTest.java26 import android.car.content.pm.CarPackageManager;
57 private CarPackageManager mCarPackageManager;
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt202 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME
203 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID
204 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME
205 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO
206 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_DISPLAY_ID
207 android.car.content.pm CarPackageManager String DRIVING_SAFETY_REGION_ALL
208 android.car.content.pm CarPackageManager String DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS
209 android.car.content.pm CarPackageManager int ERROR_CODE_NO_PACKAGE
210 android.car.content.pm CarPackageManager CarPackageManager CarPackageManager(Car car, IBinder servi…
211 android.car.content.pm CarPackageManager CarPackageManager CarPackageManager(Car car, ICarPackageMa…
[all …]
Dcar_hidden_apis.txt255 android.car.content.pm CarPackageManager List<String> getSupportedDrivingSafetyRegionsForActivityAs…
256 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME
257 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID
258 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_DISPLAY_ID
259 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO
260 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME
261 android.car.content.pm CarPackageManager String DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS
262 android.car.content.pm CarPackageManager String DRIVING_SAFETY_REGION_ALL
263 android.car.content.pm CarPackageManager String getCurrentDrivingSafetyRegion()
264 android.car.content.pm CarPackageManager int ERROR_CODE_NO_PACKAGE
[all …]
Dcar_hidden_apis_release_33.2.txt183 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME
184 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID
185 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME
186 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO
187 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_DISPLAY_ID
188 android.car.content.pm CarPackageManager String DRIVING_SAFETY_REGION_ALL
189 android.car.content.pm CarPackageManager String DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS
190 android.car.content.pm CarPackageManager int ERROR_CODE_NO_PACKAGE
191 android.car.content.pm CarPackageManager void onCarDisconnected()
192 android.car.content.pm CarPackageManager void restartTask(int taskId)
[all …]
Dcar_hidden_apis_release_33.1.txt183 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_ACTIVITY_NAME
184 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_BLOCKED_TASK_ID
185 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_ROOT_ACTIVITY_NAME
186 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_IS_ROOT_ACTIVITY_DO
187 android.car.content.pm CarPackageManager String BLOCKING_INTENT_EXTRA_DISPLAY_ID
188 android.car.content.pm CarPackageManager String DRIVING_SAFETY_REGION_ALL
189 android.car.content.pm CarPackageManager String DRIVING_SAFETY_ACTIVITY_METADATA_REGIONS
190 android.car.content.pm CarPackageManager int ERROR_CODE_NO_PACKAGE
191 android.car.content.pm CarPackageManager void onCarDisconnected()
192 android.car.content.pm CarPackageManager void restartTask(int taskId)
[all …]
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DDockViewModel.kt21 import android.car.content.pm.CarPackageManager in <lambda>()
53 private var carPackageManager: CarPackageManager? = null, in <lambda>()
259 fun setCarPackageManager(carPackageManager: CarPackageManager) { in <lambda>()
DDockViewController.kt22 import android.car.content.pm.CarPackageManager in <lambda>()
129 car.getCarManager(CarPackageManager::class.java)?.let { carPM -> in <lambda>()
/packages/services/Car/tests/carservice_test/src/com/android/car/pm/
DCarPackageManagerServiceTest.java33 import android.car.content.pm.CarPackageManager;
77 private CarPackageManager mCarPackageManager;
89 mCarPackageManager = (CarPackageManager) in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DCarVersionParserTest.java19 import static android.car.content.pm.CarPackageManager.MANIFEST_METADATA_TARGET_CAR_VERSION;

12