Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCallIdMapper.java89 private final BiMap<String, Call> mCalls = new BiMap<>(); field in CallIdMapper
99 mCalls.put(callId, newCall); in replaceCall()
106 mCalls.put(id, call); in addCall()
117 mCalls.removeValue(call); in removeCall()
121 mCalls.remove(callId); in removeCall()
125 if (call == null || mCalls.getKey(call) == null) { in getCallId()
137 return mCalls.getValue(callId); in getCall()
141 return mCalls.getValues(); in getCalls()
145 mCalls.clear(); in clear()
DCallRecordingTonePlayer.java120 private List<Call> mCalls = new ArrayList<>(); field in CallRecordingTonePlayer
172 boolean isFirstCall = mCalls.isEmpty(); in addCall()
174 mCalls.add(toAdd); in addCall()
192 mCalls.remove(toRemove); in removeCall()
193 boolean isLastCall = mCalls.isEmpty(); in removeCall()
237 return !mCalls.isEmpty() && mCalls.stream() in hasActiveCall()
334 return mCalls.stream() in hasCallForPackage()
346 return mCalls.size() > 0; in hasCalls()
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()
DCallAudioManager.java49 private final Set<Call> mCalls; field in CallAudioManager
78 mCalls = new HashSet<>(); in CallAudioManager()
148 if (mCalls.contains(call)) { in addCall()
161 mCalls.add(call); in addCall()
168 if (!mCalls.contains(call)) { in removeCall()
178 mCalls.remove(call); in removeCall()
186 boolean isInCall = !mAudioProcessingCalls.containsAll(mCalls); in sendCallStatusToBluetoothStateReceiver()
231 if (!mCalls.contains(call)) { in onIncomingCallAnswered()
326 mCalls.remove(call); in onIsConferencedChanged()
519 dumpCallsInCollection(pw, mCalls); in dump()
[all …]
DCallsManager.java278 private final Set<Call> mCalls = Collections.newSetFromMap( field in CallsManager
380 mCalls.stream()
641 if (!mCalls.contains(call)) { in onSuccessfulOutgoingCall()
879 for (Call call : mCalls) { in shouldSilenceInsteadOfReject()
1090 return Collections.unmodifiableCollection(mCalls); in getCalls()
1150 for (Call call1 : mCalls) { in markAllAnsweredCallAsRinging()
1184 for (Call call : mCalls) { in hasEmergencyRttCall()
1194 if (mCalls.size() == 0) { in hasOnlyDisconnectedCalls()
1197 for (Call call : mCalls) { in hasOnlyDisconnectedCalls()
1206 for (Call call : mCalls) { in hasVideoCall()
[all …]
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCarModeCallList.java102 private List<Call> mCalls = new LinkedList<Call>(); field in CarModeCallList
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()
/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.java337 private final List<TestConnection> mCalls = new ArrayList<>();
501 if (!mCalls.isEmpty()) {
502 TestConnection c = mCalls.get(0);
513 if (!mCalls.isEmpty()) {
514 TestConnection c = mCalls.get(0);
546 mCalls.remove(connection);
552 if (mCalls.isEmpty() && mMediaPlayer != null && mMediaPlayer.isPlaying()) {
562 mCalls.add(connection);
568 freeConnections.addAll(mCalls);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java150 private final Hashtable<Integer, BluetoothHeadsetClientCall> mCalls = new Hashtable<>(); field in HeadsetClientStateMachine
219 if (mCalls != null) { in dump()
220 for (BluetoothHeadsetClientCall call : mCalls.values()) { in dump()
333 for (BluetoothHeadsetClientCall c : mCalls.values()) { in getCall()
345 for (BluetoothHeadsetClientCall c : mCalls.values()) { in callsInState()
396 currCallIdSet.addAll(mCalls.keySet()); in queryCallsDone()
418 logD("currCallIdSet " + mCalls.keySet() + " newCallIdSet " + newCallIdSet in queryCallsDone()
424 if (mCalls.containsKey(HF_ORIGINATED_CALL_ID)) { in queryCallsDone()
425 BluetoothHeadsetClientCall c = mCalls.get(HF_ORIGINATED_CALL_ID); in queryCallsDone()
430 mCalls.put(hfOriginatedAssoc, mCalls.get(HF_ORIGINATED_CALL_ID)); in queryCallsDone()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java86 private final Set<Call> mCalls = new ArraySet<>(); field in IncomingCallNotifier
109 if (!mCalls.contains(call)) { in onCallAdded()
110 mCalls.add(call); in onCallAdded()
120 if (mCalls.contains(call)) { in onCallRemoved()
121 mCalls.remove(call); in onCallRemoved()
139 incomingCallOp = mCalls.stream() in updateIncomingCall()