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;
173 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
177 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName); in testNoteOperationAndGetOpsForPackage()
179 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
184 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
216 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testStatePersistence()
218 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName); in testStatePersistence()
228 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testStatePersistence()
235 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testShutdown()
236 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName); in testShutdown()
[all …]
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h54 OP_READ_SMS = 14, enumerator
/frameworks/base/core/java/android/app/
DAppOpsManager.java624 public static final int OP_READ_SMS = 14; field in AppOpsManager
1164 OP_READ_SMS,
1235 OP_READ_SMS, // READ_SMS
1242 OP_READ_SMS, // READ_ICC_SMS