Home
last modified time | relevance | path

Searched defs:perm (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAllAppPermissionsFragment.java150 PermissionInfo perm; in updateUi() local
239 private Preference getPreference(final PermissionInfo perm, final PermissionGroupInfo group) { in getPreference()
247 private Preference getMutablePreference(final PermissionInfo perm, PermissionGroupInfo group) { in getMutablePreference()
255 pref.setIcon(getTintedPermissionIcon(getActivity(), perm, group)); in getMutablePreference() local
274 private Preference getImmutablePreference(final PermissionInfo perm, in getImmutablePreference()
281 pref.setIcon(getTintedPermissionIcon(getActivity(), perm, group)); in getImmutablePreference() local
299 private static Drawable getTintedPermissionIcon(Context context, PermissionInfo perm, in getTintedPermissionIcon()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DEmergencyCallHelperTest.java103 private void verifyRevokeInvokedFor(String perm) { in verifyRevokeInvokedFor()
108 private void verifyRevokeNotInvokedFor(String perm) { in verifyRevokeNotInvokedFor()
113 private void verifyGrantInvokedFor(String perm) { in verifyGrantInvokedFor()
119 private void verifyGrantNotInvokedFor(String perm) { in verifyGrantNotInvokedFor()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_db.cc91 tGATT_PERM perm = attr.permission; in gatts_check_attr_readability() local
382 uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_characteristic()
442 uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm, in gatts_add_char_descr()
566 tGATT_PERM perm = p_attr->permission; in gatts_write_attr_perm_check() local
694 tGATT_PERM perm) { in allocate_attr_in_db()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAllAppPermissionsFragment.java135 PermissionInfo perm; in updateUi() local
229 private Preference getPreference(PackageInfo packageInfo, PermissionInfo perm, in getPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt411 val perm = bgApp.allPermissions[permission.ACCESS_BACKGROUND_LOCATION] ?: continue in <lambda>() constant
473 val perm = appPermGroup.permissions[permission.ACCESS_MEDIA_LOCATION] in <lambda>() constant
DBackupHelper.java527 private static boolean isPermGrantedIncludingAppOp(@NonNull Permission perm) { in isPermGrantedIncludingAppOp()
541 private static BackupPermissionState fromPermission(@NonNull Permission perm, in fromPermission()
649 Permission perm = group.getPermission(mPermissionName); in restore() local
DPermissionControllerServiceImpl.java263 Permission perm = perms.get(permNum); in revokePermissionGroups() local
558 Permission perm = group.getPermission(permName); in onSetRuntimePermissionGrantStateByDeviceAdmin() local
800 Permission perm = group.getPermission(permName); in onRevokeSelfPermissionsOnKill() local
DAutoRevokePermissions.kt116 val granted = group.permissions.any { (_, perm) -> in <lambda>() method
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DPermissionHelper.java34 @NonNull Context context, @NonNull String sdkName, @NonNull String perm) { in checkSdkPermission()
/packages/modules/NeuralNetworks/common/cpu_operations/
DTranspose.cpp46 bool transposeGeneric(const T* inputData, const Shape& inputShape, const int32_t* perm, in transposeGeneric()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUserSensitiveFlagsUtils.kt66 for (perm in pkg.requestedPermissions) { in updateUserSensitiveForUidsInternal() constant
DKotlinUtils.kt653 val perm = app.packageManager.getPermissionInfo(splitPerm.splitPermission, 0) in <lambda>() constant
687 for ((permName, perm) in group.permissions) { in <lambda>() constant
764 val perm = group.permissions[permName] ?: continue in <lambda>() constant
1002 val perm = group.permissions[permName] ?: continue in <lambda>() constant
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveFileTestRule.java103 Set<PosixFilePermission> perm = PosixFilePermissions.fromString("rwx------"); in generateFile() local
/packages/modules/Permission/PermissionController/tests/permissionui/src/com/android/permissioncontroller/permissionui/ui/
DPermissionAppsFragmentTest.kt45 val perm: String, constant in com.android.permissioncontroller.permissionui.ui.PermissionAppsFragmentTest
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt250 private val hasPreRuntimePerm = permissions.any { (_, perm) -> !perm.isRuntimeOnly } in <lambda>() method
252 private val hasInstantPerm = permissions.any { (_, perm) -> perm.isInstantPerm } in <lambda>() method
DLightPackageInfo.kt61 pI.permissions?.map { perm -> LightPermInfo(perm) } ?: emptyList(), in <lambda>() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DUserSensitivityLiveData.kt121 for (perm in pkg.requestedPermissions.intersect(runtimePerms)) { in <lambda>() constant
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DGrantPermissionsViewModel.kt303 val allAffectedGranted = state.affectedPermissions.all { perm -> in <lambda>() method
340 for (perm in fgState.affectedPermissions) { in <lambda>() constant
651 val filteredPermissions = unfilteredAffectedPermissions.filter { perm -> in <lambda>() method
655 for (perm in filteredPermissions) { in <lambda>() constant
1221 for (perm in permissions) { in <lambda>() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DAppPermissionsFragmentWear.java208 PermissionInfo perm) { in createSwitchPreferenceForPermission()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/model/
DResolverRankerServiceResolverComparator.java351 final String perm = in resolveRankerService() local
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java540 String perm = AppOpsManager.opToPermission(tpl.ops[i]); in buildState() local
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java617 private boolean checkPermission(String perm, int uid) { in checkPermission()