Searched refs:opStr (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 560 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in defaultSmsAppChanged() 561 appOps.setUidMode(opStr, Process.PHONE_UID, AppOpsManager.MODE_ALLOWED); in defaultSmsAppChanged() 568 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in tryFixExclusiveSmsAppops() 569 int mode = appOps.unsafeCheckOp(opStr, applicationData.mUid, in tryFixExclusiveSmsAppops() 573 + opStr + ": " in tryFixExclusiveSmsAppops() 576 appOps.setUidMode(opStr, applicationData.mUid, AppOpsManager.MODE_ALLOWED); in tryFixExclusiveSmsAppops() 779 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in setExclusiveAppops() 780 appOpsManager.setUidMode(opStr, uid, mode); in setExclusiveAppops()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 136 for (String opStr : APP_OPS_TO_CHECK) { in setUp() 138 opStr, SMS_APP_UID, TEST_COMPONENT_NAME.getPackageName())) in setUp()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 3254 String opStr; field in AppOpsService.Shell 3317 opStr = null; in parseUserOpMode() 3323 if (opStr == null) { in parseUserOpMode() 3324 opStr = argument; in parseUserOpMode() 3331 if (opStr == null) { in parseUserOpMode() 3335 op = strOpToOp(opStr, err); in parseUserOpMode() 3352 opStr = null; in parseUserPackageOp() 3361 } else if (opStr == null) { in parseUserPackageOp() 3362 opStr = argument; in parseUserPackageOp() 3370 } else if (opStr == null && reqOp) { in parseUserPackageOp() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 3731 final String opStr = sOpToString[opCode]; in getOrCreateHistoricalOp() local 3732 HistoricalOp op = mHistoricalOps.get(opStr); in getOrCreateHistoricalOp() 3735 mHistoricalOps.put(opStr, op); in getOrCreateHistoricalOp()
|