Searched refs:authorities (Results 1 – 10 of 10) sorted by relevance
78 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveBasic() local79 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveBasic()109 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testRemoveSubtrees() local110 assertEquals(0, authorities.get(0).getPaths().size()); in testRemoveSubtrees()136 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addFirst() local137 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addFirst()163 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testAddConsolidate_addSecond() local164 assertEquals(1, authorities.get(0).getPaths().size()); in testAddConsolidate_addSecond()197 ArrayList<SliceAuthority> authorities = new ArrayList<>(client.getAuthorities()); in testCreation() local198 authorities.sort(Comparator.comparing(SliceAuthority::getAuthority)); in testCreation()[all …]
79 ArrayList<SliceAuthority> authorities = new ArrayList<>(provider.getAuthorities()); in testCreation() local80 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()
157 List<String> authorities = accountTypeToAuthorities.get(account.type); in serializeAccountSyncSettingsToJSON() local161 if (authorities == null || authorities.isEmpty()) { in serializeAccountSyncSettingsToJSON()171 for (String authority : authorities) { in serializeAccountSyncSettingsToJSON()406 JSONArray authorities = accountJSON.getJSONArray(KEY_ACCOUNT_AUTHORITIES); in restoreExistingAccountSyncSettingsFromJSON() local411 for (int i = 0; i < authorities.length(); i++) { in restoreExistingAccountSyncSettingsFromJSON()412 JSONObject authority = (JSONObject) authorities.get(i); in restoreExistingAccountSyncSettingsFromJSON()
257 ArrayList<String> authorities = mAccountTypeToAuthorities.get(sa.accountType); in buildAccountTypeToAuthoritiesMap() local258 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()
471 Iterator<IntentFilter.AuthorityEntry> authorities = in computeResolveFilters() local474 if ((authorities == null || !authorities.hasNext()) in computeResolveFilters()
907 protected final void setAuthorities(String authorities) { in setAuthorities() argument908 if (authorities != null) { in setAuthorities()909 if (authorities.indexOf(';') == -1) { in setAuthorities()910 mAuthority = authorities; in setAuthorities()914 mAuthorities = authorities.split(";"); in setAuthorities()
1372 final ArrayList<AuthorityEntry> authorities = mDataAuthorities; in matchData() local1373 if (authorities != null) { in matchData()
175 final HashMap<String, AuthorityInfo> authorities = field in SyncStorageEngine.AccountInfo862 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()
768 int authorities = filter.countDataAuthorities(); in buildResolveList() local769 for (int z = 0; z < authorities; z++) { in buildResolveList()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...