Home
last modified time | relevance | path

Searched refs:callDetail (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DCallDetail.java47 public static CallDetail fromTelecomCallDetail(@Nullable Call.Details callDetail) { in fromTelecomCallDetail() argument
48 return new CallDetail(getNumber(callDetail), getDisconnectCause(callDetail), in fromTelecomCallDetail()
49 getGatewayInfoOriginalAddress(callDetail), getConnectTimeMillis(callDetail)); in fromTelecomCallDetail()
83 private static String getNumber(Call.Details callDetail) { in getNumber() argument
85 if (callDetail == null) { in getNumber()
89 GatewayInfo gatewayInfo = callDetail.getGatewayInfo(); in getNumber()
92 } else if (callDetail.getHandle() != null) { in getNumber()
93 number = callDetail.getHandle().getSchemeSpecificPart(); in getNumber()
99 private static CharSequence getDisconnectCause(Call.Details callDetail) { in getDisconnectCause() argument
100 DisconnectCause cause = callDetail == null ? null : callDetail.getDisconnectCause(); in getDisconnectCause()
[all …]
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DInCallViewModelTest.java151 CallDetail callDetail = mInCallViewModel.getPrimaryCallDetail().getValue(); in testGetPrimaryCallDetail() local
152 assertThat(callDetail.getNumber()).isEqualTo(NUMBER); in testGetPrimaryCallDetail()
153 assertThat(callDetail.getConnectTimeMillis()).isEqualTo(CONNECT_TIME_MILLIS); in testGetPrimaryCallDetail()
154 assertThat(callDetail.getDisconnectCause()).isEqualTo(LABEL); in testGetPrimaryCallDetail()
155 assertThat(callDetail.getGatewayInfoOriginalAddress()).isEqualTo(GATEWAY_ADDRESS); in testGetPrimaryCallDetail()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DInCallFragment.java86 protected void bindUserProfileView(@Nullable CallDetail callDetail) { in bindUserProfileView() argument
87 L.i(TAG, "bindUserProfileView: %s", callDetail); in bindUserProfileView()
88 if (callDetail == null) { in bindUserProfileView()
92 String number = callDetail.getNumber(); in bindUserProfileView()
DOnHoldCallUserProfileFragment.java82 private void updateProfile(@Nullable CallDetail callDetail) { in updateProfile() argument
83 if (callDetail == null) { in updateProfile()
91 String number = callDetail.getNumber(); in updateProfile()
/packages/apps/Car/Dialer/src/com/android/car/dialer/notification/
DInCallNotificationController.java117 CallDetail callDetail = CallDetail.fromTelecomCallDetail(call.getDetails()); in showInCallNotification() local
118 String number = callDetail.getNumber(); in showInCallNotification()