/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 | 65 protected Channel getChannel() { in getChannel() method in ChannelCheckItem 102 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 | 124 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()
|
D | RecommendationDataManager.java | 144 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/ |
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 | 83 + 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/ |
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 | 497 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/ |
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/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/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/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 | 148 .setChannelId(channel.getChannel().getId()) in updateWith() 149 .setPackageName(channel.getChannel().getPackageName()) in updateWith()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | PreviewProgramContent.java | 50 .getChannel(program.getChannelId()); in createFromProgram() 60 .getChannel(recordedProgram.getChannelId()); in createFromRecordedProgram()
|
/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/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/tests/unit/src/com/android/tv/data/ |
D | ChannelDataManagerTest.java | 202 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/ |
D | ProgramManager.java | 397 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()
|