Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java208 private final Set<Call> mCalls = Collections.newSetFromMap( field in CallsManager
424 if (!mCalls.contains(call)) { in onSuccessfulOutgoingCall()
525 for (Call call : mCalls) { in shouldSilenceInsteadOfReject()
701 return Collections.unmodifiableCollection(mCalls); in getCalls()
761 for (Call call : mCalls) { in hasEmergencyCall()
770 for (Call call : mCalls) { in hasOnlyDisconnectedCalls()
779 for (Call call : mCalls) { in hasVideoCall()
908 Call fromCall = mCalls.stream() in processIncomingCallIntent()
1154 if (mCalls.contains(call)) { in startOutgoingCall()
1205 } else if (!mCalls.contains(call)) { in startOutgoingCall()
[all …]
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()
DCallAudioManager.java46 private final Set<Call> mCalls; field in CallAudioManager
71 mCalls = new HashSet<>(); in CallAudioManager()
137 if (mCalls.contains(call)) { in addCall()
149 mCalls.add(call); in addCall()
155 if (!mCalls.contains(call)) { in removeCall()
167 mCalls.remove(call); in removeCall()
213 if (!mCalls.contains(call)) { in onIncomingCallAnswered()
321 mCalls.remove(call); in onIsConferencedChanged()
470 dumpCallsInCollection(pw, mCalls); in dump()
650 if (mForegroundCall != null && call != mForegroundCall && mCalls.size() > 1) { in playToneForDisconnectedCall()
[all …]
DBluetoothPhoneServiceImpl.java560 Collection<Call> mCalls = mCallsManager.getCalls(); in sendListOfCalls() local
561 for (Call call : mCalls) { in sendListOfCalls()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java130 private final Hashtable<Integer, BluetoothHeadsetClientCall> mCalls = new Hashtable<>(); field in HeadsetClientStateMachine
183 if (mCalls != null) { in dump()
184 for (BluetoothHeadsetClientCall call : mCalls.values()) { in dump()
220 for (BluetoothHeadsetClientCall c : mCalls.values()) { in getCall()
232 for (BluetoothHeadsetClientCall c : mCalls.values()) { in callsInState()
291 currCallIdSet.addAll(mCalls.keySet()); in queryCallsDone()
314 Log.d(TAG, "currCallIdSet " + mCalls.keySet() + " newCallIdSet " + newCallIdSet + in queryCallsDone()
321 if (mCalls.containsKey(HF_ORIGINATED_CALL_ID)) { in queryCallsDone()
322 BluetoothHeadsetClientCall c = mCalls.get(HF_ORIGINATED_CALL_ID); in queryCallsDone()
329 mCalls.put(hfOriginatedAssoc, mCalls.get(HF_ORIGINATED_CALL_ID)); in queryCallsDone()
[all …]
/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.java328 private final List<TestConnection> mCalls = new ArrayList<>();
502 mCalls.remove(connection);
508 if (mCalls.isEmpty() && mMediaPlayer != null && mMediaPlayer.isPlaying()) {
518 mCalls.add(connection);
524 freeConnections.addAll(mCalls);
/packages/apps/Settings/src/com/android/settings/notification/
DZenModePrioritySettings.java47 private DropDownPreference mCalls; field in ZenModePrioritySettings
112 mCalls = (DropDownPreference) root.findPreference(KEY_CALLS); in onCreate()
113 addSources(mCalls); in onCreate()
114 mCalls.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in onCreate()
167 if (mCalls != null) { in updateControls()
168 mCalls.setValue(Integer.toString( in updateControls()
/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()