/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationPreferenceControllerTest.java | 110 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable_notIfChannelBlocked() local 120 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable_notIfChannelGroupBlocked() local 132 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable() local 144 NotificationChannel channel = mock(NotificationChannel.class); in testOnResume() local 159 NotificationChannel channel = mock(NotificationChannel.class); in testCanBeVisible_unspecified() local 169 NotificationChannel channel = mock(NotificationChannel.class); in testCanBeVisible_sameImportance() local 179 NotificationChannel channel = mock(NotificationChannel.class); in testCanBeVisible_greaterImportance() local 189 NotificationChannel channel = mock(NotificationChannel.class); in testCanBeVisible_lesserImportance() local 199 NotificationChannel channel = mock(NotificationChannel.class); in testSaveImportance() local 210 NotificationChannel channel = mock(NotificationChannel.class); in testIsBlockable_oemWhitelist() local [all …]
|
D | VibrationPreferenceControllerTest.java | 99 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notSystemDoesNotHave() local 107 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local 115 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local 124 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local 131 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 145 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable() local 158 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_configurable() local 170 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_vibrateOn() local 182 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_vibrateOff() local 194 NotificationChannel channel = in testOnPreferenceChange_on() local [all …]
|
D | LightsPreferenceControllerTest.java | 108 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notIfConfigNotAllowed() local 117 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notIfSettingNotAllowed() local 125 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local 133 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local 142 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local 149 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 163 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable() local 175 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_lightsOn() local 186 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_lightsOff() local 197 NotificationChannel channel = in testOnPreferenceChange_on() local [all …]
|
D | ImportancePreferenceControllerTest.java | 111 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_isGroupBlocked() local 122 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_ifChannelBlocked() local 131 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local 141 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local 149 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 163 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notConfigurable() local 178 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_systemButConfigurable() local 193 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_defaultApp() local 207 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testUpdateState() local 220 NotificationChannel channel = in testImportanceLowToHigh() local [all …]
|
D | BlockPreferenceControllerTest.java | 107 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelNotBlockable() local 117 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelNonDefault() local 126 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_ifChannelDefault() local 153 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_systemApp() local 163 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_nonSystemApp() local 201 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsEnabled_systemAppBlockable() local 211 NotificationChannel channel = mock(NotificationChannel.class); in testIsEnabled_lockedChannel() local 224 NotificationChannel channel = mock(NotificationChannel.class); in testIsEnabled_defaultAppChannel() local 237 NotificationChannel channel = mock(NotificationChannel.class); in testIsEnabled_channel() local 302 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_NONE); in testUpdateState_channelBlocked() local [all …]
|
D | HighImportancePreferenceControllerTest.java | 105 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local 114 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local 124 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local 132 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 146 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notConfigurable() local 161 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_systemButConfigurable() local 176 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_defaultApp() local 190 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testUpdateState_high() local 202 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testUpdateState_default() local 213 NotificationChannel channel = in onPreferenceChange() local
|
D | MinImportancePreferenceControllerTest.java | 105 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local 114 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local 124 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local 132 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 146 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notConfigurable() local 161 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_systemButConfigurable() local 176 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_defaultApp() local 190 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_MIN); in testUpdateState_min() local 202 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testUpdateState_low() local 213 NotificationChannel channel = in onPreferenceChange() local
|
D | AllowSoundPreferenceControllerTest.java | 112 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfAppCreatedChannel() local 121 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local 130 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 144 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable_oem() local 158 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_configurable() local 170 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_checkedForHighImportanceChannel() local 181 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_checkedForUnspecifiedImportanceChannel() local 192 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notCheckedForLowImportanceChannel() local 203 NotificationChannel channel = in testOnPreferenceChange_on() local 220 NotificationChannel channel = in testOnPreferenceChange_off() local
|
D | DndPreferenceControllerTest.java | 93 NotificationChannel channel = in testIsAvailable_channel() local 101 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 115 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable() local 128 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_configurable() local 140 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_bypassDnd() local 152 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noBypassDnd() local 164 NotificationChannel channel = in testOnPreferenceChange_on() local 182 NotificationChannel channel = in testOnPreferenceChange_off() local
|
D | BadgePreferenceControllerTest.java | 102 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local 112 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel_notIfAppOff() local 122 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfOffGlobally() local 143 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_defaultChannel() local 156 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel() local 168 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelAppOff() local 178 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 192 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_channelNotBlockable() local 206 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_channel() local 243 NotificationChannel channel = in testOnPreferenceChange_on_channel() local [all …]
|
D | SoundPreferenceControllerTest.java | 117 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local 125 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local 134 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local 151 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 166 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable() local 181 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_configurable() local 198 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testOnPreferenceChange() local 237 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testOnPreferenceTreeClick_alarmSound() local 258 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testOnPreferenceTreeClick_ringtoneSound() local 279 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testOnPreferenceTreeClick_otherSound() local [all …]
|
D | VisibilityPreferenceControllerTest.java | 122 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notSecure() local 130 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_MIN); in testIsAvailable_notIfNotImportant() local 138 NotificationChannel channel = in testIsAvailable() local 159 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin_disableSecure() local 181 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin_disableUnredacted() local 198 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noLockScreenNotificationsGlobally() local 223 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noLockScreenNotificationsGloballyInProfile() local 246 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noPrivateLockScreenNotificationsGlobally() local 263 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noGlobalRestriction() local 293 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_noChannelOverride() local [all …]
|
D | BubblePreferenceControllerTest.java | 117 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local 128 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel_notIfAppOff() local 148 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfOffGlobally_channel() local 180 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_defaultChannel() local 193 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel() local 205 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelAppOff() local 215 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local 230 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_channelNotBlockable() local 244 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_channel() local 301 NotificationChannel channel = in testOnPreferenceChange_on_channel() local [all …]
|
D | DescriptionPreferenceControllerTest.java | 90 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local 99 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfNoChannelDesc() local 116 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel() local 136 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_channel() local
|
/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | NotificationEntryTest.java | 113 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson() local 126 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testNotPerson() local 135 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson_matchesDefaultSmsApp() local 144 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson_doesntMatchDefaultSmsApp() local 153 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsInboxStyle() local 165 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsMessagingStyle() local 177 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsNotPersonStyle() local 190 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsAudioAttributes() local 201 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsNotAudioAttributes() local 210 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testIsCategory() local [all …]
|
D | AgingHelperTest.java | 103 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testNoSnoozingOnPost() local 115 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testPostResetsSnooze() local 127 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testSnoozingOnSeen() local 140 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testNoSnoozingOnSeenUserLocked() local
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManager.java | 122 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); in onRequestProgramsResponse() 128 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); in onProgramsArrived() 133 void onChannelArrived(TunerChannel channel); in onChannelArrived() 206 TunerChannel channel = mTunerChannelMap.get(channelId); in getChannel() local 238 public void requestProgramsData(TunerChannel channel) { in requestProgramsData() 243 public void notifyEventDetected(TunerChannel channel, List<EitItem> items) { in notifyEventDetected() 247 public void notifyChannelDetected(TunerChannel channel, boolean channelArrivedAtFirstTime) { in notifyChannelDetected() 270 TunerChannel channel = TunerChannel.fromCursor(cursor); in notifyScanStarted() local 338 TunerChannel channel = (TunerChannel) msg.obj; in handleMessage() local 361 TunerChannel channel = (TunerChannel) msg.obj; in handleMessage() local [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | VoicemailTranscriptionServiceGrpc.java | 89 public static VoicemailTranscriptionServiceStub newStub(io.grpc.Channel channel) { in newStub() 97 io.grpc.Channel channel) { in newBlockingStub() 105 io.grpc.Channel channel) { in newFutureStub() 199 private VoicemailTranscriptionServiceStub(io.grpc.Channel channel) { in VoicemailTranscriptionServiceStub() 203 private VoicemailTranscriptionServiceStub(io.grpc.Channel channel, in VoicemailTranscriptionServiceStub() 209 protected VoicemailTranscriptionServiceStub build(io.grpc.Channel channel, in build() 268 private VoicemailTranscriptionServiceBlockingStub(io.grpc.Channel channel) { in VoicemailTranscriptionServiceBlockingStub() 272 private VoicemailTranscriptionServiceBlockingStub(io.grpc.Channel channel, in VoicemailTranscriptionServiceBlockingStub() 278 protected VoicemailTranscriptionServiceBlockingStub build(io.grpc.Channel channel, in build() 333 private VoicemailTranscriptionServiceFutureStub(io.grpc.Channel channel) { in VoicemailTranscriptionServiceFutureStub() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | DisambigDialog.java | 148 private void insertOption(LinearLayout container, Channel channel) { in insertOption() 175 private void onVideoOptionClicked(Channel channel) { in onVideoOptionClicked() 178 setDefaultChannel(getContext().getApplicationContext(), speedDialUiItem, channel); in onVideoOptionClicked() local 196 private void onVoiceOptionClicked(Channel channel) { in onVoiceOptionClicked() 199 setDefaultChannel(getContext().getApplicationContext(), speedDialUiItem, channel); in onVoiceOptionClicked() local 209 private static void setDefaultChannel(Context appContext, SpeedDialUiItem item, Channel channel) { in setDefaultChannel() 227 Context appContext, SpeedDialUiItem item, Channel channel) { in updateDatabaseEntry()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/activities/ |
D | BaseMainActivityTestCase.java | 73 protected void tuneToChannel(final Channel channel) { in tuneToChannel() 105 protected void tuneToChannel(ChannelInfo channel) { in tuneToChannel() 115 protected void updateThenTune(ChannelStateData data, ChannelInfo channel) { in updateThenTune() 128 Channel channel = null; in findChannelWithName() local
|
/packages/apps/TV/src/com/android/tv/ |
D | ChannelTuner.java | 186 Channel channel = getAdjacentBrowsableChannel(up); in moveToAdjacentBrowsableChannel() local 205 Channel channel = mChannels.get(channelIndex); in getAdjacentBrowsableChannel() local 218 Channel channel = mChannels.get(nextChannelIndex); in getAdjacentBrowsableChannel() local 235 Channel channel = mChannelMap.get(channelId); in findNearestBrowsableChannel() local 264 public boolean moveToChannel(Channel channel) { in moveToChannel() 302 void onCurrentChannelUnavailable(Channel channel); in onCurrentChannelUnavailable() 307 private void setCurrentChannelAndNotify(Channel channel) { in setCurrentChannelAndNotify() 329 Channel channel = channels.get(i); in updateChannelData() local
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TsStreamer.java | 33 boolean startStream(ScanChannel channel); in startStream() 41 boolean startStream(TunerChannel channel); in startStream()
|
D | TunerTsStreamerManager.java | 61 TunerChannel channel, in createDataSource() 111 TunerChannel channel = streamer.getChannel(); in releaseDataSource() local 146 private void putLocked(TunerChannel channel, int sessionId, TunerTsStreamer streamer) { in putLocked() 154 private void appendSessionLocked(TunerChannel channel, int sessionId) { in appendSessionLocked() 161 private void removeSessionLocked(TunerChannel channel, int sessionId) { in removeSessionLocked() 171 private boolean containsLocked(TunerChannel channel) { in containsLocked() 176 private TunerTsStreamer getStreamerLocked(TunerChannel channel) { in getStreamerLocked() 194 private TsStreamerCreator(Context context, TunerChannel channel, EventListener listener) { in TsStreamerCreator()
|
/packages/apps/TV/src/com/android/tv/audiotvservice/ |
D | AudioOnlyTvService.java | 68 Channel channel = ChannelImpl.createPassthroughChannel(tvInputId); in tune() local 83 public void onTuneFailed(Channel channel) {} in onTuneFailed() 86 public void onUnexpectedStop(Channel channel) {} in onUnexpectedStop() 92 public void onChannelRetuned(Uri channel) {} in onChannelRetuned()
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
D | NotificationChannelManager.java | 118 NotificationChannel channel = in createIncomingCallChannel() local 132 NotificationChannel channel = in createOngoingCallChannel() local 146 NotificationChannel channel = in createMissedCallChannel() local 160 NotificationChannel channel = in createDefaultChannel() local
|