/frameworks/base/wifi/java/android/net/wifi/rtt/ |
H A D | IWifiRttManager.aidl | 30 void startRanging(in IBinder binder, in String callingPackage, in WorkSource workSource, 32 void cancelRanging(in WorkSource workSource);
|
H A D | WifiRttManager.java | 122 * @param workSource A mechanism to specify an alternative work-source for the request. 133 public void startRanging(@Nullable WorkSource workSource, @NonNull RangingRequest request, argument 136 Log.v(TAG, "startRanging: workSource=" + workSource + ", request=" + request 149 mService.startRanging(binder, mContext.getOpPackageName(), workSource, request, 173 * @param workSource The work-sources of the requesters. 179 public void cancelRanging(@Nullable WorkSource workSource) { argument 181 Log.v(TAG, "cancelRanging: workSource=" + workSource); 185 mService.cancelRanging(workSource); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IAlarmManager.aidl | 34 String listenerTag, in WorkSource workSource, in AlarmManager.AlarmClockInfo alarmClock);
|
H A D | AlarmManager.java | 617 long intervalMillis, PendingIntent operation, WorkSource workSource) { 619 null, workSource, null); 634 WorkSource workSource) { 636 targetHandler, workSource, null); 653 WorkSource workSource) { 655 targetHandler, workSource, null); 660 String listenerTag, Handler targetHandler, WorkSource workSource, 694 operation, recipientWrapper, listenerTag, workSource, alarmClock); 616 set(@larmType int type, long triggerAtMillis, long windowMillis, long intervalMillis, PendingIntent operation, WorkSource workSource) argument 632 set(@larmType int type, long triggerAtMillis, long windowMillis, long intervalMillis, String tag, OnAlarmListener listener, Handler targetHandler, WorkSource workSource) argument 651 set(@larmType int type, long triggerAtMillis, long windowMillis, long intervalMillis, OnAlarmListener listener, Handler targetHandler, WorkSource workSource) argument 658 setImpl(@larmType int type, long triggerAtMillis, long windowMillis, long intervalMillis, int flags, PendingIntent operation, final OnAlarmListener listener, String listenerTag, Handler targetHandler, WorkSource workSource, AlarmClockInfo alarmClock) argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | Notifier.java | 196 int ownerUid, int ownerPid, WorkSource workSource, String historyTag) { 201 + ", workSource=" + workSource); 209 if (workSource != null) { 210 mBatteryStats.noteStartWakelockFromSource(workSource, ownerPid, tag, 224 public void onLongPartialWakeLockStart(String tag, int ownerUid, WorkSource workSource, argument 228 + ", workSource=" + workSource); 232 if (workSource != null) { 233 mBatteryStats.noteLongPartialWakelockStartFromSource(tag, historyTag, workSource); 195 onWakeLockAcquired(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag) argument 242 onLongPartialWakeLockFinish(String tag, int ownerUid, WorkSource workSource, String historyTag) argument 263 onWakeLockChanging(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag, int newFlags, String newTag, String newPackageName, int newOwnerUid, int newOwnerPid, WorkSource newWorkSource, String newHistoryTag) argument 298 onWakeLockReleased(int flags, String tag, String packageName, int ownerUid, int ownerPid, WorkSource workSource, String historyTag) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
H A D | RttServiceImpl.java | 386 public void startRanging(IBinder binder, String callingPackage, WorkSource workSource, argument 390 + ", workSource=" + workSource + ", request=" + request + ", callback=" 427 if (workSource != null) { 431 workSource.clearNames(); 458 WorkSource sourceToUse = workSource; 459 if (workSource == null || workSource.isEmpty()) { 468 public void cancelRanging(WorkSource workSource) throws RemoteException { argument 469 if (VDBG) Log.v(TAG, "cancelRanging: workSource 603 cleanUpClientRequests(int uid, WorkSource workSource) argument 671 queueRangingRequest(int uid, WorkSource workSource, IBinder binder, IBinder.DeathRecipient dr, String callingPackage, RangingRequest request, IRttCallback callback, boolean isCalledFromPrivilegedContext) argument 1173 public WorkSource workSource; field in class:RttServiceImpl.RttRequestInfo [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RILRequest.java | 112 * @param workSource WorkSource to track the client 116 public static RILRequest obtain(int request, Message result, WorkSource workSource) { argument 120 if (workSource != null) { 121 rr.mWorkSource = workSource; 124 Rlog.e(LOG_TAG, "null workSource " + request);
|
H A D | PhoneInternalInterface.java | 260 * @param workSource calling WorkSource 262 CellLocation getCellLocation(WorkSource workSource); argument 738 * @param workSource calling WorkSource 740 default void getNeighboringCids(Message response, WorkSource workSource){} argument
|
H A D | RadioConfig.java | 196 private RILRequest obtainRequest(int request, Message result, WorkSource workSource) { argument 197 RILRequest rr = RILRequest.obtain(request, result, workSource);
|
H A D | RIL.java | 512 private RILRequest obtainRequest(int request, Message result, WorkSource workSource) { argument 513 RILRequest rr = RILRequest.obtain(request, result, workSource); 2298 public void getNeighboringCids(Message result, WorkSource workSource) { argument 2299 workSource = getDeafultWorkSourceIfInvalid(workSource); 2303 workSource); 2968 public void getCellInfoList(Message result, WorkSource workSource) { argument 2969 workSource = getDeafultWorkSourceIfInvalid(workSource); 2973 workSource); 2988 setCellInfoListRate(int rateInMillis, Message result, WorkSource workSource) argument 4253 getDeafultWorkSourceIfInvalid(WorkSource workSource) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeScanner.java | 175 * @param workSource {@link WorkSource} identifying the application(s) for which to blame for 183 public void startScanFromSource(final WorkSource workSource, final ScanCallback callback) { argument 184 startScanFromSource(null, new ScanSettings.Builder().build(), workSource, callback); 193 * @param workSource {@link WorkSource} identifying the application(s) for which to blame for 202 final WorkSource workSource, final ScanCallback callback) { 203 startScan(filters, settings, workSource, callback, null, null); 207 final WorkSource workSource, final ScanCallback callback, 245 settings, workSource, callback, resultStorages); 365 WorkSource workSource, ScanCallback scanCallback, 370 mWorkSource = workSource; 201 startScanFromSource(List<ScanFilter> filters, ScanSettings settings, final WorkSource workSource, final ScanCallback callback) argument 206 startScan(List<ScanFilter> filters, ScanSettings settings, final WorkSource workSource, final ScanCallback callback, final PendingIntent callbackIntent, List<List<ResultStorageDescriptor>> resultStorages) argument 363 BleScanCallbackWrapper(IBluetoothGatt bluetoothGatt, List<ScanFilter> filters, ScanSettings settings, WorkSource workSource, ScanCallback scanCallback, List<List<ResultStorageDescriptor>> resultStorages) argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | LocationRequest.java | 556 * @param workSource WorkSource defining power blame for this location request. 560 public void setWorkSource(WorkSource workSource) { argument 561 mWorkSource = workSource; 642 WorkSource workSource = in.readParcelable(null); 643 if (workSource != null) request.setWorkSource(workSource);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 87 in WorkSource workSource); 90 in WorkSource workSource);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 479 public void noteWakupAlarm(String name, int uid, WorkSource workSource, String tag) { argument 482 mStats.noteWakupAlarmLocked(name, uid, workSource, tag); 486 public void noteAlarmStart(String name, WorkSource workSource, int uid) { argument 489 mStats.noteAlarmStartLocked(name, workSource, uid); 493 public void noteAlarmFinish(String name, WorkSource workSource, int uid) { argument 496 mStats.noteAlarmFinishLocked(name, workSource, uid); 555 WorkSource workSource) { 558 mStats.noteLongPartialWakelockStartFromSource(name, historyName, workSource); 572 WorkSource workSource) { 575 mStats.noteLongPartialWakelockFinishFromSource(name, historyName, workSource); 554 noteLongPartialWakelockStartFromSource(String name, String historyName, WorkSource workSource) argument 571 noteLongPartialWakelockFinishFromSource(String name, String historyName, WorkSource workSource) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneBase.java | 152 public List<CellInfo> getAllCellInfo(WorkSource workSource) { argument 153 return getServiceStateTracker().getAllCellInfo(workSource); 157 public CellLocation getCellLocation(WorkSource workSource) { argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | WifiScanningServiceImpl.java | 349 loge("Unable to compute workSource for client: " + ci + ", requested: " 357 final WorkSource workSource; field in class:WifiScanningServiceImpl.RequestInfo 365 this.workSource = computeWorkSource(clientInfo, requestedWorkSource); 426 mergedSource.add(entry.workSource); 615 WorkSource workSource = 618 logScanRequest("addSingleScanRequest", ci, handler, workSource, 629 mActiveScans.addRequest(ci, handler, workSource, scanSettings); 631 mPendingScans.addRequest(ci, handler, workSource, scanSettings); 634 mPendingScans.addRequest(ci, handler, workSource, scanSettings); 1172 WorkSource workSource 1231 addBackgroundScanRequest(ClientInfo ci, int handler, ScanSettings settings, WorkSource workSource) argument 1973 sendRequestToClientHandler(int what, ScanSettings settings, WorkSource workSource) argument 2121 logScanRequest(String request, ClientInfo ci, int id, WorkSource workSource, ScanSettings settings, PnoSettings pnoSettings) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | LocationManagerService.java | 795 String packageName, WorkSource workSource, boolean hideFromAppOps) { 805 if (workSource != null && workSource.isEmpty()) { 806 workSource = null; 808 mWorkSource = workSource; 815 if (workSource == null) { 816 workSource = new WorkSource(mIdentity.mUid, mIdentity.mPackageName); 818 mWakeLock.setWorkSource(workSource); 1823 private static boolean isValidWorkSource(WorkSource workSource) { argument 1824 if (workSource 794 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 1957 getReceiverLocked(ILocationListener listener, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 1975 getReceiverLocked(PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument 2046 checkListenerOrIntentLocked(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName, WorkSource workSource, boolean hideFromAppOps) argument [all...] |
H A D | AlarmManagerService.java | 1052 alarm.workSource, alarm.alarmClock, alarm.uid, alarm.packageName); 1128 WorkSource workSource, int uid, String alarmPkg, int alarmType, String tag, 1133 mWorkSource = workSource; 1154 + ", workSource=" + mWorkSource 1443 int flags, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, 1513 interval, operation, directReceiver, listenerTag, flags, true, workSource, 1520 String listenerTag, int flags, boolean doValidate, WorkSource workSource, 1523 operation, directReceiver, listenerTag, workSource, flags, alarmClock, 1731 WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock) { 1745 if (workSource ! 1127 InFlight(AlarmManagerService service, PendingIntent pendingIntent, IAlarmListener listener, WorkSource workSource, int uid, String alarmPkg, int alarmType, String tag, long nowELAPSED) argument 1441 setImpl(int type, long triggerAtTime, long windowLength, long interval, PendingIntent operation, IAlarmListener directReceiver, String listenerTag, int flags, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int callingUid, String callingPackage) argument 1518 setImplLocked(int type, long when, long whenElapsed, long windowLength, long maxWhen, long interval, PendingIntent operation, IAlarmListener directReceiver, String listenerTag, int flags, boolean doValidate, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, int callingUid, String callingPackage) argument 3220 public final WorkSource workSource; field in class:AlarmManagerService.Alarm [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanRequestProxy.java | 372 WorkSource workSource = new WorkSource(callingUid); 391 mWifiScanner.startScan(settings, new ScanRequestProxyScanListener(), workSource);
|
H A D | WifiConnectivityManager.java | 900 private void startSingleScan(boolean isFullBandScan, WorkSource workSource) { argument 926 mScanner.startScan(settings, singleScanListener, workSource); 1187 public void forceConnectivityScan(WorkSource workSource) { argument 1188 localLog("forceConnectivityScan in request of " + workSource); 1191 startSingleScan(true, workSource);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | WifiScanningServiceTest.java | 252 int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) { 255 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 261 int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) { 264 scanParams.putParcelable(WifiScanner.SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 589 WorkSource workSource = new WorkSource(2292); 600 sendSingleScanRequest(controlChannel, requestId, requestSettings, workSource); 605 verify(mBatteryStats).noteWifiScanStartedFromSource(eq(workSource)); 615 verify(mBatteryStats).noteWifiScanStoppedFromSource(eq(workSource)); 693 WorkSource workSource = new WorkSource(Binder.getCallingUid()); // don't explicitly set 726 verify(mBatteryStats, never()).noteWifiScanStoppedFromSource(eq(workSource)); 251 sendBackgroundScanRequest(BidirectionalAsyncChannel controlChannel, int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) argument 260 sendSingleScanRequest(BidirectionalAsyncChannel controlChannel, int scanRequestId, WifiScanner.ScanSettings settings, WorkSource workSource) argument [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
H A D | JobServiceContext.java | 438 WorkSource workSource = new WorkSource(); 439 workSource.createWorkChain() 442 return workSource;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiScanner.java | 772 * @param workSource WorkSource to blame for power usage 779 WorkSource workSource) { 786 scanParams.putParcelable(SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 831 * @param workSource WorkSource to blame for power usage 837 public void startScan(ScanSettings settings, ScanListener listener, WorkSource workSource) { argument 844 scanParams.putParcelable(SCAN_PARAMS_WORK_SOURCE_KEY, workSource); 778 startBackgroundScan(ScanSettings settings, ScanListener listener, WorkSource workSource) argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaPhoneTest.java | 239 WorkSource workSource = new WorkSource(Process.myUid(), 241 doReturn(cellLocation).when(mSST).getCellLocation(workSource); 242 assertEquals(cellLocation, mPhoneUT.getCellLocation(workSource)); 270 (CdmaCellLocation) mPhoneUT.getCellLocation(workSource);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConnectivityManagerTest.java | 205 WorkSource workSource) throws Exception { 211 WorkSource workSource) throws Exception { 1176 WorkSource workSource) throws Exception { 1217 WorkSource workSource) throws Exception { 1302 WorkSource workSource) throws Exception { 1331 WorkSource workSource) throws Exception {
|