Home
last modified time | relevance | path

Searched refs:OP_READ_SMS (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java24 import static android.app.AppOpsManager.OP_READ_SMS;
256 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
260 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testNoteOperationAndGetOpsForPackage()
262 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
268 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
315 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testStatePersistence()
317 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testStatePersistence()
329 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testStatePersistence()
336 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testShutdown()
337 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testShutdown()
[all …]
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h57 OP_READ_SMS = 14, enumerator
/frameworks/base/core/java/android/app/
DAppOpsManager.java952 public static final int OP_READ_SMS = AppProtoEnums.APP_OP_READ_SMS; field in AppOpsManager
2532 OP_READ_SMS,
2668 new AppOpInfo.Builder(OP_READ_SMS, OPSTR_READ_SMS, "READ_SMS")
2695 .setSwitchCode(OP_READ_SMS).setPermission(android.Manifest.permission.READ_SMS)