Home
last modified time | relevance | path

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

12

/frameworks/base/location/java/android/location/
DLocationRequest.java599 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in LocationRequest
687 if (workSource != null) request.setWorkSource(workSource);
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java106 public void setWorkSource() throws Exception { in setWorkSource() method in BinderWorkSourceTest
DPowerManagerTest.java134 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains()
/frameworks/base/core/java/android/os/
DStatsLogEventWrapper.java75 public void setWorkSource(WorkSource ws) { in setWorkSource() method in StatsLogEventWrapper
DPowerManager.java2276 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java715 .setWorkSource( in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
717 verify(mBackupManagerService, never()).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
724 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
741 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenAgentUnavailable()
774 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndAgentUnavailable()
791 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenBindToAgentThrowsSecurityException()
808 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException()
839 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenTransportGetBackupQuotaThrows_cleansUp()
892 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenLocalAgentOnBackupThrows_setsNullWorkSource()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java645 mBackupManagerService.setWorkSource(new WorkSource(packageInfo.applicationInfo.uid)); in extractAgentData()
650 mBackupManagerService.setWorkSource(null); in extractAgentData()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java428 wl.setWorkSource(deriveWorkSource(runningJob)); in onServiceConnected()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java349 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4122 mWakeLock.setWorkSource(ws); in setWakelockWorkSource()
4127 mWakeLock.setWorkSource(new WorkSource(knownUid)); in setWakelockWorkSource()
4134 mWakeLock.setWorkSource(null); in setWakelockWorkSource()
4607 mWakeLock.setWorkSource(null); in updateTrackingLocked()
DVibratorService.java1225 mWakeLock.setWorkSource(mTmpWorkSource); in VibrateThread()
DLocationManagerService.java1397 mWakeLock.setWorkSource(workSource); in Receiver()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java671 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in UserBackupManagerService
673 mWakelock.setWorkSource(workSource); in setWorkSource()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java3933 public void setWorkSource(WorkSource ws) { in setWorkSource() method in WifiLock
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1870 mSyncWakeLock.setWorkSource(new WorkSource(syncAdapterUid)); in ActiveSyncContext()
1950 mSyncWakeLock.setWorkSource(null); in close()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java1218 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()
DWindowState.java2798 mDrawLock.setWorkSource(new WorkSource(mOwnerUid, mAttrs.packageName)); in pokeDrawLockLw()
DWindowManagerService.java5365 mHoldingScreenWakeLock.setWorkSource(new WorkSource(newHoldScreen.mUid)); in setHoldScreenLocked()
DActivityTaskManagerService.java3790 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java4897 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in acquireWakeLock()
4956 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in decrementWakeLock()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2003 mWakeLock.setWorkSource(newSource); in updateBatteryWorkSource()
/frameworks/base/api/
Dsystem-current.txt3435 method public void setWorkSource(@Nullable android.os.WorkSource);
/frameworks/base/config/
Dboot-image-profile.txt12019 HSPLandroid/os/PowerManager$WakeLock;->setWorkSource(Landroid/os/WorkSource;)V
41963 HSPLandroid/location/LocationRequest;->setWorkSource(Landroid/os/WorkSource;)V
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18109 method public void setWorkSource(android.os.WorkSource);
22179 method public void setWorkSource(android.os.WorkSource);
/frameworks/base/services/
Dart-profile4952 PLcom/android/server/backup/UserBackupManagerService;->setWorkSource(Landroid/os/WorkSource;)V

12