Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java27 public void startRequesting(String packageName, String providerName, long intervalMs, in startRequesting() argument
29 PackageProviderKey key = new PackageProviderKey(packageName, providerName); in startRequesting()
45 public void stopRequesting(String packageName, String providerName) { in stopRequesting() argument
46 PackageProviderKey key = new PackageProviderKey(packageName, providerName); in stopRequesting()
59 public void updateForeground(String packageName, String providerName, boolean isForeground) { in updateForeground() argument
60 PackageProviderKey key = new PackageProviderKey(packageName, providerName); in updateForeground()
78 public final String providerName; field in LocationRequestStatistics.PackageProviderKey
80 public PackageProviderKey(String packageName, String providerName) { in PackageProviderKey() argument
82 this.providerName = providerName; in PackageProviderKey()
93 && providerName.equals(otherKey.providerName); in equals()
[all …]
/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/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.java78 Pair<Locale, String> providerName; in getProviderNames() local
162 providerName = getFriendlyName(providerNameUtf8.getString()); in getProviderNames()
163 if (providerName != null) { in getProviderNames()
164 providerNames.add(providerName); in getProviderNames()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java750 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument
751 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically()
759 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument
770 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser()
779 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument
780 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically()
784 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
786 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser()
802 providerName, sync, syncExemptionFlag, callingUid, callingPid); in setSyncAutomaticallyAsUser()
870 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument
[all …]
DSyncStorageEngine.java665 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument
669 new EndPoint(account, providerName, userId), in getSyncAutomatically()
678 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically()
687 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument
690 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically()
695 " authority=", providerName, in setSyncAutomatically()
703 new EndPoint(account, providerName, userId), in setSyncAutomatically()
723 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
731 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
735 new EndPoint(account, providerName, userId), in getIsSyncable()
[all …]
DSyncManager.java817 private int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
818 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
827 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/services/core/java/com/android/server/
DLocationManagerService.java1857 private LocationProvider getLocationProviderLocked(String providerName) { in getLocationProviderLocked() argument
1859 if (providerName.equals(provider.getName())) { in getLocationProviderLocked()
1932 String providerName) { in checkResolutionLevelIsSufficientForProviderUseLocked() argument
1933 int requiredResolutionLevel = getMinimumResolutionLevelForProviderUseLocked(providerName); in checkResolutionLevelIsSufficientForProviderUseLocked()
1937 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUseLocked()
1940 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUseLocked()
1943 throw new SecurityException("Insufficient permission for \"" + providerName + in checkResolutionLevelIsSufficientForProviderUseLocked()
2117 private void applyRequirementsLocked(String providerName) { in applyRequirementsLocked() argument
2118 LocationProvider provider = getLocationProviderLocked(providerName); in applyRequirementsLocked()
3100 public boolean sendExtraCommand(String providerName, String command, Bundle extras) { in sendExtraCommand() argument
[all …]
DLocationUsageLogger.java240 public void logLocationApiUsage(int usageType, int apiInUse, String providerName) { in logLocationApiUsage() argument
248 + apiInUse + ", providerName: " + providerName); in logLocationApiUsage()
253 providerNameToStatsdEnum(providerName), in logLocationApiUsage()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java38 assertEquals(PROVIDER1, key.providerName); in testSinglePackage()
57 assertEquals(PROVIDER1, key.providerName); in testSinglePackage_stopAndRestart()
78 assertEquals(PROVIDER1, key.providerName); in testSinglePackage_multipleIntervals()
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java89 String providerName) { in CursorToBulkCursorAdaptor() argument
95 mProviderName = providerName; in CursorToBulkCursorAdaptor()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java457 String providerName = mUri.getAuthority(); in execute() local
464 providerName, mUserId, token, "*cmd*"); in execute()
466 throw new IllegalStateException("Could not find provider: " + providerName); in execute()
473 providerName, token, mUserId); in execute()
477 System.err.println("Error while accessing provider:" + providerName); in execute()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java397 String providerName = getUriWithoutUserId(uri).getAuthority(); in getProviderPkg() local
399 providerName, 0, getUserIdFromUri(uri, user)); in getProviderPkg()
/frameworks/base/location/java/android/location/
DLocationManager.java1623 public List<LocationRequest> getTestProviderCurrentRequests(String providerName) { in getTestProviderCurrentRequests() argument
1624 checkProvider(providerName); in getTestProviderCurrentRequests()
1626 return mService.getTestProviderCurrentRequests(providerName, in getTestProviderCurrentRequests()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h327 ProviderInfo(const std::string &providerName,
DCameraProviderManager.cpp1164 const std::string &providerName, in ProviderInfo() argument
1166 mProviderName(providerName), in ProviderInfo()
1167 mProviderTagid(generateVendorTagId(providerName)), in ProviderInfo()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java5033 public abstract ProviderInfo resolveContentProviderAsUser(@NonNull String providerName, in resolveContentProviderAsUser() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...