Home
last modified time | relevance | path

Searched refs:defaultChannel (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/
DSpeedDialUiItem.java176 .setIsVideo(defaultChannel() != null && defaultChannel().isVideoTechnology()) in getPhotoInfo()
187 .setDefaultChannel(defaultChannel()) in buildSpeedDialEntry()
204 if (defaultChannel() == null) { in getDefaultVideoChannel()
208 if (defaultChannel().isVideoTechnology()) { in getDefaultVideoChannel()
209 return defaultChannel(); in getDefaultVideoChannel()
232 if (Objects.equals(defaultChannel(), channels().get(i))) { in getDefaultVideoChannel()
258 if (defaultChannel() == null) { in getDefaultVoiceChannel()
262 if (!defaultChannel().isVideoTechnology()) { in getDefaultVoiceChannel()
263 return defaultChannel(); in getDefaultVoiceChannel()
269 if (currentChannel.number().equals(defaultChannel().number()) in getDefaultVoiceChannel()
[all …]
DSpeedDialUiItemMutator.java275 .setDefaultChannel(contact.defaultChannel()) in loadSpeedDialUiItemsInternal()
447 Channel defaultChannel = entry.defaultChannel(); in getSpeedDialUiItemsFromEntries() local
448 if (defaultChannel != null) { in getSpeedDialUiItemsFromEntries()
449 if (item.channels().contains(defaultChannel) in getSpeedDialUiItemsFromEntries()
450 || isValidDuoDefaultChannel(item.channels(), defaultChannel)) { in getSpeedDialUiItemsFromEntries()
451 entrySpeedDialItem.setDefaultChannel(defaultChannel); in getSpeedDialUiItemsFromEntries()
480 ImmutableList<Channel> channels, Channel defaultChannel) { in isValidDuoDefaultChannel() argument
481 if (defaultChannel.technology() != Channel.DUO) { in isValidDuoDefaultChannel()
486 if (channel.number().equals(defaultChannel.number())) { in isValidDuoDefaultChannel()
641 if (item.defaultChannel() == null) { in insertDuoChannels()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSuggestionViewHolder.java55 Assert.isNotNull(speedDialUiItem.defaultChannel()); in bind()
60 speedDialUiItem.defaultChannel().number(), in bind()
63 String label = speedDialUiItem.defaultChannel().label(); in bind()
80 listener.onRowClicked(speedDialUiItem.defaultChannel()); in onClick()
DFavoritesViewHolder.java75 Channel channel = speedDialUiItem.defaultChannel(); in bind()
104 if (speedDialUiItem.defaultChannel() != null) { in onClick()
105 listener.onClick(speedDialUiItem.defaultChannel()); in onClick()
DSpeedDialFragment.java492 Channel defaultChannel = speedDialUiItem.defaultChannel(); in onOverFlowMenuClicked() local
516 if (!TextUtils.isEmpty(defaultChannel.number())) { in onOverFlowMenuClicked()
518 IntentModule.newModuleForSendingTextMessage(getContext(), defaultChannel.number())); in onOverFlowMenuClicked()
581 Phone.CONTENT_FILTER_URI, speedDialUiItem.defaultChannel().number())), in onClick()
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntryDatabaseHelper.java249 if (entry.defaultChannel() != null) { in buildContentValues()
250 values.put(PHONE_NUMBER, entry.defaultChannel().number()); in buildContentValues()
251 values.put(PHONE_TYPE, entry.defaultChannel().phoneType()); in buildContentValues()
252 values.put(PHONE_LABEL, entry.defaultChannel().label()); in buildContentValues()
253 values.put(PHONE_TECHNOLOGY, entry.defaultChannel().technology()); in buildContentValues()
DSpeedDialEntry.java55 public abstract Channel defaultChannel(); in defaultChannel() method in SpeedDialEntry
75 public abstract Builder setDefaultChannel(@Nullable Channel defaultChannel); in setDefaultChannel() argument
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DBaseNotificationsPreferenceController.java66 NotificationChannel defaultChannel = in toggleNotificationsSetting() local
73 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in toggleNotificationsSetting()
75 .updateNotificationChannelForPackage(packageName, uid, defaultChannel); in toggleNotificationsSetting()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DHeaderPreferenceControllerTest.java127 NotificationChannel defaultChannel = new NotificationChannel( in testGetLabel() local
129 mController.onResume(appRow, defaultChannel, null, null, null, null, null); in testGetLabel()
153 NotificationChannel defaultChannel = new NotificationChannel( in testGetSummary() local
155 mController.onResume(appRow, defaultChannel, null, null, null, null, null); in testGetSummary()
DConversationHeaderPreferenceControllerTest.java146 NotificationChannel defaultChannel = new NotificationChannel( in testGetSummary() local
148 mController.onResume(appRow, defaultChannel, null, null, null, null, null); in testGetSummary()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java200 NotificationChannel defaultChannel = in setNotificationsEnabledForPackage() local
202 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage()
203 updateChannel(pkg, uid, defaultChannel); in setNotificationsEnabledForPackage()