Commit Graph

8146 Commits

Author SHA1 Message Date
Jayachandran C
041e769c09 Make the following telephony intents as system API
ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE
ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED

Bug: 146680426
Test: Build
Change-Id: I8ba6d564347777204e2563f87a81f6b0b905d43f
2020-01-03 16:43:23 -08:00
Betty Chang
87b757beac Merge "[Mainline] Make @SystemApi and add permission for mainline" 2020-01-02 06:32:54 +00:00
Xiangyu/Malcolm Chen
70fa436b2a Merge "[Mainline] Make canManageSubscription(SubscriptionInfo, String) System API." 2019-12-30 23:37:14 +00:00
Daniel Bright
fe00ebe1a1 Merge "Repointed subscription ids to subscription info" 2019-12-30 22:26:50 +00:00
Malcolm Chen
35b249226b [Mainline] Make canManageSubscription(SubscriptionInfo, String)
System API.

Bug: 146900942
Test: Build flash and bootup
Change-Id: I824582f9203b950d1153091181de345629adfe65
2019-12-30 11:27:53 -08:00
SongFerng Wang
70c19b4023 Merge "[Telephony Mainline] Add new api for Mvno matching" 2019-12-30 09:28:31 +00:00
Daniel Bright
e7c249e01b Merge "Moved RilRadioTechnology annotation" 2019-12-29 00:07:01 +00:00
Daniel Bright
4d6aca7685 Repointed subscription ids to subscription info
TelephonyManager.getActiveSubscriptionIds is a hidden API, changed to info.
Exposed subscriber id in TelephonyManager as getSubscriberId().
Made revisions to NetworkPolicyManagerServiceTest to account for changes.

Bug: 146174645
Test: FrameworkServiceTests
Change-Id: I591f750bbcbdf2c4b97caff76fd31cec28a56e73
2019-12-27 20:35:00 -08:00
changbetty
af15476935 [Telephony Mainline] Add new api for Mvno matching
Bug: 144977430
Test: make
Change-Id: I550e93ab8662c81068a6d52fef2e3c299607c18f
2019-12-27 14:01:25 +08:00
TreeHugger Robot
0798334c2e Merge "wifi: Add SoftAp Max Client control support" 2019-12-26 23:23:38 +00:00
Xiangyu/Malcolm Chen
d413128092 Merge "Expose setUiccApplicationsEnabled as @SystemApi for eSIM to call upon slot mapping change." 2019-12-26 21:20:14 +00:00
lesl
e14a0909ef wifi: Add SoftAp Max Client control support
1. SoftAp Max Client parameter in SoftApConfiguration
2. Add new field in CarrierConfigManager to get carrier max client
setting.
3. Add new Callback: onCapabilityChanged to notify Settings to know
current supported maximum client number from carrier req and chip limit.

Bug: 142752869
Test: atest frameworks/base/wifi/tests/
Change-Id: I03366e22055233b9f77e0c1808e54a473569c9c7
2019-12-27 04:15:56 +08:00
Shuo Qian
4a0eafa3d1 Merge "Improve LTE signal bar level with flexible RSRQ and RSSNR threshold" 2019-12-26 20:01:55 +00:00
Malcolm Chen
b44763419b Expose setUiccApplicationsEnabled as @SystemApi for eSIM to call upon slot
mapping change.

Because currently we rely on eSIM module to do handle some slot mapping
change and single to dual SIM config change, eSIM needs to also make
sure uicc applications are enabled for certain scenarios. So we expose
the SubscriptionManager#setUiccApplicationsEnabled as @SystemApi

Bug: 141018421
Test: unittest
Change-Id: I9844e71260ea009afd0928a0f4be4426e7d12358
2019-12-26 11:42:52 -08:00
Tomita, Ryounosuke X
be117207cf Improve LTE signal bar level with flexible RSRQ and RSSNR threshold
Current AOSP LTE signal bar has following limitation:
- For Threshold type, "RSRP & RSSNR" or "RSRP only" are selectable,
  but "RSRP & RSRQ" is unavailable.
- For threshold value, RSRP is flexible by carrier config,
  but RSSNR is hard-coded.
- The signal strength reporting criteria apply to only the RSRP.

This change allows following customizations by new carrier config:
- Threshold type can select "RSRP & RSRQ" too.
- Threshold value of RSRQ and RSSNR can be flexible.
- RSRQ and RSSNR thresholds can set signal strength reporting criteria.

Test: auto - Confirmed that run
FrameworksTelephonyTests#testSignalStrength and it has no problem.
Test: auto - Confirmed that run
FrameworksTelephonyTests#SignalThresholdInfoTest and it has no problem.
Bug: 133400544

