Home
last modified time | relevance | path

Searched refs:providerName (Results 1 – 12 of 12) 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.java60 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime() local
64 providerName, UserHandle.USER_OWNER, token); in getSystemLongPressTime()
66 throw new IllegalStateException("Could not find provider: " + providerName); in getSystemLongPressTime()
84 activityManager.removeContentProviderExternal(providerName, token); in getSystemLongPressTime()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java510 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument
511 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically()
519 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument
530 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser()
539 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument
540 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically()
544 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument
546 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser()
559 providerName, sync); in setSyncAutomaticallyAsUser()
624 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument
[all …]
DSyncStorageEngine.java624 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument
628 new EndPoint(account, providerName, userId), in getSyncAutomatically()
637 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically()
646 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument
649 Log.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically()
655 new EndPoint(account, providerName, userId), in setSyncAutomatically()
669 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically()
675 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
679 new EndPoint(account, providerName, userId), in getIsSyncable()
692 && authorityInfo.target.provider.equals(providerName)) { in getIsSyncable()
[all …]
DSyncManager.java508 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument
509 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable()
518 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/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java330 String providerName = mSpn; in getServiceProviderName() local
341 providerName = brandOverride; in getServiceProviderName()
351 log("getServiceProviderName: providerName=" + providerName); in getServiceProviderName()
352 return providerName; in getServiceProviderName()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java405 String providerName = mUri.getAuthority(); in execute() local
412 providerName, mUserId, token); in execute()
414 throw new IllegalStateException("Could not find provider: " + providerName); in execute()
420 activityManager.removeContentProviderExternal(providerName, token); in execute()
424 System.err.println("Error while accessing provider:" + providerName); in execute()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java1079 String providerName) { in checkResolutionLevelIsSufficientForProviderUse() argument
1080 int requiredResolutionLevel = getMinimumResolutionLevelForProviderUse(providerName); in checkResolutionLevelIsSufficientForProviderUse()
1084 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse()
1087 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse()
1090 throw new SecurityException("Insufficient permission for \"" + providerName + in checkResolutionLevelIsSufficientForProviderUse()
2554 pw.println(" " + key.packageName + ": " + key.providerName + ": " + stats); in dump()