Home
last modified time | relevance | path

Searched refs:enforceCallingPermission (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessManagerService.java265 mContext.enforceCallingPermission(Manifest.permission.REBOOT, in markRebootPending()
289 mContext.enforceCallingPermission(Manifest.permission.REBOOT, in cancelPendingReboot()
325 mContext.enforceCallingPermission(Manifest.permission.REBOOT, in isReadyToReboot()
335 mContext.enforceCallingPermission(Manifest.permission.SIGNAL_REBOOT_READINESS, in addRequestRebootReadinessStatusListener()
349 mContext.enforceCallingPermission(Manifest.permission.SIGNAL_REBOOT_READINESS, in removeRequestRebootReadinessStatusListener()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleControllerService.java143 enforceCallingPermission(Manifest.permission.MANAGE_ROLE_HOLDERS, null); in onBind()
157 enforceCallingPermission(Manifest.permission.MANAGE_ROLE_HOLDERS, null); in onBind()
170 enforceCallingPermission(Manifest.permission.MANAGE_ROLE_HOLDERS, null); in onBind()
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java255 context.enforceCallingPermission(android.Manifest.permission.DUMP, "Need DUMP permission."); in enforceDumpCallingPermission()
259 context.enforceCallingPermission(Manifest.permission.PACKAGE_USAGE_STATS, in enforcesageStatsCallingPermission()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java606 enforceCallingPermission(permission, message); in enforcePermission()
610 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in ContactsActor.RestrictionMockContext
618 enforceCallingPermission(permission, message); in enforceCallingOrSelfPermission()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java498 mContext.enforceCallingPermission(Manifest.permission.DUMP, null); in enforceDumpAndUsageStatsPermission()
499 mContext.enforceCallingPermission(Manifest.permission.PACKAGE_USAGE_STATS, null); in enforceDumpAndUsageStatsPermission()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java194 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() method in TestContext
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java3542 enforceCallingPermission(playlistUri, Bundle.EMPTY, true); in bulkInsert()
3546 enforceCallingPermission(audioUri, Bundle.EMPTY, false); in bulkInsert()
4147 enforceCallingPermission(playlistUri, Bundle.EMPTY, true); in insertInternal()
4148 enforceCallingPermission(audioUri, Bundle.EMPTY, false); in insertInternal()
4256 enforceCallingPermission(ContentUris.withAppendedId( in insertInternal()
4278 enforceCallingPermission(ContentUris.withAppendedId( in insertInternal()
5282 enforceCallingPermission(uri, extras, true); in deleteInternal()
5628 enforceCallingPermission(mediaUri, extras, false);
5688 enforceCallingPermission(uri, Bundle.EMPTY, false);
5702 enforceCallingPermission(uris, false);
[all …]
/packages/modules/Scheduling/tests/unittests/src/com/android/server/scheduling/
DRebootReadinessUnitTest.java155 doNothing().when(mMockContext).enforceCallingPermission(anyString(), anyString()); in setup()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java2261 mContext.enforceCallingPermission(android.Manifest.permission.MANAGE_OWN_CALLS, null); in enforceRegisterSelfManaged()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java2536 mContext.enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, in handleCallComposerCommand()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt865 Landroid/net/NetworkRecommendationProvider$ServiceWrapper;->enforceCallingPermission()V