/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallIdMapper.java | 89 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()
|
D | CallRecordingTonePlayer.java | 70 private List<Call> mCalls = new ArrayList<>(); field in CallRecordingTonePlayer 119 boolean isFirstCall = mCalls.isEmpty(); in addCall() 121 mCalls.add(toAdd); in addCall() 139 mCalls.remove(toRemove); in removeCall() 140 boolean isLastCall = mCalls.isEmpty(); in removeCall() 184 return !mCalls.isEmpty() && mCalls.stream() in hasActiveCall() 292 return mCalls.stream() in hasCallForPackage() 304 return mCalls.size() > 0; in hasCalls()
|
D | CallsManager.java | 271 private final Set<Call> mCalls = Collections.newSetFromMap( field in CallsManager 373 mCalls.stream() 625 if (!mCalls.contains(call)) { in onSuccessfulOutgoingCall() 813 for (Call call : mCalls) { in shouldSilenceInsteadOfReject() 1005 return Collections.unmodifiableCollection(mCalls); in getCalls() 1065 for (Call call1 : mCalls) { in markAllAnsweredCallAsRinging() 1099 for (Call call : mCalls) { in hasEmergencyRttCall() 1109 if (mCalls.size() == 0) { in hasOnlyDisconnectedCalls() 1112 for (Call call : mCalls) { in hasOnlyDisconnectedCalls() 1121 for (Call call : mCalls) { in hasVideoCall() [all …]
|
D | CallAudioManager.java | 49 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() 318 mCalls.remove(call); in onIsConferencedChanged() 507 dumpCallsInCollection(pw, mCalls); in dump() [all …]
|
D | ConnectionServiceFocusManager.java | 171 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()
|
D | BluetoothPhoneServiceImpl.java | 571 Collection<Call> mCalls = mCallsManager.getCalls(); in sendListOfCalls() local 572 for (Call call : mCalls) { in sendListOfCalls()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallList.java | 102 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()
|
D | TestConnectionService.java | 337 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/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeCallList.java | 102 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/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachine.java | 140 private final Hashtable<Integer, BluetoothHeadsetClientCall> mCalls = new Hashtable<>(); field in HeadsetClientStateMachine 207 if (mCalls != null) { in dump() 208 for (BluetoothHeadsetClientCall call : mCalls.values()) { in dump() 239 for (BluetoothHeadsetClientCall c : mCalls.values()) { in getCall() 251 for (BluetoothHeadsetClientCall c : mCalls.values()) { in callsInState() 302 currCallIdSet.addAll(mCalls.keySet()); in queryCallsDone() 324 logD("currCallIdSet " + mCalls.keySet() + " newCallIdSet " + newCallIdSet in queryCallsDone() 330 if (mCalls.containsKey(HF_ORIGINATED_CALL_ID)) { in queryCallsDone() 331 BluetoothHeadsetClientCall c = mCalls.get(HF_ORIGINATED_CALL_ID); in queryCallsDone() 336 mCalls.put(hfOriginatedAssoc, mCalls.get(HF_ORIGINATED_CALL_ID)); in queryCallsDone() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 86 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()
|