Home
last modified time | relevance | path

Searched refs:addPermissions (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java72 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForOwnPermission()
86 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForFullPermission()
87 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpForFullPermission()
88 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForFullPermission()
DCallLogProviderTest.java359 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
360 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
361 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
668 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update()
686 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query()
704 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete()
DVoicemailProviderTest.java422 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_InsertAndQuery()
464 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
469 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
477 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
539 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testUriPermissions_ReadAccess()
553 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testUriPermissions_WriteAccess()
DContactsActor.java503 public void addPermissions(String... permissions) { in addPermissions() method in ContactsActor
DContactsProvider2Test.java2366 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones()
2446 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones_nullCorp()
2573 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_noCorpProfile()
2586 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_withCorpProfile()
9320 mActor.addPermissions("android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"); in testDefaultAccountSet_throwException()
9358 mActor.addPermissions("android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"); in testDefaultAccountSetAndQuery()
DBaseContactsProvider2Test.java157 mActor.addPermissions( in setUp()
/packages/services/Car/libs/car-test-lib/src/android/car/test/
DPermissionsCheckerRule.java81 addPermissions(permissions, in apply() method in PermissionsCheckerRule
86 addPermissions(permissions, in apply() method
122 private static void addPermissions(Set<String> permissions, EnsureHasPermission annotation) {
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsTest.java99 addPermissions(); in setUp()
180 private void addPermissions() { in addPermissions() method in QnsTest