Home
last modified time | relevance | path

Searched refs:appOpCode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java126 void onAppOpChanged(int appOpCode, int uid, String packageName, boolean active) { in onAppOpChanged() argument
138 userServices.addOp(packageName, appOpCode); in onAppOpChanged()
140 userServices.removeOp(packageName, appOpCode); in onAppOpChanged()
157 changed |= entry.mActiveAppOps.add(appOpCode); in onAppOpChanged()
159 changed |= entry.mActiveAppOps.remove(appOpCode); in onAppOpChanged()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java217 final int appOpCode = AppOpsManager.permissionToOpCode( in onStart() local
219 if (appOpCode != OP_NONE) { in onStart()
222 appOpsService.startWatchingMode(appOpCode, null, mAppOpsCallback); in onStart()
545 final int appOpCode = AppOpsManager.permissionToOpCode(appOpPermission); in resetAppOpPermissionsIfNotRequestedForUid() local
546 final int defaultAppOpMode = AppOpsManager.opToDefaultMode(appOpCode); in resetAppOpPermissionsIfNotRequestedForUid()
548 final int appOpMode = appOpsManager.unsafeCheckOpRawNoThrow(appOpCode, uid, in resetAppOpPermissionsIfNotRequestedForUid()
551 appOpsManagerInternal.setUidModeFromPermissionPolicy(appOpCode, uid, in resetAppOpPermissionsIfNotRequestedForUid()
553 appOpsManagerInternal.setModeFromPermissionPolicy(appOpCode, uid, in resetAppOpPermissionsIfNotRequestedForUid()
709 int appOpCode = getSwitchOp(permissionName); in addPermissionAppOp() local
710 if (appOpCode == OP_NONE) { in addPermissionAppOp()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java199 int appOpCode = in onActivityResult() local
201 mAppOpsManager.noteOpNoThrow(appOpCode, mOriginatingUid, mOriginatingPackage); in onActivityResult()
471 final int appOpCode = in handleUnknownSources() local
473 final int appOpMode = mAppOpsManager.noteOpNoThrow(appOpCode, in handleUnknownSources()
477 mAppOpsManager.setMode(appOpCode, mOriginatingUid, in handleUnknownSources()