Lines Matching defs:workSource
20 import android.os.WorkSource;
91 WorkSource workSource; // Used for BatteryStats
106 public AppScanStats(String name, WorkSource source, ContextMap map, GattService service) {
114 source = new WorkSource(Binder.getCallingUid(), appName);
116 workSource = source;
128 batteryStats.noteBleScanResults(workSource, 100);
170 batteryStats.noteBleScanStarted(workSource, isUnoptimized);
215 batteryStats.noteBleScanResults(workSource, scan.results % 100);
216 batteryStats.noteBleScanStopped(workSource, isUnoptimized);