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.java26 import static android.app.AppOpsManager.OP_READ_SMS;
168 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
172 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testNoteOperationAndGetOpsForPackage()
174 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
180 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
212 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testStatePersistence()
214 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testStatePersistence()
225 assertContainsOp(loggedOps, OP_READ_SMS, mTestStartMillis, -1, MODE_ALLOWED); in testStatePersistence()
232 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testShutdown()
233 mAppOpsService.noteOperation(OP_READ_SMS, mMyUid, sMyPackageName, null, false, null, false); in testShutdown()
[all …]
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h56 OP_READ_SMS = 14, enumerator
/frameworks/base/core/java/android/app/
DAppOpsManager.java841 public static final int OP_READ_SMS = AppProtoEnums.APP_OP_READ_SMS; field in AppOpsManager
1474 OP_READ_SMS,
1550 OP_READ_SMS, // READ_SMS
1557 OP_READ_SMS, // READ_ICC_SMS