/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/ |
D | PermissionsUtil.java | 42 String... permissions) { in getDeniedPermissions() 60 String[] permissions) { in requestPermissions() 79 public static boolean checkAllPermissionsGranted(Context context, String... permissions) { in checkAllPermissionsGranted()
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsPersistenceImpl.java | 128 List<RuntimePermissionsState.PermissionState> permissions = parsePermissions( in parseRuntimePermissions() local 135 List<RuntimePermissionsState.PermissionState> permissions = parsePermissions( in parseRuntimePermissions() local 150 List<RuntimePermissionsState.PermissionState> permissions = new ArrayList<>(); in parsePermissions() local 215 List<RuntimePermissionsState.PermissionState> permissions = entry.getValue(); in serializeRuntimePermissions() local 226 List<RuntimePermissionsState.PermissionState> permissions = entry.getValue(); in serializeRuntimePermissions() local 238 @NonNull List<RuntimePermissionsState.PermissionState> permissions) throws IOException { in serializePermissions()
|
/packages/services/Car/service/src/com/android/car/ |
D | PermissionHelper.java | 44 @NonNull String...permissions) { in checkHasAtLeastOnePermissionGranted() 58 public static boolean hasAtLeastOnePermissionGranted(int uid, @NonNull String... permissions) { in hasAtLeastOnePermissionGranted()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestPermissionsActivity.java | 59 final List<String> permissions = new ArrayList<>(); in getPermissions() local 80 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult()
|
D | RequestPermissionsActivityBase.java | 110 protected boolean isAllGranted(String permissions[], int[] grantResult) { in isAllGranted() 147 protected static boolean hasPermissions(Context context, String[] permissions) { in hasPermissions()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattDbElement.java | 53 public int permissions; field in GattDbElement 69 public static GattDbElement createCharacteristic(UUID uuid, int properties, int permissions) { in createCharacteristic() 78 public static GattDbElement createDescriptor(UUID uuid, int permissions) { in createDescriptor()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/ |
D | AppWithAdminGrantedPermissionsCounter.java | 41 public AppWithAdminGrantedPermissionsCounter(Context context, String[] permissions, in AppWithAdminGrantedPermissionsCounter() 56 public static boolean includeInCount(String[] permissions, in includeInCount()
|
D | ApplicationFeatureProvider.java | 57 void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, boolean async, in calculateNumberOfAppsWithAdminGrantedPermissions() 68 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
|
D | ApplicationFeatureProviderImpl.java | 93 public void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, in calculateNumberOfAppsWithAdminGrantedPermissions() 106 public void listAppsWithAdminGrantedPermissions(String[] permissions, in listAppsWithAdminGrantedPermissions() 205 String[] permissions, PackageManager packageManager, in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() 237 CurrentUserAppWithAdminGrantedPermissionsLister(String[] permissions, in CurrentUserAppWithAdminGrantedPermissionsLister()
|
D | AppWithAdminGrantedPermissionsLister.java | 36 public AppWithAdminGrantedPermissionsLister(String[] permissions, in AppWithAdminGrantedPermissionsLister()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppWithAdminGrantedPermissionsCounter.java | 36 public AppWithAdminGrantedPermissionsCounter(Context context, String[] permissions, in AppWithAdminGrantedPermissionsCounter() 51 public static boolean includeInCount(String[] permissions, in includeInCount()
|
D | ApplicationFeatureProvider.java | 53 void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, boolean async, in calculateNumberOfAppsWithAdminGrantedPermissions() 64 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
|
D | AppStateAppOpsBridge.java | 60 int appOpsOpCode, String[] permissions) { in AppStateAppOpsBridge() 66 int[] appOpsOpCodes, String[] permissions) { in AppStateAppOpsBridge() 73 int appOpsOpCode, String[] permissions, IPackageManager packageManager) { in AppStateAppOpsBridge() 79 int[] appOpsOpCodes, String[] permissions, IPackageManager packageManager) { in AppStateAppOpsBridge() 102 private boolean doesAnyPermissionMatch(String permissionToMatch, String[] permissions) { in doesAnyPermissionMatch()
|
D | ApplicationFeatureProviderImpl.java | 90 public void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, in calculateNumberOfAppsWithAdminGrantedPermissions() 103 public void listAppsWithAdminGrantedPermissions(String[] permissions, in listAppsWithAdminGrantedPermissions() 210 String[] permissions, PackageManager packageManager, in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() 242 CurrentUserAppWithAdminGrantedPermissionsLister(String[] permissions, in CurrentUserAppWithAdminGrantedPermissionsLister()
|
D | AppWithAdminGrantedPermissionsLister.java | 34 public AppWithAdminGrantedPermissionsLister(String[] permissions, in AppWithAdminGrantedPermissionsLister()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | BaseCustomization.java | 49 protected BaseCustomization(Context context, String[] permissions) { in BaseCustomization() 58 Context context, String[] permissions) { in getFirstPackageNameWithPermissions()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 164 String... permissions) { in hasRestrictedNetworkPermission() 170 String packageName, int uid, String... permissions) { in hasRestrictedNetworkPermission() 179 private static PackageInfo systemPackageInfoWithPermissions(String... permissions) { in systemPackageInfoWithPermissions() 184 private static PackageInfo vendorPackageInfoWithPermissions(String... permissions) { in vendorPackageInfoWithPermissions() 190 String[] permissions, String partition) { in packageInfoWithPermissions() 216 String... permissions) { in buildPackageInfo() 434 String... permissions) throws Exception { in assertBackgroundPermission() 761 private PackageInfo setPackagePermissions(String packageName, int uid, String[] permissions) in setPackagePermissions() 770 private PackageInfo addPackage(String packageName, int uid, String[] permissions) in addPackage() 944 String... permissions) throws Exception { in buildAndMockPackageInfoWithPermissions()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AllAppPermissionsViewModel.kt | 63 val permissions = packagePermsLiveData.value in onUpdate() constant
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryComposerFragment.java | 67 private String[] permissions = new String[] {permission.READ_EXTERNAL_STORAGE}; field in GalleryComposerFragment 253 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() 255 PermissionsUtil.permissionRequested(getContext(), permissions[0]); in onRequestPermissionsResult() local
|
D | CameraComposerFragment.java | 77 private String[] permissions = new String[] {Manifest.permission.CAMERA}; field in CameraComposerFragment 389 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { in onRequestPermissionsResult() 391 PermissionsUtil.permissionRequested(getContext(), permissions[0]); in onRequestPermissionsResult() local
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | PermissionsActivity.java | 37 public void onRequestPermissionsResult(int request, String[] permissions, int[] results) { in onRequestPermissionsResult()
|
/packages/apps/Music/src/com/android/music/ |
D | MusicBrowserActivity.java | 36 int requestCode, String permissions[], int[] grantResults) {} in onRequestPermissionsResult()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | AddPrintersActivity.java | 56 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SpellCheckerSettingsActivity.java | 57 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | PermissionSet.java | 41 public PermissionSet(@NonNull String name, @NonNull List<Permission> permissions) { in PermissionSet()
|