Searched refs:MODIFY_PHONE_STATE (Results 1 – 25 of 47) sorted by relevance
12
137 .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()
347 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 …]
950 @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 …]
4413 @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 …]
2403 @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 …]
163 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)170 context.enforceCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE, in initialize()
803 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)
21 import static android.Manifest.permission.MODIFY_PHONE_STATE;56 MONITORED_PERMS[PermissionEnum.MODIFY_PHONE_STATE] = MODIFY_PHONE_STATE;
25 MODIFY_PHONE_STATE = 1, enumConstant
836 @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)
1415 @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)
977 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
1221 @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 …]
19 import static android.Manifest.permission.MODIFY_PHONE_STATE;1086 @RequiresPermission(MODIFY_PHONE_STATE)1103 @RequiresPermission(MODIFY_PHONE_STATE)1140 @RequiresPermission(MODIFY_PHONE_STATE)
19 import static android.Manifest.permission.MODIFY_PHONE_STATE;781 @RequiresPermission(MODIFY_PHONE_STATE)
19 import static android.Manifest.permission.MODIFY_PHONE_STATE;2847 @RequiresPermission(MODIFY_PHONE_STATE)2869 @RequiresPermission(MODIFY_PHONE_STATE)
74 android.Manifest.permission.MODIFY_PHONE_STATE, message); in checkCallingCanSendText()
21 import static android.Manifest.permission.MODIFY_PHONE_STATE;390 mContext.enforceCallingOrSelfPermission(MODIFY_PHONE_STATE,
268 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()
106 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)126 @RequiresPermission(Manifest.permission.MODIFY_PHONE_STATE)
19 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()
110 eq(android.Manifest.permission.MODIFY_PHONE_STATE), any(), anyInt()); in testTurnOnListener()
679 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()
218 …method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, andr…226 …method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void…
409 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)649 @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE)