Searched refs:mActor (Results 1 – 11 of 11) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 50 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in setUp() 70 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in setUpForOwnPermission() 71 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForOwnPermission() 72 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForOwnPermission() 73 mActor.revokeCarrierPrivileges(); in setUpForOwnPermission() 78 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in setUpForOwnPermissionViaCarrierPrivileges() 79 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForOwnPermissionViaCarrierPrivileges() 80 mActor.removePermissions(ADD_VOICEMAIL_PERMISSION); in setUpForOwnPermissionViaCarrierPrivileges() 81 mActor.grantCarrierPrivileges(); in setUpForOwnPermissionViaCarrierPrivileges() 86 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForFullPermission() [all …]
|
D | GroupsTest.java | 73 ((SynchronousContactsProvider2)mActor.provider).wipeData(); in testGroupSummary() 76 long groupGrey = mActor.createGroup(GROUP_GREY); in testGroupSummary() 77 long groupRed = mActor.createGroup(GROUP_RED); in testGroupSummary() 78 long groupGreen = mActor.createGroup(GROUP_GREEN); in testGroupSummary() 79 long groupBlue = mActor.createGroup(GROUP_BLUE); in testGroupSummary() 82 long contactAlpha = mActor.createRawContact(PERSON_ALPHA); in testGroupSummary() 83 long contactBravo = mActor.createRawContact(PERSON_BRAVO); in testGroupSummary() 84 long contactCharlie = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary() 85 long contactCharlieDupe = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary() 88 long contactDelta = mActor.createRawContact(PERSON_DELTA); in testGroupSummary() [all …]
|
D | VoicemailProviderTest.java | 98 Voicemails.buildSourceUri(mActor.packageName) : Voicemails.CONTENT_URI; in voicemailUri() 106 Status.buildSourceUri(mActor.packageName) : Status.CONTENT_URI; in statusUri() 337 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in testUpdateAfterDelete_lastModifiedNotChanged() 421 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() 470 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 476 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 505 mActor.packageName) in withSourcePackageParam() 519 mActor.addUriPermissions(uri1); in testUriPermissions() [all …]
|
D | CallLogProviderTest.java | 108 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() 369 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update() 385 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query() 387 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query() 403 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete() 405 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete()
|
D | PhotoStoreTest.java | 44 private ContactsActor mActor; field in PhotoStoreTest 54 mActor = new ContactsActor(getContext(), PACKAGE_GREY, SynchronousContactsProvider2.class, in setUp() 56 mProvider = ((SynchronousContactsProvider2) mActor.provider); in setUp()
|
D | BaseContactsProvider2Test.java | 104 protected ContactsActor mActor; field in BaseContactsProvider2Test 131 mActor = new ContactsActor( in setUp() 133 mResolver = mActor.resolver; in setUp() 134 if (mActor.provider instanceof SynchronousContactsProvider2) { in setUp() 139 mActor.addPermissions( in setUp() 153 mActor.shutdown(); in tearDown() 159 return (SynchronousContactsProvider2) mActor.provider; in getContactsProvider() 163 return mActor.context; in getMockContext() 168 return mActor.addProvider(providerClass, authority); in addProvider() 172 return mActor.provider; in getProvider()
|
D | VoicemailCleanupTest.java | 118 (VoicemailContentProvider) mActor.provider; in testRemoveStalePackagesAtStartUp()
|
D | ContactsProvider2Test.java | 2114 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider() 2119 SynchronousContactsProvider2 provider = mActor.addProvider( in setUpCorpProvider() 2122 new AlteringUserContext(mActor.getProviderContext(), userId)); in setUpCorpProvider() 2132 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider() 2134 mActor.addProvider( in setUpNullCorpProvider() 2137 new AlteringUserContext(mActor.getProviderContext(), MockUserManager.CORP_USER.id)); in setUpNullCorpProvider() 2147 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() [all …]
|
D | ContactDirectoryManagerTest.java | 485 mActor.setAccounts(accounts); in testAccountRemoval() 499 mActor.setAccounts(accounts); in testAccountRemoval()
|
D | ContactMetadataProviderTest.java | 106 mActor.provider).getDatabaseHelper()); in setUp()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 32 protected ContactsActor mActor; field in UserUtilsTest 38 mActor = new ContactsActor(getContext(), PACKAGE_GREY, in setUp() 44 final Context c = mActor.getProviderContext(); in testGetCorpUser() 45 final MockUserManager um = mActor.mockUserManager; in testGetCorpUser()
|