Home
last modified time | relevance | path

Searched refs:getChannel (Results 1 – 25 of 83) sorted by relevance

1234

/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationCategorizerTest.java71 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testPeopleCategory()
82 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_MIN)); in testMin()
93 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_HIGH)); in testHigh()
103 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testOngoingCategory()
118 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testAlarmCategory()
133 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testCallCategory()
148 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testReminderCategory()
163 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testEventCategory()
177 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_DEFAULT)); in testSystemCategory()
192 when(mEntry.getChannel()).thenReturn(new NotificationChannel("", "", IMPORTANCE_LOW)); in testSystemLowCategory()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DVoicemailTranscriptionServiceGrpc.java222getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request, responseObserver); in transcribeVoicemail()
234getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request, responseObserv… in transcribeVoicemailAsync()
246 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request, responseObserver); in getTranscript()
258getChannel().newCall(METHOD_SEND_TRANSCRIPTION_FEEDBACK, getCallOptions()), request, responseObser… in sendTranscriptionFeedback()
290 getChannel(), METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions(), request); in transcribeVoicemail()
301 getChannel(), METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions(), request); in transcribeVoicemailAsync()
312 getChannel(), METHOD_GET_TRANSCRIPT, getCallOptions(), request); in getTranscript()
323 getChannel(), METHOD_SEND_TRANSCRIPTION_FEEDBACK, getCallOptions(), request); in sendTranscriptionFeedback()
356 getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request); in transcribeVoicemail()
368 getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request); in transcribeVoicemailAsync()
[all …]
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java98 .getChannel(mLastFocusedChannelId)); in onCreateView()
114 && ((ChannelItem) item).getChannel().getId() == mInitialChannelId) { in onCreateView()
129 tvActivity.tuneToChannel(getChannelDataManager().getChannel(mLastFocusedChannelId)); in onCreateView()
280 if (!channelItem.getChannel().isBrowsable()) { in onUpdate()
295 Channel channel = channelItem.getChannel(); in onSelected()
322 setChecked(getChannel().isBrowsable()); in onUpdate()
328 getChannelDataManager().updateBrowsable(getChannel().getId(), isChecked()); in onSelected()
337 mLastFocusedChannelId = getChannel().getId(); in onFocused()
DChannelCheckItem.java65 protected Channel getChannel() { in getChannel() method in ChannelCheckItem
102 mChannelNumberView.setText(getChannel().getDisplayNumber()); in onUpdate()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java155 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(getChannel().getId())) { in isPreChannelsNotification()
165 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAudioAttributes()
171 && (getChannel().getUserLockedFields() in calculateAudioAttributes()
191 int importance = getChannel().getImportance(); in calculateInitialImportance()
219 || (getChannel().getUserLockedFields() in calculateInitialImportance()
338 public NotificationChannel getChannel() { in getChannel() method in NotificationEntry
DNotificationCategorizer.java70 if (entry.getChannel() == null) { in getCategory()
73 if (entry.getChannel().getImportance() == IMPORTANCE_MIN) { in getCategory()
101 if (entry.getChannel().getImportance() == IMPORTANCE_HIGH) { in getCategory()
DAssistant.java291 if (ranking != null && ranking.getChannel() != null) {
293 sbn, ranking.getChannel(), mSmsHelper);
295 sbn.getPackageName(), sbn.getUserId(), ranking.getChannel().getId());
323 String channelId = mLiveNotifications.remove(sbn.getKey()).getChannel().getId(); in onNotificationRemoved()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java87 .getChannel(mLastFocusedChannelId)); in onCreateView()
227 setChecked(getChannel().isLocked()); in onUpdate()
233 getChannelDataManager().updateLocked(getChannel().getId(), isChecked()); in onSelected()
242 mLastFocusedChannelId = getChannel().getId(); in onFocused()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecommender.java124 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId()); in recommendChannels()
130 records.add(new Pair<>(cr.getChannel(), maxScore)); in recommendChannels()
158 public Channel getChannel(long channelId) { in getChannel() method in Recommender
160 return record == null ? null : record.getChannel(); in getChannel()
DRecommendationDataManager.java144 if (channelRecord.getChannel().getInputId().equals(inputId)) {
147 channelRecord.getChannel().getId(), channelRecord);
168 if (channelRecord.getChannel().getInputId().equals(inputId)) {
170 mAvailableChannelRecordMap.remove(channelRecord.getChannel().getId());
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DArchiveHandle.java103 SeekableByteChannel seekableByteChannel = fileInputStream.getChannel(); in recreateCommonArchiveStream()
199 return new SevenZFile(fileInputStream.getChannel()); in recreateCommonArchive()
314 SeekableByteChannel zipFileChannel = fileInputStream.getChannel(); in create()
324 SeekableByteChannel sevenZFileChannel = fileInputStream.getChannel(); in create()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java108 viewHolder.itemView.setTag(getItemList().get(position).getChannel()); in onBindViewHolder()
207 .hasSameReadOnlyInfo(ChannelsRowItem.APP_LINK_ITEM.getChannel())) { in updateItems()
280 channelList, mRecommender.getChannel(channelId), currentChannelId)) {
297 addChannelToList(channelList, mRecommender.getChannel(channelId), currentChannelId); in addChannelToList()
DChannelCardView.java83 + item.getChannel().getDisplayName() in onBind()
94 if (!item.getChannel().equals(mChannel)) { in updateChannel()
95 mChannel = item.getChannel(); in updateChannel()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DFileMover.java36 FileChannel inputChannel = input.getChannel(); in moveFileBetweenContexts()
37 inputChannel.transferTo(0, inputChannel.size(), output.getChannel()); in moveFileBetweenContexts()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java497 mContext, mClock, entry.getKey().getChannel().getId(), programs); in batchUpdateEpg()
718 + epgChannel.getChannel()); in fetchEpgFor()
720 mContext, mClock, epgChannel.getChannel().getId(), programs); in fetchEpgFor()
759 result.add(epgChannel.getChannel()); in asChannelList()
862 if (!mFetchedChannelIdsDuringScan.contains(epgChannel.getChannel().getId())) { in onChannelUpdatedDuringScan()
864 mFetchedChannelIdsDuringScan.add(epgChannel.getChannel().getId()); in onChannelUpdatedDuringScan()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java86 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in startMuteUsingMp4Parser()
109 FileChannel fc = fos.getChannel(); in writeMovieIntoFile()
233 Movie movie = MovieCreator.build(randomAccessFile.getChannel()); in trimUsingMp4Parser()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DDictDecoder.java149 buffer = inStream.getChannel().map(FileChannel.MapMode.READ_ONLY, in getDictionaryBuffer()
205 buffer = raFile.getChannel().map(FileChannel.MapMode.READ_WRITE, 0, file.length()); in getDictionaryBuffer()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java74 assertThat(notification.getNotification().getChannel()).isEqualTo(CHANNEL_ID); in testShowResumeNotification()
91 assertThat(notification.getNotification().getChannel()).isEqualTo(CHANNEL_ID); in testShowPrivacyReminderNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java117 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() method in BluetoothOppPreference
151 if (channel != getChannel(remoteDevice, uuid)) { in setChannel()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeEpgReader.java148 .setChannelId(channel.getChannel().getId()) in updateWith()
149 .setPackageName(channel.getChannel().getPackageName()) in updateWith()
/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java50 .getChannel(program.getChannelId()); in createFromProgram()
60 .getChannel(recordedProgram.getChannelId()); in createFromRecordedProgram()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java187 return mRfcommSocket.getChannel(); in getRfcommChannel()
196 return mL2capSocket.getChannel(); in getL2capPsm()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java377 .getChannel() in read()
398 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java202 assertThat(mChannelDataManager.getChannel(channel.getId())).isEqualTo(channel); in testGetChannels()
310 assertThat(mChannelDataManager.getChannel(channel.getId()).isLocked()).isTrue(); in testLocked()
317 assertThat(mChannelDataManager.getChannel(channel.getId()).isLocked()).isTrue(); in testLocked()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java397 Channel getChannel(int channelIndex) { in getChannel() method in ProgramManager
417 return getChannelIndex(mChannelDataManager.getChannel(channelId)); in getChannelIndex()
620 parentalControlsEnabled && mChannelDataManager.getChannel(channelId).isLocked(); in createProgramEntries()

1234