Home
last modified time | relevance | path

Searched refs:sCalls (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/telecom/Api29InCallServiceTestApp/src/android/telecom/cts/api29incallservice/
DCtsApi29InCallService.java39 static Set<Call> sCalls = new HashSet<>(); field in CtsApi29InCallService
47 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()
DCtsApi29InCallServiceControl.java36 return CtsApi29InCallService.sCalls.stream()
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
DCtsThirdPartyInCallService.java43 private static Set<Call> sCalls = new HashSet<>(); field in CtsThirdPartyInCallService
88 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()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockInCallService.java41 private static final List<Call> sCalls = Collections.synchronizedList(new ArrayList<>()); field in MockInCallService
275 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 …]