Home
last modified time | relevance | path

Searched defs:authority (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DSyncAdapterType.java32 public final String authority; field in SyncAdapterType
47 public SyncAdapterType(String authority, String accountType, boolean userVisible, in SyncAdapterType()
67 public SyncAdapterType(String authority, String accountType, boolean userVisible, in SyncAdapterType()
91 private SyncAdapterType(String authority, String accountType) { in SyncAdapterType()
177 public static SyncAdapterType newKey(String authority, String accountType) { in newKey()
DSyncInfo.java48 public final String authority; field in SyncInfo
64 int authorityId, String authority, long startTime) { in createAccountRedacted()
70 public SyncInfo(int authorityId, Account account, String authority, long startTime) { in SyncInfo()
DIContentService.aidl58 void requestSync(in Account account, String authority, in Bundle extras, String callingPackage); in requestSync()
65 void cancelSync(in Account account, String authority, in ComponentName cname); in cancelSync()
66 void cancelSyncAsUser(in Account account, String authority, in ComponentName cname, int userId); in cancelSyncAsUser()
152 String[] getSyncAdapterPackagesForAuthorityAsUser(String authority, int userId); in getSyncAdapterPackagesForAuthorityAsUser()
153 String getSyncAdapterPackageAsUser(String accountType, String authority, int userId); in getSyncAdapterPackageAsUser()
164 boolean isSyncActive(in Account account, String authority, in ComponentName cname); in isSyncActive()
174 SyncStatusInfo getSyncStatus(in Account account, String authority, in ComponentName cname); in getSyncStatus()
175 SyncStatusInfo getSyncStatusAsUser(in Account account, String authority, in ComponentName cname, in getSyncStatusAsUser()
185 boolean isSyncPending(in Account account, String authority, in ComponentName cname); in isSyncPending()
186 boolean isSyncPendingAsUser(in Account account, String authority, in ComponentName cname, in isSyncPendingAsUser()
DPeriodicSync.java34 public final String authority; field in PeriodicSync
48 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync()
77 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync()
DSyncAdaptersCache.java65 final String authority = in parseServiceAttributes() local
105 public String[] getSyncAdapterPackagesForAuthority(String authority, int userId) { in getSyncAdapterPackagesForAuthority()
152 final String authority = parser.getAttributeValue(null, "authority"); in createFromXml() local
DAbstractThreadedSyncAdapter.java195 public void startSync(ISyncContext syncContext, String authority, Account account, in startSync()
316 private SyncThread(String name, SyncContext syncContext, String authority, in SyncThread()
470 String authority, ContentProviderClient provider, SyncResult syncResult); in onPerformSync()
483 String authority, SyncResult syncResult) { in onSecurityException()
DISyncAdapter.aidl49 void startSync(ISyncContext syncContext, String authority, in startSync()
DUriMatcher.java161 public void addURI(String authority, String path, int code) in addURI()
DContentInterface.java83 public @NonNull ContentProviderResult[] applyBatch(@NonNull String authority, in applyBatch()
87 public @Nullable Bundle call(@NonNull String authority, @NonNull String method, in call()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java72 public synchronized SliceAuthority getOrCreateAuthority(PkgUser authority, PkgUser provider) { in getOrCreateAuthority()
82 public synchronized SliceAuthority getAuthority(PkgUser authority) { in getAuthority()
96 public void removeAuthority(String authority, int userId) { in removeAuthority()
109 SliceAuthority authority = getOrCreateAuthority( in grantUri() local
116 SliceAuthority authority = getOrCreateAuthority( in revokeUri() local
186 SliceAuthority authority = new SliceAuthority( in createFrom() local
212 public SliceAuthority(String authority, PkgUser pkg, DirtyTracker tracker) { in SliceAuthority()
DSliceProviderPermissions.java63 public synchronized SliceAuthority getOrCreateAuthority(String authority) { in getOrCreateAuthority()
116 SliceAuthority authority = new SliceAuthority( in createFrom() local
119 provider.mAuths.put(authority.getAuthority(), authority); in createFrom() local
139 public SliceAuthority(String authority, DirtyTracker tracker) { in SliceAuthority()
DSliceShellCommand.java65 private int runGetPermissions(String authority) { in runGetPermissions()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedIntentInfoTest.kt64 val authority = intentFilter.authoritiesIterator().asSequence().singleOrNull() in extraAssertions() constant
/frameworks/base/core/java/android/provider/
DDocumentsContract.java908 public static Uri buildRootsUri(String authority) { in buildRootsUri()
919 public static Uri buildRootUri(String authority, String rootId) { in buildRootUri()
932 public static Uri buildRecentDocumentsUri(String authority, String rootId) { in buildRecentDocumentsUri()
944 public static Uri buildTreeDocumentUri(String authority, String documentId) { in buildTreeDocumentUri()
957 public static Uri buildDocumentUri(String authority, String documentId) { in buildDocumentUri()
969 public static Uri buildDocumentUriAsUser( in buildDocumentUriAsUser()
976 public static Uri buildBaseDocumentUri(String authority) { in buildBaseDocumentUri()
980 private static Uri.Builder getBaseDocumentUriBuilder(String authority) { in getBaseDocumentUriBuilder()
1035 public static Uri buildChildDocumentsUri(String authority, String parentDocumentId) { in buildChildDocumentsUri()
1082 String authority, String rootId, String query) { in buildSearchDocumentsUri()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleProviderTestable.java26 public void initializeForTesting(Context context, String authority) { in initializeForTesting()
/frameworks/base/core/java/android/net/
DUri.java427 final String authority = getAuthority(); in toSafeString() local
602 private Part authority; field in Uri.StringUri
1100 String authority = getEncodedAuthority(); in parseUserInfo() local
1122 final String authority = getEncodedAuthority(); in parseHost() local
1147 final String authority = getEncodedAuthority(); in parsePort() local
1162 private int findPortSeparator(String authority) { in findPortSeparator()
1190 private final Part authority; field in Uri.HierarchicalUri
1195 private HierarchicalUri(String scheme, Part authority, PathPart path, in HierarchicalUri()
1206 final Part authority = Part.readFrom(parcel); in readFrom() local
1375 private Part authority; field in Uri.Builder
[all …]
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java423 boolean isAuthorityValid(String authority, int userId) { in isAuthorityValid()
709 AuthorityInfo authority = getAuthorityLocked( in getSyncAutomatically() local
741 final AuthorityInfo authority; in setSyncAutomatically() local
775 AuthorityInfo authority = getAuthorityLocked( in getIsSyncable() local
841 AuthorityInfo authority = getAuthorityLocked(info, "getBackoff"); in getBackoff() local
951 AuthorityInfo authority = getAuthorityLocked(info, "getDelayUntil"); in getDelayUntilTime() local
965 AuthorityInfo authority = getOrCreateAuthorityLocked(info, -1, true); in setDelayUntilTime() local
984 AuthorityInfo authority = mAuthorities.valueAt(i); in restoreAllPeriodicSyncs() local
1057 AuthorityInfo authority = getOrCreateAuthorityLocked(info, in markPending() local
1192 AuthorityInfo authority = getAuthorityLocked(op.target, "insertStartSyncEvent"); in insertStartSyncEvent() local
[all …]
DContentService.java319 permissionManagerInternal.setSyncAdapterPackagesProvider((authority, userId) -> { in ContentService() argument
484 final String authority = validatedProviders.keyAt(i).first; in notifyChange() local
606 public void requestSync(Account account, String authority, Bundle extras, in requestSync()
721 public void cancelSync(Account account, String authority, ComponentName cname) { in cancelSync()
739 public void cancelSyncAsUser(Account account, String authority, ComponentName cname, in cancelSyncAsUser()
835 public String[] getSyncAdapterPackagesForAuthorityAsUser(String authority, int userId) { in getSyncAdapterPackagesForAuthorityAsUser()
853 @NonNull String authority, @UserIdInt int userId) { in getSyncAdapterPackageAsUser()
936 public void addPeriodicSync(Account account, String authority, Bundle extras, in addPeriodicSync()
971 public void removePeriodicSync(Account account, String authority, Bundle extras) { in removePeriodicSync()
1151 public boolean isSyncActive(Account account, String authority, ComponentName cname) { in isSyncActive()
[all …]
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java151 Context context, Class<T> providerClass, String authority) in createProviderForTest()
222 Context targetContext, String filenamePrefix, Class<T> providerClass, String authority, in newResolverWithContentProviderFromSql()
DSyncBaseInstrumentation.java53 protected void syncProvider(Uri uri, String accountName, String authority) throws Exception { in syncProvider()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestResolver.java35 public ContentProviderResult[] applyBatch(String authority, in applyBatch()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageManagerHelper.java37 boolean contentProviderRegistered(String authority, String requiredPackageName); in contentProviderRegistered()
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java445 private static void testHierarchical(String scheme, String authority, in testHierarchical()
529 String scheme, String authority, String path, String query, in compareHierarchical()
846 Object authority = createPart(Class.forName("android.net.Uri$Part"), "a.com", "b.com"); in testPart_consistentEncodedVsDecoded() local
865 private static Uri makeHierarchicalUri(Object authority, Object path) throws Exception { in makeHierarchicalUri()
901 String authority, in buildUriFromRawParcel()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java396 static Bundle getSwitchDataFromProvider(Context context, String authority, String key) { in getSwitchDataFromProvider()
403 private static List<Bundle> getSwitchDataFromProvider(Context context, String authority) { in getSwitchDataFromProvider()
448 static Uri buildUri(String authority, String method, String key) { in buildUri()
457 private static Uri buildUri(String authority, String method) { in buildUri()
577 final String authority = uri.getAuthority(); in getProviderFromUri() local
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsTempFileProvider.java106 public static Uri getUriForFile(Context context, String authority, File file) { in getUriForFile()
145 public static File getFileForUri(Context context, String authority, Uri uri) in getFileForUri()

1234