Searched refs:mCalls (Results 1 – 5 of 5) sorted by relevance
37 private final List<Call> mCalls = Collections.synchronizedList(new ArrayList<>()); field in MockInCallService244 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 …]
84 private List<Call> mCalls = new ArrayList<Call>(); field in SelfManagedAwareInCallService116 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()
36 private List<Call> mCalls = new ArrayList<>(); field in CtsCarModeInCallService60 mCalls.add(call); in onCallAdded()67 mCalls.remove(call); in onCallRemoved()92 for (Call call : mCalls) { in disconnectCalls()
39 private final BlockingQueue<SomeArgs> mCalls = new LinkedBlockingQueue<>(); field in MbmsDownloadCallbackTest.TestDSCallback48 mCalls.add(args); in onStatusUpdated()53 return mCalls.poll(timeout, TimeUnit.MILLISECONDS); in waitOnStatusUpdated()
768 private int mCalls; field in SmsManagerTest.SmsBroadcastReceiver781 mCalls = 0; in reset()809 mCalls += 1; in onReceive()818 return mCalls == 0; in verifyNoCalls()827 while (mCalls < mExpectedCalls) { in waitForCalls()