Home
last modified time | relevance | path

Searched refs:mCalls (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java37 private final List<Call> mCalls = Collections.synchronizedList(new ArrayList<>()); field in MockInCallService
244 if (!mCalls.contains(call)) { in onCallAdded()
245 mCalls.add(call); in onCallAdded()
254 getCallbacks().onCallAdded(call, mCalls.size() + mConferenceCalls.size()); in onCallAdded()
264 mCalls.remove(call); in onCallRemoved()
267 getCallbacks().onCallRemoved(call, mCalls.size() + mConferenceCalls.size()); in onCallRemoved()
308 return mCalls.size(); in getCallCount()
322 if (!mCalls.isEmpty()) { in getLastCall()
323 return mCalls.get(mCalls.size() - 1); in getLastCall()
353 synchronized (mCalls) { in disconnectAllCalls()
[all …]
/cts/tests/tests/telecom3/src/android/telecom/cts/
DSelfManagedAwareInCallService.java84 private List<Call> mCalls = new ArrayList<Call>(); field in SelfManagedAwareInCallService
116 if (!mCalls.contains(call)) { in onCallAdded()
117 mCalls.add(call); in onCallAdded()
130 mCalls.remove(call); in onCallRemoved()
140 return mCalls.get(mCalls.size() - 1); in waitForCallAdded()
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallService.java36 private List<Call> mCalls = new ArrayList<>(); field in CtsCarModeInCallService
60 mCalls.add(call); in onCallAdded()
67 mCalls.remove(call); in onCallRemoved()
92 for (Call call : mCalls) { in disconnectCalls()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadCallbackTest.java39 private final BlockingQueue<SomeArgs> mCalls = new LinkedBlockingQueue<>(); field in MbmsDownloadCallbackTest.TestDSCallback
48 mCalls.add(args); in onStatusUpdated()
53 return mCalls.poll(timeout, TimeUnit.MILLISECONDS); in waitOnStatusUpdated()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java768 private int mCalls; field in SmsManagerTest.SmsBroadcastReceiver
781 mCalls = 0; in reset()
809 mCalls += 1; in onReceive()
818 return mCalls == 0; in verifyNoCalls()
827 while (mCalls < mExpectedCalls) { in waitForCalls()