Home
last modified time | relevance | path

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

/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallList.java102 private List<Call> mCalls = new LinkedList<Call>(); field in TestCallList
127 return mCalls.get(position); in getCall()
131 if (mCalls.contains(call)) { in addCall()
136 mCalls.add(call); in addCall()
145 if (!mCalls.contains(call)) { in removeCall()
150 mCalls.remove(call); in removeCall()
161 for (Call call : new LinkedList<Call>(mCalls)) { in clearCalls()
174 return mCalls.size(); in size()
187 for (Call call : mCalls) { in sendUpgradeToVideoRequest()
208 for (Call call : mCalls) { in sendUpgradeToVideoResponse()
DTestConnectionService.java351 private final List<TestConnection> mCalls = new ArrayList<>();
515 if (!mCalls.isEmpty()) {
516 TestConnection c = mCalls.get(0);
527 if (!mCalls.isEmpty()) {
528 TestConnection c = mCalls.get(0);
560 mCalls.remove(connection);
566 if (mCalls.isEmpty() && mMediaPlayer != null && mMediaPlayer.isPlaying()) {
576 mCalls.add(connection);
582 freeConnections.addAll(mCalls);
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIdMapper.java84 private final BiMap<String, Call> mCalls = new BiMap<>(); field in CallIdMapper
94 mCalls.put(callId, newCall); in replaceCall()
101 mCalls.put(id, call); in addCall()
112 mCalls.removeValue(call); in removeCall()
116 mCalls.remove(callId); in removeCall()
120 if (call == null || mCalls.getKey(call) == null) { in getCallId()
132 return mCalls.getValue(callId); in getCall()
136 mCalls.clear(); in clear()
DCallRecordingTonePlayer.java68 private List<Call> mCalls = new ArrayList<>(); field in CallRecordingTonePlayer
117 boolean isFirstCall = mCalls.isEmpty(); in addCall()
119 mCalls.add(toAdd); in addCall()
137 mCalls.remove(toRemove); in removeCall()
138 boolean isLastCall = mCalls.isEmpty(); in removeCall()
182 return !mCalls.isEmpty() && mCalls.stream() in hasActiveCall()
287 return mCalls.stream() in hasCallForPackage()
299 return mCalls.size() > 0; in hasCalls()
DCallAudioManager.java47 private final Set<Call> mCalls; field in CallAudioManager
75 mCalls = new HashSet<>(); in CallAudioManager()
142 if (mCalls.contains(call)) { in addCall()
155 mCalls.add(call); in addCall()
156 if (mCalls.size() == 1) { in addCall()
164 if (!mCalls.contains(call)) { in removeCall()
174 mCalls.remove(call); in removeCall()
175 if (mCalls.size() == 0) { in removeCall()
223 if (!mCalls.contains(call)) { in onIncomingCallAnswered()
310 mCalls.remove(call); in onIsConferencedChanged()
[all …]
DCallsManager.java240 private final Set<Call> mCalls = Collections.newSetFromMap( field in CallsManager
332 mCalls.stream()
570 if (!mCalls.contains(call)) { in onSuccessfulOutgoingCall()
710 for (Call call : mCalls) { in shouldSilenceInsteadOfReject()
894 return Collections.unmodifiableCollection(mCalls); in getCalls()
944 for (Call call1 : mCalls) { in onCallHoldFailed()
975 for (Call call : mCalls) { in hasEmergencyCall()
984 for (Call call : mCalls) { in hasEmergencyRttCall()
994 if (mCalls.size() == 0) { in hasOnlyDisconnectedCalls()
997 for (Call call : mCalls) { in hasOnlyDisconnectedCalls()
[all …]
DConnectionServiceFocusManager.java171 private final List<CallFocus> mCalls; field in ConnectionServiceFocusManager
286 mCalls = new ArrayList<>(); in ConnectionServiceFocusManager()
348 public List<CallFocus> getAllCall() { return mCalls; } in getAllCall()
368 List<CallFocus> calls = mCalls in updateCurrentFocusCall()
451 if (!mCalls.contains(call)) { in handleAddedCall()
452 mCalls.add(call); in handleAddedCall()
461 mCalls.remove(call); in handleRemovedCall()
473 if (mCalls.contains(call) in handleCallStateChanged()
DBluetoothPhoneServiceImpl.java567 Collection<Call> mCalls = mCallsManager.getCalls(); in sendListOfCalls() local
568 for (Call call : mCalls) { in sendListOfCalls()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java138 private final Hashtable<Integer, BluetoothHeadsetClientCall> mCalls = new Hashtable<>(); field in HeadsetClientStateMachine
203 if (mCalls != null) { in dump()
204 for (BluetoothHeadsetClientCall call : mCalls.values()) { in dump()
237 for (BluetoothHeadsetClientCall c : mCalls.values()) { in getCall()
249 for (BluetoothHeadsetClientCall c : mCalls.values()) { in callsInState()
306 currCallIdSet.addAll(mCalls.keySet()); in queryCallsDone()
329 Log.d(TAG, "currCallIdSet " + mCalls.keySet() + " newCallIdSet " + newCallIdSet in queryCallsDone()
336 if (mCalls.containsKey(HF_ORIGINATED_CALL_ID)) { in queryCallsDone()
337 BluetoothHeadsetClientCall c = mCalls.get(HF_ORIGINATED_CALL_ID); in queryCallsDone()
344 mCalls.put(hfOriginatedAssoc, mCalls.get(HF_ORIGINATED_CALL_ID)); in queryCallsDone()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java85 private final Set<Call> mCalls = new ArraySet<>(); field in IncomingCallNotifier
107 if (!mCalls.contains(call)) { in onCallAdded()
108 mCalls.add(call); in onCallAdded()
116 if (mCalls.contains(call)) { in onCallRemoved()
117 mCalls.remove(call); in onCallRemoved()
133 Optional<Call> incomingCallOp = mCalls.stream() in updateIncomingCall()