Home
last modified time | relevance | path

Searched refs:providerName (Results 1 – 15 of 15) 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
28 PackageProviderKey key = new PackageProviderKey(packageName, providerName); in startRequesting()
43 public void stopRequesting(String packageName, String providerName) { in stopRequesting() argument
44 PackageProviderKey key = new PackageProviderKey(packageName, providerName); in stopRequesting()
65 public final String providerName; field in LocationRequestStatistics.PackageProviderKey
67 public PackageProviderKey(String packageName, String providerName) { in PackageProviderKey() argument
69 this.providerName = providerName; in PackageProviderKey()
80 && providerName.equals(otherKey.providerName); in equals()
85 return packageName.hashCode() + 31 * providerName.hashCode(); in hashCode()
/frameworks/base/core/java/android/content/
DIContentService.aidl75 boolean getSyncAutomatically(in Account account, String providerName); in getSyncAutomatically() argument
76 boolean getSyncAutomaticallyAsUser(in Account account, String providerName, int userId); in getSyncAutomaticallyAsUser() argument
84 void setSyncAutomatically(in Account account, String providerName, boolean sync); in setSyncAutomatically() argument
85 void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
95 List<PeriodicSync> getPeriodicSyncs(in Account account, String providerName, in getPeriodicSyncs() argument
105 void addPeriodicSync(in Account account, String providerName, in Bundle extras, in addPeriodicSync() argument
115 void removePeriodicSync(in Account account, String providerName, in Bundle extras); in removePeriodicSync() argument
121 int getIsSyncable(in Account account, String providerName); in getIsSyncable() argument
122 int getIsSyncableAsUser(in Account account, String providerName, int userId); in getIsSyncableAsUser() argument
128 void setIsSyncable(in Account account, String providerName, int syncable); in setIsSyncable() argument
/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); in getSystemLongPressTime()
67 throw new IllegalStateException("Could not find provider: " + providerName); in getSystemLongPressTime()
87 activityManager.removeContentProviderExternal(providerName, token); in getSystemLongPressTime()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java688 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument
689 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically()
697 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument
708 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser()
717 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument
718 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically()
722 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
724 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser()
737 providerName, sync); in setSyncAutomaticallyAsUser()
799 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument
[all …]
DSyncStorageEngine.java615 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument
619 new EndPoint(account, providerName, userId), in getSyncAutomatically()
628 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically()
637 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument
640 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically()
646 new EndPoint(account, providerName, userId), in setSyncAutomatically()
666 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
673 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
677 new EndPoint(account, providerName, userId), in getIsSyncable()
690 && authorityInfo.target.provider.equals(providerName)) { in getIsSyncable()
[all …]
DSyncManager.java717 private int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
718 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
727 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java393 String providerName = mSpn; in getServiceProviderName() local
403 log("getServiceProviderName: override, providerName=" + providerName); in getServiceProviderName()
404 providerName = brandOverride; in getServiceProviderName()
406 log("getServiceProviderName: no brandOverride, providerName=" + providerName); in getServiceProviderName()
409 log("getServiceProviderName: card is null, providerName=" + providerName); in getServiceProviderName()
412 log("getServiceProviderName: mParentApp is null, providerName=" + providerName); in getServiceProviderName()
414 return providerName; in getServiceProviderName()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DTestActivity.java70 public TestActivityTestRule(TestActivity.Provider provider, String providerName) { in TestActivityTestRule() argument
72 mProviderName = providerName; in TestActivityTestRule()
/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.java435 String providerName = mUri.getAuthority(); in execute() local
442 providerName, mUserId, token); in execute()
444 throw new IllegalStateException("Could not find provider: " + providerName); in execute()
450 activityManager.removeContentProviderExternal(providerName, token); in execute()
454 System.err.println("Error while accessing provider:" + providerName); in execute()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1462 String providerName) { in checkResolutionLevelIsSufficientForProviderUse() argument
1463 int requiredResolutionLevel = getMinimumResolutionLevelForProviderUse(providerName); in checkResolutionLevelIsSufficientForProviderUse()
1467 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse()
1470 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse()
1473 throw new SecurityException("Insufficient permission for \"" + providerName + in checkResolutionLevelIsSufficientForProviderUse()
3063 pw.println(" " + key.packageName + ": " + key.providerName + ": " + stats); in dump()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h254 ProviderInfo(const std::string &providerName,
DCameraProviderManager.cpp457 const std::string &providerName, in ProviderInfo() argument
460 mProviderName(providerName), in ProviderInfo()
462 mProviderTagid(generateVendorTagId(providerName)), in ProviderInfo()