Home
last modified time | relevance | path

Searched defs:permissions (Results 1 – 25 of 110) sorted by relevance

12345

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/
DPermissionsUtil.java42 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/
DRuntimePermissionsPersistenceImpl.java128 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/
DPermissionHelper.java44 @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/
DRequestPermissionsActivity.java59 final List<String> permissions = new ArrayList<>(); in getPermissions() local
80 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult()
DRequestPermissionsActivityBase.java110 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/
DGattDbElement.java53 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/
DAppWithAdminGrantedPermissionsCounter.java41 public AppWithAdminGrantedPermissionsCounter(Context context, String[] permissions, in AppWithAdminGrantedPermissionsCounter()
56 public static boolean includeInCount(String[] permissions, in includeInCount()
DApplicationFeatureProvider.java57 void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, boolean async, in calculateNumberOfAppsWithAdminGrantedPermissions()
68 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
DApplicationFeatureProviderImpl.java93 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()
DAppWithAdminGrantedPermissionsLister.java36 public AppWithAdminGrantedPermissionsLister(String[] permissions, in AppWithAdminGrantedPermissionsLister()
/packages/apps/Settings/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsCounter.java36 public AppWithAdminGrantedPermissionsCounter(Context context, String[] permissions, in AppWithAdminGrantedPermissionsCounter()
51 public static boolean includeInCount(String[] permissions, in includeInCount()
DApplicationFeatureProvider.java53 void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, boolean async, in calculateNumberOfAppsWithAdminGrantedPermissions()
64 void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback); in listAppsWithAdminGrantedPermissions()
DAppStateAppOpsBridge.java60 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()
DApplicationFeatureProviderImpl.java90 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()
DAppWithAdminGrantedPermissionsLister.java34 public AppWithAdminGrantedPermissionsLister(String[] permissions, in AppWithAdminGrantedPermissionsLister()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DBaseCustomization.java49 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/
DPermissionMonitorTest.java164 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/
DAllAppPermissionsViewModel.kt63 val permissions = packagePermsLiveData.value in onUpdate() constant
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryComposerFragment.java67 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
DCameraComposerFragment.java77 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/
DPermissionsActivity.java37 public void onRequestPermissionsResult(int request, String[] permissions, int[] results) { in onRequestPermissionsResult()
/packages/apps/Music/src/com/android/music/
DMusicBrowserActivity.java36 int requestCode, String permissions[], int[] grantResults) {} in onRequestPermissionsResult()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddPrintersActivity.java56 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSpellCheckerSettingsActivity.java57 int requestCode, String[] permissions, int[] grantResults) { in onRequestPermissionsResult()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DPermissionSet.java41 public PermissionSet(@NonNull String name, @NonNull List<Permission> permissions) { in PermissionSet()

12345