Home
last modified time | relevance | path

Searched refs:addPermissions (Results 1 – 6 of 6) 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.java108 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
109 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
110 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
367 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update()
385 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query()
403 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete()
DVoicemailProviderTest.java421 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_InsertAndQuery()
463 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
468 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
476 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
538 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testUriPermissions_ReadAccess()
552 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testUriPermissions_WriteAccess()
DContactsActor.java469 public void addPermissions(String... permissions) { in addPermissions() method in ContactsActor
DBaseContactsProvider2Test.java139 mActor.addPermissions( in setUp()
DContactsProvider2Test.java2147 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones()
2227 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones_nullCorp()
2354 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_noCorpProfile()
2367 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_withCorpProfile()