diff options
author | Mengjun Leng <quic_mengju@quicinc.com> | 2021-05-13 09:26:47 +0800 |
---|---|---|
committer | Sarah Chin <sarahchin@google.com> | 2021-05-18 11:13:56 -0700 |
commit | bbcef295dfc4041f5247bb3ea561b823f13f7bbb (patch) | |
tree | b8ea50bfe0dd0597e75ee4e526f362f07eb3dd24 /telephony/java/com/android/internal | |
parent | debdf699e1897e06e47209fc444f0e4ad9cf422a (diff) |
Optimize SIM phonebook feature with new APIs
1. Declare the constant events for loading and updating SIM contacts.
2. Introduce radio HAL capability to control the SIM phonebook feature.
Bug: 23044962
Change-Id: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
Diffstat (limited to 'telephony/java/com/android/internal')
-rw-r--r-- | telephony/java/com/android/internal/telephony/RILConstants.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/RILConstants.java b/telephony/java/com/android/internal/telephony/RILConstants.java index 1d1eddfef77c..fe8e6715fe35 100644 --- a/telephony/java/com/android/internal/telephony/RILConstants.java +++ b/telephony/java/com/android/internal/telephony/RILConstants.java @@ -497,6 +497,9 @@ public interface RILConstants { int RIL_REQUEST_ENABLE_MODEM = 146; int RIL_REQUEST_GET_MODEM_STATUS = 147; int RIL_REQUEST_CDMA_SEND_SMS_EXPECT_MORE = 148; + int RIL_REQUEST_GET_SIM_PHONEBOOK_CAPACITY = 149; + int RIL_REQUEST_GET_SIM_PHONEBOOK_RECORDS = 150; + int RIL_REQUEST_UPDATE_SIM_PHONEBOOK_RECORD = 151; /* The following requests are not defined in RIL.h */ int RIL_REQUEST_HAL_NON_RIL_BASE = 200; @@ -583,6 +586,8 @@ public interface RILConstants { int RIL_UNSOL_NETWORK_SCAN_RESULT = 1049; int RIL_UNSOL_KEEPALIVE_STATUS = 1050; int RIL_UNSOL_UNTHROTTLE_APN = 1052; + int RIL_UNSOL_RESPONSE_SIM_PHONEBOOK_CHANGED = 1053; + int RIL_UNSOL_RESPONSE_SIM_PHONEBOOK_RECORDS_RECEIVED = 1054; /* The following unsols are not defined in RIL.h */ int RIL_UNSOL_HAL_NON_RIL_BASE = 1100; |