Home
last modified time | relevance | path

Searched refs:setWorkSource (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java433 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/
DVibrationThread.java234 mWakeLock.setWorkSource(workSource); in runCurrentVibrationWithWakeLock()
245 mWakeLock.setWorkSource(null); in runCurrentVibrationWithWakeLock()
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java122 .setWorkSource(mRequest.getWorkSource()) in getLocationRequests()
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java107 mWakeLock.setWorkSource(identity.addToWorkSource(null)); in GeofenceRegistration()
447 .setWorkSource(workSource) in mergeRegistrations()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java106 public void setWorkSource() throws Exception { in setWorkSource() method in BinderWorkSourceTest
DPowerManagerTest.java155 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains()
/frameworks/base/location/java/android/location/provider/
DProviderRequest.java360 public @NonNull Builder setWorkSource(@NonNull WorkSource workSource) { in setWorkSource() method in ProviderRequest.Builder
/frameworks/base/location/java/android/location/
DLocationRequest.java740 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/
DFusedLocationProvider.java301 .setWorkSource(mRequest.getWorkSource()) in resetProviderRequest()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java727 .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/
DKeyValueBackupTask.java876 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/
DJobServiceContext.java294 mWakeLock.setWorkSource( in executeRunnableJob()
DJobConcurrencyManager.java1104 wl.setWorkSource(mService.deriveWorkSource( in startJobLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java622 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
/frameworks/base/core/java/android/os/
DPowerManager.java3115 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java784 mWakeLock.setWorkSource(request.getWorkSource()); in LocationRegistration()
2307 .setWorkSource(workSource)
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java4823 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/
DUserBackupManagerService.java754 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/
DLocationManagerService.java807 sanitized.setWorkSource(workSource); in validateLocationRequest()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1922 mSyncWakeLock.setWorkSource(new WorkSource(syncAdapterUid)); in ActiveSyncContext()
2002 mSyncWakeLock.setWorkSource(null); in close()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1320 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()
DWindowState.java3445 mDrawLock.setWorkSource(new WorkSource(mOwnerUid, mAttrs.packageName)); in pokeDrawLockLw()
DDisplayContent.java1194 mHoldScreenWakeLock.setWorkSource(new WorkSource(mTmpHoldScreenWindow.mSession.mUid)); in finishHoldScreenUpdate()
DActivityTaskManagerService.java3441 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5420 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in acquireWakeLock()
5479 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in decrementWakeLock()

12