Home
last modified time | relevance | path

Searched refs:enforcePermission (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java314 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setGroupVolume()
374 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMaxVolume()
393 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupMinVolume()
412 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getGroupVolume()
527 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setFadeTowardFront()
542 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in setBalanceTowardRight()
560 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS); in getExternalSources()
602 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS); in createAudioPatch()
610 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_SETTINGS); in releaseAudioPatch()
708 enforcePermission(Car.PERMISSION_CAR_CONTROL_AUDIO_VOLUME); in getVolumeGroupCount()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1334 enforcePermission(MODIFY_PHONE_STATE);
1335 enforcePermission(WRITE_SECURE_SETTINGS);
1354 enforcePermission(DUMP);
1424 enforcePermission(android.Manifest.permission.MANAGE_OWN_CALLS);
1445 enforcePermission(android.Manifest.permission.MANAGE_OWN_CALLS);
1667 enforcePermission(permission); in enforceAnswerCallPermission()
1863 enforcePermission(permission); in enforcePermissionOrPrivilegedDialer()
1881 enforcePermission(REGISTER_SIM_SUBSCRIPTION); in enforceRegisterSimSubscriptionPermission()
1885 enforcePermission(MODIFY_PHONE_STATE); in enforceModifyPermission()
1892 private void enforcePermission(String permission) { in enforcePermission() method in TelecomServiceImpl
DVideoProviderProxy.java585 context.enforcePermission(Manifest.permission.CAMERA, callingPid, callingUid, in canUseCamera()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProviderTest.java123 doNothing().when(mContext).enforcePermission(anyString(), anyInt(), anyInt(), anyString()); in setUp()
182 .enforcePermission(anyString(), anyInt(), anyInt(), anyString()); in testCameraChangePermissionFail()
299 .enforcePermission(anyString(), anyInt(), anyInt(), anyString()); in testCameraChangeNullNoPermission()
DComponentContextFixture.java344 public void enforcePermission( in enforcePermission() method
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java581 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() method in ContactsActor.RestrictionMockContext