/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | NotificationCategorizerTest.java | 71 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/ |
D | VoicemailTranscriptionServiceGrpc.java | 222 … getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL, getCallOptions()), request, responseObserver); in transcribeVoicemail() 234 …getChannel().newCall(METHOD_TRANSCRIBE_VOICEMAIL_ASYNC, getCallOptions()), request, responseObserv… in transcribeVoicemailAsync() 246 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request, responseObserver); in getTranscript() 258 …getChannel().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/ |
D | CustomizeChannelListFragment.java | 98 .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()
|
D | ChannelCheckItem.java | 66 protected Channel getChannel() { in getChannel() method in ChannelCheckItem 103 mChannelNumberView.setText(getChannel().getDisplayNumber()); in onUpdate()
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | NotificationEntry.java | 155 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
|
D | NotificationCategorizer.java | 70 if (entry.getChannel() == null) { in getCategory() 73 if (entry.getChannel().getImportance() == IMPORTANCE_MIN) { in getCategory() 101 if (entry.getChannel().getImportance() == IMPORTANCE_HIGH) { in getCategory()
|
D | Assistant.java | 291 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/ |
D | ChannelsBlockedFragment.java | 87 .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/ |
D | Recommender.java | 126 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()
|
D | RecommendationDataManager.java | 147 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/ |
D | ArchiveHandle.java | 103 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/ |
D | ChannelsRowAdapter.java | 108 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()
|
D | ChannelCardView.java | 85 + 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/ |
D | FileMover.java | 36 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/ |
D | EpgFetcherImpl.java | 476 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/ |
D | VideoUtils.java | 86 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/ |
D | NotificationHelperTest.java | 74 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/ |
D | DictDecoder.java | 149 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/ |
D | ChannelDataManagerTest.java | 81 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/ |
D | BluetoothOppPreference.java | 117 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/ |
D | FakeEpgReader.java | 153 .setChannelId(channel.getChannel().getId()) in updateWith() 154 .setPackageName(channel.getChannel().getPackageName()) in updateWith()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | ObexServerSockets.java | 187 return mRfcommSocket.getChannel(); in getRfcommChannel() 196 return mL2capSocket.getChannel(); in getL2capPsm()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | PreviewProgramContent.java | 54 .getChannel(program.getChannelId()); in createFromProgram() 64 .getChannel(recordedProgram.getChannelId()); in createFromRecordedProgram()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SampleChunk.java | 377 .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/ |
D | SampleChunk.java | 399 .getChannel() in read() 436 mAccessFile.getChannel().position(mWriteOffset + SAMPLE_HEADER_LENGTH).write(sample.data); in write()
|