No description
Find a file
Hakjun Choi 39594ae1f9 Add flag FLAG_ACTIVITY_CLEAR_TOP to reopen existing Activity
In case ESOS questionnaire is invoked several times without exit, only a single instance of questionnaire is shown at one time.

Bug: 349145955
Flag: EXEMPT bugfix
Test: manual e2e test using shieldbox for both T911 and ESOS
Test: 352761121
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:87ca3eb44c85dd371398feb9bdc0790729ab3f91)
Merged-In: I4662939fa98b66fec77ff257ff33128580e1959e
Change-Id: I4662939fa98b66fec77ff257ff33128580e1959e
2024-07-20 07:05:12 +00:00
flags Persist Telephony Satellite SOS logs 2024-06-08 00:33:34 +00:00
proto Merge "Add satellite access controller atom into metrics" into main 2024-06-07 21:06:04 +00:00
src/java Add flag FLAG_ACTIVITY_CLEAR_TOP to reopen existing Activity 2024-07-20 07:05:12 +00:00
telephony-resources Move Telephony internal resource 2020-01-12 23:05:17 -08:00
testing Clean up obsolete aliases for Truth. 2023-10-07 00:48:14 +00:00
tests/telephonytests Check mEmergencyConnection before starting e911 timer. 2024-07-11 04:25:01 +00:00
Android.bp Import config update static lib 2024-01-18 11:12:49 -06:00
AndroidManifest_Resources.xml Move Telephony internal resource 2020-01-12 23:05:17 -08:00
CleanSpec.mk Move SmsNumberUtils from opt/telephony to base/telephony/common. 2019-10-03 15:23:33 -07:00
jarjar-rules-shared.txt Fixed java.lang.NoClassDefFoundError 2022-02-10 12:17:17 -08:00
OWNERS Add DomainSelection owners for Telephony APIs 2024-01-23 08:52:23 +00:00
PREUPLOAD.cfg Point to the new checkstyle location for PREUPLOAD hook. 2016-12-15 13:44:23 -08:00
proguard.flags Retain protected members in proguard rule. 2022-01-27 11:27:08 -08:00
README.txt Remove legacy subscription code 2023-04-17 14:16:45 -07:00
TEST_MAPPING Keep CarrierAppIntegrationTestCases in internal cf. 2023-09-27 22:34:42 +00:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- README for frameworks/opt/telephony --

This directory contains telephony libraries which function as the
implementation code for APIs in TelephonyManager, SubscriptionManager,
SmsManager and others.

These libraries run in the com.android.phone process and exist to support
telephony services created by the users apps (generally carrier apps), or by
the system. This includes making phone calls, sending SMS/MMS, and connecting
to data. Many APIs are plumbed down to the radio through HIDL calls defined in
hardware/interfaces/radio/ hardware/interfaces/radio/config and return values
that are sent back up as responses.

We define several AIDL interfaces in frameworks/base/telephony/ which we
implement in this directory and packages/services/Telephony. This IPC scheme
allows us to run public API code in the calling process, while the
telephony-related code runs in the privileged com.android.phone process. Such
implementations include PhoneInterfaceManager, SubscriptionManagerService and
others.

The declaration of the com.android.phone process is in
packages/services/telephony and the top-level application class is PhoneApp,
which initializes everything else.

-- Testing --

Unit tests are found in frameworks/opt/telephony/tests and can be
run on a device connected through ADB with the command:

	atest FrameworksTelephonyTests

Tests can also be run individually or by class:

	atest <testClassName
	atest <testClassName>#<testMethodName>

For more on atest run `atest --help`