Change-Id: I37d0dc5ff41169b0309cfaabaa0f2595894b3749
2019-12-26 10:05:10 -08:00
Shuo Qian
9cb64903d4 Merge "Make PreciseDataConnectionState constructor System API" 2019-12-26 17:21:52 +00:00
Shuo Qian
ac4c8da309 Make PreciseDataConnectionState constructor System API
TelephonyRegistry is using the deprecated constructor of
 PreciseDataConnectionState; it should use the other constructor of
PreciseDataConnectionState, which is not deprecated; Also need to make
that constructor System API for Mainline.

Test: make update-api (no functional change in this CL).
Test: atest FrameworksTelephonyTests

Bug: 146793835
Change-Id: I83f98aa8b818f654d497867cd16e8afa987114fc
2019-12-26 17:21:30 +00:00
Betty Chang
c9b6967e7e Merge "[Telephony Mainline] Add new SystemApi method and SystemApi annotation for mainline" 2019-12-24 12:05:02 +00:00
changbetty
23eee52e98 [Mainline] Make @SystemApi and add permission for mainline
Bug: 146309719
Test: make
Change-Id: Id1b2ef8ddd756429c1b29db637ba98c617391e77
2019-12-23 15:07:32 +08:00
Zoey Chen
cb874f07bd Merge "[TelephonyMainline] Make getMergedSubscriberIdsFromGroup as System API and rename it" 2019-12-23 05:59:20 +00:00
Daniel Bright
d75d5344f4 Moved RilRadioTechnology annotation
Moved annotation from Annotation to ServiceState

Bug: 146084549
Test: FrameworkTests, TeleServiceTests
Change-Id: I2411052465204d87cb5982102df0fd1af012a97c
2019-12-22 18:01:05 -08:00
Automerger Merge Worker
98ecb53567 Merge "add languageTable and languageShiftTable to calculateLength" am: e5f36d48ef am: b73b9c9f76 am: 5b290dd857
Change-Id: I131815def4c4fdd3c1c07ea06f6fe2bc643b89d4
2019-12-21 06:06:12 +00:00
Automerger Merge Worker
5b290dd857 Merge "add languageTable and languageShiftTable to calculateLength" am: e5f36d48ef am: b73b9c9f76
Change-Id: Id77835e408e0ad06122c0e7ea15e6b167b39b053
2019-12-21 05:52:45 +00:00
Zongheng Wang
e5f36d48ef Merge "add languageTable and languageShiftTable to calculateLength" 2019-12-21 05:32:25 +00:00
Zongheng Wang
571cbd7a6a add languageTable and languageShiftTable to calculateLength
* Change the calculateLength API's return value to an int array whose
  length is 6. Added languageTable and languageShiftTable which is used
  in Bluetooth MAP profile to encode GSM message.

Bug: 140562205
Test: Manual
Change-Id: I25e23c75d7aabcf2e3f678758a5a398f2ef8d4c1
2019-12-20 15:32:51 -08:00
Meng Wang
f28391eb28 Merge "Use Parcelable CellIdentity instead of CellLocation in AIDL." 2019-12-20 22:46:08 +00:00
Automerger Merge Worker
51d8375f20 Merge "Make PreciseCallState Constructor System API" am: c037935d74 am: 682ba08d42 am: 3b947c64b6
Change-Id: Ia58cd49fd4bbd2c7ebb6eadfb153506603cc924a
2019-12-20 22:42:15 +00:00
Automerger Merge Worker
43079efe9f Merge "Change reference to Bundle.filterValues" am: 598b5d5340 am: 16e27b9a3e
Change-Id: I7b2eaa1c24d15e18287d5c2c313b91c54b324276
2019-12-20 22:38:46 +00:00
Automerger Merge Worker
3b947c64b6 Merge "Make PreciseCallState Constructor System API" am: c037935d74 am: 682ba08d42
Change-Id: Ie532ededfe550f601e01c2e573cfded5a9d16deb
2019-12-20 22:30:11 +00:00
Sarah Chin
598b5d5340 Merge "Change reference to Bundle.filterValues" 2019-12-20 22:28:35 +00:00
Treehugger Robot
c037935d74 Merge "Make PreciseCallState Constructor System API" 2019-12-20 22:08:13 +00:00
Sarah Chin
c8905d008d Change reference to Bundle.filterValues
Add to TelephonyUtils and replace method call

Test: atest FrameworksTelephonyTests:ImsCallProfileTest
Bug: 140761560
Change-Id: I5cbc7f771f8443835da7acc9e4330ca238d0f929
Merged-In: I5cbc7f771f8443835da7acc9e4330ca238d0f929
2019-12-20 13:07:57 -08:00
Shuo Qian
c12886376a Make PreciseCallState Constructor System API
We would make the constructor of PreciseCallState system API, to resolve
the mainline concern from TelephonyRegistry.

