Searched refs:enforcePermissions (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewarePermission.java | 228 enforcePermissions(); in loadModel() 234 enforcePermissions(); in loadPhraseModel() 249 enforcePermissions(); in startRecognition() 262 enforcePermissions(); in forceRecognitionEvent() 269 enforcePermissions(); in setModelParameter() 275 enforcePermissions(); in getModelParameter() 283 enforcePermissions(); in queryModelParameterSupport() 301 private void enforcePermissions() { in enforcePermissions() method in SoundTriggerMiddlewarePermission.ModuleWrapper 315 enforcePermissions("Sound trigger recognition."); in onRecognition() 322 enforcePermissions("Sound trigger phrase recognition."); in onPhraseRecognition() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageIconProvider.java | 85 enforcePermissions(uri); in delete() 110 enforcePermissions(uri); in openFile() 144 private void enforcePermissions(Uri uri) { in enforcePermissions() method in WearPackageIconProvider
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionManagerService.java | 952 enforcePermissions("setGroupOwner", Manifest.permission.MODIFY_PHONE_STATE); in setGroupOwner() 1963 enforcePermissions("getActiveSubscriptionInfoForIccId", in getActiveSubscriptionInfoForIccId() 2122 enforcePermissions("To access across profiles", in enforcePermissionAccessAllUserProfiles() 2154 enforcePermissions("getAvailableSubscriptionInfoList", in getAvailableSubscriptionInfoList() 2243 enforcePermissions("requestEmbeddedSubscriptionInfoListRefresh", in requestEmbeddedSubscriptionInfoListRefresh() 2265 enforcePermissions("addSubInfo", Manifest.permission.MODIFY_PHONE_STATE); in addSubInfo() 2328 enforcePermissions("removeSubInfo", Manifest.permission.MODIFY_PHONE_STATE); in removeSubInfo() 2371 enforcePermissions("setIconTint", Manifest.permission.MODIFY_PHONE_STATE); in setIconTint() 2404 enforcePermissions("setDisplayNameUsingSrc", Manifest.permission.MODIFY_PHONE_STATE); in setDisplayNameUsingSrc() 2493 enforcePermissions("setDisplayNumber", Manifest.permission.MODIFY_PHONE_STATE); in setDisplayNumber() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | DevicePresenceProcessor.java | 184 String packageName, int userId, boolean enforcePermissions) { in startObservingDevicePresence() argument 191 if (enforcePermissions) { in startObservingDevicePresence() 241 String packageName, int userId, boolean enforcePermissions) { in stopObservingDevicePresence() argument 249 if (enforcePermissions) { in stopObservingDevicePresence()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 16664 enforcePermissions(new String[] {NOTIFY_PENDING_SYSTEM_UPDATE, in getPendingSystemUpdate() 23393 enforcePermissions(permissions, callerPackageName, targetUserId); 23455 enforcePermissions(permissions, deviceAdminPolicy, callerPackageName, targetUserId); 23528 private void enforcePermissions(String[] permissions, String callerPackageName, 23579 private void enforcePermissions(String[] permissions, int adminPolicy, 23585 enforcePermissions(permissions, callerPackageName, targetUserId);
|