HomeSort by relevance Sort by last modified time
    Searched full:permissionstate (Results 1 - 14 of 14) sorted by null

  /packages/apps/Settings/src/com/android/settings/applications/
AppStateOverlayBridge.java 51 PermissionState permissionState = super.getPermissionInfo(pkg, uid);
52 return new OverlayState(permissionState);
65 public static class OverlayState extends AppStateAppOpsBridge.PermissionState {
67 public OverlayState(PermissionState permissionState) {
68 super(permissionState.packageName, permissionState.userHandle);
69 this.packageInfo = permissionState.packageInfo;
70 this.appOpMode = permissionState.appOpMode
    [all...]
AppStateUsageBridge.java 52 PermissionState permissionState = super.getPermissionInfo(pkg, uid);
53 return new UsageState(permissionState);
56 public static class UsageState extends AppStateAppOpsBridge.PermissionState {
58 public UsageState(PermissionState permissionState) {
59 super(permissionState.packageName, permissionState.userHandle);
60 this.packageInfo = permissionState.packageInfo;
61 this.appOpMode = permissionState.appOpMode
    [all...]
AppStateWriteSettingsBridge.java 55 PermissionState permissionState = super.getPermissionInfo(pkg, uid);
56 return new WriteSettingsState(permissionState);
69 public static class WriteSettingsState extends AppStateAppOpsBridge.PermissionState {
70 public WriteSettingsState(PermissionState permissionState) {
71 super(permissionState.packageName, permissionState.userHandle);
72 this.packageInfo = permissionState.packageInfo;
73 this.appOpMode = permissionState.appOpMode
    [all...]
AppStateAppOpsBridge.java 92 public PermissionState getPermissionInfo(String pkg, int uid) {
93 PermissionState permissionState = new PermissionState(pkg, new UserHandle(UserHandle
96 permissionState.packageInfo = mIPackageManager.getPackageInfo(pkg,
97 PackageManager.GET_PERMISSIONS, permissionState.userHandle.getIdentifier());
99 String[] requestedPermissions = permissionState.packageInfo.requestedPermissions;
100 int[] permissionFlags = permissionState.packageInfo.requestedPermissionsFlags;
104 permissionState.permissionDeclared = true;
106 permissionState.staticPermissionGranted = true
    [all...]
DrawOverlayDetails.java 39 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
166 return getSummary(context, new OverlayState((PermissionState)entry.extraInfo));
WriteSettingsDetails.java 38 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
165 return getSummary(context, new WriteSettingsState((PermissionState)entry
ManageApplications.java 66 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PermissionsState.java 277 public PermissionState getInstallPermissionState(String name) {
288 public PermissionState getRuntimePermissionState(String name, int userId) {
298 public List<PermissionState> getInstallPermissionStates() {
307 public List<PermissionState> getRuntimePermissionStates(int userId) {
320 PermissionState installPermState = getInstallPermissionState(name);
324 PermissionState runtimePermState = getRuntimePermissionState(name, userId);
435 private PermissionState getPermissionState(String name, int userId) {
446 private List<PermissionState> getPermissionStatesInternal(int userId) {
453 List<PermissionState> permissionStates = new ArrayList<>();
459 PermissionState permissionState = permissionData.getPermissionState(userId)
    [all...]
Settings.java 66 import com.android.server.pm.PermissionsState.PermissionState;
    [all...]
PackageManagerService.java 226 import com.android.server.pm.PermissionsState.PermissionState;
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
OsUtil.java 191 final int permissionState = context.checkSelfPermission(permission);
192 sPermissions.put(permission, permissionState);
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 266 int permissionState = ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA);
269 if (permissionState != PackageManager.PERMISSION_GRANTED) {
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
HdrViewfinderActivity.java 266 int permissionState = ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA);
269 if (permissionState != PackageManager.PERMISSION_GRANTED) {
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
HdrViewfinderActivity.java 266 int permissionState = ActivityCompat.checkSelfPermission(this, Manifest.permission.CAMERA);
269 if (permissionState != PackageManager.PERMISSION_GRANTED) {

Completed in 2862 milliseconds