onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.
Fixes: 124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee
This change unhides the RcsMessageStore APIs
Test: Existing tests pass. Repo upload didn't complain about anything
API related
Bug:109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc
These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.
Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d
* Add server_port field to track the server port number of a socket
* Add socket_role field to track whether the socket is a server listener
or a connection socket
* Add uid field to track the owner of the socket
Bug: 112969790
Test: make, test drive with statsd
Change-Id: I0c86b724c748844009b8120befd454fb96137a61
When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.
Bug: 120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Merged-In: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
This is needed if internal component wants to listen to
precise call state change.
Bug: 117980553
Test: unittest
Change-Id: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Merged-In: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Add API to check if one SIM card or a combination of SIM cards for
multisim devices is allowed on the terminal, based on the existing
carrier restriction rules.
Bug: 123939943
Test: added test cases for the new API
Change-Id: Ieaa3c25da75e04e2acb3b169e10638d967732f99
The specified format is mostly a guess based on the current phone
type/voice RAT. It may not always be correct and so we should always
fallback to the other format.
Test: basic sanity
Bug: 20015718
Change-Id: Ia1177d19035ff485ca27175ba2375e0f6fe2a966
This change makes necessary changes to unhide the APIs in a future
commit. All the classes that end with Parameters needed to be converted
to Params, which resulted in a rather large change. I also had to reintroduce
RcsOutgoingMessageCreationParameters as it was required to make
Parcelables final, which means I had to make this new class parcelable
and RcsMessageCreationParameters non-parcelable and non-final
Test: Existing tests pass
Bug:109759350
Change-Id: I2fe9382d28a9abf02ad22ec7ccdeaedc55ae4337
Make HiddenApiUsageLogger a singleton initialised in Zygote pre-fork and
rely on copy-on-write to prevent heap size increases
Test: atest google/perf/memory/memory-test
Bug: 123705750
Change-Id: I384d3bdefa6525fcce494783c548e85979bce4d5
Merged-In: Idc5ad13d4e158659009290f410ce721013345308
Passed down to the zygote if the corresponding system property is set:
runtime_native / use_app_image_startup_cache.
Bug: 123524494
Bug: 116059983
Test: adb shell device_config put runtime_native use_app_image_startup_cache true
(cherry picked from commit ced7e08129)
Merged-In: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Change-Id: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
* Logs when a Bluetooth socket's connection state is changed
* A Bluetooth socket can be:
- RFCOMM socket
- SCO socket
- BR/EDR L2CAP socket
- BLE L2CAP socket
Bug: 112969790
Test: make, test drive with statsd
Change-Id: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
Merged-In: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
(cherry picked from commit 815cdbaae0)