Commit graph

837 commits

Author SHA1 Message Date
Amruth Ramachandran
7c06193d09 Add VTS test for getDataRegistrationState
Bug:112194535
Test: VTS test

Change-Id: I32b335c8407a6884216aa1b80216a87e94b6cba6
2019-04-01 10:17:07 -07:00
Jack Yu
7885653276 Added VTS tests for setDataProfile and setInitialAttachApn
Test: VTS
Bug: 121345833

Merged-In: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
(cherry picked from commit 7948a04d01)
2019-04-01 10:05:23 -07:00
sqian
16e12d10c6 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6 am: e3c3d56907
am: ed62130b14

Change-Id: Ib08c6a74d398987440408fd7db7e46f59295624e
2019-03-13 12:32:58 -07:00
sqian
ed62130b14 Merge "Sleep one second after connect." into pie-vts-dev am: e1704f3fd6
am: e3c3d56907

Change-Id: Ic8322a888f04dfa29bca109f5dc43f6978021da5
2019-03-13 10:02:48 -07:00
sqian
b2aa43ae94 Sleep one second after connect.
Modem side need time for connect to finish.

Test: Sanity (encountered by partner)
Bug: 122442056
Change-Id: Ib688b968730fcf604ef3807db9b6bd817594cad6
2019-03-11 16:07:49 -07:00
Jack Yu
7b66803fda Merge "Added 1.4 setDataProfile and setInitialAttachApn" am: b6990823f9 am: 3ae436ce52
am: 62f6566bf1

Change-Id: I023d45fb81ef3d7cbdacf53663751a1875377791
2019-03-07 20:06:58 -08:00
Michele Berionne
498c5d31e0 Merge "Fix documentation for carrier lock APIs in IRadio 1.4" am: caec5406ae am: 8987bebd33
am: a26bed9cc4

Change-Id: I5fa329ff4dee3e9fa57e650431f18613730e3d7b
2019-03-07 20:06:28 -08:00
Jack Yu
b6990823f9 Merge "Added 1.4 setDataProfile and setInitialAttachApn" 2019-03-08 01:38:47 +00:00
Michele
ef3207a43f Fix documentation for carrier lock APIs in IRadio 1.4
Update documentation of getAllowedCarriers_1_4 to indicate correct
response function.
Update documentation of setAllowedCarriers_1_4 to indicate correct
response function.

Bug: 127331162
Test: compilation
Change-Id: I56b63a7d7a71a62aea14a45b6e3b903a0cb2f5bf
2019-03-07 09:24:46 -08:00
Jack Yu
f666f42415 Added 1.4 setDataProfile and setInitialAttachApn
Added cuttlefish support for setDataProfile and
setInitialAttachApn v1.4 support

Test: vts-tradefed run vts -m VtsHalRadioV1_4Target
Bug: 121345833
Change-Id: Ie6acc8756f93ae16963cf9e05e0cf94d9039cb10
2019-03-06 15:22:25 -08:00
Jack Yu
7948a04d01 Added VTS tests for setDataProfile and setInitialAttachApn
Test: VTS
Bug: 121345833
Change-Id: Ia7a260f5bbf9463c96b53656bcbe031af5208cbb
2019-03-05 01:36:16 -08:00
Steven Moreland
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -08:00
Treehugger Robot
4ee5ec1469 Merge "Update makefies: no 'types'" 2019-03-04 22:56:10 +00:00
Michele Berionne
bccd81c6a1 Merge "VTS test cases for IRadio 1.4 API for carrier restrictions" am: 0be84989e5 am: 2cafc87f9a
am: 93be02888e

Change-Id: I43742859e92da4874436afd24cb534cbd5a23584
2019-03-04 14:00:21 -08:00
Michele Berionne
0be84989e5 Merge "VTS test cases for IRadio 1.4 API for carrier restrictions" 2019-03-04 21:30:54 +00:00
Amit Mahajan
371da1503e Updated comment for enableModem(). am: 60bc204c1d am: 20f0dc449c
am: 5dbbaec6dd

Change-Id: I713b45fc808fc51e0c4d70c90c95caeae2628b65
2019-03-04 11:37:35 -08:00
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -08:00
Amit Mahajan
89dee330f2 Adding new APN type for Mission Critical Services. am: f72bb5d556 am: 4fefa70956
am: fdcda6f74d

