Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/v31/
DLightHistoricalPackageOps.kt55 opNames: Set<String> in <lambda>()
59 historicalPackageOps.getAppPermissionDiscreteAccesses(userHandle, opNames), in <lambda>()
60 historicalPackageOps.getAttributedAppPermissionDiscreteAccesses(userHandle, opNames), in <lambda>()
77 opNames: Set<String> in <lambda>()
79 val permissionsToOpNames = partitionOpsByPermission(opNames) in <lambda>()
98 opNames: Set<String> in <lambda>()
100 val permissionsToOpNames = partitionOpsByPermission(opNames) in <lambda>()
136 opNames: List<String> in <lambda>()
143 for (opName in opNames) { in <lambda>()
171 opNames: List<String> in <lambda>()
[all …]
DLightPackageOps.kt57 opNames: Set<String>, in createLastPermissionGroupAccessTimesMap()
64 opNames.mapNotNull { getPlatformPermissionGroupForOp(it) }.toSet()) { in createLastPermissionGroupAccessTimesMap()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v31/
DAllLightPackageOpsLiveData.kt48 private var opNames: MutableSet<String> = in <lambda>() variable
53 opNames = getOpNames(it).toMutableSet() in <lambda>()
54 opNames.add(OPSTR_PHONE_CALL_MICROPHONE) in <lambda>()
55 opNames.add(OPSTR_PHONE_CALL_CAMERA) in <lambda>()
57 opNames.add(OPSTR_RECEIVE_AMBIENT_TRIGGER_AUDIO) in <lambda>()
67 opNames.forEach { opName -> in <lambda>()
101 if (opNames.isEmpty()) { in <lambda>()
107 appOpsManager.getPackagesForOps(opNames.toTypedArray()) in <lambda>()
120 { LightPackageOps(opNames, it) })) in <lambda>()
DAllLightHistoricalPackageOpsLiveData.kt43 class AllLightHistoricalPackageOpsLiveData(app: Application, val opNames: Set<String>) : in <lambda>() constant
55 opNames.forEach { opName -> in <lambda>()
122 LightHistoricalPackageOps(historicalPackageOps, userHandle, opNames) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DPermissionUsages.java229 final ArraySet<String> opNames = new ArraySet<>(); in loadInBackground() local
313 opNames.add(opName); in loadInBackground()
328 opNames.add(OPSTR_PHONE_CALL_MICROPHONE); in loadInBackground()
329 opNames.add(OPSTR_PHONE_CALL_CAMERA); in loadInBackground()
331 opNames.add(OPSTR_RECEIVE_AMBIENT_TRIGGER_AUDIO); in loadInBackground()
333 final String[] opNamesArray = opNames.toArray(new String[opNames.size()]); in loadInBackground()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DOpUsageLiveData.kt46 private val opNames: List<String>, constant in com.android.permissioncontroller.permission.data.OpUsageLiveData
57 appOpsManager.getPackagesForOps(opNames.toTypedArray()) in loadDataAndPostValue()
129 appOpsManager.startWatchingActive(opNames.toTypedArray(), { it.run() }, this) in onActive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DPermissionUsageDetailsViewModel.kt75 AllLightHistoricalPackageOpsLiveData(application, opNames) in <lambda>()
628 val opNames = in <lambda>() constant