/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 477 LocationRequest request = new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(); in testPassive_Listener() 498 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener() 539 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_SameProcess() 554 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister() 575 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister_SameProcess() 601 .setWorkSource(WORK_SOURCE) in testRegisterListener_NumUpdates() 620 .setWorkSource(WORK_SOURCE) in testRegisterListener_InvisibleUser() 640 .setWorkSource(WORK_SOURCE) in testRegisterListener_ExpiringAlarm() 655 .setWorkSource(WORK_SOURCE) in testRegisterListener_ExpiringNoAlarm() 671 .setWorkSource(WORK_SOURCE) in testRegisterListener_FastestInterval() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationThread.java | 236 mWakeLock.setWorkSource(workSource); in runCurrentVibrationWithWakeLock() 247 mWakeLock.setWorkSource(null); in runCurrentVibrationWithWakeLock()
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | ProviderRequestUnbundled.java | 122 .setWorkSource(mRequest.getWorkSource()) in getLocationRequests()
|
/frameworks/base/location/api/ |
D | system-lint-baseline.txt | 48 UnflaggedApi: android.location.GnssMeasurementRequest.Builder#setWorkSource(android.os.WorkSource): 49 …h @FlaggedApi: method android.location.GnssMeasurementRequest.Builder.setWorkSource(android.os.Wor…
|
D | system-current.txt | 122 …_DEVICE_STATS) public android.location.GnssMeasurementRequest.Builder setWorkSource(@Nullable andr… 499 method @Deprecated public void setWorkSource(@Nullable android.os.WorkSource); 513 ….UPDATE_DEVICE_STATS) public android.location.LocationRequest.Builder setWorkSource(@Nullable andr… 668 …method @NonNull public android.location.provider.ProviderRequest.Builder setWorkSource(@NonNull an…
|
/frameworks/base/packages/FusedLocation/src/com/android/location/gnss/ |
D | GnssOverlayLocationProvider.java | 125 .setWorkSource(request.getWorkSource()) in onSetRequest()
|
/frameworks/base/location/java/android/location/ |
D | GnssMeasurementRequest.java | 307 public @NonNull Builder setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in GnssMeasurementRequest.Builder
|
D | LocationRequest.java | 740 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in LocationRequest 1195 public @NonNull Builder setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in LocationRequest.Builder
|
/frameworks/base/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 145 mWakeLock.setWorkSource(identity.addToWorkSource(null)); in GeofenceRegistration() 500 .setWorkSource(workSource) in mergeRegistrations()
|
/frameworks/base/location/java/android/location/provider/ |
D | ProviderRequest.java | 360 public @NonNull Builder setWorkSource(@NonNull WorkSource workSource) { in setWorkSource() method in ProviderRequest.Builder
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderWorkSourceTest.java | 110 public void setWorkSource() throws Exception { in setWorkSource() method in BinderWorkSourceTest
|
D | PowerManagerTest.java | 183 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusedLocationProvider.java | 301 .setWorkSource(mRequest.getWorkSource()) in resetProviderRequest()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 738 .setWorkSource( in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 740 verify(mBackupManagerService, never()).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 747 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 764 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenAgentUnavailable() 797 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndAgentUnavailable() 814 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenBindToAgentThrowsSecurityException() 832 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException() 863 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenTransportGetBackupQuotaThrows_cleansUp() 916 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenLocalAgentOnBackupThrows_setsNullWorkSource()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 881 mBackupManagerService.setWorkSource(new WorkSource(packageInfo.applicationInfo.uid)); in extractAgentData() 886 mBackupManagerService.setWorkSource(null); in extractAgentData()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubClientBroker.java | 378 mWakeLock.setWorkSource(new WorkSource(mUid, mPackage)); in ContextHubClientBroker()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 532 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 806 mWakeLock.setWorkSource(request.getWorkSource()); in LocationRegistration() 2433 .setWorkSource(workSource)
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 4649 mWakeLock.setWorkSource(ws); in setWakelockWorkSource() 4654 mWakeLock.setWorkSource(new WorkSource(knownUid)); in setWakelockWorkSource() 4661 mWakeLock.setWorkSource(null); in setWakelockWorkSource() 5288 mWakeLock.setWorkSource(null); in updateTrackingLocked()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 405 mWakeLock.setWorkSource( in executeRunnableJob()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 3911 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 775 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in UserBackupManagerService 777 mWakelock.mPowerManagerWakeLock.setWorkSource(workSource); in setWorkSource()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 936 sanitized.setWorkSource(workSource); in validateLocationRequest()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 2089 mSyncWakeLock.setWorkSource(new WorkSource(syncAdapterUid)); in ActiveSyncContext() 2169 mSyncWakeLock.setWorkSource(null); in close()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 1406 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()
|