Searched refs:OP_WRITE_SMS (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 391 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 405 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage() 418 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage() 428 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation() 438 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus() 449 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation() 460 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft() 472 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addMultimediaMessageDraft() 494 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in setAutoPersisting()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 27 import static android.app.AppOpsManager.OP_WRITE_SMS; 257 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 265 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName, null, false, null, in testNoteOperationAndGetOpsForPackage() 269 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 316 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence() 318 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName, null, false, null, in testStatePersistence() 330 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence() 360 mMyUid, sMyPackageName, new int[]{OP_READ_SMS, OP_WRITE_SMS}); in testGetOpsForPackage() 373 new int[]{OP_WRITE_SMS}); in testGetOpsForPackage()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 58 OP_WRITE_SMS = 15, enumerator
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 955 public static final int OP_WRITE_SMS = AppProtoEnums.APP_OP_WRITE_SMS; field in AppOpsManager 2672 new AppOpInfo.Builder(OP_WRITE_SMS, OPSTR_WRITE_SMS, "WRITE_SMS") 2699 .setSwitchCode(OP_WRITE_SMS).setRestriction(UserManager.DISALLOW_SMS)
|