Change-Id: Ifde43a009f485647ae3548dc14b615780e2fa8d0
2019-03-04 11:10:24 -08:00
Amit Mahajan
60bc204c1d Updated comment for enableModem().
Test: build
Bug: 124771128
Change-Id: I9ddd679daa9b806b8c8677b9d4ef54dacb40d242
2019-03-04 10:28:27 -08:00
Michele
a31d000865 VTS test cases for IRadio 1.4 API for carrier restrictions
Introduction of VTS test cases for setAllowedCarriers_1_4 and
getAllowedCarriers_1_4.

Bug: 124015822
Test: compilation, VTS execution on cuttlefish
Change-Id: Ie1e737d413e6d3559d7a52170bff197eb709c7ca
2019-03-01 18:18:25 -08:00
Amit Mahajan
f72bb5d556 Adding new APN type for Mission Critical Services.
Test: build
Bug: 124447962
Change-Id: I499c81140d2e4300f5bb81a0815b92f276c9167c
2019-03-01 16:48:35 -08:00
Xiangyu/Malcolm Chen
d6245c05d1 Merge "Add vts tests on CBRS related HAL APIs" 2019-02-28 23:48:12 +00:00
Treehugger Robot
183665d248 Merge "Fix doc on getModemStackStatus" 2019-02-28 23:31:46 +00:00
Xiangyu/Malcolm Chen
4b4876a414 Merge "Add vts tests on CBRS related HAL APIs" 2019-02-28 22:18:24 +00:00
Pengquan Meng
31e63d4b53 Add VTS for get/setPreferredNetworkBitmap am: 8d6c1de16e am: 101a6c28ff
am: 2442cdfcb0

Change-Id: I5ea4ed9cdda1abf46f82191b2ed2bf6d4bebeaf0
2019-02-28 00:09:57 -08:00
Pengquan Meng
8d6c1de16e Add VTS for get/setPreferredNetworkBitmap
Bug: 121345980
Test: make vts -j32
Change-Id: I94b48f974e7244e1acbace26af8c00e05bee28e1
2019-02-27 18:58:32 -08:00
Malcolm Chen
5d51ea67e2 Add vts tests on CBRS related HAL APIs
Bug: 121345298
Test: vts
Change-Id: I011f052fdaa07dcd571d2357865486c7708f797a
Merged-In: I011f052fdaa07dcd571d2357865486c7708f797a
2019-02-28 01:16:30 +00:00
Malcolm Chen
ad6bdaac7b Add vts tests on CBRS related HAL APIs
Bug: 121345298
Test: vts
Change-Id: I011f052fdaa07dcd571d2357865486c7708f797a
2019-02-27 17:16:17 -08:00
Nazanin Bakhshi
22df069a0a Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I9ed735df7acd704144f3d399b09f80973e6ff4ab
Merged-In: I9ed735df7acd704144f3d399b09f80973e6ff4ab
(cherry picked from commit 68eef0850c)
2019-02-27 23:13:27 +00:00
Nazanin Bakhshi
68eef0850c Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I9ed735df7acd704144f3d399b09f80973e6ff4ab
2019-02-27 10:10:29 -08:00
Annie Meng
0b9fb5125b Merge "Revert "Fix doc on getModemStackStatus"" 2019-02-27 15:17:27 +00:00
Annie Meng
f6729eff5d Revert "Fix doc on getModemStackStatus"
This reverts commit 0d74a22d26.

Reason for revert: Broke presubmit

Change-Id: I3052889863c1d750f3e916a575c4e412a5395d49
2019-02-27 11:22:21 +00:00
Nazanin Bakhshi
6a70170295 Merge "Fix doc on getModemStackStatus" 2019-02-27 06:17:53 +00:00
paulye
2b26cd695b Add vts for getSignalStrength_1_4 am: 7042a1aa9d am: 19048c28e9
am: 2f22dfa363

