Home
last modified time | relevance | path

Searched refs:presentation (Results 1 – 25 of 30) 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/services/Telecomm/src/com/android/server/telecom/callfiltering/
DBlockCheckerFilter.java70 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/
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.java83 String postDialDigits, String viaNumber, int presentation, int callType, in AddCallArgs() argument
93 this.presentation = presentation; in AddCallArgs()
114 public final int presentation; field in CallLogManager.AddCallArgs
399 int presentation, in logCall() argument
435 + Log.pii(number) + "," + presentation + ", " + callType in logCall()
444 viaNumber, presentation, callType, features, accountHandle, start, duration, in logCall()
596 c.presentation, c.callType, c.features, c.accountHandle, c.timestamp, in addCall()
DConnectionServiceWrapper.java777 public void setAddress(String callId, Uri address, int presentation, in setAddress() argument
784 logIncoming("setAddress %s %s %d", callId, address, presentation); in setAddress()
787 call.setHandle(address, presentation); in setAddress()
800 public void setCallerDisplayName(String callId, String callerDisplayName, int presentation, in setCallerDisplayName() argument
807 presentation); in setCallerDisplayName()
810 call.setCallerDisplayName(callerDisplayName, presentation); in setCallerDisplayName()
DCall.java1193 public void setHandle(Uri handle, int presentation) { in setHandle() argument
1194 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { in setHandle()
1195 mHandlePresentation = presentation; in setHandle()
1254 void setCallerDisplayName(String callerDisplayName, int presentation) { in setCallerDisplayName() argument
1256 presentation != mCallerDisplayNamePresentation) { in setCallerDisplayName()
1258 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.java174 int presentation = connection.getNumberPresentation(); in handleCdmaCallWaiting() local
176 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting()
177 && presentation == ccwi.numberPresentation) { in handleCdmaCallWaiting()
181 + "presentation = %d", presentation); in handleCdmaCallWaiting()
DTelephonyConnection.java1310 int presentation = mOriginalConnection.getNumberPresentation(); in updateAddress() local
1312 presentation != getAddressPresentation()) { in updateAddress()
1317 setAddress(address, presentation); in updateAddress()
/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.java98 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/
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/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.proto22 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
Dhistory_item_bottom_sheet_header_info.proto27 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
/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/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java498 int presentation = extras.getInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION);
499 switch (presentation) {
/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()
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DCallLogPopulator.java174 abstract Builder setPresentation(int presentation); in setPresentation() argument

12