Searched refs:opStr (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 554 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in defaultSmsAppChanged() 555 appOps.setUidMode(opStr, Process.PHONE_UID, AppOpsManager.MODE_ALLOWED); in defaultSmsAppChanged() 562 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in tryFixExclusiveSmsAppops() 563 int mode = appOps.unsafeCheckOp(opStr, applicationData.mUid, in tryFixExclusiveSmsAppops() 567 + opStr + ": " in tryFixExclusiveSmsAppops() 570 appOps.setUidMode(opStr, applicationData.mUid, AppOpsManager.MODE_ALLOWED); in tryFixExclusiveSmsAppops() 785 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in setExclusiveAppops() 786 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 | 4461 String opStr; field in AppOpsService.Shell 4521 opStr = null; in parseUserOpMode() 4527 if (opStr == null) { in parseUserOpMode() 4528 opStr = argument; in parseUserOpMode() 4535 if (opStr == null) { in parseUserOpMode() 4539 op = strOpToOp(opStr, err); in parseUserOpMode() 4556 opStr = null; in parseUserPackageOp() 4567 } else if (opStr == null) { in parseUserPackageOp() 4568 opStr = argument; in parseUserPackageOp() 4576 } else if (opStr == null && reqOp) { in parseUserPackageOp() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 5734 final String opStr = sOpToString[opCode]; in getOrCreateHistoricalOp() local 5735 HistoricalOp op = mHistoricalOps.get(opStr); in getOrCreateHistoricalOp() 5738 mHistoricalOps.put(opStr, op); in getOrCreateHistoricalOp()
|