Change-Id: Ida14340b2722b13233cbe98d78769a000b50fea7
2019-02-26 20:18:03 -08:00
paulye
7042a1aa9d Add vts for getSignalStrength_1_4
Test: VTS
Bug: 124013054
Change-Id: Ia23391970d2c333b128ab8d2990d231e62748789
2019-02-26 15:34:34 -08:00
Nazanin Bakhshi
0d74a22d26 Fix doc on getModemStackStatus
Bug: 123958093
Test: build
Change-Id: I29eec2851b08c79463fe55788ffa3bc83c204863
2019-02-26 12:55:48 -08:00
sqian
8b41848ecd Modify the documentation of 'Routing' am: 0446c2ec68 am: e4eef2cabd
am: 9989c96727

Change-Id: I03aef2e746fb03984613f4f4a7f7ede380ae7e53
2019-02-26 00:16:59 -08:00
paulye
98dcb4d8f9 Add vts tests for start network scan 1.4. am: 2a7c4a59d0 am: 95805da645
am: 75947ea643

Change-Id: Ib837a5e08cc607ce21dcedebe78ae6173f5b19f8
2019-02-25 12:07:51 -08:00
sqian
0446c2ec68 Modify the documentation of 'Routing'
Bug: 121047189
Test: Treehugger
Change-Id: If2c22916062f7f0dbaa0b98185660f3d33bc254a
2019-02-25 18:28:46 +00:00
paulye
2a7c4a59d0 Add vts tests for start network scan 1.4.
Bug: 122730115
Test: vts
Change-Id: If04c5b8c2d2c7d5239805ef65df577f7d4dea61b
2019-02-21 16:03:48 -08:00
Paul Hu
86fde623c3 Merge "Add setupDataCall_1_4 VTS test case" am: 7d30a90b5e am: feadd1da7a
am: 1dce037462

Change-Id: Ifb25be11a4126286a2806ff4196a58c9b56586b0
2019-02-20 18:23:10 -08:00
paulhu
56a94d502d Add setupDataCall_1_4 VTS test case
Add a test case for testing setupDataCall_1_4 of radio 1.4

Test: Compilation
Bug: 121348900
Change-Id: I0055a6492f1e111444391ffa67b0db2c5d29da1f
2019-02-20 16:26:13 +08:00
Shuo Qian
cee3576302 Merge "Add VTS for emergencyDial" am: ac077becfd am: 250bdd77a9
am: f959dd768a

Change-Id: I11178eb1dcb5f8cab89b595015019ab1d3b1f997
2019-02-14 17:42:18 -08:00
sqian
f67133f216 Add VTS for emergencyDial
Modify the document for 'hasKnownUserIntentEmergency'.

In the scenarios that the 'address' in the 'dialInfo' field has other
 functions besides the emergency number function, if the
 'hasKnownUserIntentEmergency' field is true, the user's intent for this
 dial request is emergency call, and the modem must treat this as an
 actual emergency dial; if the 'hasKnownUserIntentEmergency' field is
 false, Android does not know user's intent for this call.

Test: compile
Bug: 121345950
Change-Id: I3457e7519be564ac5043e06380e9450a1b12425f
(cherry picked from commit 7208840ec0148ad5a01bdf419170282cd1b32437)
2019-02-14 04:22:12 +00:00
Nathan Harold
bff65e069e Merge "Add NR Cell Identity to CellIdentityNr" am: 2db4a029a8 am: 4e8aae0591
am: dda7b61fef

Change-Id: Ied4b0bb75e558c6fd45baf821f6320f308eecda6
2019-02-12 19:03:52 -08:00
Nathan Harold
a579346d26 Add NR Cell Identity to CellIdentityNr
Add the NR Cell Identity field to the NrCellIdentity
struct.

Bug: 124126359
Test: compilation on goog/master; VTS currently infeasible
      pending other changes.
Change-Id: Ie7082a7dc1737cb613ab178e86016fa0d09c24d3
2019-02-12 21:02:33 +00:00
Pengquan Meng
7fea1b4a63 Merge "Fix doc on 1.4 IRadioIndication.cellInfoList1_4" am: e0298925ce am: 18cb6559bc
am: 07a488785e

