/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 | 692 public boolean getSyncAutomatically(Account account, String providerName) { in getSyncAutomatically() argument 693 return getSyncAutomaticallyAsUser(account, providerName, UserHandle.getCallingUserId()); in getSyncAutomatically() 701 public boolean getSyncAutomaticallyAsUser(Account account, String providerName, int userId) { in getSyncAutomaticallyAsUser() argument 712 .getSyncAutomatically(account, userId, providerName); in getSyncAutomaticallyAsUser() 721 public void setSyncAutomatically(Account account, String providerName, boolean sync) { in setSyncAutomatically() argument 722 setSyncAutomaticallyAsUser(account, providerName, sync, UserHandle.getCallingUserId()); in setSyncAutomatically() 726 public void setSyncAutomaticallyAsUser(Account account, String providerName, boolean sync, in setSyncAutomaticallyAsUser() argument 728 if (TextUtils.isEmpty(providerName)) { in setSyncAutomaticallyAsUser() 741 providerName, sync); in setSyncAutomaticallyAsUser() 803 public List<PeriodicSync> getPeriodicSyncs(Account account, String providerName, in getPeriodicSyncs() argument [all …]
|
D | SyncStorageEngine.java | 555 public boolean getSyncAutomatically(Account account, int userId, String providerName) { in getSyncAutomatically() argument 559 new EndPoint(account, providerName, userId), in getSyncAutomatically() 568 if (authorityInfo.target.matchesSpec(new EndPoint(account, providerName, userId)) in getSyncAutomatically() 577 public void setSyncAutomatically(Account account, int userId, String providerName, in setSyncAutomatically() argument 580 Slog.d(TAG, "setSyncAutomatically: " + /* account + */" provider " + providerName in setSyncAutomatically() 586 new EndPoint(account, providerName, userId), in setSyncAutomatically() 606 requestSync(account, userId, SyncOperation.REASON_SYNC_AUTO, providerName, in setSyncAutomatically() 613 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument 617 new EndPoint(account, providerName, userId), in getIsSyncable() 630 && authorityInfo.target.provider.equals(providerName)) { in getIsSyncable() [all …]
|
D | SyncManager.java | 658 public int getIsSyncable(Account account, int userId, String providerName) { in getIsSyncable() argument 659 int isSyncable = mSyncStorageEngine.getIsSyncable(account, userId, providerName); in getIsSyncable() 668 SyncAdapterType.newKey(providerName, account.type), userId); in getIsSyncable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccRecords.java | 366 String providerName = mSpn; in getServiceProviderName() local 376 log("getServiceProviderName: override, providerName=" + providerName); in getServiceProviderName() 377 providerName = brandOverride; in getServiceProviderName() 379 log("getServiceProviderName: no brandOverride, providerName=" + providerName); in getServiceProviderName() 382 log("getServiceProviderName: card is null, providerName=" + providerName); in getServiceProviderName() 385 log("getServiceProviderName: mParentApp is null, providerName=" + providerName); in getServiceProviderName() 387 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 | 1142 String providerName) { in checkResolutionLevelIsSufficientForProviderUse() argument 1143 int requiredResolutionLevel = getMinimumResolutionLevelForProviderUse(providerName); in checkResolutionLevelIsSufficientForProviderUse() 1147 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse() 1150 throw new SecurityException("\"" + providerName + "\" location provider " + in checkResolutionLevelIsSufficientForProviderUse() 1153 throw new SecurityException("Insufficient permission for \"" + providerName + in checkResolutionLevelIsSufficientForProviderUse() 2682 pw.println(" " + key.packageName + ": " + key.providerName + ": " + stats); in dump()
|