aosp-part-connectivity

Documents Android connectivity subsystems from apps to hardware across radios, stacks, and IPC.

122|30|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/aospbooks/aosp-internal-book --skill aosp-part-connectivity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aosp-part-connectivity
Source: https://github.com/aospbooks/aosp-internal-book/tree/main/agents/claude/skills/aosp-part-connectivity
Command: npx skills add https://github.com/aospbooks/aosp-internal-book --skill aosp-part-connectivity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Android's connectivity landscape is a sprawling set of subsystems that move data from apps through framework services, native layers, and hardware radios. This Skill helps engineers reason about data flow, interfaces, and module boundaries across networking, telephony, Bluetooth, NFC, and USB/ADB.

Core Features & Use Cases

  • Maps the end-to-end data path from apps to the radios and back, covering ConnectivityService, Wi-Fi stack, netd, DnsResolver, VPN, and tethering.
  • Describes the major subsystems in chapters 35–39 (Networking, Telephony, Bluetooth, NFC, USB/ADB) and how they interoperate.
  • Use cases include designing robust network policies, debugging cross-subsystem interactions, and evaluating mainline module boundaries.

Quick Start

Provide a simple, end-to-end connectivity flow example from app to internet across chapters 35–39.

Frequently Asked Questions about aosp-part-connectivity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does Android's connectivity subsystem move data from apps to hardware radios?

Data flows from apps through framework services like ConnectivityService, into native layers such as netd and DnsResolver, and down to hardware radios. This Skill maps these end-to-end paths across networking, telephony, Bluetooth, NFC, and USB/ADB subsystems.

What is the role of ConnectivityService and netd in Android networking?

ConnectivityService and netd are core Android networking components. ConnectivityService manages network policies and connections at the framework level, while netd handles the native execution of network rules, firewall, and tethering operations.

How do I debug cross-subsystem interactions between Bluetooth and Wi-Fi on Android?

To debug cross-subsystem interactions, trace the data flow and IPC boundaries across stacks. This Skill documents the interfaces between Wi-Fi, Bluetooth Mainline modules, and ConnectivityService to help evaluate module boundaries and resolve interaction issues.

Does Android telephony use the RIL to communicate with radio hardware?

Yes, Android telephony uses the Radio Interface Layer (RIL) to bridge TelephonyManager framework calls to the underlying radio hardware. This Skill details the telephony stack architecture from TelephonyManager down through the RIL.

What are the mainline module boundaries for Bluetooth and NFC in Android?

Mainline module boundaries isolate Bluetooth and NFC stacks from the core Android system to allow independent updates. The Skill identifies these boundaries, covering Bluetooth Mainline modules, NfcNci, and their specific framework interfaces.

How does the Android USB gadget framework handle ADB connections?

The Android USB gadget framework handles ADB connections by exposing IUsb and IUsbGadget interfaces to route data through the USB hardware. The Skill documents this path from the adb daemon to the physical USB connection.