/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppIdAppOpUpgrade.kt | 31 val appOpMode = in MutateStateScope() constant 37 appOpMode in MutateStateScope() 45 val appOpMode = in MutateStateScope() constant 53 if (appOpMode == defaultAppOpMode) { in MutateStateScope()
|
D | PackageAppOpUpgrade.kt | 31 val appOpMode = in MutateStateScope() constant 41 appOpMode in MutateStateScope()
|
D | PackageAppOpMigration.kt | 47 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>() method
|
D | AppIdAppOpMigration.kt | 49 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>() method
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 266 int appOpMode = context.getSystemService(AppOpsManager.class) in checkAppLocationPermissionHelper() local 269 if (appOpMode == AppOpsManager.MODE_ALLOWED) { in checkAppLocationPermissionHelper() 278 return appOpsModeToPermissionResult(appOpMode); in checkAppLocationPermissionHelper()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 256 int appOpMode = mAppOpsManager.noteOpNoThrow(appOpStr, mOriginatingUid, in onActivityResult() local 259 if (appOpMode == AppOpsManager.MODE_ALLOWED) { in onActivityResult() 569 final int appOpMode = mAppOpsManager.noteOpNoThrow(appOpStr, mOriginatingUid, in handleUnknownSources() local 572 if (mLocalLOGV) Log.i(TAG, "handleUnknownSources(): appMode=" + appOpMode); in handleUnknownSources() 573 switch (appOpMode) { in handleUnknownSources() 585 Log.e(TAG, "Invalid app op mode " + appOpMode in handleUnknownSources()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | InstallRepository.kt | 777 val appOpMode = appOpsManager!!.noteOpNoThrow( in <lambda>() constant 782 Log.i(LOG_TAG, "handleUnknownSources(): appMode=$appOpMode") in <lambda>() 785 return when (appOpMode) { in <lambda>() 787 if (appOpMode == AppOpsManager.MODE_DEFAULT) { in <lambda>() 811 LOG_TAG, "Invalid app op mode $appOpMode for " + in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 762 final int appOpMode = appOpsManager.unsafeCheckOpRawNoThrow(appOpCode, uid, in resetAppOpPermissionsIfNotRequestedForUid() local 764 if (appOpMode != defaultAppOpMode) { in resetAppOpPermissionsIfNotRequestedForUid() 953 int appOpMode; in addPermissionAppOp() local 961 appOpMode = shouldGrantBackgroundAppOp ? MODE_ALLOWED : MODE_FOREGROUND; in addPermissionAppOp() 963 appOpMode = MODE_ALLOWED; in addPermissionAppOp() 966 appOpMode = MODE_IGNORED; in addPermissionAppOp() 971 switch (appOpMode) { in addPermissionAppOp()
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 474 int32_t appOpMode = mService->sAppOpsManager.noteOp(iter->second, mUid, mOpPackageName, in noteOpIfRequired() local 476 success = (appOpMode == AppOpsManager::MODE_ALLOWED); in noteOpIfRequired()
|
D | SensorService.cpp | 2316 const int32_t appOpMode = in canAccessSensor() local 2319 canAccess = (appOpMode == AppOpsManager::MODE_ALLOWED); in canAccessSensor()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 2175 userState.appIdAppOpModes[appId]?.forEachIndexed { _, appOpName, appOpMode in <lambda>() method 2190 appOpMode -> in <lambda>() method 2191 val modeName = AppOpsManager.modeToName(appOpMode) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1144 int appOpMode = checkOperation(AppOpsManager.OP_REQUEST_INSTALL_PACKAGES, in systemReady() 1146 switch (appOpMode) { in systemReady()
|