HomeSort by relevance Sort by last modified time
    Searched refs:mCalls (Results 1 - 13 of 13) sorted by null

  /frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
SimulatedGsmCallState.java 135 CallInfo mCalls[] = new CallInfo[MAX_CALLS];
184 for (int i = 0 ; i < mCalls.length ; i++) {
185 CallInfo call = mCalls[i];
206 mCalls[empty] = CallInfo.createIncomingCall(
210 mCalls[empty].mState = CallInfo.State.WAITING;
221 for (int i = 0 ; i < mCalls.length ; i++) {
222 CallInfo call = mCalls[i];
247 for (int i = 0 ; i < mCalls.length ; i++) {
248 CallInfo call = mCalls[i];
284 for (int i = 0 ; i < mCalls.length ; i++)
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
CallIdMapper.java 77 private final BiMap<String, Call> mCalls = new BiMap<>();
88 mCalls.put(callId, newCall);
95 mCalls.put(id, call);
106 mCalls.removeValue(call);
110 mCalls.remove(callId);
117 return mCalls.getKey(call);
129 return mCalls.getValue(callId);
133 mCalls.clear();
CallsManager.java 108 private final Set<Call> mCalls = Collections.newSetFromMap(
221 if (!mCalls.contains(call)) {
417 return Collections.unmodifiableCollection(mCalls);
433 for (Call call : mCalls) {
442 for (Call call : mCalls) {
635 if (mCalls.contains(call)) {
663 } else if (!mCalls.contains(call)) {
664 // We check if mCalls already contains the call because we could potentially be reusing
742 if (!mCalls.contains(call)) {
    [all...]
BluetoothPhoneServiceImpl.java 501 Collection<Call> mCalls = mCallsManager.getCalls();
502 for (Call call : mCalls) {
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestCallList.java 88 private Set<Call> mCalls = new ArraySet<Call>();
100 if (mCalls.contains(call)) {
105 mCalls.add(call);
110 if (!mCalls.contains(call)) {
115 mCalls.remove(call);
120 mCalls.clear();
135 for (Call call : mCalls) {
156 for (Call call : mCalls) {
TestConnectionService.java 266 private final List<TestConnection> mCalls = new ArrayList<>();
421 mCalls.remove(connection);
427 if (mCalls.isEmpty() && mMediaPlayer != null && mMediaPlayer.isPlaying()) {
437 mCalls.add(connection);
443 freeConnections.addAll(mCalls);
  /cts/tests/tests/telecom/src/android/telecom/cts/
MockInCallService.java 35 private ArrayList<Call> mCalls = new ArrayList<>();
178 if (!mCalls.contains(call)) {
179 mCalls.add(call);
188 getCallbacks().onCallAdded(call, mCalls.size() + mConferenceCalls.size());
198 mCalls.remove(call);
201 getCallbacks().onCallRemoved(call, mCalls.size() + mConferenceCalls.size());
234 return mCalls.size();
248 if (!mCalls.isEmpty()) {
249 return mCalls.get(mCalls.size() - 1)
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeFiltering.java 56 if (!REPEAT_CALLERS.mCalls.isEmpty()) {
57 pw.print(prefix); pw.println("RepeatCallers.mCalls=");
58 for (int i = 0; i < REPEAT_CALLERS.mCalls.size(); i++) {
60 pw.print(REPEAT_CALLERS.mCalls.keyAt(i));
62 pw.println(ts(REPEAT_CALLERS.mCalls.valueAt(i)));
236 private final ArrayMap<String, Long> mCalls = new ArrayMap<>();
248 final int N = mCalls.size();
250 final long time = mCalls.valueAt(i);
252 mCalls.removeAt(i);
255 final boolean isRepeat = mCalls.containsKey(peopleString)
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModePrioritySettings.java 45 private DropDownPreference mCalls;
107 mCalls = (DropDownPreference) root.findPreference(KEY_CALLS);
108 addSources(mCalls);
109 mCalls.setCallback(new DropDownPreference.Callback() {
163 if (mCalls != null) {
164 mCalls.setSelectedValue(mConfig.allowCalls ? mConfig.allowCallsFrom : SOURCE_NONE);
  /frameworks/base/telecomm/java/android/telecom/
Phone.java 107 private final List<Call> mCalls = new CopyOnWriteArrayList<>();
110 private final List<Call> mUnmodifiableCalls = Collections.unmodifiableList(mCalls);
127 mCalls.add(call);
135 mCalls.remove(call);
185 for (Call call : mCalls) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DurationMinimap.java 62 private List<GLCall> mCalls;
165 mCalls = trace.getGLCalls();
168 mCalls = null;
305 if (mCalls == null || mCalls.size() < mEndCallIndex) {
314 GLCall c = mCalls.get(i);
  /cts/tests/tests/telephony/src/android/telephony/cts/
SmsManagerTest.java 370 private int mCalls;
383 mCalls = 0;
411 mCalls += 1;
422 while (mCalls < mExpectedCalls) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
HeadsetClientStateMachine.java 115 private Hashtable<Integer, BluetoothHeadsetClientCall> mCalls;
181 ProfileService.println(sb, "mCalls:");
182 for (BluetoothHeadsetClientCall call : mCalls.values()) {
215 while (mCalls.containsKey(id)) {
221 mCalls.put(id, c);
231 it = mCalls.entrySet().iterator();
248 for (BluetoothHeadsetClientCall c : mCalls.values()) {
257 for (BluetoothHeadsetClientCall c : mCalls.values()) {
270 for (BluetoothHeadsetClientCall c : mCalls.values()) {
282 for (BluetoothHeadsetClientCall c : mCalls.values())
    [all...]

Completed in 196 milliseconds