Home
last modified time | relevance | path

Searched refs:mRequestedPermissions (Results 1 – 3 of 3) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DDeviceLockControllerPermissionsTest.java49 private List<String> mRequestedPermissions; field in DeviceLockControllerPermissionsTest
63 mRequestedPermissions = Arrays.asList(packageInfo.requestedPermissions); in setUp()
93 assertThat(mRequestedPermissions).contains(MANAGE_DEVICE_LOCK_SERVICE_FROM_CONTROLLER); in deviceLockControllerRequestsManageDeviceLockServiceFromControllerPermission()
98 assertThat(mRequestedPermissions).contains(START_KIOSK_SETUP_ACTIVITY); in deviceLockControllerRequestsStartKioskSetupActivityPermission()
105 assertThat(mRequestedPermissions).doesNotContain(RECEIVE_CLEAR_BROADCAST); in deviceLockControllerDoesNotRequestReceiveClearRestrictionsPermission()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java182 private List<String> mRequestedPermissions = new ArrayList<>(); field in GrantPermissionsActivity
302 mRequestedPermissions = removeNullOrEmptyPermissions(requestedPermissionsArray); in onCreate()
303 mOriginalRequestedPermissions = mRequestedPermissions.toArray(new String[0]); in onCreate()
323 for (String permission : mRequestedPermissions) { in onCreate()
338 for (int i = mRequestedPermissions.size() - 1; i >= 0; i--) { in onCreate()
342 mRequestedPermissions.get(i))) { in onCreate()
346 + mRequestedPermissions.get(i)); in onCreate()
347 mRequestedPermissions.remove(i); in onCreate()
353 if (mRequestedPermissions.isEmpty()) { in onCreate()
359 mSystemRequestedPermissions.addAll(mRequestedPermissions); in onCreate()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java114 newEntry.mRequestedPermissions = packageInfo.requestedPermissions; in getPackageToStateMapsByProfileId()
212 private String[] mRequestedPermissions; field in AppStateAppOpsBridge.PermissionState
231 return mRequestedPermissions; in getRequestedPermissions()