Change-Id: I0a470bc0697355d9f6386baf7316d14cf88ba1bd
2019-02-07 10:29:28 -08:00
Pengquan Meng
16ad3c25df Fix doc on 1.4 IRadioIndication.cellInfoList1_4
Bug: 123959296
Test: build
Change-Id: Ia12ad593ab33fbaec36b6ce95e1108550f8ff52c
2019-02-06 22:55:12 +00:00
Steven Moreland
94755be332 Merge "Update makefiles." am: b35c23e70c am: b37145e08e
am: d78f1f0d8e

Change-Id: If698913e654c92897db703d865e900e49fe6231d
2019-02-06 12:06:14 -08:00
Steven Moreland
941f105b60 Update makefiles.
Some of these are out of date.

Bug: N/A
Test: N/A
Change-Id: Ibf87fad9981d4e430a0bf797feadbb0bede232fc
2019-02-05 13:14:26 -08:00
Pengquan Meng
0ee8d90224 Merge "Add 5G cellInfo & signal strength" am: 7ac99ae365 am: e2d75f8b22
am: 693f385f0b

Change-Id: Ia3c1ef48a64ddee37d5ed6190f35c1b15832746b
2019-02-01 14:01:40 -08:00
Pengquan Meng
7ac99ae365 Merge "Add 5G cellInfo & signal strength" 2019-02-01 21:09:46 +00:00
Pengquan Meng
e32a755ed2 Add 5G cellInfo & signal strength
Bug: 123532650
Test: build
Change-Id: I76bff3f6ff56ef76cb357c327b44d54757952e32
2019-01-31 14:11:37 -08:00
Nathan Harold
caefc91165 Merge "Explicitly Document INT_MAX for Invalid Fields" am: 304c0ce012 am: 93378a6017
am: bfc9855ae4

Change-Id: I2e9cfbbd94d8560957701fb0ca7980a1b7b80ec2
2019-01-30 15:14:13 -08:00
Nathan Harold
304c0ce012 Merge "Explicitly Document INT_MAX for Invalid Fields" 2019-01-30 22:45:06 +00:00
Youming Ye
b8f9a25eaa Merge "Add functional folder for vts 1.4." am: 8327a56b3d am: 3b3220acc6
am: 67c6bc8fbc

Change-Id: I7090433008e895a44b3742834f403eeccfed7c0f
2019-01-28 21:40:30 -08:00
Nathan Harold
5109018dfa Explicitly Document INT_MAX for Invalid Fields
When fields are inapplicable, they should not
be set to a clearly out-of-range value to signal
to the framework that those fields are not used.
In some cases, there is an in-range invalid value
that has been defined by the standards. The docs
are inconsistent in calling out INT_MAX as the
value to be used when something is inapplicable
vs the case when a measurement is simply not
reported. In all cases, INT_MAX can be used to
denote an invalid value, and in cases where the
field/structure is inapplicable, it is the correct
value. This CL updates all the docstrings for
SignalStrength-related fields to clarify that
INT_MAX is the correct "invalid" value for cases
when fields are inapplicable.

Bug: 123088652
Test: compilation (docstring-only change); CTS
    naturally enforces this change on devices with
    newer HALs; backwards compatibility is preserved
    for existing HAL versions.

Change-Id: I5cfa917f504d15691ab3f2c298189bdd47794a42
2019-01-28 18:59:08 -08:00
Amit Mahajan
685fcc0098 Merge "Add a new parameter to emergencyDial()." 2019-01-28 23:33:54 +00:00
Amit Mahajan
cc07875537 Merge "Add Emergency Call testing mode" 2019-01-28 20:51:25 +00:00
Youming Ye
8327a56b3d Merge "Add functional folder for vts 1.4." 2019-01-28 19:19:19 +00:00
Youming Ye
ae28042bff Add functional folder for vts 1.4.
New tests would be added in cpp files under functional folder. Add a new
folder since it doesn't exist for 1.4 yet.

Test: Compilation
Change-Id: Ieac30bbbc865b76a08d4bdd655f0d489bb7f77bd
Bug: 73784494
2019-01-25 14:27:57 -08:00
Amit Mahajan
44f86a6f97 Add a new parameter to emergencyDial().
The new parameter is to indicate if the request is initiated
by the user through an emergency dialer or shortcut, meaning
that the request is explicitly an emergency dial request.
This is to indicate to the modem that no disambiguation (regarding
whether this is really an emergency request) should
be done for this request.

Test: builds fine
Bug: 123101600
Merged-in: Ic830762d8a8319f494f22d875ca6adad91ffce3b
Change-Id: Ic830762d8a8319f494f22d875ca6adad91ffce3b
(cherry picked from commit 143d32860f)
2019-01-23 17:34:52 -08:00
sqian
2434ba47b4 Add Emergency Call testing mode
If 'isTesting' is true, this request is for testing purpose,
and must not be sent to a real emergency service; otherwise it's
a real emergency call request.

Bug: 122840137
Test: Treehugger (VTS later)
Merged-in: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
Change-Id: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
(cherry picked from commit 527d650656)
2019-01-23 17:30:38 -08:00
sqian
99004cd57e Add Emergency Uniform Resource Name (URN)
Test: Treehugger
Bug: 112657134
Change-Id: I6c965d6b4a55e9370de3a9eeef5402468ae9c44b
Merged-In: I6c965d6b4a55e9370de3a9eeef5402468ae9c44b
(cherry picked from commit 2a45c732e3)
2019-01-23 17:18:54 -08:00
Amit Mahajan
a8d2f989ca Merge "Add a new parameter to emergencyDial()." 2019-01-24 00:10:29 +00:00
Paul Hu
4e78356ddb Merge "Refine error causes to make them more clear" am: db4cc673f5 am: 291c63b21b
am: 7392c07398

Change-Id: I91ef9fbc0731ce2397e1ca9aff7c8349022dad44
2019-01-22 19:33:31 -08:00
Paul Hu
db4cc673f5 Merge "Refine error causes to make them more clear" 2019-01-23 01:25:02 +00:00
Amit Mahajan
143d32860f Add a new parameter to emergencyDial().
The new parameter is to indicate if the request is initiated
by the user through an emergency dialer or shortcut, meaning
that the request is explicitly an emergency dial request.
This is to indicate to the modem that no disambiguation (regarding
whether this is really an emergency request) should
be done for this request.

Test: builds fine
Bug: 123101600
Change-Id: Ic830762d8a8319f494f22d875ca6adad91ffce3b
2019-01-22 16:01:19 -08:00
Treehugger Robot
5acbc036b0 Merge "Add getModemEnabled HAL API" 2019-01-22 21:29:24 +00:00
Youming Ye
5279d8161b Clean up error codes and add error description for IRadioResponse 1.4. am: 7224c5dc1c am: 2d80031567
am: 4ed9de3c7c

Change-Id: I579db049699796768019d8d1ae0a4f2374bf94a2
2019-01-22 13:06:24 -08:00
Nazanin Bakhshi
da4e793b56 Add getModemEnabled HAL API
Bug: 121020566
Test: vts
Change-Id: I1ac193dd144b840e4f3e3a397c0c93327ac00186
Merged-In: I1ac193dd144b840e4f3e3a397c0c93327ac00186
2019-01-22 20:51:33 +00:00
Youming Ye
7224c5dc1c Clean up error codes and add error description for IRadioResponse 1.4.
Clean up some unneeded/confusing error codes in the 1.4 Radio HAL.
Quoting description from aosp/616923:

-Remove SYSTEM_ERROR. This is an ultra-generic error
 that also provides no meaningful distinction from
 INTERNAL_ERROR but is even less specified in scope.

-Remove NO_MEMORY. This is very implementation
 specific, and should be essentially impossible to
 hit in the generic sense. Today we don't have a
 generic EBUSY error code, which this would map to.
 Since it should be essentially impossible to hit,
 the preference is to assert that it shouldn't be.
 If an implementation really has memory pressure
 then it can return INTERNAL_ERROR, of which this
 is a class. INTERNAL_ERROR will be treated as a
 temporary failure anyway, making NO_MEMORY a
 distinction without a difference.

-Remove CANCELLED. We have no way to cancel an API
 call. If a persistent/ongoing request is cancelled
 by the caller using a separate API request, then
 that's a success case rather than an error case.

Bug: 73174777
Change-Id: I5bf268f86ed52e7294f7127f24beba04c9159fea
Test: Compilation
2019-01-22 17:49:40 +00:00
Nazanin Bakhshi
f52680bd04 Merge "Add getModemEnabled HAL API" 2019-01-22 17:45:39 +00:00
paulhu
14e4d76502 Refine error causes to make them more clear
Many of error causes reason are using very esoteric
abbreviations and acronyms. Refine description for making more
clear to the developer.

