Searched refs:OP_WRITE_SMS (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 373 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 387 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage() 400 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage() 410 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation() 420 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus() 431 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation() 442 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft() 454 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addMultimediaMessageDraft() 476 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in setAutoPersisting()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 26 import static android.app.AppOpsManager.OP_WRITE_SMS; 174 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 182 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName); in testNoteOperationAndGetOpsForPackage() 185 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 217 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence() 219 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName); in testStatePersistence() 229 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence() 260 mMyUid, sMyPackageName, new int[]{OP_READ_SMS, OP_WRITE_SMS}); in testGetOpsForPackage() 273 new int[]{OP_WRITE_SMS}); in testGetOpsForPackage()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 55 OP_WRITE_SMS = 15, enumerator
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 627 public static final int OP_WRITE_SMS = 15; field in AppOpsManager 1236 OP_WRITE_SMS, // WRITE_SMS 1243 OP_WRITE_SMS, // WRITE_ICC_SMS
|