/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 | 534 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/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/telephony/src/java/com/android/internal/telephony/ |
D | RILRequest.java | 170 final ArrayList<WorkChain> workChains = mWorkSource.getWorkChains(); in getWorkSourceClientId()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 451 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/ |
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/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 4100 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/ |
D | PowerManagerService.java | 1119 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/ |
D | WifiLockManagerTest.java | 296 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()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 12448 HSPLandroid/os/WorkSource;->getWorkChains()Ljava/util/ArrayList;
|
D | hiddenapi-greylist-max-o.txt | 54094 Landroid/os/WorkSource;->getWorkChains()Ljava/util/ArrayList;
|