Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
proto/ | 03-May-2024 | - | 3,219 | 2,162 | ||
src/java/ | 03-May-2024 | - | 184,791 | 124,842 | ||
telephony-resources/ | 03-May-2024 | - | 26 | 5 | ||
testing/ | 03-May-2024 | - | 269 | 147 | ||
tests/telephonytests/ | 03-May-2024 | - | 98,547 | 74,233 | ||
tools/ | 03-May-2024 | - | 49 | 33 | ||
Android.bp | D | 03-May-2024 | 4 KiB | 133 | 119 | |
AndroidManifest_Resources.xml | D | 03-May-2024 | 287 | 8 | 7 | |
CleanSpec.mk | D | 03-May-2024 | 3.2 KiB | 58 | 13 | |
OWNERS | D | 03-May-2024 | 300 | 17 | 15 | |
PREUPLOAD.cfg | D | 03-May-2024 | 107 | 3 | 2 | |
README.txt | D | 03-May-2024 | 1.5 KiB | 38 | 27 | |
TEST_MAPPING | D | 03-May-2024 | 244 | 16 | 15 | |
jarjar-rules-shared.txt | D | 03-May-2024 | 1.9 KiB | 26 | 24 |
README.txt
1-- README for frameworks/opt/telephony -- 2 3This directory contains telephony libraries which function as the 4implementation code for APIs in TelephonyManager, SubscriptionManager, 5SmsManager and others. 6 7These libraries run in the com.android.phone process and exist to support 8telephony services created by the user’s apps (generally carrier apps), or by 9the system. This includes making phone calls, sending SMS/MMS, and connecting 10to data. Many APIs are plumbed down to the radio through HIDL calls defined in 11hardware/interfaces/radio/ hardware/interfaces/radio/config and return values 12that are sent back up as responses. 13 14We define several AIDL interfaces in frameworks/base/telephony/ which we 15implement in this directory and packages/services/Telephony. This IPC scheme 16allows us to run public API code in the calling process, while the 17telephony-related code runs in the privileged com.android.phone process. Such 18implementations include PhoneInterfaceManager, SubscriptionController and 19others. 20 21The declaration of the com.android.phone process is in 22packages/services/telephony and the top-level application class is PhoneApp, 23which initializes everything else. 24 25-- Testing -- 26 27Unit tests are found in frameworks/opt/telephony/tests and can be 28run on a device connected through ADB with the command: 29 30 atest FrameworksTelephonyTests 31 32Tests can also be run individually or by class: 33 34 atest <testClassName 35 atest <testClassName>#<testMethodName> 36 37For more on atest run `atest --help` 38