Android Compare with another version →
10 results in AOSP 17 android-17.0.0_r1 · 474 ms
  1. Lines 1–176 · java · android-17.0.0_r1
    package com.android.server.telecom.ui;
    
    import android.app.NotificationChannel;
    import android.app.NotificationManager;
    import android.content.BroadcastReceiver;
    import android.content.Context;
    import
  2. Lines 1–283 · java · android-17.0.0_r1
    package com.android.internal.notification;
    
    import static android.app.admin.DevicePolicyResources.Strings.Core.NOTIFICATION_CHANNEL_DEVICE_ADMIN;
    import static android.app.supervision.flags.Flags.enab
  3. Lines 2184–2194 · java · android-17.0.0_r1
    private void createAllChannels() {
            NotificationChannel notificationChannel = new NotificationChannel(
                    STK_NOTIFICATION_CHANNEL_ID,
                    getResources().getString(R.st
  4. Lines 334–357 · java · android-17.0.0_r1
    private static void createNotificationChannels(Context context) {
            NotificationChannel tracingChannel = new NotificationChannel(
                NOTIFICATION_CHANNEL_TRACING,
                context.ge
  5. Lines 303–328 · kotlin · android-17.0.0_r1
    private fun createNotificationChannel() {
            val manager = getSystemService(NotificationManager::class.java)
            val channel =
                NotificationChannel(
                    CHANNEL_ID,
       
  6. Lines 73–85 · java · android-17.0.0_r1
    @Override
        public void onCreate(Bundle icicle) {
            super.onCreate(icicle);
            mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE);
            mActivityCreateTime = System.currentTimeMi
  7. Lines 100–122 · java · android-17.0.0_r1
    public DownloadNotifier(Context context) {
            mContext = context;
            mNotifManager = context.getSystemService(NotificationManager.class);
    
            // Ensure that all our channels are ready t
  8. Lines 115–128 · java · android-17.0.0_r1
    private void createNotificationChannel() {
            // Create notification channel for firmware update notification
            CharSequence dfuName = mContext.getString(R.string.settings_notif_update_chan
  9. Lines 1408–1420 · java · android-17.0.0_r1
    @UserHandleAware(specialUsersAllowed = SpecialUser.DISALLOW_EVERY)
        public List<NotificationChannel> getNotificationChannels() {
            List<NotificationChannel> channelList = mNotificationChannel
  10. Lines 1554–1563 · java · android-17.0.0_r1
    @Override
                    public List<NotificationChannel> apply(NotificationChannelQuery query) {
                        INotificationManager service = service();
                        try {
                 

Get these results inside Claude Code, Cursor, or Cline. MCP setup →