/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationHistoryFilter.java | 37 public String getChannel() { in getChannel() method in NotificationHistoryFilter 49 return getPackage() != null || getChannel() != null in isFiltering() 62 if (!TextUtils.isEmpty(getChannel()) in matchesPackageAndChannelFilter() 63 && !getChannel().equals(notification.getChannelId())) { in matchesPackageAndChannelFilter()
|
H A D | NotificationRecord.java | 273 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights() 278 && (getChannel().getUserLockedFields() in calculateLights() 301 if (getChannel().shouldVibrate()) { in calculateVibration() 309 && (getChannel().getUserLockedFields() in calculateVibration() 330 && (getChannel().getUserLockedFields() in calculateAttributes() 386 || (!getChannel().hasUserSetImportance()))) { in calculateInitialImportance() 439 if (getChannel() != null) { in dump() 821 if (!getChannel().hasUserSetImportance() in calculateImportance() 823 && !getChannel().isImportanceLockedByOEM() in calculateImportance() 1056 public NotificationChannel getChannel() { in getChannel() method in NotificationRecord [all …]
|
H A D | VisibilityExtractor.java | 54 record.setPackageVisibilityOverride(record.getChannel().getLockscreenVisibility()); in process() 60 boolean channelCanShowNotifications = record.getChannel().getLockscreenVisibility() in process() 73 boolean channelCanShowContents = record.getChannel().getLockscreenVisibility() in process()
|
H A D | BadgeExtractor.java | 53 if (record.getChannel() != null) { in process() 54 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A 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() 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() 380 getChannel().newCall(METHOD_GET_TRANSCRIPT, getCallOptions()), request); in getTranscript() [all …]
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | NotificationChannelController.java | 110 if (getChannel(CHANNEL_ID_VOICE_MAIL, context) != null) { in createAll() 116 if (getChannel(CHANNEL_ID_MOBILE_DATA_ALERT_DEPRECATED, context) != null) { in createAll() 120 if (getChannel(CHANNEL_ID_CALL_FORWARD_DEPRECATED, context) != null) { in createAll() 134 public static NotificationChannel getChannel(String channelId, Context context) { in getChannel() method in NotificationChannelController 169 getChannel(CHANNEL_ID_CALL_FORWARD_DEPRECATED, context); in migrateCallFowardNotificationChannel()
|
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
H A 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()
|
H A D | ChannelCheckItem.java | 66 protected Channel getChannel() { in getChannel() method in ChannelCheckItem 103 mChannelNumberView.setText(getChannel().getDisplayNumber()); in onUpdate()
|
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
H A D | NotificationEntry.java | 150 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(getChannel().getId())) { in isPreChannelsNotification() 160 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAudioAttributes() 165 if (mPreChannelsNotification && !getChannel().hasUserSetSound()) { in calculateAudioAttributes() 183 int importance = getChannel().getImportance(); in calculateInitialImportance() 211 || (getChannel().hasUserSetImportance()))) { in calculateInitialImportance() 329 public NotificationChannel getChannel() { in getChannel() method in NotificationEntry
|
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
H A 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()
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
H A D | FileMover.java | 36 FileChannel inputChannel = input.getChannel(); in moveFileBetweenContexts() 37 inputChannel.transferTo(0, inputChannel.size(), output.getChannel()); in moveFileBetweenContexts()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | SoftApStoreDataTest.java | 391 assertEquals(softApConfig.getChannel(), TEST_CHANNEL_2G); in deserializeSoftAp() 394 assertEquals(softApConfig.getChannel(), TEST_CHANNEL); in deserializeSoftAp() 517 assertEquals(softApConfig.getChannel(), softApConfigDeserialized.getChannel()); in serializeDeserializeSoftAp() 554 assertEquals(softApConfig.getChannel(), softApConfigDeserialized.getChannel()); in serializeDeserializeSoftApWpa3Sae() 591 assertEquals(softApConfig.getChannel(), softApConfigDeserialized.getChannel()); in serializeDeserializeSoftApWpa3SaeTransition() 710 assertEquals(softApConfig.getChannel(), TEST_CHANNEL_2G); in deserializeSoftApWithAllConfigInSExceptUserConfiguration()
|
/aosp12/packages/apps/TV/src/com/android/tv/recommendation/ |
H A 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()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationChannelExtractorTest.java | 74 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel() 102 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagEnabled_looksUpCorrectChannel() 129 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
|
H A D | NotificationListenerServiceTest.java | 111 assertEquals(getChannel(key, i), ranking.getChannel()); in testRanking() 181 tweak.getChannel(), in testRankingUpdate_equals() 262 getChannel(key, i), in generateUpdate() 309 private NotificationChannel getChannel(String key, int index) { in getChannel() method in NotificationListenerServiceTest 432 assertEquals(comment, a.getChannel(), b.getChannel()); in detailedAssertEquals()
|
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
H A 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()
|
/aosp12/packages/apps/TV/src/com/android/tv/menu/ |
H A D | ChannelCardView.java | 85 + item.getChannel().getDisplayName() in onBind() 96 if (!item.getChannel().equals(mChannel)) { in updateChannel() 97 mChannel = item.getChannel(); in updateChannel()
|
H A 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()
|
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
H A D | SoftApConfigurationTest.java | 86 assertThat(original.getChannel()).isEqualTo(0); in testBasicSettings() 120 assertThat(original.getChannel()).isEqualTo(0); in testWpa2() 163 assertThat(original.getChannel()).isEqualTo(149); in testWpa2WithAllFieldCustomized() 204 assertThat(original.getChannel()).isEqualTo(149); in testWpa3Sae() 231 assertThat(original.getChannel()).isEqualTo(149); in testWpa3SaeTransition() 419 assertThat(dual_channels_config.getChannel()).isEqualTo(2); in testDualChannels() 434 assertThat(dual_channels_config.getChannel()).isEqualTo(149); in testDualChannels()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
H A D | HighPriorityProvider.java | 117 return entry.getRanking().getChannel() != null in hasUserSetImportance() 118 && entry.getRanking().getChannel().hasUserSetImportance(); in hasUserSetImportance()
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A 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()
|
/aosp12/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/ |
H A D | ChannelDataManagerTest.java | 81 TunerChannel tunerChannel = mChannelDataManager.getChannel(2L); in getChannel_locked() 87 TunerChannel tunerChannel = mChannelDataManager.getChannel(1L); in getChannel_unlocked()
|
/aosp12/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
H A D | FakeBlobData.java | 169 in.getChannel().position(offsetBytes); in writeToFd() 199 in.getChannel().position(offsetBytes); in read() 230 in.getChannel().position(offsetBytes); in createSha256Digest()
|
/aosp12/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 62 ASSERT_NE(nullptr, mPublisher->getChannel()); in TEST_F() 63 ASSERT_NE(nullptr, mConsumer->getChannel()); in TEST_F() 64 EXPECT_EQ(mServerChannel.get(), mPublisher->getChannel().get()); in TEST_F() 65 EXPECT_EQ(mClientChannel.get(), mConsumer->getChannel().get()); in TEST_F() 66 ASSERT_EQ(mPublisher->getChannel()->getConnectionToken(), in TEST_F() 67 mConsumer->getChannel()->getConnectionToken()); in TEST_F()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppPreference.java | 117 public int getChannel(BluetoothDevice remoteDevice, int uuid) { in getChannel() method in BluetoothOppPreference 151 if (channel != getChannel(remoteDevice, uuid)) { in setChannel()
|