Home
last modified time | relevance | path

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

12

/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/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/services/Telecomm/src/com/android/server/telecom/callfiltering/
DBlockCheckerFilter.java125 int presentation = mCall.getHandlePresentation(); in startFilterLookup() local
126 extras.putInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION, presentation); in startFilterLookup()
127 if (presentation == TelecomManager.PRESENTATION_ALLOWED) { in startFilterLookup()
157 int presentation; in getBlockStatus() local
160 presentation = mCall.getHandlePresentation(); in getBlockStatus()
162 presentation = 0; in getBlockStatus()
165 if (presentation == TelecomManager.PRESENTATION_ALLOWED) { in getBlockStatus()
177 presentation, isNumberInContacts), in getBlockStatus()
/packages/modules/ExtServices/java/src/android/ext/services/autofill/
DInlineSuggestionRenderServiceImpl.java47 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()
DREADME.md10 A service that renders an inline presentation view to be shown in the keyboard suggestion strip. The
/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_UNAVAILABLE) { in isUnknownNumberThatCanBeLookedUp()
208 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { in isUnknownNumberThatCanBeLookedUp()
/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/
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()
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 …]
/packages/services/Telephony/src/com/android/services/telephony/
DConferenceParticipantConnection.java76 int presentation = participant.getParticipantPresentation(); in ConferenceParticipantConnection() local
78 if (presentation != PhoneConstants.PRESENTATION_ALLOWED) { in ConferenceParticipantConnection()
95 setAddress(address, presentation); in ConferenceParticipantConnection()
97 setCallerDisplayName(participant.getDisplayName(), presentation); in ConferenceParticipantConnection() local
DPstnIncomingCallNotifier.java193 int presentation = connection.getNumberPresentation(); in handleCdmaCallWaiting() local
195 if (presentation != PhoneConstants.PRESENTATION_ALLOWED in handleCdmaCallWaiting()
196 && presentation == ccwi.numberPresentation) { in handleCdmaCallWaiting()
200 + "presentation = %d", presentation); in handleCdmaCallWaiting()
/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/modules/Bluetooth/tools/rootcanal/include/hci/
Daddress.h112 char presentation = 'x';
121 presentation = *it++;
137 return presentation == 'x'
Daddress_with_type.h146 char presentation = 'x';
155 presentation = *it++;
171 auto out = presentation == 'x'
/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.java101 int presentation; field in MissedCallNotifierImplTest.MockMissedCallCursorBuilder.CallLogRow
104 public CallLogRow(String number, int presentation, long date) { in CallLogRow() argument
106 this.presentation = presentation; in CallLogRow()
118 public MockMissedCallCursorBuilder addEntry(String number, int presentation, long date) { in addEntry() argument
119 mRows.add(new CallLogRow(number, presentation, date)); in addEntry()
132 .thenAnswer(unused -> mRows.get(0).presentation); in build()
/packages/apps/TV/interactive/SampleTvInteractiveAppService/src/com/android/tv/samples/sampletvinteractiveappservice/
DTiasSessionImpl.java466 Presentation presentation = in updateSurface() local
468 presentation.setContentView(mViewContainer); in updateSurface()
469 presentation.getWindow().setBackgroundDrawable(new ColorDrawable(0)); in updateSurface()
470 presentation.show(); in updateSurface()
/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/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/historyitemactions/
Dhistory_item_bottom_sheet_header_info.proto27 // (1) a presentation name (e.g., "Restricted", "Unknown", etc.),
/packages/modules/Bluetooth/system/stack/mmc/
DREADME.md44 * Slides: go/floss-mmc-presentation
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DCallLogPopulator.java174 abstract Builder setPresentation(int presentation); in setPresentation() argument
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java657 final int presentation = in reloadFromDatabase()
662 if (presentation != Calls.PRESENTATION_ALLOWED in reloadFromDatabase()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java527 int presentation = extras.getInt(BlockedNumberContract.EXTRA_CALL_PRESENTATION);
528 switch (presentation) {

12