Searched refs:opStr (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsApplication.java | 570 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in defaultSmsAppChanged() 571 appOps.setUidMode(opStr, Process.PHONE_UID, AppOpsManager.MODE_ALLOWED); in defaultSmsAppChanged() 578 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in tryFixExclusiveSmsAppops() 579 int mode = appOps.unsafeCheckOp(opStr, applicationData.mUid, in tryFixExclusiveSmsAppops() 583 + opStr + ": " in tryFixExclusiveSmsAppops() 586 appOps.setUidMode(opStr, applicationData.mUid, AppOpsManager.MODE_ALLOWED); in tryFixExclusiveSmsAppops() 802 for (String opStr : DEFAULT_APP_EXCLUSIVE_APPOPS) { in setExclusiveAppops() 803 appOpsManager.setUidMode(opStr, uid, mode); in setExclusiveAppops()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 150 for (String opStr : APP_OPS_TO_CHECK) { in setUp() 152 opStr, SMS_APP_UID, TEST_COMPONENT_NAME.getPackageName())) in setUp()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 5245 String opStr; field in AppOpsService.Shell 5305 opStr = null; in parseUserOpMode() 5311 if (opStr == null) { in parseUserOpMode() 5312 opStr = argument; in parseUserOpMode() 5319 if (opStr == null) { in parseUserOpMode() 5323 op = strOpToOp(opStr, err); in parseUserOpMode() 5340 opStr = null; in parseUserPackageOp() 5351 } else if (opStr == null) { in parseUserPackageOp() 5352 opStr = argument; in parseUserPackageOp() 5360 } else if (opStr == null && reqOp) { in parseUserPackageOp() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 1031 String packageName, int packageUid, String opStr, boolean isRunning) { in createPackageOp() argument 1036 when(entry.getOpStr()).thenReturn(opStr); in createPackageOp()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/ |
D | VpnTest.java | 1053 for (final String opStr : grantedOps) { in createVpn() 1054 when(mAppOps.noteOpNoThrow(opStr, Process.myUid(), TEST_VPN_PKG, in createVpn()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 6611 final String opStr = sAppOpInfos[opCode].name; in getOrCreateHistoricalOp() local 6612 HistoricalOp op = mHistoricalOps.get(opStr); in getOrCreateHistoricalOp() 6615 mHistoricalOps.put(opStr, op); in getOrCreateHistoricalOp()
|