Home
last modified time | relevance | path

Searched refs:OP_WRITE_SMS (Results 1 – 11 of 11) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/
H A DMmsServiceBroker.java377 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importTextMessage()
391 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in importMultimediaMessage()
404 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredMessage()
414 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in deleteStoredConversation()
424 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in updateStoredMessageStatus()
435 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in archiveStoredConversation()
446 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addTextMessageDraft()
458 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in addMultimediaMessageDraft()
480 if (getAppOpsManager().noteOp(AppOpsManager.OP_WRITE_SMS, Binder.getCallingUid(), in setAutoPersisting()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsServiceTest.java26 import static android.app.AppOpsManager.OP_WRITE_SMS;
164 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage()
172 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName, null, false, null, in testNoteOperationAndGetOpsForPackage()
176 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage()
208 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence()
210 mAppOpsService.noteOperation(OP_WRITE_SMS, mMyUid, sMyPackageName, null, false, null, in testStatePersistence()
220 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence()
250 mMyUid, sMyPackageName, new int[]{OP_READ_SMS, OP_WRITE_SMS}); in testGetOpsForPackage()
263 new int[]{OP_WRITE_SMS}); in testGetOpsForPackage()
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DSmsChangesProvider.java54 setAppOps(AppOpsManager.OP_READ_SMS, AppOpsManager.OP_WRITE_SMS); in onCreate()
H A DMmsProvider.java76 setAppOps(AppOpsManager.OP_READ_SMS, AppOpsManager.OP_WRITE_SMS); in onCreate()
H A DSmsProvider.java98 setAppOps(AppOpsManager.OP_READ_SMS, AppOpsManager.OP_WRITE_SMS); in onCreate()
H A DMmsSmsProvider.java314 setAppOps(AppOpsManager.OP_READ_SMS, AppOpsManager.OP_WRITE_SMS); in onCreate()
/aosp12/frameworks/native/libs/permission/include/binder/
H A DAppOpsManager.h58 OP_WRITE_SMS = 15, enumerator
/aosp12/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
H A DBlockedNumberProviderTest.java81 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), anyString())) in setUp()
530 eq(AppOpsManager.OP_WRITE_SMS), anyInt(), anyString())) in testPrivilegedAppCannotUseSystemApis()
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appops/
H A DAppOpsState.java139 AppOpsManager.OP_WRITE_SMS,
/aosp12/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
H A DBlockedNumberProvider.java628 if (appOps.noteOp(AppOpsManager.OP_WRITE_SMS,
/aosp12/frameworks/base/core/java/android/app/
H A DAppOpsManager.java926 public static final int OP_WRITE_SMS = AppProtoEnums.APP_OP_WRITE_SMS; field in AppOpsManager
1865 OP_WRITE_SMS, // WRITE_SMS
1872 OP_WRITE_SMS, // WRITE_ICC_SMS