Searched refs:sCalls (Results 1 – 4 of 4) sorted by relevance
39 static Set<Call> sCalls = new HashSet<>(); field in CtsApi29InCallService47 if (!sCalls.contains(call)) { in onCallAdded()50 sCalls.add(call); in onCallAdded()51 Log.i(TAG, "onCallAdded, size=" + sCalls.size()); in onCallAdded()57 sCalls.remove(call); in onCallRemoved()58 Log.i(TAG, "onCallRemoved, size=" + sCalls.size()); in onCallRemoved()93 return sCalls.size(); in getLocalCallCount()98 sCalls.clear(); in reset()
36 return CtsApi29InCallService.sCalls.stream()
43 private static Set<Call> sCalls = new HashSet<>(); field in CtsThirdPartyInCallService88 sCalls.add(call); in onCallAdded()95 sCalls.add(call); in onCallRemoved()133 for (Call c : sCalls) { in resetCalls()136 sCalls.clear(); in resetCalls()142 return sCalls.size(); in getLocalCallCount()163 return sCalls.stream().filter(c -> c.getDetails().getExtras() != null in waitForExtrasChanged()
41 private static final List<Call> sCalls = Collections.synchronizedList(new ArrayList<>()); field in MockInCallService275 if (!sCalls.contains(call)) { in onCallAdded()277 sCalls.add(call); in onCallAdded()287 getCallbacks().onCallAdded(call, sCalls.size() + mConferenceCalls.size()); in onCallAdded()298 sCalls.remove(call); in onCallRemoved()304 getCallbacks().onCallRemoved(call, sCalls.size() + mConferenceCalls.size()); in onCallRemoved()370 return sCalls.size(); in getCallCount()384 if (!sCalls.isEmpty()) { in getLastCall()385 return sCalls.get(sCalls.size() - 1); in getLastCall()391 return sCalls; in getAllCalls()[all …]