Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedGsmCallState.java137 CallInfo mCalls[] = new CallInfo[MAX_CALLS]; field in SimulatedGsmCallState
186 for (int i = 0 ; i < mCalls.length ; i++) { in triggerRing()
187 CallInfo call = mCalls[i]; in triggerRing()
208 mCalls[empty] = CallInfo.createIncomingCall( in triggerRing()
212 mCalls[empty].mState = CallInfo.State.WAITING; in triggerRing()
223 for (int i = 0 ; i < mCalls.length ; i++) { in progressConnectingCallState()
224 CallInfo call = mCalls[i]; in progressConnectingCallState()
249 for (int i = 0 ; i < mCalls.length ; i++) { in progressConnectingToActive()
250 CallInfo call = mCalls[i]; in progressConnectingToActive()
286 for (int i = 0 ; i < mCalls.length ; i++) { in triggerHangupForeground()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerFake.java54 private List<CallRecord> mCalls = new ArrayList<>(); field in NotificationRecordLoggerFake
57 return mCalls.size(); in numCalls()
61 return mCalls; in getCalls()
65 return mCalls.get(index); in get()
68 return mCalls.get(index).event; in event()
74 mCalls.add(new CallRecord(r, old, position, buzzBeepBlink, groupId)); in maybeLogNotificationPosted()
79 mCalls.add(new CallRecord(r, event)); in log()
84 mCalls.add(new CallRecord(null, event)); in log()
DNotificationChannelLoggerFake.java33 private List<CallRecord> mCalls = new ArrayList<>(); field in NotificationChannelLoggerFake
36 return mCalls; in getCalls()
40 return mCalls.get(index); in get()
46 mCalls.add(new CallRecord(event)); in logNotificationChannel()
52 mCalls.add(new CallRecord(event)); in logNotificationChannelGroup()
57 mCalls.add(new CallRecord(event)); in logAppEvent()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityLoggerFake.java80 private List<CallRecord> mCalls = new ArrayList<>(); field in ChooserActivityLoggerFake
83 return mCalls.size(); in numCalls()
87 return mCalls; in getCalls()
91 return mCalls.get(index); in get()
95 return mCalls.get(index).event; in event()
102 mCalls.add(new CallRecord(FrameworkStatsLog.SHARESHEET_STARTED, packageName, in logShareStarted()
109 mCalls.add(new CallRecord(FrameworkStatsLog.RANKING_SELECTED, packageName, getInstanceId(), in logShareTargetSelected()
115 mCalls.add(new CallRecord(FrameworkStatsLog.UI_EVENT_REPORTED, in log()
/frameworks/native/services/surfaceflinger/tests/unittests/
DAsyncCallRecorder.h94 mCalls.emplace_back(std::make_tuple(args...)); in recordCall()
114 [this]() NO_THREAD_SAFETY_ANALYSIS { return !mCalls.empty(); });
117 bool called = !mCalls.empty();
120 result.emplace(std::move(mCalls.front()));
121 mCalls.pop_front();
139 std::deque<ArgTuple> mCalls GUARDED_BY(mMutex);
DVSyncDispatchTimerQueueTest.cpp122 mCalls.push_back(time); in counter()
129 std::vector<nsecs_t> mCalls; member in android::scheduler::CountingCallback
258 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
259 EXPECT_THAT(cb.mCalls[0], Eq(mPeriod)); in TEST_F()
270 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F()
271 EXPECT_THAT(cb.mCalls[0], Eq(1150)); in TEST_F()
384 ASSERT_THAT(cb0.mCalls.size(), Eq(1)); in TEST_F()
385 EXPECT_THAT(cb0.mCalls[0], Eq(1075)); in TEST_F()
386 ASSERT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F()
387 EXPECT_THAT(cb1.mCalls[0], Eq(1063)); in TEST_F()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationPanelLoggerFake.java26 private List<CallRecord> mCalls = new ArrayList<>(); field in NotificationPanelLoggerFake
29 return mCalls; in getCalls()
33 return mCalls.get(index); in get()
39 mCalls.add(new CallRecord(isLockscreen, in logPanelShown()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java67 if (!REPEAT_CALLERS.mCalls.isEmpty()) { in dump()
69 for (int i = 0; i < REPEAT_CALLERS.mCalls.size(); i++) { in dump()
71 pw.print(REPEAT_CALLERS.mCalls.keyAt(i)); in dump()
73 pw.println(ts(REPEAT_CALLERS.mCalls.valueAt(i))); in dump()
316 private final ArrayMap<String, Long> mCalls = new ArrayMap<>(); field in ZenModeFiltering.RepeatCallers
325 cleanUp(mCalls, now); in recordCall()
326 mCalls.put(peopleString, now); in recordCall()
335 cleanUp(mCalls, now); in isRepeat()
336 return mCalls.containsKey(peopleString); in isRepeat()
342 final long time = mCalls.valueAt(i); in cleanUp()
/frameworks/base/telecomm/java/android/telecom/
DPhone.java122 private final List<Call> mCalls = new CopyOnWriteArrayList<>(); field in Phone
125 private final List<Call> mUnmodifiableCalls = Collections.unmodifiableList(mCalls);
160 mCalls.add(call); in internalAddCall()
173 mCalls.remove(call); in internalRemoveCall()
282 for (Call call : mCalls) { in destroy()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55740 Landroid/telecom/Phone;->mCalls:Ljava/util/List;