Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt150 perms: Map<String, Boolean>, in createMockPackage()
156 for ((permName, isGranted) in perms) { in createMockPackage()
239 perms: Map<String, LightPermission> = emptyMap() in createMockGroup()
242 return LightAppPermGroup(pkgInfo, pGi, perms, false, false) in createMockGroup()
286 val perms = groupToCheck.permissions in assertGroupPermState() constant
288 assertThat(perms.keys).isEqualTo(expectedState.keys) in assertGroupPermState()
295 .that(perms[permName]?.isGrantedIncludingAppOp) in assertGroupPermState()
298 val actualFlags = perms[permName]!!.flags in assertGroupPermState()
303 .that(perms[permName]?.flags) in assertGroupPermState()
405 val perms = mutableMapOf<String, LightPermission>() in grantOnePermTest() constant
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dtranspose_v1_2.mod.py20 perms = Input("perms", "TENSOR_INT32", "{0}") variable
23 model = model.Operation("TRANSPOSE", i1, perms).To(output)
35 perms: [],
Dtranspose_float16.mod.py3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable
6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/
Dtranspose_quant8_1.mod.py3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable
6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
Dtranspose.mod.py3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable
6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
Dtranspose_float_1.mod.py3 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable
6 model = model.Operation("TRANSPOSE", i1, perms).To(output)
Dtranspose_float_1_relaxed.mod.py19 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable
22 model = model.Operation("TRANSPOSE", i1, perms).To(output)
Dtranspose_relaxed.mod.py19 perms = Parameter("perms", "TENSOR_INT32", "{4}", [0, 2, 1, 3]) variable
22 model = model.Operation("TRANSPOSE", i1, perms).To(output)
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dtranspose_quant8_signed.mod.py324 perms = Parameter("perms", "TENSOR_INT32", "{4}", [2, 0, 1, 3]) variable
327 model = model.Operation("TRANSPOSE", i1, perms).To(output)
358 perms = Input("perms", "TENSOR_INT32", "{0}") variable
361 model = model.Operation("TRANSPOSE", i1, perms).To(output)
373 perms: [],
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java535 final ArrayList<String> perms = new ArrayList<String>(); in buildState() local
541 if (perm != null && !perms.contains(perm)) { in buildState()
542 perms.add(perm); in buildState()
580 String[] permsArray = new String[perms.size()]; in buildState()
581 perms.toArray(permsArray); in buildState()
605 for (int k=0; k<perms.size(); k++) { in buildState()
606 if (!perms.get(k).equals(appInfo.requestedPermissions[j])) { in buildState()
609 if (DEBUG) Log.d(TAG, "Pkg " + appInfo.packageName + " perm " + perms.get(k) in buildState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissions.java131 ArrayList<Permission> perms = group.getPermissions(); in addAllPermissions() local
133 int numPerms = perms.size(); in addAllPermissions()
135 mPermissionNameToGroup.put(perms.get(permNum).getName(), group); in addAllPermissions()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DTestUtils.java37 public static void adoptShellPermission(@NonNull String... perms) { in adoptShellPermission() argument
38 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(perms); in adoptShellPermission()
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/
DGetPermissionGroupInfoTest.kt55 val perms = PermissionMapping.getPlatformPermissionNamesOfGroup(group) in assertAllPlatformPermGroupsMatch() constant
56 for (permName in perms) { in assertAllPlatformPermGroupsMatch()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUnusedPackagesLiveData.kt82 val perms = autoRevokedPackages[userPackage] ?: ArraySet() in <lambda>() constant
83 unusedPackages[userPackage] = perms.toSet() in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceImpl.java157 private @NonNull ArrayList<String> addSplitPermissions(@NonNull List<String> perms, in addSplitPermissions() argument
163 ArrayList<String> expandedPerms = new ArrayList<>(perms); in addSplitPermissions()
164 int numReqPerms = perms.size(); in addSplitPermissions()
166 String reqPerm = perms.get(reqPermNum); in addSplitPermissions()
259 ArrayList<Permission> perms = group.getPermissions(); in revokePermissionGroups() local
265 int numPerms = perms.size(); in revokePermissionGroups()
267 Permission perm = perms.get(permNum); in revokePermissionGroups()
DBackupHelper.java588 List<Permission> perms = group.getPermissions(); in fromPermissionGroup() local
593 int numPerms = perms.size(); in fromPermissionGroup()
595 BackupPermissionState permState = fromPermission(perms.get(i), in fromPermissionGroup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt48 perms: Map<String, LightPermission> in <lambda>()
49 ) : this(pI, pGI, perms, false, null) in <lambda>()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionTest23.kt351 val perms = in testAskButtonSetsFlags() constant
357 for (perm in perms) { in testAskButtonSetsFlags()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java411 List<GrantedUriPermission> perms = in refreshGrantedUriPermissions() local
414 if (perms.isEmpty()) { in refreshGrantedUriPermissions()
423 for (GrantedUriPermission perm : perms) { in refreshGrantedUriPermissions()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java1241 private List<String> removeNullOrEmptyPermissions(String[] perms) {
1243 for (String perm : perms) {
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt306 groups.filter { (_, perms) -> in <lambda>() method
307 perms.any { it in unfilteredAffectedPermissions } in <lambda>()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz