Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryFilter.java37 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()
DVisibilityExtractor.java54 record.setPackageVisibilityOverride(record.getChannel().getLockscreenVisibility()); in process()
60 boolean channelCanShowNotifications = record.getChannel().getLockscreenVisibility() in process()
73 boolean channelCanShowContents = record.getChannel().getLockscreenVisibility() in process()
DNotificationChannelExtractor.java75 record.getSbn().getUid(), record.getChannel().getId(), in process()
81 AudioAttributes attributes = record.getChannel().getAudioAttributes(); in process()
102 NotificationChannel clone = record.getChannel().copy(); in process()
DNotificationRecord.java255 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(getChannel().getId())) { in isPreChannelsNotification()
272 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
293 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
295 Light light = getChannel().shouldShowLights() ? new Light(channelLightColor, in calculateLights()
298 && (getChannel().getUserLockedFields() in calculateLights()
342 && (getChannel().getUserLockedFields() in calculateVibration()
351 return getVibrationForChannel(getChannel(), helper, insistent); in calculateVibration()
356 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAttributes()
362 && (getChannel().getUserLockedFields() in calculateAttributes()
382 int importance = getChannel().getImportance(); // Post-channels notifications use this in calculateInitialImportance()
[all …]
DBadgeExtractor.java53 if (record.getChannel() != null) { in process()
54 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
DNotificationRecordExtractorData.java86 || !Objects.equals(mChannel, r.getChannel()) in hasDiffForRankingLocked()
109 || !Objects.equals(mChannel, r.getChannel()) in hasDiffForLoggingLocked()
DPriorityExtractor.java46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
DNotificationAttentionHelper.java1183 String channelId = record.getChannel().getConversationId() != null in getChannelKey()
1184 ? record.getChannel().getConversationId() : record.getChannel().getId(); in getChannelKey()
1188 if (mApplyPerPackage && !record.getChannel().hasUserSetSound()) { in getChannelKey()
1242 record.getChannel().setLastNotificationUpdateTimeMs(timestampMillis); in setLastNotificationUpdateTimeMs()
1247 if (record.getChannel().hasUserSetSound() || !mApplyPerPackage) { in getLastNotificationUpdateTimeMs()
1248 return record.getChannel().getLastNotificationUpdateTimeMs(); in getLastNotificationUpdateTimeMs()
1480 if (record.getChannel().hasUserSetSound()) { in getChannelKey()
1509 if (record.getChannel().hasUserSetSound()) { in getLastNotificationUpdateTimeMs()
1543 if (record.isConversation() && record.getChannel().isImportantConversation()) { in isAvalancheExemptedFullVolume()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java110 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()
DVoicemailNotificationSettingsUtil.java55 final NotificationChannel channel = NotificationChannelController.getChannel( in isVibrationEnabled()
76 final NotificationChannel channel = NotificationChannelController.getChannel( in getRingtoneUri()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordExtractorDataTest.java48 r.getChannel(), in testHasDiffs_noDiffs()
76 r.getChannel(), in testHasDiffs_proposedImportanceChange()
110 r.getChannel(), in testHasDiffs_autoBundled()
145 r.getChannel(), in testHasDiffs_sensitiveContentChange()
DNotificationChannelExtractorTest.java109 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedConversationChannel()
130 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel()
150 assertEquals(updatedChannel, r.getChannel()); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel()
173 assertThat(r.getChannel()).isEqualTo(channel); in testAudioAttributes_callStyleCanUseCallUsage()
214 assertThat(r.getChannel()).isEqualTo(channel); in testAudioAttributes_alarmCategoryCanUseAlarmUsage()
DNotificationListenerServiceTest.java156 assertEquals(getChannel(key, i), ranking.getChannel()); in testRanking()
233 getChannel(key, i), in generateUpdate()
282 private NotificationChannel getChannel(String key, int index) { in getChannel() method in NotificationListenerServiceTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntry.java362 public NotificationChannel getChannel() { in getChannel() method in NotificationEntry
363 return mRanking.getChannel(); in getChannel()
829 if (getChannel() == null) { in updateIsBlockable()
833 if (getChannel().isImportanceLockedByCriticalDeviceFunction() in updateIsBlockable()
834 && !getChannel().isBlockable()) { in updateIsBlockable()
1039 return getRanking().getChannel() != null in isChannelVisibilityPrivate()
1040 && getRanking().getChannel().getLockscreenVisibility() in isChannelVisibilityPrivate()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java170 in.getChannel().position(offsetBytes); in writeToFd()
200 in.getChannel().position(offsetBytes); in read()
231 in.getChannel().position(offsetBytes); in createSha256Digest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/
DHighPriorityProvider.java166 return entry.getRanking().getChannel() != null in hasUserSetImportance()
167 && entry.getRanking().getChannel().hasUserSetImportance(); in hasUserSetImportance()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp31 return inputPublisher.getChannel().getConnectionToken(); in getToken()
DConnection.h65 return inputPublisher.getChannel().getName(); in getInputChannelName()
/frameworks/base/core/java/android/util/apk/
DZipUtils.java67 long fileSize = zip.getChannel().size(); in findZipEndOfCentralDirectoryRecord()
115 long fileSize = zip.getChannel().size(); in findZipEndOfCentralDirectoryRecord()
DVerityBuilder.java93 long dataSize = apk.getChannel().size() - signingBlockSize; in generateVerityTreeInternal()
111 generateApkVerityHeader(footerOutput, apk.getChannel().size(), DEFAULT_SALT); in generateApkVerityFooter()
323 apk.getChannel().size() - offsetAfterEocdCdOffsetField), in generateApkVerityDigestAtLeafLevel()
327 int lastIncompleteChunkSize = (int) (apk.getChannel().size() % CHUNK_SIZE_BYTES); in generateApkVerityDigestAtLeafLevel()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java280 public FileChannel getChannel() { in getChannel() method in AssetFileDescriptor.AutoCloseInputStream
281 return mDelegateInputStream.getChannel(); in getChannel()
478 public FileChannel getChannel() { in getChannel() method in AssetFileDescriptor.SeekableAutoCloseInputStream
480 mOffsetCorrectFileChannel = new OffsetCorrectFileChannel(super.getChannel()); in getChannel()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DNotificationRankingUpdateTest.java110 getChannel(key, i), in generateUpdate()
179 public static NotificationChannel getChannel(String key, int index) { in getChannel() method in NotificationRankingUpdateTest
379 Assert.assertEquals(comment, a.getChannel().toString(), b.getChannel().toString()); in detailedAssertEquals()
536 tweak.getChannel(), in testRankingUpdate_equals_legacy()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp76 return mInputPublisher.getChannel().getName(); in getInputChannelName()
105 const int receiveFd = mInputPublisher.getChannel().getFd(); in initialize()
115 mMessageQueue->getLooper()->removeFd(mInputPublisher.getChannel().getFd()); in dispose()
/frameworks/base/telephony/java/android/telephony/
DIccOpenLogicalChannelResponse.java78 public int getChannel() { in getChannel() method in IccOpenLogicalChannelResponse
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DSystemFonts_Delegate.java79 final FileChannel fileChannel = file.getChannel(); in mmap()

1234