Home
last modified time | relevance | path

Searched refs:getChannel (Results 1 – 25 of 84) 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.java66 protected Channel getChannel() { in getChannel() method in ChannelCheckItem
103 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.java126 double score = evaluator.getScaledEvaluatorScore(cr.getChannel().getId()); in recommendChannels()
132 records.add(Pair.create(cr.getChannel(), maxScore)); in recommendChannels()
160 public Channel getChannel(long channelId) { in getChannel() method in Recommender
162 return record == null ? null : record.getChannel(); in getChannel()
DRecommendationDataManager.java147 if (channelRecord.getChannel().getInputId().equals(inputId)) {
150 channelRecord.getChannel().getId(), channelRecord);
171 if (channelRecord.getChannel().getInputId().equals(inputId)) {
173 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.java85 + item.getChannel().getDisplayName() in onBind()
96 if (!item.getChannel().equals(mChannel)) { in updateChannel()
97 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.java476 mContext, mClock, entry.getKey().getChannel().getId(), programs); in batchUpdateEpg()
698 + epgChannel.getChannel()); in fetchEpgFor()
700 mContext, mClock, epgChannel.getChannel().getId(), programs); in fetchEpgFor()
739 result.add(epgChannel.getChannel()); in asChannelList()
842 if (!mFetchedChannelIdsDuringScan.contains(epgChannel.getChannel().getId())) { in onChannelUpdatedDuringScan()
844 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/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/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/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManagerTest.java81 TunerChannel tunerChannel = mChannelDataManager.getChannel(2L); in getChannel_locked()
87 TunerChannel tunerChannel = mChannelDataManager.getChannel(1L); in getChannel_unlocked()
/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.java153 .setChannelId(channel.getChannel().getId()) in updateWith()
154 .setPackageName(channel.getChannel().getPackageName()) in updateWith()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java187 return mRfcommSocket.getChannel(); in getRfcommChannel()
196 return mL2capSocket.getChannel(); in getL2capPsm()
/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java54 .getChannel(program.getChannelId()); in createFromProgram()
64 .getChannel(recordedProgram.getChannelId()); in createFromRecordedProgram()
/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/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunk.java399 .getChannel() in read()
436 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()

1234