Home
last modified time | relevance | path

Searched refs:appOpName (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DPackageAppOpPolicy.kt79 fun GetStateScope.getAppOpMode(packageName: String, userId: Int, appOpName: String): Int = in <lambda>()
83 .getWithDefault(appOpName, AppOpsManager.opToDefaultMode(appOpName)) in <lambda>()
88 appOpName: String, in <lambda>()
95 val defaultMode = AppOpsManager.opToDefaultMode(appOpName) in <lambda>()
99 .getWithDefault(appOpName, defaultMode) in <lambda>()
105 appOpModes.putWithDefault(appOpName, mode, defaultMode) in <lambda>()
110 it.onAppOpModeChanged(packageName, userId, appOpName, oldMode, mode) in <lambda>()
151 appOpName: String, in <lambda>()
DAppIdAppOpPolicy.kt76 fun GetStateScope.getAppOpMode(appId: Int, userId: Int, appOpName: String): Int = in <lambda>()
80 .getWithDefault(appOpName, AppOpsManager.opToDefaultMode(appOpName)) in <lambda>()
85 appOpName: String, in <lambda>()
92 val defaultMode = AppOpsManager.opToDefaultMode(appOpName) in <lambda>()
96 .getWithDefault(appOpName, defaultMode) in <lambda>()
102 appOpModes.putWithDefault(appOpName, mode, defaultMode) in <lambda>()
107 it.onAppOpModeChanged(appId, userId, appOpName, oldMode, mode) in <lambda>()
148 appOpName: String, in <lambda>()
DAppOpService.kt251 val appOpName = AppOpsManager.opToPublicName(code) in <lambda>() constant
257 service.getState { with(appIdPolicy) { getAppOpMode(appId, userId, appOpName) } } in <lambda>()
277 wasChanged = with(appIdPolicy) { setAppOpMode(appId, userId, appOpName, mode) } in <lambda>()
293 val appOpName = AppOpsManager.opToPublicName(appOpCode) in <lambda>() constant
302 " for runtime op $appOpName should not be set directly.", in <lambda>()
308 with(packagePolicy) { setAppOpMode(packageName, userId, appOpName, mode) } in <lambda>()
402 appOpName: String, in <lambda>()
407 val appOpCode = AppOpsManager.strOpToOp(appOpName) in <lambda>()
441 appOpName: String, in <lambda>()
445 val appOpCode = AppOpsManager.strOpToOp(appOpName) in <lambda>()
DPackageAppOpMigration.kt47 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>() method
DAppIdAppOpMigration.kt49 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>() method
/frameworks/base/services/permission/java/com/android/server/permission/access/
DAccessUri.kt35 data class AppOpUri(val appOpName: String) : AccessUri(SCHEME) { constant in com.android.server.permission.access.AppOpUri
36 override fun toString(): String = "$scheme:///$appOpName" in toString()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DPermissionService.kt1047 val appOpName = AppOpsManager.permissionToOp(permissionName)!! in <lambda>() constant
1049 with(appOpPolicy) { setAppOpMode(packageState.appId, userId, appOpName, mode) } in <lambda>()
2175 userState.appIdAppOpModes[appId]?.forEachIndexed { _, appOpName, appOpMode in <lambda>() method
2177 println("$appOpName: mode=${AppOpsManager.modeToName(appOpMode)}") in <lambda>()
2189 appOpName, in <lambda>() method
2192 println("$appOpName: mode=$modeName") in <lambda>()