Searched refs:OP_WRITE_SMS (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 26 import static android.app.AppOpsManager.OP_WRITE_SMS; 129 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 137 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, mMyPackageName); in testNoteOperationAndGetOpsForPackage() 140 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 172 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, mMyPackageName, MODE_ERRORED); in testStatePersistence() 174 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, mMyPackageName); in testStatePersistence() 185 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence() 217 mMyUid, mMyPackageName, new int[]{OP_READ_SMS, OP_WRITE_SMS}); in testGetOpsForPackage() 230 new int[]{OP_WRITE_SMS}); in testGetOpsForPackage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 378 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage() 392 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage() 405 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage() 415 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation() 425 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus() 436 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation() 447 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft() 459 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addMultimediaMessageDraft() 481 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in setAutoPersisting()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsPermissions.java | 37 checkOp(context, uid, callingPackage, AppOpsManager.OP_WRITE_SMS); in checkWritePermissions()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 55 OP_WRITE_SMS = 15, enumerator
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 530 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), eq(TAG)); in testLine1NumberWithOutPermission() 549 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), eq(TAG)); in testLine1NumberWithOutPermission() 555 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), eq(TAG)); in testLine1NumberWithOutPermission()
|
D | TelephonyPermissionsTest.java | 205 when(mMockAppOps.noteOp(AppOpsManager.OP_WRITE_SMS, UID, PACKAGE)) in testCheckReadPhoneNumber_defaultSmsApp()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 81 AppOpsManager.OP_WRITE_SMS, 754 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in assignExclusiveSmsPermissionsToSystemApp()
|
D | TelephonyPermissions.java | 474 if (appOps.noteOp(AppOpsManager.OP_WRITE_SMS, uid, callingPackage) == in checkReadPhoneNumber()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 626 public static final int OP_WRITE_SMS = 15; field in AppOpsManager 1201 OP_WRITE_SMS, // WRITE_SMS 1208 OP_WRITE_SMS, // WRITE_ICC_SMS
|