Searched refs:mActor (Results 1 – 11 of 11) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
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 | 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() 77 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpForFullPermission() 78 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpForFullPermission() 79 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForFullPermission() 84 mActor.removePermissions(ADD_VOICEMAIL_PERMISSION); in setUpForNoPermission() 85 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in setUpForNoPermission() 86 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in setUpForNoPermission() [all …]
|
D | VoicemailProviderTest.java | 76 Voicemails.buildSourceUri(mActor.packageName) : Voicemails.CONTENT_URI; in voicemailUri() 82 Status.buildSourceUri(mActor.packageName) : Status.CONTENT_URI; in statusUri() 232 mPackageManager.addPackage(Process.myUid(), mActor.packageName); in testUpdateAfterDelete_lastModifiedNotChanged() 316 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_InsertAndQuery() 359 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 364 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 366 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 372 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testPermissions_UpdateAndDelete() 379 .appendQueryParameter(VoicemailContract.PARAM_KEY_SOURCE_PACKAGE, mActor.packageName) in withSourcePackageParam() 393 mActor.addUriPermissions(uri1); in testUriPermissions() [all …]
|
D | CallLogProviderTest.java | 103 mActor.addPermissions(ADD_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions() 104 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions() 105 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in setUpWithVoicemailPermissions() 363 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update() 365 mActor.removePermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Update() 381 mActor.addPermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query() 383 mActor.removePermissions(READ_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Query() 399 mActor.addPermissions(WRITE_VOICEMAIL_PERMISSION); in testVoicemailPermissions_Delete() 401 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 | ContactsProvider2Test.java | 2079 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpCorpProvider() 2084 SynchronousContactsProvider2 provider = mActor.addProvider( in setUpCorpProvider() 2087 new AlteringUserContext(mActor.getProviderContext(), userId)); in setUpCorpProvider() 2097 mActor.mockUserManager.setUsers(MockUserManager.PRIMARY_USER, MockUserManager.CORP_USER); in setUpNullCorpProvider() 2099 mActor.addProvider( in setUpNullCorpProvider() 2102 new AlteringUserContext(mActor.getProviderContext(), MockUserManager.CORP_USER.id)); in setUpNullCorpProvider() 2112 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones() 2192 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryMergedDataPhones_nullCorp() 2319 mActor.addPermissions("android.permission.INTERACT_ACROSS_USERS"); in testQueryRawContactEntitiesCorp_noCorpProfile() 2332 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 | VoicemailCleanupTest.java | 118 (VoicemailContentProvider) mActor.provider; in testRemoveStalePackagesAtStartUp()
|
D | ContactMetadataProviderTest.java | 106 mActor.provider).getDatabaseHelper()); in setUp()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | UserUtilsTest.java | 34 protected ContactsActor mActor; field in UserUtilsTest 40 mActor = new ContactsActor(getContext(), PACKAGE_GREY, in setUp() 46 final Context c = mActor.getProviderContext(); in testGetCorpUser() 47 final MockUserManager um = mActor.mockUserManager; in testGetCorpUser()
|