Home
last modified time | relevance | path

Searched refs:requestedPermissionsFlags (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt43 val requestedPermissionsFlags: List<Int>, in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
54 pI.requestedPermissionsFlags?.toList() ?: emptyList(), in <lambda>()
65 if ((requestedPermissionsFlags[i] and PackageInfo.REQUESTED_PERMISSION_GRANTED) != 0) { in <lambda>()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DPermissionMonitor.java257 app.requestedPermissionsFlags); in startMonitoring()
318 if (app.requestedPermissions == null || app.requestedPermissionsFlags == null) { in hasPermission()
322 if (index < 0 || index >= app.requestedPermissionsFlags.length) return false; in hasPermission()
323 return (app.requestedPermissionsFlags[index] & REQUESTED_PERMISSION_GRANTED) != 0; in hasPermission()
451 app.requestedPermissionsFlags); in getPermissionForUid()
570 int[] requestedPermissionsFlags) { in getNetdPermissionMask() argument
572 if (requestedPermissions == null || requestedPermissionsFlags == null) return permissions; in getNetdPermissionMask()
575 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
579 && ((requestedPermissionsFlags[i] & REQUESTED_PERMISSION_GRANTED) != 0)) { in getNetdPermissionMask()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsages.java277 telecomPackageInfo.requestedPermissionsFlags, in loadInBackground()
278 telecomPackageInfo.requestedPermissionsFlags.length + 2); in loadInBackground()
279 newReqPermsFlags[telecomPackageInfo.requestedPermissionsFlags.length] = in loadInBackground()
281 newReqPermsFlags[telecomPackageInfo.requestedPermissionsFlags.length + 1] = in loadInBackground()
283 telecomPackageInfo.requestedPermissionsFlags = newReqPermsFlags; in loadInBackground()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DPermissionMonitorTest.java191 int[] requestedPermissionsFlags = new int[permissions.length]; in packageInfoWithPermissions() local
193 requestedPermissionsFlags[i] = permissionsFlags; in packageInfoWithPermissions()
198 packageInfo.requestedPermissionsFlags = requestedPermissionsFlags; in packageInfoWithPermissions()
258 app.requestedPermissionsFlags = null; in testHasPermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermStateLiveData.kt86 val packageFlags = packageInfo.requestedPermissionsFlags[index] in <lambda>()
DAutoRevokedPackagesLiveData.kt68 val granted = (pkg.requestedPermissionsFlags[idx] and in <lambda>()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java595 if (appInfo.requestedPermissionsFlags != null) { in buildState()
596 if ((appInfo.requestedPermissionsFlags[j] in buildState()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java121 int[] permissionFlags = permissionState.packageInfo.requestedPermissionsFlags; in getPermissionInfo()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt127 requestedPermissionsFlags = pkg.permissions.map { in <lambda>()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java589 return (pkgInfo.requestedPermissionsFlags[i] in hasDisavowedLocationForScan()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt742 val granted = packageInfo.requestedPermissionsFlags[idx] == in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java321 final boolean granted = (packageInfo.requestedPermissionsFlags[i] in create()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/utils/
DGrantRevokeTests.kt185 pkgInfo.requestedPermissionsFlags[pkgInfo.requestedPermissions.indexOf(permName)] in createMockPerm()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java1760 (packageInfo.requestedPermissionsFlags[i] & in shouldUseNoOpLocation()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1787 assertTrue(app.requestedPermissionsFlags[index] != PERMISSION_GRANTED);
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java10141 packageInfo.requestedPermissionsFlags = new int[] { in buildPackageInfo()