/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | PhoneNumberDisplayUtil.java | 33 Context context, CharSequence number, int presentation, boolean isVoicemail) { in getDisplayName() argument 34 Optional<String> presentationString = getNameForPresentation(context, presentation); in getDisplayName() 48 public static Optional<String> getNameForPresentation(Context appContext, int presentation) { in getNameForPresentation() argument 49 if (presentation == Calls.PRESENTATION_UNKNOWN) { in getNameForPresentation() 52 if (presentation == Calls.PRESENTATION_RESTRICTED) { in getNameForPresentation() 55 if (presentation == Calls.PRESENTATION_PAYPHONE) { in getNameForPresentation() 70 int presentation, in getDisplayNumber() argument 74 final CharSequence displayName = getDisplayName(context, number, presentation, isVoicemail); in getDisplayNumber()
|
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/ |
D | PresentTestFragment.java | 131 DemoPresentation presentation = (DemoPresentation) dialog; in setupListeners() 132 int displayId = presentation.getDisplay().getDisplayId(); in setupListeners() 196 DemoPresentation presentation = mActivePresentations.valueAt(i); in onPause() local 197 presentation.dismiss(); in onPause() 215 DemoPresentation presentation = new DemoPresentation(getContext(), display, contents); in showPresentation() local 216 presentation.show(); in showPresentation() 217 presentation.setOnDismissListener(mOnDismissListener); in showPresentation() 218 mActivePresentations.put(displayId, presentation); in showPresentation() 226 DemoPresentation presentation = mActivePresentations.get(displayId); in hidePresentation() local 227 if (presentation == null) { in hidePresentation() [all …]
|
/packages/modules/ExtServices/java/src/android/ext/services/autofill/ |
D | InlineSuggestionRenderServiceImpl.java | 47 public View onRenderSuggestion(@NonNull InlinePresentation presentation, in onRenderSuggestion() argument 49 Preconditions.checkNotNull(presentation, TAG + ": InlinePresentation should not be null"); in onRenderSuggestion() 52 final Bundle style = presentation.getInlinePresentationSpec().getStyle(); in onRenderSuggestion() 56 suggestionView = Renderer.render(this, presentation.getSlice(), style); in onRenderSuggestion() 57 attributionIntent = Renderer.getAttributionIntent(presentation.getSlice()); in onRenderSuggestion()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | BlockCheckerFilter.java | 70 int presentation = mCall.getHandlePresentation(); in startFilterLookup() local 71 extras.putInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION, presentation); in startFilterLookup() 72 if (presentation == TelecomManager.PRESENTATION_ALLOWED) { in startFilterLookup() 102 int presentation = mCall.getHandlePresentation(); in getBlockStatus() local 103 extras.putInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION, presentation); in getBlockStatus() 104 if (presentation == TelecomManager.PRESENTATION_ALLOWED) { in getBlockStatus()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
D | SimulatorMainPortal.java | 38 private int presentation = TelecomManager.PRESENTATION_ALLOWED; field in SimulatorMainPortal 57 public void setPresentation(int presentation) { in setPresentation() argument 58 this.presentation = presentation; in setPresentation() 156 .addCustomizedIncomingCall(this.callerId, this.presentation)) in buildSimulatorVoiceCallPortal() 161 .addCustomizedOutgoingCall(this.callerId, this.presentation)) in buildSimulatorVoiceCallPortal()
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
D | PhoneNumberHelper.java | 53 public static boolean canPlaceCallsTo(CharSequence number, int presentation) { in canPlaceCallsTo() argument 54 return presentation == CallLog.Calls.PRESENTATION_ALLOWED in canPlaceCallsTo() 198 Context context, PhoneAccountHandle accountHandle, CharSequence number, int presentation) { in isUnknownNumberThatCanBeLookedUp() argument 199 if (presentation == CallLog.Calls.PRESENTATION_UNKNOWN) { in isUnknownNumberThatCanBeLookedUp() 202 if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { in isUnknownNumberThatCanBeLookedUp() 205 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { in isUnknownNumberThatCanBeLookedUp()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ContactInfoCache.java | 155 int presentation) { in populateCacheEntry() argument 202 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry() 204 } else if (presentation != TelecomManager.PRESENTATION_ALLOWED) { in populateCacheEntry() 208 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry() 239 if (presentation != TelecomManager.PRESENTATION_ALLOWED) { in populateCacheEntry() 243 displayName = getPresentationString(context, presentation, info.callSubject); in populateCacheEntry() 282 Context context, int presentation, String customLabel) { in getPresentationString() argument 285 && ((presentation == TelecomManager.PRESENTATION_UNKNOWN) in getPresentationString() 286 || (presentation == TelecomManager.PRESENTATION_RESTRICTED))) { in getPresentationString() 290 if (presentation == TelecomManager.PRESENTATION_RESTRICTED) { in getPresentationString() [all …]
|
D | CallerInfoUtils.java | 154 Context context, CallerInfo ci, String number, int presentation) { in modifyForSpecialCnapCases() argument 167 + presentation in modifyForSpecialCnapCases() 176 && presentation == TelecomManager.PRESENTATION_ALLOWED) { in modifyForSpecialCnapCases() 187 || (ci.numberPresentation != presentation in modifyForSpecialCnapCases() 188 && presentation == TelecomManager.PRESENTATION_ALLOWED)) { in modifyForSpecialCnapCases()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ConferenceParticipantConnection.java | 66 int presentation = participant.getParticipantPresentation(); in ConferenceParticipantConnection() local 68 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { in ConferenceParticipantConnection() 75 setAddress(address, presentation); in ConferenceParticipantConnection() 77 setCallerDisplayName(participant.getDisplayName(), presentation); in ConferenceParticipantConnection() local
|
D | PstnIncomingCallNotifier.java | 185 int presentation = connection.getNumberPresentation(); in handleCdmaCallWaiting() local 187 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting() 188 && presentation == ccwi.numberPresentation) { in handleCdmaCallWaiting() 192 + "presentation = %d", presentation); in handleCdmaCallWaiting()
|
D | TelephonyConnection.java | 1506 int presentation = mOriginalConnection.getNumberPresentation(); in updateAddress() local 1508 presentation != getAddressPresentation()) { in updateAddress() 1513 setAddress(address, presentation); in updateAddress()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 71 public void makeIncomingCall(String callerId, int presentation) { 75 simulatorMainPortal.setPresentation(presentation); 81 public void makeOutgoingCall(String callerId, int presentation) { 85 simulatorMainPortal.setPresentation(presentation);
|
D | ISimulatorService.aidl | 10 void makeIncomingCall(String callerId, int presentation); in makeIncomingCall() argument 17 void makeOutgoingCall(String callerId, int presentation); in makeOutgoingCall() argument
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestConnectionManager.java | 98 RemoteConnection connection, Uri address, int presentation) { 99 setAddress(address, presentation); 104 RemoteConnection connection, String callerDisplayName, int presentation) { 105 setCallerDisplayName(callerDisplayName, presentation);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 102 int presentation; field in MissedCallNotifierImplTest.MockMissedCallCursorBuilder.CallLogRow 105 public CallLogRow(String number, int presentation, long date) { in CallLogRow() argument 107 this.presentation = presentation; in CallLogRow() 119 public MockMissedCallCursorBuilder addEntry(String number, int presentation, long date) { in addEntry() argument 120 mRows.add(new CallLogRow(number, presentation, date)); in addEntry() 133 .thenAnswer(unused -> mRows.get(0).presentation); in build()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnection.java | 311 int presentation = mOriginalConnection.getNumberPresentation(); in updateAddress() local 313 presentation != getAddressPresentation()) { in updateAddress() 315 setAddress(address, presentation); in updateAddress()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
D | SystemCallLogDataSource.java | 295 int presentation; in handleInsertsAndUpdates() local 297 || (presentation = cursor.getInt(presentationColumn)) == 0) { in handleInsertsAndUpdates() 340 contentValues.put(AnnotatedCallLog.NUMBER_PRESENTATION, presentation); in handleInsertsAndUpdates()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/proto/ |
D | call_details_header_info.proto | 22 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
|
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/ |
D | history_item_bottom_sheet_header_info.proto | 27 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ConnectionServiceWrapper.java | 788 public void setAddress(String callId, Uri address, int presentation, in setAddress() argument 795 logIncoming("setAddress %s %s %d", callId, address, presentation); in setAddress() 798 call.setHandle(address, presentation); in setAddress() 811 public void setCallerDisplayName(String callId, String callerDisplayName, int presentation, in setCallerDisplayName() argument 818 presentation); in setCallerDisplayName() 821 call.setCallerDisplayName(callerDisplayName, presentation); in setCallerDisplayName()
|
D | Call.java | 1342 public void setHandle(Uri handle, int presentation) { in setHandle() argument 1343 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { in setHandle() 1344 mHandlePresentation = presentation; in setHandle() 1408 void setCallerDisplayName(String callerDisplayName, int presentation) { in setCallerDisplayName() argument 1410 presentation != mCallerDisplayNamePresentation) { in setCallerDisplayName() 1412 mCallerDisplayNamePresentation = presentation; in setCallerDisplayName()
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 498 int presentation = extras.getInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION); 499 switch (presentation) {
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | MissedCallNotifierImpl.java | 629 final int presentation = in reloadFromDatabase() 634 if (presentation != Calls.PRESENTATION_ALLOWED in reloadFromDatabase()
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | CallLogPopulator.java | 174 abstract Builder setPresentation(int presentation); in setPresentation() argument
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberProviderTest.java | 729 private Bundle createBundleForEnhancedBlocking(int presentation, boolean contactExist) { in createBundleForEnhancedBlocking() argument 731 extras.putInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION, presentation); in createBundleForEnhancedBlocking()
|