Home
last modified time | relevance | path

Searched refs:MODIFY_PHONE_STATE (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsPermissionsTest.java137 .enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp()
158 .enforceCallingPermission(Manifest.permission.MODIFY_PHONE_STATE, MESSAGE); in testCheckCallingSendTextPermissions_noPersist_noModify()
230 Manifest.permission.MODIFY_PHONE_STATE)) in testCheckCallingOrSelfCanSetSmscAddressPermissions_defaultSmsApp()
238 Manifest.permission.MODIFY_PHONE_STATE)) in testCheckCallingOrSelfCanSetSmscAddressPermissions_hasModifyPhoneState()
248 Manifest.permission.MODIFY_PHONE_STATE)).thenReturn(PERMISSION_DENIED); in testCheckCallingOrSelfCanSetSmscAddressPermissions_noPermissions()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionManagerServiceTest.java347 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testAddSubInfo()
370 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetMccMnc()
390 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetCountryIso()
409 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetCarrierId()
428 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetAdminOwned()
445 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetGroupOwner_callerMissingpPermission_throws()
451 mContextFixture.removeCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetGroupOwner_callerMissingpPermission_throws()
464 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetPhoneNumber()
503 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testSetPhoneNumber_EnabledEnforceTelephonyFeatureMappingForPublicApis()
542 mContextFixture.addCallingOrSelfPermission(Manifest.permission.MODIFY_PHONE_STATE); in testGetAllSubInfoList()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java950 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
952 enforcePermissions("setGroupOwner", Manifest.permission.MODIFY_PHONE_STATE); in setGroupOwner()
2262 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2265 enforcePermissions("addSubInfo", Manifest.permission.MODIFY_PHONE_STATE); in addSubInfo()
2326 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2328 enforcePermissions("removeSubInfo", Manifest.permission.MODIFY_PHONE_STATE); in removeSubInfo()
2369 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2371 enforcePermissions("setIconTint", Manifest.permission.MODIFY_PHONE_STATE); in setIconTint()
2401 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2404 enforcePermissions("setDisplayNameUsingSrc", Manifest.permission.MODIFY_PHONE_STATE); in setDisplayNameUsingSrc()
[all …]
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java4413 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
4444 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
4543 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
4774 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
5983 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
6004 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
6034 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
6056 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
7192 android.Manifest.permission.MODIFY_PHONE_STATE})
7383 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
[all …]
DSubscriptionManager.java2403 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2419 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2602 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
2669 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2705 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2897 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
3487 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3637 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3679 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3725 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
[all …]
DAnomalyReporter.java163 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
170 context.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, in initialize()
DSmsManager.java803 android.Manifest.permission.MODIFY_PHONE_STATE,
1223 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3338 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3357 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3524 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
3582 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServerPermissionProvider.java21 import static android.Manifest.permission.MODIFY_PHONE_STATE;
56 MONITORED_PERMS[PermissionEnum.MODIFY_PHONE_STATE] = MODIFY_PHONE_STATE;
/frameworks/av/aidl/com/android/media/permission/
DPermissionEnum.aidl25 MODIFY_PHONE_STATE = 1, enumConstant
/frameworks/base/telephony/java/android/telephony/ims/
DImsMmTelManager.java836 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1036 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1114 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1221 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1298 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1337 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1423 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1499 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1535 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
DProvisioningManager.java1415 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1439 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1471 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1615 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1650 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1745 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
DRcsUceAdapter.java977 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java1221 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
1814 android.Manifest.permission.MODIFY_PHONE_STATE,
2091 {Manifest.permission.ANSWER_PHONE_CALLS, Manifest.permission.MODIFY_PHONE_STATE})
2113 {Manifest.permission.ANSWER_PHONE_CALLS, Manifest.permission.MODIFY_PHONE_STATE})
2145 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2341 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2366 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2388 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2408 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
2558 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
[all …]
DConference.java19 import static android.Manifest.permission.MODIFY_PHONE_STATE;
1086 @RequiresPermission(MODIFY_PHONE_STATE)
1103 @RequiresPermission(MODIFY_PHONE_STATE)
1140 @RequiresPermission(MODIFY_PHONE_STATE)
DPhoneAccount.java19 import static android.Manifest.permission.MODIFY_PHONE_STATE;
781 @RequiresPermission(MODIFY_PHONE_STATE)
DConnection.java19 import static android.Manifest.permission.MODIFY_PHONE_STATE;
2847 @RequiresPermission(MODIFY_PHONE_STATE)
2869 @RequiresPermission(MODIFY_PHONE_STATE)
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsPermissions.java74 android.Manifest.permission.MODIFY_PHONE_STATE, message); in checkCallingCanSendText()
DPhoneSubInfoController.java21 import static android.Manifest.permission.MODIFY_PHONE_STATE;
390 mContext.enforceCallingOrSelfPermission(MODIFY_PHONE_STATE,
DSmsController.java268 android.Manifest.permission.MODIFY_PHONE_STATE) in sendTextForSubscriber()
921 .permission.MODIFY_PHONE_STATE, Binder.getCallingPid(), in setStorageMonitorMemoryStatusOverride()
947 .permission.MODIFY_PHONE_STATE, Binder.getCallingPid(), in clearStorageMonitorMemoryStatusOverride()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java106 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
126 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java19 import static android.Manifest.permission.MODIFY_PHONE_STATE;
1011 mContextFixture.addCallingOrSelfPermission(MODIFY_PHONE_STATE); in testSetPhoneNumberForSourceIms()
1056 mContextFixture.addCallingOrSelfPermission(MODIFY_PHONE_STATE); in testSetPhoneNumberForSourceImsNegativeCases()
1099 mContextFixture.addCallingOrSelfPermission(MODIFY_PHONE_STATE); in testSetPhoneNumberForSourceIgnoreGlobalPhoneNumberFormat()
1163 mContextFixture.addCallingOrSelfPermission(MODIFY_PHONE_STATE); in testClearPhoneNumberForSourceIms()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/publish/
DDeviceCapabilityListenerTest.java110 eq(android.Manifest.permission.MODIFY_PHONE_STATE), any(), anyInt()); in testTurnOnListener()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorManagerServiceTest.java679 denyPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in vibrate_withoutBypassFlagsPermissions_bypassFlagsNotApplied()
688 denyPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in vibrate_withSecureSettingsPermission_bypassFlagsApplied()
697 grantPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in vibrate_withModifyPhoneStatePermission_bypassFlagsApplied()
706 denyPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in vibrate_withModifyAudioRoutingPermission_bypassFlagsApplied()
1386 denyPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in performHapticFeedback_doesNotRequireVibrateOrBypassPermissions()
1587 grantPermission(android.Manifest.permission.MODIFY_PHONE_STATE);
2061 grantPermission(android.Manifest.permission.MODIFY_PHONE_STATE); in onExternalVibration_withBypassMuteAudioFlag_ignoresUserSettings()
/frameworks/base/core/api/
Dsystem-removed.txt218 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…
226 …method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void…
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java409 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)
649 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)

12