Home
last modified time | relevance | path

Searched refs:CHANNEL_ID (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccPortTest.java52 private static final int CHANNEL_ID = 1; field in UiccPortTest
115 assertThat(mUiccPort.getOpenLogicalChannelRecord(CHANNEL_ID)).isNull(); in testGetOpenLogicalChannelRecord_noChannelOpened_shouldReturnNull()
126 CHANNEL_ID); in testOnLogicalChannelOpened_withChannelOpen_recordShouldMatch()
136 mUiccPort.onLogicalChannelClosed(CHANNEL_ID); in testOnOpenLogicalChannelClosed_withChannelOpenThenClose_noRecordLeft()
139 CHANNEL_ID); in testOnOpenLogicalChannelClosed_withChannelOpenThenClose_noRecordLeft()
150 CHANNEL_ID); in testClientDied_withChannelOpened_shouldGetCleanup()
153 record = mUiccPort.getOpenLogicalChannelRecord(CHANNEL_ID); in testClientDied_withChannelOpened_shouldGetCleanup()
155 verify(mUiccProfile).iccCloseLogicalChannel(eq(CHANNEL_ID), eq(false), eq(null)); in testClientDied_withChannelOpened_shouldGetCleanup()
167 CHANNEL_ID); in testOnOpenLogicalChannel_withPortDisposed_noRecordLeft()
174 request.channel = CHANNEL_ID; in getIccLogicalChannelRequest()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java65 private static final String CHANNEL_ID = "channel"; field in StatusBarNotificationTest
90 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, CHANNEL_ID).getLogMaker(); in testLogMaker()
91 assertEquals(CHANNEL_ID, in testLogMaker()
110 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData()
119 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithCategory()
144 final LogMaker logMaker = getNotification(PKG, null, CHANNEL_ID).getLogMaker(); in testLogMakerNoGroup()
152 final LogMaker logMaker = getNotification(PKG, GROUP_ID_LONG, CHANNEL_ID) in testLogMakerLongGroup()
163 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup()
178 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithPerson()
187 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithStyle()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerTest.java59 private static final String CHANNEL_ID = "NotificationRecordLoggerTestChannelId"; field in NotificationRecordLoggerTest
64 CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in getNotification()
118 SmallHash.hash(CHANNEL_ID.hashCode()), in testGetChannelIdHash()
121 SmallHash.hash(CHANNEL_ID.hashCode()), in testGetChannelIdHash()
122 CHANNEL_ID.hashCode()); in testGetChannelIdHash()
DBubbleExtractorTest.java67 private static final String CHANNEL_ID = "bubbleExtractorChannelId"; field in BubbleExtractorTest
103 mChannel = new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in setUp()
104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DNotificationActivity.java35 private static final String CHANNEL_ID = "notification_channel"; field in NotificationActivity
67 Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID) in postNotification()
84 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); in createNotificationChannel()
DBubbleHelper.java38 static final String CHANNEL_ID = "bubbles"; field in BubbleHelper
76 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, in BubbleHelper()
122 return new Notification.Builder(mContext, CHANNEL_ID) in getNotificationBuilder()
123 .setChannelId(CHANNEL_ID) in getNotificationBuilder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewBinderTest.kt46 notificationBuilder = Notification.Builder(mContext, CHANNEL_ID) in setUp()
87 const val CHANNEL_ID = "CHANNEL_ID" constant
DSingleLineConversationViewBinderTest.kt47 notificationBuilder = Notification.Builder(context, CHANNEL_ID) in setUp()
110 const val CHANNEL_ID = "CHANNEL_ID" constant
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java63 private static final String CHANNEL_ID = "TEST_CHANNEL"; field in NotificationTest
140 new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, IMPORTANCE_HIGH); in postMessagingNotification()
156 Notification notification = new Notification.Builder(mContext, CHANNEL_ID) in postMessagingNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recordissue/
DIssueRecordingService.kt69 override fun getChannelId(): String = CHANNEL_ID in getTag()
125 private const val CHANNEL_ID = "issue_record" constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationService.java62 private static final String CHANNEL_ID = "BiometricHiPriNotificationChannel"; field in BiometricNotificationService
172 mNotificationChannel = new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, in start()
238 final Notification notification = new Notification.Builder(mContext, CHANNEL_ID) in showNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFlagDependenciesBase.kt154 val channel = NotificationChannel(CHANNEL_ID, CHANNEL_NAME, IMPORTANCE_DEFAULT) in warnAboutBadFlagConfiguration()
172 private const val CHANNEL_ID = "FLAGS" in warnAboutBadFlagConfiguration() constant
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateNotificationController.java54 @VisibleForTesting static final String CHANNEL_ID = "DeviceStateManager"; field in DeviceStateNotificationController
204 CHANNEL_ID, name, NotificationManager.IMPORTANCE_HIGH); in showNotification()
205 final Notification.Builder builder = new Notification.Builder(mContext, CHANNEL_ID) in showNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java116 case (int) Notification.CHANNEL_ID: in readNotification()
117 String channelId = parser.readString(Notification.CHANNEL_ID); in readNotification()
283 proto.write(Notification.CHANNEL_ID, notification.getChannelId()); in writeNotification()
DNotificationShellCmd.java113 public static final String CHANNEL_ID = "shell_cmd"; field in NotificationShellCmd
443 new NotificationChannel(CHANNEL_ID, CHANNEL_NAME, CHANNEL_IMP); in ensureChannel()
448 UserHandle.getUserId(callingUid), callingPackage, CHANNEL_ID)); in ensureChannel()
481 final Notification.Builder builder = new Notification.Builder(context, CHANNEL_ID); in doNotify()
DNotificationRecord.java472 proto.write(NotificationRecordProto.CHANNEL_ID, getChannel().getId()); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java65 private static final String CHANNEL_ID = "screen_record"; field in RecordingService
480 return CHANNEL_ID; in getChannelId()
/frameworks/base/core/java/android/app/
DNotification.java3778 proto.write(NotificationProto.CHANNEL_ID, getChannelId()); in dumpDebug()
/frameworks/base/core/api/
Dcurrent.txt6442 field public static final String EXTRA_CHANNEL_ID = "android.intent.extra.CHANNEL_ID";
27193 field public static final String EXTRA_CHANNEL_ID = "android.media.tv.extra.CHANNEL_ID";
37384 field public static final String EXTRA_CHANNEL_ID = "android.provider.extra.CHANNEL_ID";
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8131 Landroid/app/NotificationProto;->CHANNEL_ID:J
49134 Landroid/service/notification/NotificationRecordProto;->CHANNEL_ID:J