/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ScanClient.java | 22 import android.os.WorkSource; 48 WorkSource workSource; 74 List<ScanFilter> filters, WorkSource workSource, 76 this(appIf, isServer, new UUID[0], settings, filters, workSource, storages); 80 List<ScanFilter> filters, WorkSource workSource, 87 this.workSource = workSource; [all...] |
GattService.java | 46 import android.os.WorkSource; 357 List<ScanFilter> filters, WorkSource workSource, List storages, 361 service.startScan(appIf, isServer, settings, filters, workSource, storages, [all...] |
ScanManager.java | 242 mBatteryStats.noteBleScanStarted(client.workSource); 255 // which may have workSource set. 271 mBatteryStats.noteBleScanStopped(client.workSource); [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
Notifier.java | 47 import android.os.WorkSource; 168 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { 173 + ", workSource=" + workSource); 181 if (workSource != null) { 182 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, 197 public void onLongPartialWakeLockStart(String tag, int ownerUid, WorkSource workSource, 201 + ", workSource=" + workSource) [all...] |
PowerManagerService.java | 51 import android.os.WorkSource; [all...] |
/frameworks/base/core/java/android/app/ |
IAlarmManager.aidl | 23 import android.os.WorkSource; 34 String listenerTag, in WorkSource workSource, in AlarmManager.AlarmClockInfo alarmClock);
|
AlarmManager.java | 29 import android.os.WorkSource; 594 PendingIntent operation, WorkSource workSource) { 596 null, workSource, null); 600 * Direct callback version of {@link #set(int, long, long, long, PendingIntent, WorkSource)}. 610 String tag, OnAlarmListener listener, Handler targetHandler, WorkSource workSource) { 612 targetHandler, workSource, null); 616 * Direct callback version of {@link #set(int, long, long, long, PendingIntent, WorkSource)}. 627 OnAlarmListener listener, Handler targetHandler, WorkSource workSource) [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
BluetoothLeScanner.java | 32 import android.os.WorkSource; 120 * @param workSource {@link WorkSource} identifying the application(s) for which to blame for 128 public void startScanFromSource(final WorkSource workSource, final ScanCallback callback) { 129 startScanFromSource(null, new ScanSettings.Builder().build(), workSource, callback); 138 * @param workSource {@link WorkSource} identifying the application(s) for which to blame for 147 final WorkSource workSource, final ScanCallback callback) [all...] |
/frameworks/base/location/java/android/location/ |
LocationRequest.java | 23 import android.os.WorkSource; 151 private WorkSource mWorkSource = null; 511 * Sets the WorkSource to use for power blaming of this location request. 517 * @param workSource WorkSource defining power blame for this location request. 521 public void setWorkSource(WorkSource workSource) { 522 mWorkSource = workSource; 527 public WorkSource getWorkSource() { 602 WorkSource workSource = in.readParcelable(null) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
WifiScanningServiceImpl.java | 43 import android.os.WorkSource; 317 private static boolean isWorkSourceValid(WorkSource workSource) { 318 return workSource != null && workSource.size() > 0 && workSource.get(0) >= 0; 321 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { 325 // supplied WorkSource to allow future WorkSource combining [all...] |
/frameworks/base/services/core/java/com/android/server/ |
LocationManagerService.java | 88 import android.os.WorkSource; 648 final WorkSource mWorkSource; // WorkSource for battery blame, or null to assign to caller. 662 String packageName, WorkSource workSource, boolean hideFromAppOps) { 674 if (workSource != null && workSource.size() <= 0) { 675 workSource = null; 677 mWorkSource = workSource; 684 if (workSource == null) 1408 WorkSource worksource = new WorkSource(); local [all...] |
AlarmManagerService.java | 49 import android.os.WorkSource; 833 final WorkSource mWorkSource; 841 WorkSource workSource, int uid, String alarmPkg, int alarmType, String tag, 845 mWorkSource = workSource; [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiConnectivityManagerTest.java | 40 import android.os.WorkSource; 145 WorkSource workSource) throws Exception { 151 WorkSource workSource) throws Exception { [all...] |
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothGatt.aidl | 26 import android.os.WorkSource; 39 in List<ScanFilter> filters, in WorkSource workSource, in List scanStorages,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WifiScanningServiceTest.java | 37 import android.os.WorkSource; 187 int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) { 190 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 196 int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) { 199 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 474 WorkSource workSource = new WorkSource(2292) [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiScanner.java | 29 import android.os.WorkSource; 165 public static final String SCAN_PARAMS_WORK_SOURCE_KEY = "WorkSource"; 707 * @param workSource WorkSource to blame for power usage 713 WorkSource workSource) { 720 scanParams.putParcelable(SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 762 * @param workSource WorkSource to blame for power usage 767 public void startScan(ScanSettings settings, ScanListener listener, WorkSource workSource) [all...] |
WifiManager.java | 36 import android.os.WorkSource; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | 79 import android.os.WorkSource; 437 * @param workSource If null, all blame is given to the calling uid. 439 public void startScan(ScanSettings settings, WorkSource workSource) { 465 if (workSource != null) { 468 // supplied WorkSource to allow future WorkSource combining. 469 workSource.clearNames(); 471 if (workSource == null && Binder.getCallingUid() >= 0) { 472 workSource = new WorkSource(Binder.getCallingUid()) [all...] |
WifiStateMachine.java | 91 import android.os.WorkSource; 277 private WorkSource mScanWorkSource = null; [all...] |
/prebuilts/sdk/system_current/ |
android.jar | |