Home
last modified time | relevance | path

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

/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/services/core/java/com/android/server/location/
DLocationRequestStatistics.java55 public void startRequesting(String packageName, @Nullable String featureId, String providerName, in startRequesting() argument
57 PackageProviderKey key = new PackageProviderKey(packageName, featureId, providerName); in startRequesting()
65 history.addRequest(packageName, featureId, providerName, intervalMs); in startRequesting()
76 String providerName) { in stopRequesting() argument
77 PackageProviderKey key = new PackageProviderKey(packageName, featureId, providerName); in stopRequesting()
82 history.removeRequest(packageName, featureId, providerName); in stopRequesting()
93 String providerName, boolean isForeground) { in updateForeground() argument
94 PackageProviderKey key = new PackageProviderKey(packageName, featureId, providerName); in updateForeground()
120 PackageProviderKey(String packageName, @Nullable String featureId, String providerName) { in PackageProviderKey() argument
123 this.mProviderName = providerName; in PackageProviderKey()
[all …]
DLocationUsageLogger.java98 public void logLocationApiUsage(int usageType, int apiInUse, String providerName) { in logLocationApiUsage() argument
107 bucketizeProvider(providerName), in logLocationApiUsage()
DLocationManagerService.java1418 private LocationProviderManager getLocationProviderManager(String providerName) { in getLocationProviderManager() argument
1420 if (providerName.equals(manager.getName())) { in getLocationProviderManager()
1525 private void applyRequirementsLocked(String providerName) { in applyRequirementsLocked() argument
1526 LocationProviderManager manager = getLocationProviderManager(providerName); in applyRequirementsLocked()
2308 public ProviderProperties getProviderProperties(String providerName) { in getProviderProperties() argument
2309 LocationProviderManager manager = getLocationProviderManager(providerName); in getProviderProperties()
2323 public List<String> getProviderPackages(String providerName) { in getProviderPackages() argument
2325 LocationProviderManager manager = getLocationProviderManager(providerName); in getProviderPackages()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java61 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime() local
65 providerName, UserHandle.USER_SYSTEM, token, "*uiautomator*"); in getSystemLongPressTime()
67 throw new IllegalStateException("Could not find provider: " + providerName); in getSystemLongPressTime()
87 activityManager.removeContentProviderExternalAsUser(providerName, token, in getSystemLongPressTime()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DServiceProviderVerifier.java79 Pair<Locale, String> providerName; in getProviderNames() local
163 providerName = getFriendlyName(providerNameUtf8.getString()); in getProviderNames()
164 if (providerName != null) { in getProviderNames()
165 providerNames.add(providerName); in getProviderNames()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java821 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument
822 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically()
830 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument
841 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser()
850 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument
851 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically()
855 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
857 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser()
873 providerName, sync, syncExemptionFlag, callingUid, callingPid); in setSyncAutomaticallyAsUser()
941 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument
[all …]
DSyncStorageEngine.java685 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument
689 new EndPoint(account, providerName, userId), in getSyncAutomatically()
698 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically()
707 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument
710 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically()
715 " authority=", providerName, in setSyncAutomatically()
723 new EndPoint(account, providerName, userId), in setSyncAutomatically()
743 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
751 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
755 new EndPoint(account, providerName, userId), in getIsSyncable()
[all …]
DSyncManager.java820 private int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
821 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
830 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/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.java509 String providerName = mUri.getAuthority(); in execute() local
516 providerName, mUserId, token, "*cmd*"); in execute()
518 throw new IllegalStateException("Could not find provider: " + providerName); in execute()
525 providerName, token, mUserId); in execute()
529 System.err.println("Error while accessing provider:" + providerName); in execute()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java402 String providerName = getUriWithoutUserId(uri).getAuthority(); in getProviderPkg() local
404 providerName, 0, getUserIdFromUri(uri, user)); in getProviderPkg()
/frameworks/base/location/java/android/location/
DLocationManager.java1634 public List<LocationRequest> getTestProviderCurrentRequests(String providerName) { in getTestProviderCurrentRequests() argument
1635 Preconditions.checkArgument(providerName != null, "invalid null provider"); in getTestProviderCurrentRequests()
1637 return mService.getTestProviderCurrentRequests(providerName); in getTestProviderCurrentRequests()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h375 ProviderInfo(const std::string &providerName,
DCameraProviderManager.cpp1303 const std::string &providerName, in ProviderInfo() argument
1305 mProviderName(providerName), in ProviderInfo()
1306 mProviderTagid(generateVendorTagId(providerName)), in ProviderInfo()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5524 public abstract ProviderInfo resolveContentProviderAsUser(@NonNull String providerName, in resolveContentProviderAsUser() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8032 final ComponentName providerName = holder.info.getComponentName(); in getProviderMimeType() local
8040 Log.w(TAG, "Provider " + providerName + " didn't return from getType()."); in getProviderMimeType()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...