Home
last modified time | relevance | path

Searched refs:callInfo (Results 1 – 6 of 6) sorted by relevance

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierTest.java66 MissedCallNotifier.CallInfo callInfo = new MissedCallNotifier.CallInfoFactory() in testCallInfoFactory() local
69 assertEquals(callerInfo, callInfo.getCallerInfo()); in testCallInfoFactory()
70 assertEquals(phoneAccountHandle, callInfo.getPhoneAccountHandle()); in testCallInfoFactory()
71 assertEquals(TEL_CALL_HANDLE, callInfo.getHandle()); in testCallInfoFactory()
73 callInfo.getHandleSchemeSpecificPart()); in testCallInfoFactory()
74 assertEquals(CALL_TIMESTAMP, callInfo.getCreationTimeMillis()); in testCallInfoFactory()
75 assertEquals(phoneNumber, callInfo.getPhoneNumber()); in testCallInfoFactory()
76 assertEquals(name, callInfo.getName()); in testCallInfoFactory()
82 MissedCallNotifier.CallInfo callInfo = new MissedCallNotifier.CallInfoFactory() in testCallInfoFactoryNullParam() local
85 assertNull(callInfo.getCallerInfo()); in testCallInfoFactoryNullParam()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java272 private void sendNotificationThroughDefaultDialer(String dialerPackage, CallInfo callInfo, in sendNotificationThroughDefaultDialer() argument
281 callInfo == null ? null : callInfo.getPhoneNumber()) in sendNotificationThroughDefaultDialer()
283 callInfo == null ? null : callInfo.getPhoneAccountHandle()); in sendNotificationThroughDefaultDialer()
284 if (missedCallCount == 1 && callInfo != null) { in sendNotificationThroughDefaultDialer()
285 final Uri handleUri = callInfo.getHandle(); in sendNotificationThroughDefaultDialer()
307 public void showMissedCallNotification(@NonNull CallInfo callInfo, @Nullable Uri uri) { in showMissedCallNotification() argument
308 final PhoneAccountHandle phoneAccountHandle = callInfo.getPhoneAccountHandle(); in showMissedCallNotification()
318 showMissedCallNotification(callInfo, userHandle, uri); in showMissedCallNotification()
321 private void showMissedCallNotification(@NonNull CallInfo callInfo, UserHandle userHandle, in showMissedCallNotification() argument
336 sendNotificationThroughDefaultDialer(dialerPackage, callInfo, userHandle, in showMissedCallNotification()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallIdMapper.java92 public CallIdMapper(ICallInfo callInfo) { in CallIdMapper() argument
93 mCallInfo = callInfo; in CallIdMapper()
DLogUtils.java283 Analytics.CallInfo callInfo = callRecordEntry.getAnalytics(); in eventRecordAdded() local
284 if(callInfo != null) { in eventRecordAdded()
285 callInfo.setCallEvents(eventRecord); in eventRecordAdded()
DAnalytics.java671 CallInfoImpl callInfo = new CallInfoImpl(callId, direction); in initiateCallAnalytics() local
677 sCallIdToInfo.put(callId, callInfo); in initiateCallAnalytics()
680 return callInfo; in initiateCallAnalytics()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java1350 AudioFocusInfo callInfo = getInfo(USAGE_VOICE_COMMUNICATION, SECOND_CLIENT_ID, in getAudioFocusHolders_withTransientFocusLoser_doesNotIncludeTransientLoser() local
1352 carAudioFocus.onAudioFocusRequest(callInfo, AUDIOFOCUS_REQUEST_GRANTED); in getAudioFocusHolders_withTransientFocusLoser_doesNotIncludeTransientLoser()
1356 assertThat(focusHolders).containsExactly(callInfo); in getAudioFocusHolders_withTransientFocusLoser_doesNotIncludeTransientLoser()
1405 AudioFocusInfo callInfo = getInfo(USAGE_VOICE_COMMUNICATION, SECOND_CLIENT_ID, in getAudioFocusLosers_withTransientFocusLoser_doesNotIncludeTransientLoser() local
1407 carAudioFocus.onAudioFocusRequest(callInfo, AUDIOFOCUS_REQUEST_GRANTED); in getAudioFocusLosers_withTransientFocusLoser_doesNotIncludeTransientLoser()