/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 277 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, false); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 278 assertPermission(result, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, false); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 279 assertPermission(result, Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION, false); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 280 assertPermission(result, Intent.FLAG_GRANT_PREFIX_URI_PERMISSION, false); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 305 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, true); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 306 assertPermission(result, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, true); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 307 assertPermission(result, Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION, true); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 308 assertPermission(result, Intent.FLAG_GRANT_PREFIX_URI_PERMISSION, true); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 335 assertPermission(result, Intent.FLAG_GRANT_READ_URI_PERMISSION, true); in testSaveDocument_SetsCorrectResultAndFinishes() 336 assertPermission(result, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, true); in testSaveDocument_SetsCorrectResultAndFinishes() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | VmsPublisherService.java | 168 assertPermission(token); in setLayersOffering() 174 assertPermission(token); in publish() 216 assertPermission(); in getSubscriptions() 222 assertPermission(); in getPublisherId() 235 private void assertPermission(IBinder publisherToken) { in assertPermission() method in VmsPublisherService.PublisherProxy 239 assertPermission(); in assertPermission() 242 private void assertPermission() { in assertPermission() method in VmsPublisherService.PublisherProxy
|
D | ICarImpl.java | 340 assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE); in getCarService() 351 assertPermission(mContext, Car.PERMISSION_STORAGE_MONITORING); in getCarService() 398 assertPermission(context, Car.PERMISSION_MOCK_VEHICLE_HAL); in assertVehicleHalMockPermission() 402 assertPermission(context, Car.PERMISSION_CAR_NAVIGATION_MANAGER); in assertNavigationManagerPermission() 406 assertPermission(context, Car.PERMISSION_CAR_INSTRUMENT_CLUSTER_CONTROL); in assertClusterManagerPermission() 410 assertPermission(context, Car.PERMISSION_CAR_POWER); in assertPowerPermission() 414 assertPermission(context, Car.PERMISSION_CAR_PROJECTION); in assertProjectionPermission() 419 assertPermission(context, Car.PERMISSION_CAR_PROJECTION_STATUS); in assertProjectionStatusPermission() 429 assertPermission(context, Car.PERMISSION_CAR_DRIVING_STATE); in assertDrivingStatePermission() 433 assertPermission(context, Car.PERMISSION_VMS_PUBLISHER); in assertVmsPublisherPermission() [all …]
|
D | CarPropertyService.java | 173 ICarImpl.assertPermission(mContext, mHal.getReadPermission(propId)); in registerListener() 240 ICarImpl.assertPermission(mContext, mHal.getReadPermission(propId)); in unregisterListener() 319 ICarImpl.assertPermission(mContext, mHal.getReadPermission(prop)); in getProperty() 351 ICarImpl.assertPermission(mContext, mHal.getWritePermission(propId)); in setProperty() 354 ICarImpl.assertPermission(mContext, Car.PERMISSION_VENDOR_EXTENSION); in setProperty()
|
D | CarTestService.java | 75 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE); in stopCarService() 96 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_TEST_SERVICE); in startCarService()
|
D | CarUxRestrictionsManagerService.java | 192 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION); in getConfigs() 423 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION); in saveUxRestrictionsConfigurationForNextBoot() 433 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION); in getStagedConfigs() 458 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION); in setRestrictionMode() 478 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_UX_RESTRICTIONS_CONFIGURATION); in getRestrictionMode()
|
D | CarPowerManagementService.java | 807 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_POWER); in registerListener() 815 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_POWER); in registerListenerWithCompletion() 825 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_POWER); in unregisterListener() 840 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_POWER); in requestShutdownOnNextSuspend() 848 ICarImpl.assertPermission(mContext, Car.PERMISSION_CAR_POWER); in finished()
|
D | CarMediaService.java | 298 ICarImpl.assertPermission(mContext, android.Manifest.permission.MEDIA_CONTENT_CONTROL); in setMediaSource() 310 ICarImpl.assertPermission(mContext, android.Manifest.permission.MEDIA_CONTENT_CONTROL); in getMediaSource() 319 ICarImpl.assertPermission(mContext, android.Manifest.permission.MEDIA_CONTENT_CONTROL); in registerMediaSourceListener() 328 ICarImpl.assertPermission(mContext, android.Manifest.permission.MEDIA_CONTENT_CONTROL); in unregisterMediaSourceListener()
|
D | CarDrivingStateService.java | 234 ICarImpl.assertPermission(mContext, Car.PERMISSION_CONTROL_APP_BLOCKING); in injectDrivingState()
|