Home
last modified time | relevance | path

Searched refs:getWorkChains (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DWorkSourceTest.java137 ws1.getWorkChains().clear(); in testEquals_workChains_nullEmptyAreEquivalent()
179 List<WorkChain> workChains = ws1.getWorkChains(); in testSet_workChains()
189 assertEquals(1, ws1.getWorkChains().size()); in testSet_workChains()
192 assertEquals(1, ws1.getWorkChains().size()); in testSet_workChains()
193 assertEquals(1, ws1.getWorkChains().get(0).getSize()); in testSet_workChains()
203 assertEquals(0, ws.getWorkChains().size()); in testSet_nullWorkChain()
216 List<WorkChain> workChains = ws.getWorkChains(); in testAdd_workChains()
219 assertEquals(60, ws.getWorkChains().get(1).getUids()[0]); in testAdd_workChains()
220 assertEquals("tag", ws.getWorkChains().get(1).getTags()[0]); in testAdd_workChains()
269 assertEquals(ws2.getWorkChains(), diffs[0]); in testDiffChains_noChains()
[all …]
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp423 EXPECT_EQ(0, statsLogEventWrapper.getWorkChains().size()); in TEST()
477 EXPECT_EQ(3, statsLogEventWrapper.getWorkChains().size()); in TEST()
478 EXPECT_EQ(2, statsLogEventWrapper.getWorkChains()[0].uids.size()); in TEST()
479 EXPECT_EQ(1, statsLogEventWrapper.getWorkChains()[0].uids[0]); in TEST()
480 EXPECT_EQ(2, statsLogEventWrapper.getWorkChains()[0].uids[1]); in TEST()
481 EXPECT_EQ(2, statsLogEventWrapper.getWorkChains()[0].tags.size()); in TEST()
482 EXPECT_EQ("tag1", statsLogEventWrapper.getWorkChains()[0].tags[0]); in TEST()
483 EXPECT_EQ("tag2", statsLogEventWrapper.getWorkChains()[0].tags[1]); in TEST()
484 EXPECT_EQ(1, statsLogEventWrapper.getWorkChains()[1].uids.size()); in TEST()
485 EXPECT_EQ(3, statsLogEventWrapper.getWorkChains()[1].uids[0]); in TEST()
[all …]
/frameworks/base/core/java/android/os/
DStatsLogEventWrapper.java76 if (ws.getWorkChains() == null || ws.getWorkChains().size() == 0) { in setWorkSource()
142 ArrayList<android.os.WorkSource.WorkChain> workChains = mWorkSource.getWorkChains(); in writeToParcel()
DWorkSource.java534 public ArrayList<WorkChain> getWorkChains() { in getWorkChains() method in WorkSource
/frameworks/base/libs/services/include/android/os/
DStatsLogEventWrapper.h109 const std::vector<WorkChain>& getWorkChains() const { return mWorkChains; } in getWorkChains() function
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp65 const WorkChain& wc = statsLogEventWrapper.getWorkChains()[workChainIndex]; in LogEvent()
113 if (statsLogEventWrapper.getWorkChains().size() == 0) { in createLogEvents()
116 for (size_t i = 0; i < statsLogEventWrapper.getWorkChains().size(); i++) { in createLogEvents()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILRequest.java170 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java451 final List<WorkChain> workChains = ws.getWorkChains(); in addWsToLlWatchList()
468 final List<WorkChain> workChains = ws.getWorkChains(); in removeWsFromLlWatchList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java747 final ArrayList<WorkChain> workChains = rri.workSource.getWorkChains(); in isRequestorSpamming()
762 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in isRequestorSpamming()
902 final ArrayList<WorkChain> workChains = ws.getWorkChains(); in preExecThrottleCheck()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java4100 List<WorkChain> workChains = workSource.getWorkChains(); in noteAlarmStartOrFinishLocked()
4132 ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteWakupAlarmLocked()
4362 List<WorkChain> wcs = ws.getWorkChains(); in noteStartWakeFromSourceLocked()
4430 List<WorkChain> wcs = ws.getWorkChains(); in noteStopWakeFromSourceLocked()
4453 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteLongPartialWakelockStartFromSource()
4490 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in noteLongPartialWakelockFinishFromSource()
5575 final List<WorkChain> workChains = ws.getWorkChains(); in noteBluetoothScanStartedFromSourceLocked()
5613 final List<WorkChain> workChains = ws.getWorkChains(); in noteBluetoothScanStoppedFromSourceLocked()
5645 final List<WorkChain> workChains = ws.getWorkChains(); in noteBluetoothScanResultsFromSourceLocked()
5704 List<WorkChain> workChains = ws.getWorkChains(); in noteWifiRunningLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1119 if (workSource.getWorkChains() == null) { in getFirstNonEmptyWorkChain()
1123 for (WorkChain workChain: workSource.getWorkChains()) { in getFirstNonEmptyWorkChain()
1979 final ArrayList<WorkChain> workChains = wakeLock.mWorkSource.getWorkChains(); in wakeLockAffectsUser()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java296 assertEquals(1, merged.getWorkChains().size()); in createMergedworkSourceWithChainsShouldSucceed()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2252 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in isValidWorkSource()
/frameworks/base/config/
Dboot-image-profile.txt12448 HSPLandroid/os/WorkSource;->getWorkChains()Ljava/util/ArrayList;
Dhiddenapi-greylist-max-o.txt54094 Landroid/os/WorkSource;->getWorkChains()Ljava/util/ArrayList;