Searched refs:groupNames (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | CustomPermGroupNamesLiveData.kt | 39 val groupNames = mutableListOf<String>() in onUpdate() constant 58 groupNames.contains(permission.group) || in onUpdate() 60 groupNames.contains(permission.name) in onUpdate() 66 groupNames.add(permission.group) in onUpdate() 68 groupNames.add(permission.name) in onUpdate() 74 value = groupNames in onUpdate()
|
D | PermGroupsPackagesUiInfoLiveData.kt | 65 private lateinit var groupNames: List<String> in <lambda>() variable in com.android.permissioncontroller.permission.data.PermGroupsPackagesUiInfoLiveData 71 groupNames = it in <lambda>() 79 setSourcesToDifference(groupNames, permGroupPackagesLiveDatas, getLiveData) in <lambda>() 168 val haveAllLiveDatas = groupNames.all { permGroupPackagesLiveDatas.contains(it) } in <lambda>() 170 for (groupName in groupNames) { in <lambda>() 186 if (firstLoadGroup in groupNames) { in <lambda>() 189 for ((idx, groupName) in groupNames.withIndex()) { in <lambda>()
|
D | PermGroupsPackagesLiveData.kt | 41 private var groupNames = emptyList<String>() in <lambda>() variable 45 groupNames = it in <lambda>() 48 setSourcesToDifference(groupNames, permGroupLiveDatas, getLiveData) { in <lambda>() 71 if (groupNames.isEmpty()) { in <lambda>() 77 for (groupName in groupNames) { in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearUnusedAppsFragment.kt | 274 private fun getMostImportantGroup(groupNames: List<String>): String { in <lambda>() 276 groupNames.contains(Manifest.permission_group.LOCATION) -> in <lambda>() 278 groupNames.contains(Manifest.permission_group.MICROPHONE) -> in <lambda>() 280 groupNames.contains(Manifest.permission_group.CAMERA) -> in <lambda>() 282 groupNames.contains(Manifest.permission_group.CONTACTS) -> in <lambda>() 284 groupNames.contains(Manifest.permission_group.STORAGE) -> in <lambda>() 286 groupNames.contains(Manifest.permission_group.CALENDAR) -> in <lambda>() 288 groupNames.isNotEmpty() -> groupNames[0] in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | UnusedAppsFragment.kt | 326 private fun getMostImportantGroup(groupNames: List<String>): String { in <lambda>() 328 groupNames.contains(permission_group.LOCATION) -> permission_group.LOCATION in <lambda>() 329 groupNames.contains(permission_group.MICROPHONE) -> permission_group.MICROPHONE in <lambda>() 330 groupNames.contains(permission_group.CAMERA) -> permission_group.CAMERA in <lambda>() 331 groupNames.contains(permission_group.CONTACTS) -> permission_group.CONTACTS in <lambda>() 332 groupNames.contains(permission_group.STORAGE) -> permission_group.STORAGE in <lambda>() 333 groupNames.contains(permission_group.CALENDAR) -> permission_group.CALENDAR in <lambda>() 334 groupNames.isNotEmpty() -> groupNames[0] in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionGroups.java | 170 boolean getNonPlatformPermissions, @Nullable String[] groupNames, in getPermissionGroups() argument 181 List<PermissionGroupInfo> groupInfos = getPermissionGroupInfos(context, groupNames); in getPermissionGroups() 311 @NonNull Context context, @Nullable String[] groupNames) { in getPermissionGroupInfos() argument 312 if (groupNames == null) { in getPermissionGroupInfos() 316 final List<PermissionGroupInfo> groupInfos = new ArrayList<>(groupNames.length); in getPermissionGroupInfos() 317 for (int i = 0; i < groupNames.length; i++) { in getPermissionGroupInfos() 319 .getPermissionGroupInfo(groupNames[i], 0); in getPermissionGroupInfos()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceModel.kt | 252 val groupNames = groups?.keys?.toMutableList() ?: mutableListOf() in <lambda>() constant 253 groupNames.remove(PackagePermissionsLiveData.NON_RUNTIME_NORMAL_PERMS) in <lambda>() 255 if (groupNames.isEmpty()) { in <lambda>() 260 for (groupName in groupNames) { in <lambda>() 276 if (numLiveDatasUpdated == groupNames.size) { in <lambda>()
|