Home
last modified time | relevance | path

Searched refs:mPendingLines (Results 1 – 3 of 3) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAmMonitor.java75 private final ArrayList<String> mPendingLines = new ArrayList<>(); field in AmMonitor
105 synchronized (mPendingLines) { in waitFor()
107 while (mPendingLines.size() == 0) { in waitFor()
115 mPendingLines.wait(waitUntil - now); in waitFor()
119 final String line = mPendingLines.remove(0); in waitFor()
155 synchronized (mPendingLines) { in sendCommand()
175 synchronized (mPendingLines) { in run()
176 mPendingLines.add(line); in run()
177 mPendingLines.notifyAll(); in run()
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWatchUidRunner.java93 final ArrayList<String[]> mPendingLines = new ArrayList<>(); field in WatchUidRunner
226 synchronized (mPendingLines) { in logRemainingLines()
227 while (mPendingLines.size() > 0) { in logRemainingLines()
228 String[] res = mPendingLines.remove(0); in logRemainingLines()
239 synchronized (mPendingLines) { in clearHistory()
240 mPendingLines.clear(); in clearHistory()
245 synchronized (mPendingLines) { in waitForNextLine()
247 while (mPendingLines.size() == 0) { in waitForNextLine()
257 mPendingLines.wait(waitUntil - now); in waitForNextLine()
262 String[] res = mPendingLines.remove(0); in waitForNextLine()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DUserInitiatedJobTest.java505 final ArrayList<String[]> mPendingLines = new ArrayList<>(); field in UserInitiatedJobTest.WatchUidRunner
555 synchronized (mPendingLines) { in waitForNextLine()
557 while (mPendingLines.size() == 0) { in waitForNextLine()
566 mPendingLines.wait(waitUntil - now); in waitForNextLine()
571 String[] res = mPendingLines.remove(0); in waitForNextLine()
584 synchronized (mPendingLines) { in close()
611 synchronized (mPendingLines) { in run()
615 mPendingLines.add(line); in run()
616 mPendingLines.notifyAll(); in run()