/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 433 LocationRequest request = new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(); in testPassive_Listener() 454 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener() 495 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_SameProcess() 510 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister() 531 new LocationRequest.Builder(0).setWorkSource(WORK_SOURCE).build(), in testRegisterListener_Unregister_SameProcess() 557 .setWorkSource(WORK_SOURCE) in testRegisterListener_NumUpdates() 577 .setWorkSource(WORK_SOURCE) in testRegisterListener_ExpiringAlarm() 592 .setWorkSource(WORK_SOURCE) in testRegisterListener_ExpiringNoAlarm() 608 .setWorkSource(WORK_SOURCE) in testRegisterListener_FastestInterval() 624 .setWorkSource(WORK_SOURCE) in testRegisterListener_SmallestDisplacement() [all …]
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationThread.java | 234 mWakeLock.setWorkSource(workSource); in runCurrentVibrationWithWakeLock() 245 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/services/core/java/com/android/server/location/geofence/ |
D | GeofenceManager.java | 107 mWakeLock.setWorkSource(identity.addToWorkSource(null)); in GeofenceRegistration() 447 .setWorkSource(workSource) in mergeRegistrations()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderWorkSourceTest.java | 106 public void setWorkSource() throws Exception { in setWorkSource() method in BinderWorkSourceTest
|
D | PowerManagerTest.java | 155 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains()
|
/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/location/java/android/location/ |
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/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 | 727 .setWorkSource( in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 729 verify(mBackupManagerService, never()).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 736 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource() 753 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenAgentUnavailable() 786 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndAgentUnavailable() 803 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenBindToAgentThrowsSecurityException() 821 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException() 852 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenTransportGetBackupQuotaThrows_cleansUp() 905 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenLocalAgentOnBackupThrows_setsNullWorkSource()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 876 mBackupManagerService.setWorkSource(new WorkSource(packageInfo.applicationInfo.uid)); in extractAgentData() 881 mBackupManagerService.setWorkSource(null); in extractAgentData()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 294 mWakeLock.setWorkSource( in executeRunnableJob()
|
D | JobConcurrencyManager.java | 1104 wl.setWorkSource(mService.deriveWorkSource( in startJobLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 622 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
|
/frameworks/base/core/java/android/os/ |
D | PowerManager.java | 3115 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 784 mWakeLock.setWorkSource(request.getWorkSource()); in LocationRegistration() 2307 .setWorkSource(workSource)
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 4823 mWakeLock.setWorkSource(ws); in setWakelockWorkSource() 4828 mWakeLock.setWorkSource(new WorkSource(knownUid)); in setWakelockWorkSource() 4835 mWakeLock.setWorkSource(null); in setWakelockWorkSource() 5489 mWakeLock.setWorkSource(null); in updateTrackingLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerService.java | 754 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in UserBackupManagerService 756 mWakelock.mPowerManagerWakeLock.setWorkSource(workSource); in setWorkSource()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationManagerService.java | 807 sanitized.setWorkSource(workSource); in validateLocationRequest()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 1922 mSyncWakeLock.setWorkSource(new WorkSource(syncAdapterUid)); in ActiveSyncContext() 2002 mSyncWakeLock.setWorkSource(null); in close()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 1320 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()
|
D | WindowState.java | 3445 mDrawLock.setWorkSource(new WorkSource(mOwnerUid, mAttrs.packageName)); in pokeDrawLockLw()
|
D | DisplayContent.java | 1194 mHoldScreenWakeLock.setWorkSource(new WorkSource(mTmpHoldScreenWindow.mSession.mUid)); in finishHoldScreenUpdate()
|
D | ActivityTaskManagerService.java | 3441 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 5420 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in acquireWakeLock() 5479 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in decrementWakeLock()
|