Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java78 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveBasic() local
79 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveBasic()
109 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveSubtrees() local
110 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveSubtrees()
136 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addFirst() local
137 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addFirst()
163 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addSecond() local
164 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addSecond()
197 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testCreation() local
198 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
[all …]
DSliceProviderPermissionsTest.java79 ArrayList<SliceAuthority> authorities = new ArrayList<>(provider.getAuthorities()); in testCreation() local
80 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()
82 assertEquals(2, authorities.size()); in testCreation()
83 assertEquals("com.android.pkg", authorities.get(0).getAuthority()); in testCreation()
84 assertEquals("com.android.pkg.slices", authorities.get(1).getAuthority()); in testCreation()
86 assertEquals(1, authorities.get(0).getPkgs().size()); in testCreation()
87 assertEquals(2, authorities.get(1).getPkgs().size()); in testCreation()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java157 List<String> authorities = accountTypeToAuthorities.get(account.type); in serializeAccountSyncSettingsToJSON() local
161 if (authorities == null || authorities.isEmpty()) { in serializeAccountSyncSettingsToJSON()
171 for (String authority : authorities) { in serializeAccountSyncSettingsToJSON()
406 JSONArray authorities = accountJSON.getJSONArray(KEY_ACCOUNT_AUTHORITIES); in restoreExistingAccountSyncSettingsFromJSON() local
411 for (int i = 0; i < authorities.length(); i++) { in restoreExistingAccountSyncSettingsFromJSON()
412 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.java471 Iterator<IntentFilter.AuthorityEntry> authorities = in computeResolveFilters() local
474 if ((authorities == null || !authorities.hasNext()) in computeResolveFilters()
/frameworks/base/core/java/android/content/
DContentProvider.java907 protected final void setAuthorities(String authorities) { in setAuthorities() argument
908 if (authorities != null) { in setAuthorities()
909 if (authorities.indexOf(';') == -1) { in setAuthorities()
910 mAuthority = authorities; in setAuthorities()
914 mAuthorities = authorities.split(";"); in setAuthorities()
DIntentFilter.java1370 final ArrayList<AuthorityEntry> authorities = mDataAuthorities; in matchData() local
1371 if (authorities != null) { in matchData()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java175 final HashMap<String, AuthorityInfo> authorities = field in SyncStorageEngine.AccountInfo
862 for (AuthorityInfo authorityInfo : accountInfo.authorities.values()) { in setBackoffLocked()
883 for (AuthorityInfo authorityInfo : accountInfo.authorities.values()) { in clearAllBackoffsLocked()
1048 for (AuthorityInfo auth : acc.authorities.values()) { in removeStaleAccounts()
1485 AuthorityInfo authority = accountInfo.authorities.get(info.provider); in getAuthorityLocked()
1512 authority = account.authorities.get(info.provider); in getOrCreateAuthorityLocked()
1515 account.authorities.put(info.provider, authority); in getOrCreateAuthorityLocked()
1553 final AuthorityInfo authorityInfo = accountInfo.authorities.remove(authorityName); in removeAuthorityLocked()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java768 int authorities = filter.countDataAuthorities(); in buildResolveList() local
769 for (int z = 0; z < authorities; z++) { in buildResolveList()
/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/non-updatable-api/
Dcurrent.txt315 field public static final int authorities = 16842776; // 0x1010018
38998 field public static final String EXTRA_AUTHORITIES = "authorities";
/frameworks/base/api/
Dcurrent.txt315 field public static final int authorities = 16842776; // 0x1010018
39142 field public static final String EXTRA_AUTHORITIES = "authorities";
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt89928 Lcom/android/internal/R$attr;->authorities:I