Bug: 113505704
Test: Build pass and data call can setup normally.
Change-Id: Ifb9c256eef8354add46c76c322cd6a3bd126bd44
2019-01-19 03:17:35 +00:00
Michele Berionne
f6dbeefbc3 Merge "Carrier restriction enhancements for Android Q" 2019-01-19 00:13:57 +00:00
Nazanin Bakhshi
50eed9211f Add getModemEnabled HAL API
Bug: 121020566
Test: vts
Change-Id: I1ac193dd144b840e4f3e3a397c0c93327ac00186
2019-01-18 16:05:45 -08:00
Michele Berionne
ef9ab4a065 Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Change-Id: Ib05267fda5f2fd0b8821a5812fcf47d460e60a2b
Merged-In: Ib05267fda5f2fd0b8821a5812fcf47d460e60a2b
2019-01-18 22:37:21 +00:00
Nazanin Bakhshi
dd7937b705 Add HAL API for enabling DSDS
setModemsConfig and getModemsConfig APIs will allow the framework
to set the number of live modems to switch to single/multi sim state

Bug: 122073700
Test: vts
Change-Id: Ib200ffa5f2aebe21caf2b761407c79828730e6f1
Merged-In: Ib200ffa5f2aebe21caf2b761407c79828730e6f1
2019-01-18 18:42:35 +00:00
Michele Berionne
9c3e195ebf Merge "Carrier restriction enhancements for Android Q" 2019-01-18 02:56:17 +00:00
Nazanin Bakhshi
ac55589ee9 Merge "Add HAL API for enabling DSDS setModemsConfig and getModemsConfig APIs will allow the framework to set the number of live modems to switch to single/multi sim state" 2019-01-18 01:01:31 +00:00
Shuo Qian
fea020ad91 Merge "Add Emergency Call testing mode" 2019-01-17 21:52:59 +00:00
Youming Ye
9f94a1532f Add startNetworkScan 1.4 API.
add APIs startNetworkScan_1_4 and startNetworkScanResponse_1_4,
disallowing error codes OPERATION_NOT_ALLOWED and
REQUEST_NOT_SUPPORTED for network scan.

Test: Compilation
Bug: 73784494
Change-Id: If42e61fb30c4b482d4552f04f1934bd3c8d1a525
Merged-In: If42e61fb30c4b482d4552f04f1934bd3c8d1a525
2019-01-17 21:41:58 +00:00
Nazanin Bakhshi
28cd645017 Add HAL API for enabling DSDS
setModemsConfig and getModemsConfig APIs will allow the framework
to set the number of live modems to switch to single/multi sim state

Bug: 122073700
Test: vts
Change-Id: Ib200ffa5f2aebe21caf2b761407c79828730e6f1
2019-01-17 13:33:00 -08:00
Pengquan Meng
ec988f4b4c Merge "Add ConnectionStatus to CellInfo v1_4" am: 5a71637a04 am: 4c2b2b1d69
am: 3a801d4208

Change-Id: Ied6bd11b4561b760df351f9205a0b8aab11e80a3
2019-01-16 17:39:40 -08:00
sqian
6142408071 Add Emergency Call Routing in HAL
Some countries or carriers require some emergency numbers that must
be handled with normal call routing or emergency routing.

In multi-sim senario, this radio request will be sent through the IRadio
service that serves the subscription the emergency number belongs to,
no matter of the PUK/PIN state of the subscription and the service state.

Test: Treehugger
Bug: 112657134
Change-Id: Iaa9768226dc2d7d2d66a9678823ba7d0047a1988
Merged-In: Iaa9768226dc2d7d2d66a9678823ba7d0047a1988
(cherry picked from commit dd49ad675e)
2019-01-17 00:31:23 +00:00
sqian
527d650656 Add Emergency Call testing mode
If 'isTesting' is true, this request is for testing purpose,
and must not be sent to a real emergency service; otherwise it's
a real emergency call request.

