HomeSort by relevance Sort by last modified time
    Searched refs:appOps (Results 1 - 8 of 8) sorted by null

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsApplication.java 331 // Picking a new SMS app requires AppOps and Settings.Secure permissions, so we only do
353 // If we found a package, make sure AppOps permissions are set up correctly
355 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE);
363 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
369 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
391 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
395 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
406 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
410 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
420 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid
    [all...]
  /packages/apps/Settings/src/com/android/settings/location/
RecentLocationApps.java 104 // Retrieve a location usage list from AppOps
107 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(new int[] {
110 // Process the AppOps list and generate a preference list.
116 final int appOpsN = appOps.size();
118 AppOpsManager.PackageOps ops = appOps.get(i);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
LocationActivity.java 177 // Retrieve a location usage list from AppOps
179 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(
185 for (AppOpsManager.PackageOps ops : appOps) {
  /frameworks/base/services/core/java/com/android/server/power/
Notifier.java 114 IAppOpsService appOps, SuspendBlocker suspendBlocker,
118 mAppOps = appOps;
PowerManagerService.java 483 public void systemReady(IAppOpsService appOps) {
486 mAppOps = appOps;
    [all...]
  /packages/services/Telephony/src/com/android/phone/
OutgoingCallBroadcaster.java 430 AppOpsManager appOps = (AppOpsManager)getSystemService(Context.APP_OPS_SERVICE);
442 if (appOps.noteOpNoThrow(AppOpsManager.OP_CALL_PHONE, launchedFromUid, launchedFromPackage)
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java 305 AppOpsManager appOps =
307 appOps.setMode(AppOpsManager.OP_ACTIVATE_VPN, mOwnerUID, mPackage,
317 AppOpsManager appOps =
321 return appOps.noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Binder.getCallingUid(),
    [all...]
  /frameworks/base/services/core/java/com/android/server/
MountService.java     [all...]

Completed in 2319 milliseconds