Home
last modified time | relevance | path

Searched refs:setWorkSource (Results 1 – 25 of 28) 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.java2256 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java714 .setWorkSource( in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
716 verify(mBackupManagerService, never()).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
723 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenCallingAgent_setsWakeLockWorkSource()
740 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenAgentUnavailable()
773 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndAgentUnavailable()
790 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenBindToAgentThrowsSecurityException()
807 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenNonIncrementalAndBindToAgentThrowsSecurityException()
838 verify(mBackupManagerService).setWorkSource(null); in testRunTask_whenTransportGetBackupQuotaThrows_cleansUp()
891 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.java344 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java4119 mWakeLock.setWorkSource(ws); in setWakelockWorkSource()
4124 mWakeLock.setWorkSource(new WorkSource(knownUid)); in setWakelockWorkSource()
4131 mWakeLock.setWorkSource(null); in setWakelockWorkSource()
4604 mWakeLock.setWorkSource(null); in updateTrackingLocked()
DVibratorService.java1351 mWakeLock.setWorkSource(mTmpWorkSource); in VibrateThread()
DLocationManagerService.java1397 mWakeLock.setWorkSource(workSource); in Receiver()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java728 public void setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in UserBackupManagerService
730 mWakelock.mPowerManagerWakeLock.setWorkSource(workSource); in setWorkSource()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java3996 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.java1221 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()
DWindowState.java2838 mDrawLock.setWorkSource(new WorkSource(mOwnerUid, mAttrs.packageName)); in pokeDrawLockLw()
DWindowManagerService.java5378 mHoldingScreenWakeLock.setWorkSource(new WorkSource(newHoldScreen.mUid)); in setHoldScreenLocked()
DActivityTaskManagerService.java3817 mVoiceWakeLock.setWorkSource(new WorkSource(targetUid)); in startRunningVoiceLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java5645 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in acquireWakeLock()
5704 mWakeLock.setWorkSource(mActiveWakelockWorkSource); in decrementWakeLock()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DClientModeImpl.java2025 mWakeLock.setWorkSource(newSource); in updateBatteryWorkSource()
/frameworks/base/api/
Dsystem-current.txt3689 method public void setWorkSource(@Nullable android.os.WorkSource);
/frameworks/base/non-updatable-api/
Dsystem-current.txt3689 method public void setWorkSource(@Nullable android.os.WorkSource);
/frameworks/base/config/
Dboot-image-profile.txt12019 HSPLandroid/os/PowerManager$WakeLock;->setWorkSource(Landroid/os/WorkSource;)V
41962 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);

12