Home
last modified time | relevance | path

Searched refs:authorities (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java77 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveBasic() local
78 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveBasic()
108 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveSubtrees() local
109 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveSubtrees()
135 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addFirst() local
136 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addFirst()
162 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addSecond() local
163 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addSecond()
196 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testCreation() local
197 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
[all …]
DSliceProviderPermissionsTest.java78 ArrayList<SliceAuthority> authorities = new ArrayList<>(provider.getAuthorities()); in testCreation() local
79 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
81 assertEquals(2, authorities.size()); in testCreation()
82 assertEquals("com.android.pkg", authorities.get(0).getAuthority()); in testCreation()
83 assertEquals("com.android.pkg.slices", authorities.get(1).getAuthority()); in testCreation()
85 assertEquals(1, authorities.get(0).getPkgs().size()); in testCreation()
86 assertEquals(2, authorities.get(1).getPkgs().size()); in testCreation()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java153 List<String> authorities = accountTypeToAuthorities.get(account.type); in serializeAccountSyncSettingsToJSON() local
157 if (authorities == null || authorities.isEmpty()) { in serializeAccountSyncSettingsToJSON()
167 for (String authority : authorities) { in serializeAccountSyncSettingsToJSON()
397 JSONArray authorities = accountJSON.getJSONArray(KEY_ACCOUNT_AUTHORITIES); in restoreExistingAccountSyncSettingsFromJSON() local
402 for (int i = 0; i < authorities.length(); i++) { in restoreExistingAccountSyncSettingsFromJSON()
403 JSONObject authority = (JSONObject) authorities.get(i); in restoreExistingAccountSyncSettingsFromJSON()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
DAuthenticatorHelper.java257 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in buildAccountTypeToAuthoritiesMap() local
258 if (authorities == null) { in buildAccountTypeToAuthoritiesMap()
259 authorities = new ArrayList<String>(); in buildAccountTypeToAuthoritiesMap()
260 mAccountTypeToAuthorities.put(sa.accountType, authorities); in buildAccountTypeToAuthoritiesMap()
266 authorities.add(sa.authority); in buildAccountTypeToAuthoritiesMap()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java478 Iterator<IntentFilter.AuthorityEntry> authorities = in computeResolveFilters() local
481 if ((authorities == null || !authorities.hasNext()) in computeResolveFilters()
/frameworks/base/core/java/android/content/
DContentProvider.java758 protected final void setAuthorities(String authorities) { in setAuthorities() argument
759 if (authorities != null) { in setAuthorities()
760 if (authorities.indexOf(';') == -1) { in setAuthorities()
761 mAuthority = authorities; in setAuthorities()
765 mAuthorities = authorities.split(";"); in setAuthorities()
DIntentFilter.java1362 final ArrayList<AuthorityEntry> authorities = mDataAuthorities; in matchData() local
1363 if (authorities != null) { in matchData()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java174 final HashMap<String, AuthorityInfo> authorities = field in SyncStorageEngine.AccountInfo
849 for (AuthorityInfo authorityInfo : accountInfo.authorities.values()) { in setBackoffLocked()
870 for (AuthorityInfo authorityInfo : accountInfo.authorities.values()) { in clearAllBackoffsLocked()
1031 for (AuthorityInfo auth : acc.authorities.values()) { in doDatabaseCleanup()
1468 AuthorityInfo authority = accountInfo.authorities.get(info.provider); in getAuthorityLocked()
1495 authority = account.authorities.get(info.provider); in getOrCreateAuthorityLocked()
1498 account.authorities.put(info.provider, authority); in getOrCreateAuthorityLocked()
1536 final AuthorityInfo authorityInfo = accountInfo.authorities.remove(authorityName); in removeAuthorityLocked()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java769 int authorities = filter.countDataAuthorities(); in buildResolveList() local
770 for (int z = 0; z < authorities; z++) { in buildResolveList()
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dadvs.txt4766 attention of the authorities to the condition of the riverside
5830 convince the police authorities that there is no possible case
5834 it to the proper authorities. The case would then never go into court
Dmems.txt7788 have his opinion of the case, though the authorities assure me that
8318 authorities are excellent at amassing facts, though they do not
Dcase.txt2028 attendance and that the authorities have been duly notified. Why,
2038 interference by the authorities. A devoted medical man, if
Dlstb.txt5750 the authorities and getting one. There may be some difficulty, but I
Dretn.txt12371 authorities by her servants as being insane. An examination showed
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt319 field public static final int authorities = 16842776; // 0x1010018
25241 field public static final java.lang.String EXTRA_AUTHORITIES = "authorities";
/frameworks/base/api/
Dcurrent.txt303 field public static final int authorities = 16842776; // 0x1010018
36577 field public static final java.lang.String EXTRA_AUTHORITIES = "authorities";
/frameworks/base/config/
Dhiddenapi-public-dex.txt35696 Landroid/R$attr;->authorities:I