/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 478 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in getApplication() local 486 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication() 492 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication() 512 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 514 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 516 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 518 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 524 assignWriteSmsPermissionToSystemUid(appOps, Process.PHONE_UID); in getApplication() 577 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in setDefaultApplicationInternal() local 582 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in setDefaultApplicationInternal() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 67 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_OPS); in getAppList() local 69 final int appOpsCount = appOps != null ? appOps.size() : 0; in getAppList() 78 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 98 AppOpsManager appOps; in recordingAllowed() local 99 if (appOps.noteOp(AppOpsManager::OP_RECORD_AUDIO, uid, checkedOpPackageName) in recordingAllowed()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DumpUtils.java | 120 final AppOpsManager appOps = context.getSystemService(AppOpsManager.class); in checkUsageStatsPermission() local 124 switch (appOps.checkOpNoThrow(AppOpsManager.OP_GET_USAGE_STATS, uid, pkg)) { in checkUsageStatsPermission()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 174 AppOpsManager appOps = (AppOpsManager) context.getSystemService( in hasAppOpsPermission() local 177 final int mode = appOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, in hasAppOpsPermission()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | AppSmsManager.java | 77 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken() local 78 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in createAppSpecificSmsToken()
|
/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 117 AppOpsManager appOps; in Sensor() local 118 mRequiredAppOp = appOps.permissionToOpCode(String16(SENSOR_PERMISSION_BODY_SENSORS)); in Sensor() 263 AppOpsManager appOps; in Sensor() local 264 … mRequiredAppOp = appOps.permissionToOpCode(String16(SENSOR_PERMISSION_BODY_SENSORS)); in Sensor()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 133 IAppOpsService appOps, SuspendBlocker suspendBlocker, in Notifier() argument 137 mAppOps = appOps; in Notifier()
|
D | PowerManagerService.java | 715 public void systemReady(IAppOpsService appOps) { in systemReady() argument 718 mAppOps = appOps; in systemReady()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationManagerCompat.java | 220 AppOpsManager appOps = in areNotificationsEnabled() local 231 return ((int) checkOpNoThrowMethod.invoke(appOps, value, uid, pkg) in areNotificationsEnabled()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 570 AppOpsManager appOps = in setPackageAuthorization() local 572 appOps.setMode(AppOpsManager.OP_ACTIVATE_VPN, uid, packageName, in setPackageAuthorization() 584 AppOpsManager appOps = in isVpnUserPreConsented() local 588 return appOps.noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Binder.getCallingUid(), in isVpnUserPreConsented()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1445 AppOpsManager appOps; in canAccessSensor() local 1446 if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName) in canAccessSensor()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 261 public static void appOps(Instrumentation instrumentation, String packageName, in appOps() method in ShortcutManagerTestUtils
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 3112 final AppOpsManager appOps = (AppOpsManager) mContext.getSystemService( in mkdirs() local 3114 appOps.checkPackage(Binder.getCallingUid(), callingPkg); in mkdirs()
|