Home
last modified time | relevance | path

Searched refs:providerName (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/java/android/content/
DIContentService.aidl76 boolean getSyncAutomatically(in Account account, String providerName); in getSyncAutomatically() argument
77 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId); in getSyncAutomaticallyAsUser() argument
85 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() argument
86 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
96 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName, in getPeriodicSyncs() argument
106 void addPeriodicSync(in Account account, String providerName, in Bundle extras, in addPeriodicSync() argument
116 void removePeriodicSync(in Account account, String providerName, in Bundle extras); in removePeriodicSync() argument
123 int getIsSyncable(in Account account, String providerName); in getIsSyncable() argument
124 int getIsSyncableAsUser(in Account account, String providerName, int userId); in getIsSyncableAsUser() argument
130 void setIsSyncable(in Account account, String providerName, int syncable); in setIsSyncable() argument
[all …]
/frameworks/base/core/java/android/credentials/selection/
DCreateCredentialProviderInfo.java64 @NonNull String providerName, @NonNull List<Entry> saveEntries, in CreateCredentialProviderInfo()
66 mProviderName = Preconditions.checkStringNotEmpty(providerName); in CreateCredentialProviderInfo()
116 public Builder(@NonNull String providerName) { in Builder() argument
117 mProviderName = Preconditions.checkStringNotEmpty(providerName); in Builder()
DGetCredentialProviderInfo.java73 @NonNull String providerName, @NonNull List<Entry> credentialEntries, in GetCredentialProviderInfo()
77 mProviderName = Preconditions.checkStringNotEmpty(providerName); in GetCredentialProviderInfo()
156 public Builder(@NonNull String providerName) { in Builder() argument
157 mProviderName = Preconditions.checkStringNotEmpty(providerName); in Builder()
DDisabledProviderInfo.java59 public DisabledProviderInfo(@NonNull String providerName) { in DisabledProviderInfo() argument
60 mProviderName = Preconditions.checkStringNotEmpty(providerName); in DisabledProviderInfo()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DBiometricHandler.kt71 val providerName: String, in <lambda>() constant in com.android.credentialmanager.common.BiometricDisplayInfo
325 .setLogoDescription(biometricDisplayInfo.providerName) in setupBiometricPrompt()
464 val providerName: String? in retrieveBiometricGetDisplayValues() constant
470 providerName = primaryAccountsProviderInfo?.displayName in retrieveBiometricGetDisplayValues()
471 if (icon == null || providerName == null) { in retrieveBiometricGetDisplayValues()
496 return BiometricDisplayInfo(providerIcon = icon, providerName = providerName, in retrieveBiometricGetDisplayValues()
513 val providerName: String? in retrieveBiometricCreateDisplayValues() constant
516 providerName = createProviderInfo.displayName in retrieveBiometricCreateDisplayValues()
523 return BiometricDisplayInfo(providerIcon = icon, providerName = providerName, in retrieveBiometricCreateDisplayValues()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java63 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime() local
67 providerName, UserHandle.USER_SYSTEM, token, "*uiautomator*"); in getSystemLongPressTime()
69 throw new IllegalStateException("Could not find provider: " + providerName); in getSystemLongPressTime()
90 activityManager.removeContentProviderExternalAsUser(providerName, token, in getSystemLongPressTime()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DLocationTimeZoneProviderTest.java83 String providerName = "arbitrary"; in lifecycle() local
88 providerName, in lifecycle()
198 String providerName = "primary"; in stateRecording() local
203 providerName, in stateRecording()
245 String providerName = "primary"; in entersUncertainState_whenEventHasUnsupportedZones() local
250 providerName, in entersUncertainState_whenEventHasUnsupportedZones()
325 @NonNull String providerName, in TestLocationTimeZoneProvider() argument
327 super(providerMetricsLogger, threadingDomain, providerName, in TestLocationTimeZoneProvider()
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DDisabledLocationTimeZoneProvider.java42 @NonNull String providerName, in DisabledLocationTimeZoneProvider() argument
44 super(providerMetricsLogger, threadingDomain, providerName, x -> x, recordStateChanges); in DisabledLocationTimeZoneProvider()
DBinderLocationTimeZoneProvider.java47 @NonNull String providerName, in BinderLocationTimeZoneProvider() argument
50 super(providerMetricsLogger, threadingDomain, providerName, in BinderLocationTimeZoneProvider()
DLocationTimeZoneProvider.java423 @NonNull String providerName, in LocationTimeZoneProvider() argument
430 mProviderName = Objects.requireNonNull(providerName); in LocationTimeZoneProvider()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java865 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument
866 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically()
874 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument
884 if (!hasAuthorityAccess(providerName, callingUid, userId)) { in getSyncAutomaticallyAsUser()
891 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser()
898 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument
899 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically()
903 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
905 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser()
918 if (!hasAuthorityAccess(providerName, callingUid, userId)) { in setSyncAutomaticallyAsUser()
[all …]
DSyncStorageEngine.java714 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument
718 new EndPoint(account, providerName, userId), in getSyncAutomatically()
727 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically()
736 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument
739 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically()
744 " authority=", providerName, in setSyncAutomatically()
752 new EndPoint(account, providerName, userId), in setSyncAutomatically()
772 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
780 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
784 new EndPoint(account, providerName, userId), in getIsSyncable()
[all …]
DSyncManager.java936 protected boolean shouldDisableSyncForUser(UserInfo userInfo, String providerName) { in shouldDisableSyncForUser() argument
937 if (userInfo == null || providerName == null || !isContactSharingAllowedForCloneProfile()) { in shouldDisableSyncForUser()
940 return providerName.equals(ContactsContract.AUTHORITY) in shouldDisableSyncForUser()
944 private int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
945 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
950 if (shouldDisableSyncForUser(userInfo, providerName)) { in getIsSyncable()
952 + " userId: " + userId + " provider: " + providerName); in getIsSyncable()
962 SyncAdapterType.newKey(providerName, account.type), userId); in getIsSyncable()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java127 for (String providerName : locationProviders) { in initLocationListeners()
128 if (mTrackedProviders.contains(providerName)) { in initLocationListeners()
130 providerName); in initLocationListeners()
134 providerName, minUpdateTime, minDistance)); in initLocationListeners()
138 lm.requestLocationUpdates(providerName, minUpdateTime, in initLocationListeners()
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.h35 const std::string &providerName, in HidlProviderInfo()
38 CameraProviderManager::ProviderInfo(providerName, providerInstance, manager) {} in HidlProviderInfo()
/frameworks/base/services/core/java/com/android/server/location/injector/
DLocationUsageLogger.java98 public void logLocationApiUsage(int usageType, int apiInUse, String providerName) { in logLocationApiUsage() argument
107 bucketizeProvider(providerName), in logLocationApiUsage()
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java105 String providerName) { in CursorToBulkCursorAdaptor() argument
111 mProviderName = providerName; in CursorToBulkCursorAdaptor()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java510 String providerName = mUri.getAuthority(); in execute() local
517 providerName, mUserId, token, "*cmd*"); in execute()
519 throw new IllegalStateException("Could not find provider: " + providerName); in execute()
526 providerName, token, mUserId); in execute()
530 System.err.println("Error while accessing provider:" + providerName); in execute()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp2118 const std::string& providerName, const sp<ProviderInfo>& providerInfo) { in tryToInitializeAidlProviderLocked() argument
2125 interface = mAidlServiceProxy->tryGetService(providerName); in tryToInitializeAidlProviderLocked()
2127 interface = mAidlServiceProxy->getService(providerName); in tryToInitializeAidlProviderLocked()
2132 providerName.c_str()); in tryToInitializeAidlProviderLocked()
2141 const std::string& providerName, const sp<ProviderInfo>& providerInfo) { in tryToInitializeHidlProviderLocked() argument
2143 interface = mHidlServiceProxy->tryGetService(providerName); in tryToInitializeHidlProviderLocked()
2149 providerName.c_str()); in tryToInitializeHidlProviderLocked()
2309 const std::string &providerName, in ProviderInfo() argument
2312 mProviderName(providerName), in ProviderInfo()
2314 mProviderTagid(generateVendorTagId(providerName)), in ProviderInfo()
[all …]
DCameraProviderManager.h537 ProviderInfo(const std::string &providerName, const std::string &providerInstance,
894 status_t tryToInitializeHidlProviderLocked(const std::string& providerName,
897 status_t tryToInitializeAidlProviderLocked(const std::string& providerName,
/frameworks/av/services/camera/libcameraservice/common/aidl/
DAidlProviderInfo.h38 const std::string &providerName,
DAidlProviderInfo.cpp103 const std::string &providerName, in AidlProviderInfo() argument
106 CameraProviderManager::ProviderInfo(providerName, providerInstance, manager) {} in AidlProviderInfo()
/frameworks/base/services/core/java/com/android/server/location/
DLocationManagerService.java329 LocationProviderManager getLocationProviderManager(String providerName) { in getLocationProviderManager() argument
330 if (providerName == null) { in getLocationProviderManager()
335 if (providerName.equals(manager.getName())) { in getLocationProviderManager()
346 private LocationProviderManager getOrAddLocationProviderManager(String providerName) { in getOrAddLocationProviderManager() argument
349 if (providerName.equals(manager.getName())) { in getOrAddLocationProviderManager()
355 providerName, mPassiveManager); in getOrAddLocationProviderManager()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java410 String providerName = getUriWithoutUserId(uri).getAuthority(); in getProviderPkg() local
412 providerName, 0, getUserIdFromUri(uri, user)); in getProviderPkg()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java538 public ProviderInfo resolveContentProviderAsUser(@NonNull String providerName, int flags, in resolveContentProviderAsUser() argument

12