Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java477 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/
DVibrationThread.java236 mWakeLock.setWorkSource(workSource); in runCurrentVibrationWithWakeLock()
247 mWakeLock.setWorkSource(null); in runCurrentVibrationWithWakeLock()
/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java122 .setWorkSource(mRequest.getWorkSource()) in getLocationRequests()
/frameworks/base/location/api/
Dsystem-lint-baseline.txt48 UnflaggedApi: android.location.GnssMeasurementRequest.Builder#setWorkSource(android.os.WorkSource):
49 …h @FlaggedApi: method android.location.GnssMeasurementRequest.Builder.setWorkSource(android.os.Wor…
Dsystem-current.txt122 …_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/
DGnssOverlayLocationProvider.java125 .setWorkSource(request.getWorkSource()) in onSetRequest()
/frameworks/base/location/java/android/location/
DGnssMeasurementRequest.java307 public @NonNull Builder setWorkSource(@Nullable WorkSource workSource) { in setWorkSource() method in GnssMeasurementRequest.Builder
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/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java145 mWakeLock.setWorkSource(identity.addToWorkSource(null)); in GeofenceRegistration()
500 .setWorkSource(workSource) in mergeRegistrations()
/frameworks/base/location/java/android/location/provider/
DProviderRequest.java360 public @NonNull Builder setWorkSource(@NonNull WorkSource workSource) { in setWorkSource() method in ProviderRequest.Builder
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java110 public void setWorkSource() throws Exception { in setWorkSource() method in BinderWorkSourceTest
DPowerManagerTest.java183 wakeLock.setWorkSource(workSource); in testWakeLockWithWorkChains()
/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.java738 .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/
DKeyValueBackupTask.java881 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/
DContextHubClientBroker.java378 mWakeLock.setWorkSource(new WorkSource(mUid, mPackage)); in ContextHubClientBroker()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java532 mDexoptWakeLock.setWorkSource(new WorkSource(uid)); in acquireWakeLockLI()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java806 mWakeLock.setWorkSource(request.getWorkSource()); in LocationRegistration()
2433 .setWorkSource(workSource)
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java4649 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/
DJobServiceContext.java405 mWakeLock.setWorkSource( in executeRunnableJob()
/frameworks/base/core/java/android/os/
DPowerManager.java3911 public void setWorkSource(WorkSource ws) { in setWorkSource() method in PowerManager.WakeLock
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java775 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/
DLocationManagerService.java936 sanitized.setWorkSource(workSource); in validateLocationRequest()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2089 mSyncWakeLock.setWorkSource(new WorkSource(syncAdapterUid)); in ActiveSyncContext()
2169 mSyncWakeLock.setWorkSource(null); in close()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java1406 mLaunchingActivityWakeLock.setWorkSource(new WorkSource(uid)); in setLaunchSource()

12