/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 55 WorkSource mWorkSource; field in RILRequest 103 rr.mWorkSource = null; in obtain() 126 rr.mWorkSource = workSource; in obtain() 140 if (mWorkSource == null || mWorkSource.isEmpty()) { in getWorkSourceClientId() 144 if (mWorkSource.size() > 0) { in getWorkSourceClientId() 145 return mWorkSource.get(0) + ":" + mWorkSource.getName(0); in getWorkSourceClientId() 148 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
|
D | RIL.java | 4896 mActiveWakelockWorkSource.add(rr.mWorkSource); in acquireWakeLock() 4955 mActiveWakelockWorkSource.remove(rr.mWorkSource); in decrementWakeLock()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 65 WorkSource mWorkSource; field in WifiLockManagerTest 82 mWorkSource = new WorkSource(DEFAULT_TEST_UID_1); in setUp() 171 mWifiLockManager.acquireWifiLock(WIFI_LOCK_MODE_INVALID, "", mBinder, mWorkSource); in acquireWifiLockShouldThrowExceptionOnInivalidLockMode() 183 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in acquireWifiLockWithValidParamsShouldSucceed() 196 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in secondCallToAcquireWifiLockWithSameBinderShouldFail() 200 WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource)); in secondCallToAcquireWifiLockWithSameBinderShouldFail() 212 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in releaseWifiLockShouldSucceed() 264 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in checkForProperValueForGetStrongestLockMode() 269 mBinder, mWorkSource)); in checkForProperValueForGetStrongestLockMode() 274 mBinder, mWorkSource)); in checkForProperValueForGetStrongestLockMode() [all …]
|
/frameworks/base/core/java/android/os/ |
D | StatsLogEventWrapper.java | 46 WorkSource mWorkSource = null; field in StatsLogEventWrapper 80 mWorkSource = ws; in setWorkSource() 141 if (mWorkSource != null) { in writeToParcel() 142 ArrayList<android.os.WorkSource.WorkChain> workChains = mWorkSource.getWorkChains(); in writeToParcel() 203 mWorkSource = null; in readFromParcel() 216 mWorkSource = new WorkSource(); in readFromParcel() 218 android.os.WorkSource.WorkChain workChain = mWorkSource.createWorkChain(); in readFromParcel()
|
D | PowerManager.java | 2091 private WorkSource mWorkSource; field in PowerManager.WakeLock 2186 mService.acquireWakeLock(mToken, mFlags, mTag, mPackageName, mWorkSource, in acquireLocked() 2284 changed = mWorkSource != null; in setWorkSource() 2285 mWorkSource = null; in setWorkSource() 2286 } else if (mWorkSource == null) { in setWorkSource() 2288 mWorkSource = new WorkSource(ws); in setWorkSource() 2290 changed = !mWorkSource.equals(ws); in setWorkSource() 2292 mWorkSource.set(ws); in setWorkSource() 2298 mService.updateWakeLockWorkSource(mToken, mWorkSource, mHistoryTag); in setWorkSource() 2344 if (mWorkSource != null) { in writeToProto() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 286 setBlameHiPerfWs(wl.mWorkSource, false); in updateWifiLockWorkSource() 291 removeWsFromLlWatchList(wl.mWorkSource); in updateWifiLockWorkSource() 299 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource() 495 setBlameHiPerfWs(lock.mWorkSource, true); in addLock() 542 setBlameHiPerfWs(wifiLock.mWorkSource, false); in releaseLock() 791 WorkSource mWorkSource; field in WifiLockManager.WifiLock 799 mWorkSource = ws; in WifiLock() 809 return mWorkSource; in getWorkSource() 834 + " workSource=" + mWorkSource + "}"; in toString()
|
/frameworks/base/location/java/android/location/ |
D | LocationRequest.java | 167 private WorkSource mWorkSource = null; field in LocationRequest 268 mWorkSource = src.mWorkSource; in LocationRequest() 600 mWorkSource = workSource; in setWorkSource() 606 return mWorkSource; in getWorkSource() 714 parcel.writeParcelable(mWorkSource, 0); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationProviderProxy.java | 97 private WorkSource mWorkSource; field in LocationProviderProxy 141 mWorkSource = new WorkSource(); in LocationProviderProxy() 158 service.setRequest(mRequest, mWorkSource); in initializeService() 174 mWorkSource = source; in setRequest()
|
D | GnssLocationProvider.java | 369 private WorkSource mWorkSource = null; field in GnssLocationProvider 1038 mWorkSource = source; in handleSetRequest() 1045 if (mProviderRequest == null || mWorkSource == null) { in updateRequirements() 1052 updateClientUids(mWorkSource); in updateRequirements()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 354 private final WorkSource mWorkSource; field in BluetoothLeScanner.BleScanCallbackWrapper 372 mWorkSource = workSource; in BleScanCallbackWrapper() 383 mBluetoothGatt.registerScanner(this, mWorkSource); in startRegistration()
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 407 int64_t token = propagatedBit | mWorkSource; in setCallingWorkSourceUidWithoutPropagation() 408 mWorkSource = uid; in setCallingWorkSourceUidWithoutPropagation() 424 return mWorkSource; in getCallingWorkSourceUid() 804 mWorkSource(kUnsetWorkSource), in IPCThreadState() 1179 const int32_t origWorkSource = mWorkSource; in executeCommand() 1241 mWorkSource = origWorkSource; in executeCommand()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1127 if (wakeLock.mWorkSource != null && !wakeLock.mWorkSource.isEmpty()) { in applyWakeLockFlagsOnAcquireLocked() 1128 WorkSource workSource = wakeLock.mWorkSource; in applyWakeLockFlagsOnAcquireLocked() 1258 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockAcquiredLocked() 1283 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockLongStartedLocked() 1291 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockLongFinishedLocked() 1299 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockChangingLocked() 1316 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockReleasedLocked() 1953 if (wakeLock.mWorkSource != null) { in wakeLockAffectsUser() 1954 for (int k = 0; k < wakeLock.mWorkSource.size(); k++) { in wakeLockAffectsUser() 1955 final int uid = wakeLock.mWorkSource.get(k); in wakeLockAffectsUser() [all …]
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 187 int32_t mWorkSource; variable
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3833 private WorkSource mWorkSource; field in WifiLock 3859 mService.acquireWifiLock(mBinder, mLockType, mTag, mWorkSource); in acquire() 3940 mWorkSource = null; in setWorkSource() 3943 if (mWorkSource == null) { in setWorkSource() 3944 changed = mWorkSource != null; in setWorkSource() 3945 mWorkSource = new WorkSource(ws); in setWorkSource() 3947 changed = !mWorkSource.equals(ws); in setWorkSource() 3949 mWorkSource.set(ws); in setWorkSource() 3955 mService.updateWifiLockWorkSource(mBinder, mWorkSource); in setWorkSource()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1360 final WorkSource mWorkSource; // WorkSource for battery blame, or null to assign to caller. field in LocationManagerService.Receiver 1387 mWorkSource = workSource; in Receiver() 2222 if (record.mReceiver.mWorkSource != null in applyRequirementsLocked() 2223 && isValidWorkSource(record.mReceiver.mWorkSource)) { in applyRequirementsLocked() 2224 worksource.add(record.mReceiver.mWorkSource); in applyRequirementsLocked() 2397 b.append(mRealRequest).append(" ").append(mReceiver.mWorkSource); in toString()
|
D | AlarmManagerService.java | 1314 final WorkSource mWorkSource; field in AlarmManagerService.InFlight 1326 mWorkSource = alarm.workSource; in InFlight() 1352 + ", workSource=" + mWorkSource in toString() 1378 if (mWorkSource != null) { in writeToProto() 1379 mWorkSource.writeToProto(proto, InFlightProto.WORK_SOURCE); in writeToProto() 4574 ActivityManager.noteAlarmFinish(inflight.mPendingIntent, inflight.mWorkSource, in updateStatsLocked() 4602 setWakelockWorkSource(inFlight.mWorkSource, inFlight.mCreatorUid, inFlight.mTag, in updateTrackingLocked()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 1874 private final WorkSource mWorkSource; field in WifiScanningServiceImpl.ClientInfo 1881 mWorkSource = new WorkSource(uid); in ClientInfo() 1925 mBatteryStats.noteWifiBatchedScanStartedFromSource(mWorkSource, csph); in reportBatchedScanStart() 1937 mBatteryStats.noteWifiBatchedScanStoppedFromSource(mWorkSource); in reportBatchedScanStop()
|