/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedGsmCallState.java | 137 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/ |
D | NotificationRecordLoggerFake.java | 54 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()
|
D | NotificationChannelLoggerFake.java | 33 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/ |
D | ChooserActivityLoggerFake.java | 80 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/ |
D | AsyncCallRecorder.h | 94 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);
|
D | VSyncDispatchTimerQueueTest.cpp | 118 void counter(nsecs_t time, nsecs_t) { mCalls.push_back(time); } in counter() 122 std::vector<nsecs_t> mCalls; member in android::scheduler::CountingCallback 238 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F() 239 EXPECT_THAT(cb.mCalls[0], Eq(mPeriod)); in TEST_F() 250 ASSERT_THAT(cb.mCalls.size(), Eq(1)); in TEST_F() 251 EXPECT_THAT(cb.mCalls[0], Eq(1150)); in TEST_F() 343 ASSERT_THAT(cb0.mCalls.size(), Eq(1)); in TEST_F() 344 EXPECT_THAT(cb0.mCalls[0], Eq(1075)); in TEST_F() 345 ASSERT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F() 346 EXPECT_THAT(cb1.mCalls[0], Eq(1063)); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | NotificationPanelLoggerFake.java | 26 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/ |
D | ZenModeFiltering.java | 67 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/ |
D | Phone.java | 122 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()
|