/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationRequestStatistics.java | 27 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/ |
D | IContentService.aidl | 75 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/ |
D | ShellUiAutomatorBridge.java | 60 String providerName = Settings.Secure.CONTENT_URI.getAuthority(); in getSystemLongPressTime() local 64 providerName, UserHandle.USER_SYSTEM, 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/ |
D | ContentService.java | 671 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument 672 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically() 680 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument 691 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser() 700 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument 701 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically() 705 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument 707 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser() 720 providerName, sync); in setSyncAutomaticallyAsUser() 782 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument [all …]
|
D | SyncStorageEngine.java | 569 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument 573 new EndPoint(account, providerName, userId), in getSyncAutomatically() 582 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically() 591 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument 594 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically() 600 new EndPoint(account, providerName, userId), in setSyncAutomatically() 620 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically() 627 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument 631 new EndPoint(account, providerName, userId), in getIsSyncable() 644 && authorityInfo.target.provider.equals(providerName)) { in getIsSyncable() [all …]
|
D | SyncManager.java | 716 private int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument 717 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable() 726 SyncAdapterType.newKey(providerName, account.type), userId); in getIsSyncable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccRecords.java | 353 String providerName = mSpn; in getServiceProviderName() local 363 log("getServiceProviderName: override, providerName=" + providerName); in getServiceProviderName() 364 providerName = brandOverride; in getServiceProviderName() 366 log("getServiceProviderName: no brandOverride, providerName=" + providerName); in getServiceProviderName() 369 log("getServiceProviderName: card is null, providerName=" + providerName); in getServiceProviderName() 372 log("getServiceProviderName: mParentApp is null, providerName=" + providerName); in getServiceProviderName() 374 return providerName; in getServiceProviderName()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 127 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/ |
D | LocationRequestStatisticsTest.java | 38 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/ |
D | CursorToBulkCursorAdaptor.java | 89 String providerName) { in CursorToBulkCursorAdaptor() argument 95 mProviderName = providerName; in CursorToBulkCursorAdaptor()
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
D | Content.java | 406 String providerName = mUri.getAuthority(); in execute() local 413 providerName, mUserId, token); in execute() 415 throw new IllegalStateException("Could not find provider: " + providerName); in execute() 421 activityManager.removeContentProviderExternal(providerName, token); in execute() 425 System.err.println("Error while accessing provider:" + providerName); in execute()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1149 String providerName) { in checkResolutionLevelIsSufficientForProviderUse() argument 1150 int requiredResolutionLevel = getMinimumResolutionLevelForProviderUse(providerName); in checkResolutionLevelIsSufficientForProviderUse() 1154 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse() 1157 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse() 1160 throw new SecurityException("Insufficient permission for \"" + providerName + in checkResolutionLevelIsSufficientForProviderUse() 2702 pw.println(" " + key.packageName + ": " + key.providerName + ": " + stats); in dump()
|