Also clean up unused imports.

Test: built
Bug: 146585782
Change-Id: I0bbca065f86fe352a06c63bdd1b25d34e77a9265
2019-12-20 12:12:57 -08:00
Automerger Merge Worker
1ed7c27601 Merge "Make getDefaultCarrierServicePackageName for Mainline" am: 071d78b1ef am: 58fd0fd58d am: a98d79fb32
Change-Id: I131df66112ca72502e9db7afa5faadb6322e5eab
2019-12-20 18:58:46 +00:00
Meng Wang
d75f97d21e Use Parcelable CellIdentity instead of CellLocation in AIDL.
Currently CellLocation is passed over AIDL by manually
marshalling/unmarshalling to/from Bundle, and type info
is not preserved in the process.

Bug: 146092124
Test: make
Change-Id: I6225f100953a2ad354acaa261a774989926393ce
2019-12-20 10:50:09 -08:00
Automerger Merge Worker
a98d79fb32 Merge "Make getDefaultCarrierServicePackageName for Mainline" am: 071d78b1ef am: 58fd0fd58d
Change-Id: I9150a6d9c2252ae3d7931c0a2bf13b1262bcac4b
2019-12-20 18:46:25 +00:00
Shuo Qian
071d78b1ef Merge "Make getDefaultCarrierServicePackageName for Mainline" 2019-12-20 18:23:12 +00:00
TreeHugger Robot
a251173a1c Merge "Revert "[DO NOT MERGE] Revert submission 9950791-pick-precise-dataconn"" into qt-qpr1-dev-plus-aosp 2019-12-20 17:55:45 +00:00
SongFerng Wang
b80531d458 Merge "[Mainline] Create getDataRegistrationState and expose as system api" 2019-12-20 15:02:03 +00:00
Sarah Chin
d16e428781 Merge "Change reference to Bundle.filterValues" 2019-12-20 09:40:45 +00:00
Josh Hou
e80a5cce9e Merge "Add the carrier config for cdma less carrier" 2019-12-20 08:41:21 +00:00
TreeHugger Robot
741a368bb0 Merge "Move ImsManager registery to TelephonyFrameworkInitializer" 2019-12-20 03:54:42 +00:00
Automerger Merge Worker
a4b29bb1bb Merge "Make Gps.KEY_PREFIX and Gps.KEY_PERSIST_LPP_MODE_BOOL Public" am: 2e321705a7 am: cd23bc8211 am: d9faf626f6
Change-Id: I7c3dc341068fb3f00bf54854cb5172bf901a28e8
2019-12-20 02:31:45 +00:00
Automerger Merge Worker
3714b23180 Merge "Merge "Change reference to Build.IS_DEBUGGABLE" am: 4d83e67433 am: 9ee90ab489" into qt-qpr1-dev-plus-aosp am: 6a95091780
Change-Id: Ib7e38e93d690c031d20d050502c829b37acd668b
2019-12-20 02:27:10 +00:00
Automerger Merge Worker
91bc7be712 Merge "Use sysprop library for telephony props" am: afb16fa9d4 am: dc4de88fec
Change-Id: Iae5ca6c30dd3a72d5da921cf45d9c282bcff2703
2019-12-20 02:22:19 +00:00
Treehugger Robot
afb16fa9d4 Merge "Use sysprop library for telephony props" 2019-12-20 02:00:38 +00:00
Automerger Merge Worker
da7191db0f Merge "Remove Wifi APIs unused in AOSP." am: 268fd3556d am: 1244d206d3
Change-Id: Ifd583e5e3575fce25c279d5df4d9af3b67e8b80d
2019-12-20 01:42:17 +00:00
Nathan Harold
dcbe98371e Revert "[DO NOT MERGE] Revert submission 9950791-pick-precise-dataconn"
This reverts commit d80dc8fed4.

Bug: 143082463
Test: compilation

Merged-In: Ib6a769f5a0cae923ca47a842733bd28755a90ed5
Change-Id: I455788f72fc6dec23c0d0d24a1ca8ee9c2f637c9
2019-12-19 17:37:54 -08:00
Treehugger Robot
268fd3556d Merge "Remove Wifi APIs unused in AOSP." 2019-12-20 01:17:05 +00:00
Noah Zimmt
2115c17ced Merge "[DO NOT MERGE] Revert submission 9950791-pick-precise-dataconn" into qt-qpr1-dev-plus-aosp 2019-12-20 00:45:42 +00:00