Searched refs:assertPermission (Results 1 - 5 of 5) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
H A DActionHandlerTest.java206 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, false);
207 assertPermission(result, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false);
208 assertPermission(result, Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION, false);
209 assertPermission(result, Intent.FLAG_GRANT_PREFIX_URI_PERMISSION, false);
232 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, true);
233 assertPermission(result, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, true);
234 assertPermission(result, Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION, true);
235 assertPermission(result, Intent.FLAG_GRANT_PREFIX_URI_PERMISSION, true);
262 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, true);
263 assertPermission(resul
470 private void assertPermission(Intent intent, int permission, boolean granted) { method in class:ActionHandlerTest
[all...]
/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java224 assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE);
257 assertPermission(context, Car.PERMISSION_MOCK_VEHICLE_HAL);
261 assertPermission(context, Car.PERMISSION_CAR_CABIN);
265 assertPermission(context, Car.PERMISSION_CAR_NAVIGATION_MANAGER);
269 assertPermission(context, Car.PERMISSION_CAR_HVAC);
273 assertPermission(context, Car.PERMISSION_CAR_RADIO);
277 assertPermission(context, Car.PERMISSION_CAR_PROJECTION);
281 assertPermission(context, Car.PERMISSION_VENDOR_EXTENSION);
293 assertPermission(context, Car.PERMISSION_VMS_PUBLISHER);
298 assertPermission(contex
301 public static void assertPermission(Context context, String permission) { method in class:ICarImpl
[all...]
H A DCarTestService.java70 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE);
91 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE);
H A DCarPropertyServiceBase.java111 ICarImpl.assertPermission(mContext, mPermission);
147 ICarImpl.assertPermission(mContext, mPermission);
179 ICarImpl.assertPermission(mContext, mPermission);
185 ICarImpl.assertPermission(mContext, mPermission);
191 ICarImpl.assertPermission(mContext, mPermission);
H A DVmsSubscriberService.java126 ICarImpl.assertPermission(mContext, PERMISSION);
162 ICarImpl.assertPermission(mContext, PERMISSION);

Completed in 1597 milliseconds