/packages/apps/Dialer/java/com/android/dialer/speeddial/loader/ |
D | SpeedDialUiItem.java | 176 .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 …]
|
D | SpeedDialUiItemMutator.java | 275 .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/ |
D | SuggestionViewHolder.java | 55 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()
|
D | FavoritesViewHolder.java | 75 Channel channel = speedDialUiItem.defaultChannel(); in bind() 104 if (speedDialUiItem.defaultChannel() != null) { in onClick() 105 listener.onClick(speedDialUiItem.defaultChannel()); in onClick()
|
D | SpeedDialFragment.java | 492 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/ |
D | SpeedDialEntryDatabaseHelper.java | 249 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()
|
D | SpeedDialEntry.java | 55 public abstract Channel defaultChannel(); in defaultChannel() method in SpeedDialEntry 75 public abstract Builder setDefaultChannel(@Nullable Channel defaultChannel); in setDefaultChannel() argument
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | HeaderPreferenceControllerTest.java | 116 NotificationChannel defaultChannel = new NotificationChannel( in testGetLabel() local 118 mController.onResume(appRow, defaultChannel, null, null); in testGetLabel() 142 NotificationChannel defaultChannel = new NotificationChannel( in testGetSummary() local 144 mController.onResume(appRow, defaultChannel, null, null); in testGetSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | NotificationsPreferenceController.java | 80 NotificationChannel defaultChannel = in handlePreferenceChanged() local 86 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in handlePreferenceChanged() 88 .updateNotificationChannelForPackage(mPackageName, mUid, defaultChannel); in handlePreferenceChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 147 NotificationChannel defaultChannel = in setNotificationsEnabledForPackage() local 149 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage() 150 updateChannel(pkg, uid, defaultChannel); in setNotificationsEnabledForPackage()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 155 NotificationChannel defaultChannel = in setNotificationsEnabledForPackage() local 157 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage() 158 updateChannel(pkg, uid, defaultChannel); in setNotificationsEnabledForPackage()
|