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.java73 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForOwnPermission()
78 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForFullPermission()
79 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpForFullPermission()
80 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForFullPermission()
DCallLogProviderTest.java101 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
102 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
103 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions()
359 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update()
377 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query()
395 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete()
DVoicemailProviderTest.java282 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_InsertAndQuery()
325 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
330 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
338 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete()
378 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testUriPermissions_ReadAccess()
392 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testUriPermissions_WriteAccess()
DContactsActor.java399 public void addPermissions(String... permissions) { in addPermissions() method in ContactsActor
DBaseContactsProvider2Test.java136 mActor.addPermissions( in setUp()
DContactsProvider2Test.java2086 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones()
2166 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones_nullCorp()
2293 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_noCorpProfile()
2306 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_withCorpProfile()