/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 56 WorkSource mWorkSource; field in RILRequest 106 rr.mWorkSource = null; in obtain() 129 rr.mWorkSource = workSource; in obtain() 162 if (mWorkSource == null || mWorkSource.isEmpty()) { in getWorkSourceClientId() 166 if (mWorkSource.size() > 0) { in getWorkSourceClientId() 167 return mWorkSource.get(0) + ":" + mWorkSource.getName(0); in getWorkSourceClientId() 170 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
|
D | RIL.java | 5644 mActiveWakelockWorkSource.add(rr.mWorkSource); in acquireWakeLock() 5703 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() 172 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in acquireWifiLockWithValidParamsShouldSucceed() 185 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in secondCallToAcquireWifiLockWithSameBinderShouldFail() 189 WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource)); in secondCallToAcquireWifiLockWithSameBinderShouldFail() 201 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in releaseWifiLockShouldSucceed() 253 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in checkForProperValueForGetStrongestLockMode() 258 mBinder, mWorkSource)); in checkForProperValueForGetStrongestLockMode() 263 mBinder, mWorkSource)); in checkForProperValueForGetStrongestLockMode() 280 acquireWifiLockSuccessful(WifiManager.WIFI_MODE_FULL_HIGH_PERF, "", mBinder, mWorkSource); in createMergedWorkSourceShouldSucceed() [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 | 2071 private WorkSource mWorkSource; field in PowerManager.WakeLock 2166 mService.acquireWakeLock(mToken, mFlags, mTag, mPackageName, mWorkSource, in acquireLocked() 2264 changed = mWorkSource != null; in setWorkSource() 2265 mWorkSource = null; in setWorkSource() 2266 } else if (mWorkSource == null) { in setWorkSource() 2268 mWorkSource = new WorkSource(ws); in setWorkSource() 2270 changed = !mWorkSource.equals(ws); in setWorkSource() 2272 mWorkSource.set(ws); in setWorkSource() 2278 mService.updateWakeLockWorkSource(mToken, mWorkSource, mHistoryTag); in setWorkSource() 2324 if (mWorkSource != null) { in writeToProto() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 282 setBlameHiPerfWs(wl.mWorkSource, false); in updateWifiLockWorkSource() 287 removeWsFromLlWatchList(wl.mWorkSource); in updateWifiLockWorkSource() 295 wl.mWorkSource = newWorkSource; in updateWifiLockWorkSource() 497 setBlameHiPerfWs(lock.mWorkSource, true); in addLock() 544 setBlameHiPerfWs(wifiLock.mWorkSource, false); in releaseLock() 793 WorkSource mWorkSource; field in WifiLockManager.WifiLock 801 mWorkSource = ws; in WifiLock() 811 return mWorkSource; in getWorkSource() 836 + " 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 | 372 private WorkSource mWorkSource = null; field in GnssLocationProvider 1073 mWorkSource = source; in handleSetRequest() 1080 if (mProviderRequest == null || mWorkSource == null) { in updateRequirements() 1087 updateClientUids(mWorkSource); in updateRequirements()
|
/frameworks/base/core/java/android/bluetooth/le/ |
D | BluetoothLeScanner.java | 364 private final WorkSource mWorkSource; field in BluetoothLeScanner.BleScanCallbackWrapper 382 mWorkSource = workSource; in BleScanCallbackWrapper() 393 mBluetoothGatt.registerScanner(this, mWorkSource); in startRegistration()
|
/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 409 int64_t token = propagatedBit | mWorkSource; in setCallingWorkSourceUidWithoutPropagation() 410 mWorkSource = uid; in setCallingWorkSourceUidWithoutPropagation() 426 return mWorkSource; in getCallingWorkSourceUid() 806 mWorkSource(kUnsetWorkSource), in IPCThreadState() 1184 const int32_t origWorkSource = mWorkSource; in executeCommand() 1251 mWorkSource = origWorkSource; in executeCommand()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1137 if (wakeLock.mWorkSource != null && !wakeLock.mWorkSource.isEmpty()) { in applyWakeLockFlagsOnAcquireLocked() 1138 WorkSource workSource = wakeLock.mWorkSource; in applyWakeLockFlagsOnAcquireLocked() 1268 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockAcquiredLocked() 1293 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockLongStartedLocked() 1301 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockLongFinishedLocked() 1309 wakeLock.mOwnerUid, wakeLock.mOwnerPid, wakeLock.mWorkSource, in notifyWakeLockChangingLocked() 1326 wakeLock.mWorkSource, wakeLock.mHistoryTag); in notifyWakeLockReleasedLocked() 1971 if (wakeLock.mWorkSource != null) { in wakeLockAffectsUser() 1972 for (int k = 0; k < wakeLock.mWorkSource.size(); k++) { in wakeLockAffectsUser() 1973 final int uid = wakeLock.mWorkSource.get(k); in wakeLockAffectsUser() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiManager.java | 3896 private WorkSource mWorkSource; field in WifiLock 3922 mService.acquireWifiLock(mBinder, mLockType, mTag, mWorkSource); in acquire() 4003 mWorkSource = null; in setWorkSource() 4006 if (mWorkSource == null) { in setWorkSource() 4007 changed = mWorkSource != null; in setWorkSource() 4008 mWorkSource = new WorkSource(ws); in setWorkSource() 4010 changed = !mWorkSource.equals(ws); in setWorkSource() 4012 mWorkSource.set(ws); in setWorkSource() 4018 mService.updateWifiLockWorkSource(mBinder, mWorkSource); in setWorkSource()
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 185 int32_t mWorkSource; variable
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 185 int32_t mWorkSource; variable
|
/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 | 1313 final WorkSource mWorkSource; field in AlarmManagerService.InFlight 1325 mWorkSource = alarm.workSource; in InFlight() 1351 + ", workSource=" + mWorkSource in toString() 1377 if (mWorkSource != null) { in writeToProto() 1378 mWorkSource.writeToProto(proto, InFlightProto.WORK_SOURCE); in writeToProto() 4571 ActivityManager.noteAlarmFinish(inflight.mPendingIntent, inflight.mWorkSource, in updateStatsLocked() 4599 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()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 12269 Landroid/bluetooth/le/BluetoothLeScanner$BleScanCallbackWrapper;->mWorkSource:Landroid/os/WorkSourc… 47332 Landroid/net/wifi/WifiManager$WifiLock;->mWorkSource:Landroid/os/WorkSource; 52041 Landroid/os/PowerManager$WakeLock;->mWorkSource:Landroid/os/WorkSource;
|