Bug: 122840137
Test: Treehugger (VTS later)
Change-Id: I9607967b2a362f72e9d2bcda4ef25afaf0cc7f1d
2019-01-16 16:00:45 -08:00
Pengquan Meng
1355303547 Add ConnectionStatus to CellInfo v1_4
Bug: 117805040
Test: build
Change-Id: Ic0343671000c320ec8f62f84bcefc18c84ee323a
2019-01-15 13:48:14 -08:00
Michele Berionne
4f59a2a174 Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Change-Id: Ib05267fda5f2fd0b8821a5812fcf47d460e60a2b
2019-01-11 18:08:58 -08:00
Shuo Qian
8baf2a13be Merge "Add Emergency Uniform Resource Name (URN)" 2019-01-11 02:37:27 +00:00
sqian
2a45c732e3 Add Emergency Uniform Resource Name (URN)
Test: Treehugger
Bug: 112657134
Change-Id: I6c965d6b4a55e9370de3a9eeef5402468ae9c44b
2019-01-10 13:19:58 -08:00
Youming Ye
809376e8ae Merge "Add startNetworkScan 1.4 API." 2019-01-10 19:30:26 +00:00
sqian
dd49ad675e Add Emergency Call Routing in HAL
Some countries or carriers require some emergency numbers that must
be handled with normal call routing or emergency routing.

In multi-sim senario, this radio request will be sent through the IRadio
service that serves the subscription the emergency number belongs to,
no matter of the PUK/PIN state of the subscription and the service state.

Test: Treehugger
Bug: 112657134
Change-Id: Iaa9768226dc2d7d2d66a9678823ba7d0047a1988
2019-01-09 20:26:14 +00:00
Youming Ye
b7c86b6b4a Add startNetworkScan 1.4 API.
add APIs startNetworkScan_1_4 and startNetworkScanResponse_1_4,
disallowing error codes OPERATION_NOT_ALLOWED and
REQUEST_NOT_SUPPORTED for network scan.

Test: Compilation
Bug: 73784494
Change-Id: If42e61fb30c4b482d4552f04f1934bd3c8d1a525
2019-01-03 17:02:16 -08:00
sqian
ed2eb3de0a Add mnc and modify docs for emergencyDial
Test: Treehugger
Bug: 112657134
Change-Id: Ia731ed350184fc35663a7bee54144a3ee7febcbe
Merged-In: Ia731ed350184fc35663a7bee54144a3ee7febcbe
(cherry picked from commit ee5598dc2e)
2018-12-27 14:15:13 -08:00
Paul Hu
623ffca9c0 Merge "Expose detailed data call end reasons" am: b31202ca17 am: b99d20c368
am: 94ab252c10

Change-Id: Iad3c2fa0e740e72fcdf7be0aefde235b22ed50d1
2018-12-18 18:39:35 -08:00
paulhu
31aed67a0f Expose detailed data call end reasons
Currently, most of the fail causes for data connectivity are
exposed as ERROR_UNSPECIFIED. To know the precise fail
cause not just common exception, add more cause definitions
let exact fail reason can pass up to the apps from modem.

Bug: 113505704
Test: Build pass and data call can setup normally.
Change-Id: I1c8b910c272a027c811434d6d034b60ebfd64afa
2018-12-18 19:30:16 +08:00
Pengquan Meng
72c84bc2c0 Merge "Add a bitmap version for get/set PreferredNetworkType" am: d25bffff74 am: 8af0650ece
am: 45791a3457

Change-Id: I85cfda3c776d7d9fbe237807612bb7ebc8ab63b3
2018-12-13 22:40:12 -08:00
Treehugger Robot
d25bffff74 Merge "Add a bitmap version for get/set PreferredNetworkType" 2018-12-14 06:06:30 +00:00
Pengquan Meng
1ed39240a9 Add a bitmap version for get/set PreferredNetworkType
Bug: 111453000
Test: build
Change-Id: I42af8de62484c8f8e310b520574d0114901ed452
2018-12-10 18:28:19 -08:00
sqian
ee5598dc2e Add mnc and modify docs for emergencyDial
Test: Treehugger
Bug: 112657134
Change-Id: Ia731ed350184fc35663a7bee54144a3ee7febcbe
2018-12-07 22:45:54 -08:00