Searched refs:getWorkChains (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | WorkSourceTest.java | 137 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/ |
D | LogEvent_test.cpp | 423 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/ |
D | StatsLogEventWrapper.java | 76 if (ws.getWorkChains() == null || ws.getWorkChains().size() == 0) { in setWorkSource() 142 ArrayList<android.os.WorkSource.WorkChain> workChains = mWorkSource.getWorkChains(); in writeToParcel()
|
D | WorkSource.java | 525 public ArrayList<WorkChain> getWorkChains() { in getWorkChains() method in WorkSource
|
/frameworks/base/libs/services/include/android/os/ |
D | StatsLogEventWrapper.h | 109 const std::vector<WorkChain>& getWorkChains() const { return mWorkChains; } in getWorkChains() function
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 148 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 65 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/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 449 final List<WorkChain> workChains = ws.getWorkChains(); in addWsToLlWatchList() 466 final List<WorkChain> workChains = ws.getWorkChains(); in removeWsFromLlWatchList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
D | RttServiceImpl.java | 747 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/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 1109 if (workSource.getWorkChains() == null) { in getFirstNonEmptyWorkChain() 1113 for (WorkChain workChain: workSource.getWorkChains()) { in getFirstNonEmptyWorkChain() 1961 final ArrayList<WorkChain> workChains = wakeLock.mWorkSource.getWorkChains(); in wakeLockAffectsUser()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 307 assertEquals(1, merged.getWorkChains().size()); in createMergedworkSourceWithChainsShouldSucceed()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 2252 final ArrayList<WorkChain> workChains = workSource.getWorkChains(); in isValidWorkSource()
|