Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java220 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(getChannel().getId())) { in isPreChannelsNotification()
237 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
258 int channelLightColor = getChannel().getLightColor() != 0 ? getChannel().getLightColor() in calculateLights()
260 Light light = getChannel().shouldShowLights() ? new Light(channelLightColor, in calculateLights()
263 && (getChannel().getUserLockedFields() in calculateLights()
287 if (getChannel().shouldVibrate()) { in calculateVibration()
288 vibration = getChannel().getVibrationPattern() == null in calculateVibration()
289 ? defaultVibration : getChannel().getVibrationPattern(); in calculateVibration()
294 && (getChannel().getUserLockedFields() in calculateVibration()
310 AudioAttributes attributes = getChannel().getAudioAttributes(); in calculateAttributes()
[all …]
DBubbleExtractor.java49 if (record.getChannel() != null) { in process()
50 record.setAllowBubble(record.getChannel().canBubble() && appCanShowBubble); in process()
DBadgeExtractor.java52 if (record.getChannel() != null) { in process()
53 record.setShowBadge(record.getChannel().canShowBadge() && appCanShowBadge); in process()
DVisibilityExtractor.java46 record.setPackageVisibilityOverride(record.getChannel().getLockscreenVisibility()); in process()
DNotificationChannelExtractor.java46 record.sbn.getUid(), record.getChannel().getId(), false)); in process()
DPriorityExtractor.java46 record.setPackagePriority(record.getChannel().canBypassDnd() in process()
/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/
DNotificationListenerServiceTest.java109 assertEquals(getChannel(key, i), ranking.getChannel()); in testRanking()
176 tweak.getChannel(), in testRankingUpdate_equals()
253 getChannel(key, i), in generateUpdate()
296 private NotificationChannel getChannel(String key, int index) { in getChannel() method in NotificationListenerServiceTest
396 assertEquals(comment, a.getChannel(), b.getChannel()); in detailedAssertEquals()
DPreferencesHelperTest.java237 private NotificationChannel getChannel() { in getChannel() method in PreferencesHelperTest
408 mHelper.createNotificationChannel(PKG_O, UID_O, getChannel(), true, false); in testChannelXmlForBackup()
947 final NotificationChannel channel = getChannel(); in testClearLockedFields()
959 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, getChannel(), true, false); in testLockFields_soundAndVibration()
961 final NotificationChannel update1 = getChannel(); in testLockFields_soundAndVibration()
971 NotificationChannel update2 = getChannel(); in testLockFields_soundAndVibration()
983 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, getChannel(), true, false); in testLockFields_vibrationAndLights()
985 final NotificationChannel update1 = getChannel(); in testLockFields_vibrationAndLights()
992 final NotificationChannel update2 = getChannel(); in testLockFields_vibrationAndLights()
1003 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, getChannel(), true, false); in testLockFields_lightsAndImportance()
[all …]
DNotificationChannelExtractorTest.java72 assertEquals(updatedChannel, r.getChannel()); in testExtractsUpdatedChannel()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanEnergyScanResult.java33 public int getChannel() { in getChannel() method in LowpanEnergyScanResult
DLowpanIdentity.java69 setChannel(x.getChannel()); in setLowpanIdentity()
171 public int getChannel() { in getChannel() method in LowpanIdentity
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp72 return mInputPublisher.getChannel()->getName(); in getInputChannelName()
97 int receiveFd = mInputPublisher.getChannel()->getFd(); in initialize()
107 mMessageQueue->getLooper()->removeFd(mInputPublisher.getChannel()->getFd()); in dispose()
Dandroid_view_InputEventReceiver.cpp83 return mInputConsumer.getChannel()->getName(); in getInputChannelName()
149 int fd = mInputConsumer.getChannel()->getFd(); in setFdEvents()
/frameworks/base/telephony/java/android/telephony/
DIccOpenLogicalChannelResponse.java78 public int getChannel() { in getChannel() method in IccOpenLogicalChannelResponse
/frameworks/base/core/java/android/bluetooth/
DBluetoothMasInstance.java95 public int getChannel() { in getChannel() method in BluetoothMasInstance
DBluetoothServerSocket.java207 public int getChannel() { in getChannel() method in BluetoothServerSocket
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java253 mTmpRanking.getChannel(), statusBarNotification)) { in isHighPriority()
346 public NotificationChannel getChannel(String key) { in getChannel() method in NotificationData
349 return mTmpRanking.getChannel(); in getChannel()
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java112 final FileChannel fc = fis.getChannel(); in Builder()
139 final FileChannel fc = fis.getChannel(); in Builder()
/frameworks/native/include/input/
DInputTransport.h232 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel() function
315 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel() function
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java105 mMappedByteBuffer = file.getChannel().map(MapMode.READ_ONLY, 0, mSize); in MemoryMappedFile_Delegate()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp66 EXPECT_EQ(serverChannel.get(), mPublisher->getChannel().get()); in TEST_F()
67 EXPECT_EQ(clientChannel.get(), mConsumer->getChannel().get()); in TEST_F()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java296 assertEquals(channel, infoc.getValue().getChannel()); in testTuneAndGetPI()
303 assertEquals(channel, info[0].getChannel()); in testTuneAndGetPI()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java277 durationUs = (((eleStream.getChannel().size() + frameSize - 1) / frameSize) / in testEncoder()
283 (eleStream.getChannel().size() / (mSampleRate * mNumChannel)) * 1000000; in testEncoder()

123