Home
last modified time | relevance | path

Searched refs:presentation (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/present/
DPresentTestFragment.java131 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/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneNumberDisplayUtil.java33 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/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorMainPortal.java38 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/incallui/
DContactInfoCache.java155 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 …]
DCallerInfoUtils.java154 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/apps/Dialer/java/com/android/dialer/phonenumberutil/
DPhoneNumberHelper.java53 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/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java84 String postDialDigits, String viaNumber, int presentation, int callType, in AddCallArgs() argument
94 this.presentation = presentation; in AddCallArgs()
115 public final int presentation; field in CallLogManager.AddCallArgs
371 int presentation, in logCall() argument
407 + Log.pii(number) + "," + presentation + ", " + callType in logCall()
416 viaNumber, presentation, callType, features, accountHandle, start, duration, in logCall()
577 c.presentation, c.callType, c.features, c.accountHandle, c.timestamp, in addCall()
DConnectionServiceWrapper.java722 public void setAddress(String callId, Uri address, int presentation, in setAddress() argument
728 logIncoming("setAddress %s %s %d", callId, address, presentation); in setAddress()
731 call.setHandle(address, presentation); in setAddress()
744 public void setCallerDisplayName(String callId, String callerDisplayName, int presentation, in setCallerDisplayName() argument
751 presentation); in setCallerDisplayName()
754 call.setCallerDisplayName(callerDisplayName, presentation); in setCallerDisplayName()
DCall.java1055 public void setHandle(Uri handle, int presentation) { in setHandle() argument
1056 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { in setHandle()
1057 mHandlePresentation = presentation; in setHandle()
1094 void setCallerDisplayName(String callerDisplayName, int presentation) { in setCallerDisplayName() argument
1096 presentation != mCallerDisplayNamePresentation) { in setCallerDisplayName()
1098 mCallerDisplayNamePresentation = presentation; in setCallerDisplayName()
/packages/services/Telephony/src/com/android/services/telephony/
DConferenceParticipantConnection.java66 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
DPstnIncomingCallNotifier.java159 int presentation = connection.getNumberPresentation(); in handleCdmaCallWaiting() local
161 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting()
162 && presentation == ccwi.numberPresentation) { in handleCdmaCallWaiting()
166 + "presentation = %d", presentation); in handleCdmaCallWaiting()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DAsyncBlockCheckFilter.java67 int presentation = mIncomingCall.getHandlePresentation(); in startFilterLookup() local
68 if (presentation == TelecomManager.PRESENTATION_ALLOWED) { in startFilterLookup()
74 execute(number, String.valueOf(presentation), in startFilterLookup()
84 this.execute(number, String.valueOf(presentation)); in startFilterLookup()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java71 public void makeIncomingCall(String callerId, int presentation) {
75 simulatorMainPortal.setPresentation(presentation);
81 public void makeOutgoingCall(String callerId, int presentation) {
85 simulatorMainPortal.setPresentation(presentation);
DISimulatorService.aidl10 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/
DTestConnectionManager.java99 RemoteConnection connection, Uri address, int presentation) {
100 setAddress(address, presentation);
105 RemoteConnection connection, String callerDisplayName, int presentation) {
106 setCallerDisplayName(callerDisplayName, presentation);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java90 int presentation; field in MissedCallNotifierImplTest.MockMissedCallCursorBuilder.CallLogRow
93 public CallLogRow(String number, int presentation, long date) { in CallLogRow() argument
95 this.presentation = presentation; in CallLogRow()
107 public MockMissedCallCursorBuilder addEntry(String number, int presentation, long date) { in addEntry() argument
108 mRows.add(new CallLogRow(number, presentation, date)); in addEntry()
121 .thenAnswer(unused -> mRows.get(0).presentation); in build()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnection.java311 int presentation = mOriginalConnection.getNumberPresentation(); in updateAddress() local
313 presentation != getAddressPresentation()) { in updateAddress()
315 setAddress(address, presentation); in updateAddress()
/packages/services/Telephony/tests/src/com/android/phone/
DCnapTest.java72 private String modifyForSpecialCnapCases(String number, int presentation) { in modifyForSpecialCnapCases() argument
74 mContext, mCallerInfo, number, presentation); in modifyForSpecialCnapCases()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java1126 String number, int presentation) { in modifyForSpecialCnapCases() argument
1135 + ", presentation=" + presentation + " ci " + ci); in modifyForSpecialCnapCases()
1144 && presentation == PhoneConstants.PRESENTATION_ALLOWED) { in modifyForSpecialCnapCases()
1155 || (ci.numberPresentation != presentation in modifyForSpecialCnapCases()
1156 && presentation == PhoneConstants.PRESENTATION_ALLOWED)) { in modifyForSpecialCnapCases()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java295 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/
Dcall_details_header_info.proto23 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
Dhistory_item_bottom_sheet_header_info.proto28 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java498 int presentation = extras.getInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION);
499 switch (presentation) {
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java577 final int presentation = in reloadFromDatabase()
582 if (presentation != Calls.PRESENTATION_ALLOWED in reloadFromDatabase()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java724 private Bundle createBundleForEnhancedBlocking(int presentation, boolean contactExist) { in createBundleForEnhancedBlocking() argument
726 extras.putInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION, presentation); in createBundleForEnhancedBlocking()

12