Searched refs:OP_READ_SMS (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 24 import static android.app.AppOpsManager.OP_READ_SMS; 163 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage() 167 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testNoteOperationAndGetOpsForPackage() 169 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage() 175 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage() 207 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testStatePersistence() 209 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testStatePersistence() 219 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testStatePersistence() 226 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testShutdown() 227 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testShutdown() [all …]
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 57 OP_READ_SMS = 14, enumerator
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 923 public static final int OP_READ_SMS = AppProtoEnums.APP_OP_READ_SMS; field in AppOpsManager 1846 OP_READ_SMS, 1934 OP_READ_SMS, // READ_SMS 1941 OP_READ_SMS, // READ_ICC_SMS
|