Home
last modified time | relevance | path

Searched refs:opName (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/
DAppOpRepository.kt128 appOpNames.forEach { opName -> in <lambda>() method
133 appOpsManager.startWatchingActive(arrayOf(opName), { it.run() }, callback) in <lambda>()
139 appOpsManager.startWatchingMode(opName, /* all packages */ null, callback) in <lambda>()
146 appOpsManager.startWatchingNoted(arrayOf(opName), callback) in <lambda>()
195 val opName = AppOpsManager.permissionToOp(permissionName) ?: continue in getPrivacyDashboardAppOpNames() constant
196 opNames.add(opName) in getPrivacyDashboardAppOpNames()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DAppPermissionUsage.java177 for (String opName : allOps) { in hasDiscreteData()
178 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in hasDiscreteData()
194 for (String opName : allOps) { in getAllDiscreteAccessTime()
195 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in getAllDiscreteAccessTime()
235 for (String opName : allOps) { in extractAggregate()
236 final HistoricalOp historicalOp = mHistoricalUsage.getOp(opName); in extractAggregate()
268 final String opName = permission.getAppOp(); in getAllOps() local
269 if (opName != null) { in getAllOps()
270 allOps.add(opName); in getAllOps()
341 for (String opName : allOps) { in getAttributionLabelledGroupUsages()
[all …]
DPermissionUsages.java311 final String opName = permission.getAppOp(); in loadInBackground() local
312 if (opName != null) { in loadInBackground()
313 opNames.add(opName); in loadInBackground()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v31/
DAllLightHistoricalPackageOpsLiveData.kt55 opNames.forEach { opName -> in <lambda>() method
60 appOpsManager.startWatchingActive(arrayOf(opName), { it.run() }, this) in <lambda>()
66 appOpsManager.startWatchingMode(opName, /* all packages */ null, this) in <lambda>()
73 appOpsManager.startWatchingNoted(arrayOf(opName), this) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DPermissionMapping.kt357 fun getPlatformPermissionGroupForOp(opName: String): String? { in getPlatformPermissionGroupForOp()
362 if (opName == AppOpsManager.OPSTR_READ_WRITE_HEALTH_DATA) { in getPlatformPermissionGroupForOp()
368 if (opName == AppOpsManager.OPSTR_PHONE_CALL_MICROPHONE) { in getPlatformPermissionGroupForOp()
371 if (SdkLevel.isAtLeastT() && opName == AppOpsManager.OPSTR_RECEIVE_AMBIENT_TRIGGER_AUDIO) { in getPlatformPermissionGroupForOp()
374 if (opName == AppOpsManager.OPSTR_PHONE_CALL_CAMERA) { in getPlatformPermissionGroupForOp()
379 AppOpsManager.opToPermission(opName)?.let { getGroupOfPlatformPermission(it) } in getPlatformPermissionGroupForOp()
381 Log.wtf(LOG_TAG, "No permission group found for $opName") in getPlatformPermissionGroupForOp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v31/
DLightHistoricalPackageOps.kt148 for (opName in opNames) { in <lambda>() constant
149 getOp(opName)?.let { historicalOps.add(it) } in <lambda>()
185 for (opName in opNames) { in <lambda>() constant
186 getOp(opName)?.let { historicalOps.add(it) } in <lambda>()
/packages/modules/Permission/framework-s/java/android/app/role/
DRoleControllerManager.java288 private void propagateCallback(AndroidFuture<Boolean> operation, String opName, in propagateCallback() argument
296 Log.e(LOG_TAG, "Error calling " + opName + "()", err); in propagateCallback()
307 private void propagateCallback(AndroidFuture<Boolean> operation, String opName, in propagateCallback() argument
314 Log.e(LOG_TAG, "Error calling " + opName + "()", err); in propagateCallback()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionTestBase.java168 String opName = AppOpsManager.opToName(appop); in setAppOp() local
174 opName, // Appop in setAppOp()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java144 final String opName = AppOpsManager.opToName(appop); in setAppopPrivileged() local
150 opName, // Appop in setAppopPrivileged()