summaryrefslogtreecommitdiffstats
path: root/radio
Commit message (Collapse)AuthorAgeFilesLines
* Restored 'maxConnsTime' and 'maxConns' in data profileJack Yu2018-10-151-3/+9
| | | | | | | | | These two fields are still needed for some carriers. Should not be removed in 1.3. Reverted back to what we have in 1.0. Test: Telephony sanity tests Bug: 73659459 Change-Id: I33e7b9b0cb26b56fc3c0e011557657136cb38a6c
* Add monostate to optional safe unions.Steven Moreland2018-10-112-0/+5
| | | | | | Bug: 116156870 Test: hidl_test, hidl_test_java Change-Id: Ie17a80dee982775e267a39086016071ac2361fb5
* Added 1.3 DataProfileInfoJack Yu2018-10-053-9/+97
| | | | | | | | | | | | | | | 1. Deprecated the fields 'mvnoType', 'mvnoMatchData', 'maxConnsTime', and 'maxConns'. 2. Added a new flag 'preferred' indicating if this data profile is preferred for default data connection setup. 3. Move modemCognative flag from setupDataCall and setInitialAttachApn into the struct DataProfileInfo and rename it to 'persistent'. 4. Removed isRoaming flag in setupDataCall, setInitialAttachApn, and setDataProfile. Test: Telephony sanity tests Bug: 73659459 Change-Id: Ia28715e85755b47a1ee870b5c90e5505a7fd8c4a
* Emergency Function HAL (continued)sqian2018-10-025-77/+76
| | | | | | | | | | | - Add Emergency Number source for Emergency number, which is critical for management and display priority. - Remove solicited request for getting emergency number list. - Rephrasing the documentations. Test: Treehugger (will add VTS later) Bug: 112657134 Change-Id: Idbfebf8d246de06fd91e8de89088f5cc2c70227b
* Radio HAL: Add VoPS network supportAmruth Ramachandran2018-09-203-0/+55
| | | | | | | | | | | | Update 1.3 HAL: - Added DataRegStateResult - Added LteVopsInfo - Added getDataRegistrationStateResponse_1_3 Bug:112194535 Test: Compiled. VTS tests to be added in separate gerrit Change-Id: I1996bb0dbfb1c585668b097c206296d5d8e3c8d0
* Merge "Add IRadioResponse/Indication 1.3 and Emergency Function HAL"android-o-mr1-iot-release-1.0.4Shuo Qian2018-09-055-0/+231
|\
| * Add IRadioResponse/Indication 1.3 and Emergency Function HALsqian2018-09-045-0/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add IRadioResponse/Indication in 1.3 - Add Emergency Functions: 1) getCurrentEmergencyNumberList/getCurrentEmergencyNumberListResponse 2) emergencyDial/emergencyDialResponse 3) currentEmergencyNumberList 4) EmergencyNumber/EmergencyServiceCategory Test: compile (will add VTS later) Bug: 112657134 Change-Id: Iafe12d5fd0e4c28fcf6e4d8e61cfb954db7fa68a
* | Correct the comments for radio hal typesYouming Ye2018-09-048-11/+134
| | | | | | | | | | | | | | | | | | The type of mcc and mnc is String instead of Int now. They should be an empty string if unknown. Also added a test case for their values. Bug: 111703979 Test: Vts Change-Id: Ie0426453dc426ccc6cf203b315806e78511ce14d
* | Merge pie-vts-dev into masterXin Li2018-08-151-7/+8
|\ \ | | | | | | | | | | | | | | | Bug: 112170540 Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329 Change-Id: Icd613751ccf1dc8a0f879525f1d65b11dda7d357
| * | Patch for setSimCardPower_1_1sqian2018-08-151-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not expect its affect on cardStatus if it is not successfully returned. Check the response error before updating sim card status. Test: sanity Bug: 111661946 Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329 Merged-In: I48551f5469289b9fcfc47dd9fd2e455779640329 (cherry picked from commit 7e787e192cd4700d8f4e7cc5f55501bc37590245)
| * | Merge "Fix setSimCardPower_1_1" into pie-vts-devTreehugger Robot2018-08-141-2/+5
| |\ \
| | * | Fix setSimCardPower_1_1sqian2018-08-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the function isn't executed successfully, do not expect its effect of cardStatus. Bug: 111661946 Test: run vts Change-Id: I952728311b595149b449280e73142f2f82af544d Merged-In: I952728311b595149b449280e73142f2f82af544d (cherry picked from commit 934243085ae70d7ce4ec7f6ee331099b4566b051) (cherry picked from commit c02dd2562ff373c32740b1fda5947a5861d73990)
| * | | Check INVALID_SIM_STATE for sim permanent lock statussqian2018-08-131-2/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | PUK1 and PUK2 can get permanent blocked when it inputs wrong passwords more than 10 times. Bug: 111211929 Test: sanity Change-Id: I736873b1b181b88f279df7dc1c09e18e0fc76af3
| * | resolve merge conflicts of 898d05a713a693670cd450ff3f50156fed2f4567 to ↵sqian2018-08-131-7/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pie-vts-dev Test: I solemnly swear I tested this conflict resolution. Bug: 72075328 Change-Id: I5d7c124bc3905f899e63f080ac94def4e06fe9c2 Merged-In: I8c993cd2fa95c961dc7f976b5bd85a2826b42889
| | * \ resolve merge conflicts of dfa79a6292a42dd8609053febd8df7d5e7d48fbf to ↵sqian2018-07-161-2/+4
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oreo-mr1-vts-dev Test: I solemnly swear I tested this conflict resolution. Bug: None Change-Id: I10919718b841fdb33ab0e873d1b4bbd787fafcd2
| | | * | Add NONE for LceServicesqian2018-07-131-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Allow startLceService to succeed even in the SIM_ABSENT case. The original RIL documentation states that SUCCESS is valid for all LCE operations, and there is no logical reason why one of these operations must fail in a no-SIM case (though a vendor may choose not to support that configuration). Thus, a call to startLceService should permit NONE when requested in the no-SIM case for 1.0 VTS. In addition, a successful call to startLceService should also permit a successful call to pullLceData, so also allow RadioError::NONE for the pull operation. Ideally the tests would only allow NONE for pull if startLceService also returns NONE, but that's out of scope for now." Bug: 110181475 Bug: 72075328 Test: confirmed in the discussion; compilation
| | | * | Fix setBandMode.sqian2018-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 67834975 Test: sanity Merged-In: Ie907cdb464a44d92be47d898151d71eb2d83a11c
| | | * | VTS: fix RadioHidlTest.getAvailableNetworks issueIris Chang2018-04-163-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analysis: VtsHalRadioV1_0Target's timeout is too short for getAvailableNetworks, because this request duration depends on NW environment or frequency. Suggested solution: Add a timeout parameter to wait() and default timeout value is 5 minutes in order to avoid timeout fail due to NW environment. Bug: 68834032 Test: getAvailableNetworks can be passed after we apply this patch and test result for all other telephony 1.0 test cases are not changed. Change-Id: Iaef7e8eefa8fcfde0ff8030cba1f9753a28eac61 Merged-In: Iaae71e0abacd28275d86a19264813ff209ddb79c
| * | | | Call notify for voiceReg and dataReg VTS testsEric Schwarzenbach2018-08-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 80554443 Test: vts Merged-In: I19f7131f7b65323065f3c283a89668ff761815e3 Change-Id: I19f7131f7b65323065f3c283a89668ff761815e3 (cherry picked from commit 2bb626a2975ef3398adbcb12fe50804cf71efc39)
| * | | | Add REQUEST_NOT_SUPPORTED for changeIccPinForApp and changeIccPin2ForAppsqian2018-08-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 110037298 Test: run vts -m VtsHalRadioV1_0Target Merged-In: Iaba800814c5a6950d086a2f105714d01fdaa14a4 Change-Id: Iaba800814c5a6950d086a2f105714d01fdaa14a4 (cherry picked from commit 7470cbd04dbb90ec4a6481d08db54c6a8c5f2efd)
* | | | | Patch for setSimCardPower_1_1sqian2018-08-151-10/+10
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not expect its affect on cardStatus if it is not successfully returned. Check the response error before updating sim card status. Test: sanity Bug: 111661946 Change-Id: I48551f5469289b9fcfc47dd9fd2e455779640329
* | | | Check INVALID_SIM_STATE for sim permanent lock statussqian2018-08-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PUK1 and PUK2 can get permanent blocked when it inputs wrong passwords more than 10 times. Bug: 111211929 Test: sanity Change-Id: I736873b1b181b88f279df7dc1c09e18e0fc76af3 Merged-In: I736873b1b181b88f279df7dc1c09e18e0fc76af3 (cherry picked from commit cb9e9d10462cc82ee6e7074f8d4c831b6348b3ea)
* | | | Merge "Loose startNetworkScan cases"Treehugger Robot2018-08-141-7/+16
|\ \ \ \
| * | | | Loose startNetworkScan casessqian2018-08-141-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | startNetworkScan: Some vendor may not support the required manual GSM search functionality. startNetworkScan_GoodRequest1 and startNetworkScan_GoodRequest2: Some vendor may not support max search time of 360s. Test: sanity Bug: 109765420 Change-Id: I456847815057d76561bfb3e840016619ac753476 Merged-In: I456847815057d76561bfb3e840016619ac753476 (cherry picked from commit 12f7d6127b301b140ee81696fed19f81a7ea50c6)
* | | | | Merge "Fix setSimCardPower_1_1"Treehugger Robot2018-08-141-2/+5
|\ \ \ \ \
| * | | | | Fix setSimCardPower_1_1sqian2018-08-141-2/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the function isn't executed successfully, do not expect its effect of cardStatus. Bug: 111661946 Test: run vts Change-Id: I952728311b595149b449280e73142f2f82af544d Merged-In: I952728311b595149b449280e73142f2f82af544d (cherry picked from commit 934243085ae70d7ce4ec7f6ee331099b4566b051)
* | | | | Merge "Fix setAllowedCarrier"Treehugger Robot2018-08-141-20/+30
|\ \ \ \ \
| * | | | | Fix setAllowedCarriersqian2018-08-141-20/+30
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If function is not supported or executed successfully, do not expect its effect on cardStatus. Bug: 112008372 Test: run vts Change-Id: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5 Merged-In: I4532a39af2cfcf0e44eafe29c3c7f6779ae101f5 (cherry picked from commit 44b129f7288016a4113f5e6ff059d63987d63385)
* | | | | Merge "Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTS"Treehugger Robot2018-08-141-3/+7
|\ \ \ \ \
| * | | | | Add REQUEST_NOT_SUPPORTED for pin and pin2 Icc VTSsqian2018-08-141-3/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 111222834 Test: sanity Change-Id: Ia3b96e83d6173c2c80bdbf7763a876883b167af9 Merged-In: Ia3b96e83d6173c2c80bdbf7763a876883b167af9 (cherry picked from commit c0a06f34c88cf9dc017be6178113b35c3c7fc67e)
* | | | | Merge "Added IRadio 1.3 interface"Treehugger Robot2018-08-143-0/+135
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Added IRadio 1.3 interfaceJack Yu2018-08-143-0/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added UNKNOWN into the existing enum AccessNetwork Test: Telephony sanity tests Bug: 110872637 Change-Id: I47bc8939a06023c9972c4e157b8e355cfad775ee
* | | | | Add SIM_PUK2 for Icc VTS testssqian2018-08-132-4/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add SIM_PUK2 for supplyIccPin2ForApp and changeIccPin2ForApp if sim card is in the puk2 state. Bug: 111211929 Test: sanity Change-Id: I80d924cc4a61565887cbd2a65ee5927a42ad656e Merged-In: I80d924cc4a61565887cbd2a65ee5927a42ad656e (cherry picked from commit 4ed0a216adc3bc9460d11d302ba53db9707ded44)
* | | | Revert "Fixed VTS failure in no SIM case"Shuo Qian2018-08-021-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | am: 9d0f0635b9 Change-Id: I2c85ff48e47094810bc4350197611969f94954e7
| * | | | Revert "Fixed VTS failure in no SIM case"Shuo Qian2018-08-021-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the EMERGENCY-type APN is a must set in the radio setupDataCall request for modem to perform Emergency call, and the given VTS test case does not set that emergency bit, I think modem should treat the request as a normal call request, and should not return "NONE" for no-sim. This reverts commit 431eb118f84de14c94ec18f887197944ec17e712. Reason for revert: after further discussion, NONE is not acceptable given the test case. Bug: 109767888 Change-Id: I3d1cc96120d53a9be0ae5059c26b091bf82dc352 Merged-In: I3d1cc96120d53a9be0ae5059c26b091bf82dc352 (cherry picked from commit 17fec3625d7094fd68c4a43966ddc2eb513658e4)
* | | | | Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.Amit Mahajan2018-07-161-4/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8b833740b2 Change-Id: I6389dcaa6a48338cddb9d6e45519941f8e1cd9f8
| * | | | Allow NOT_SUPPORTED for setLinkCapacityReportingCriteria on GERAN.Amit Mahajan2018-07-161-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: run vts -m VtsHalRadioV1_2Target Bug: 110716988 Change-Id: I9a5f014d498db00d818870cbd73e119f66562ef1 (cherry picked from commit c7896501db413c9a0fa44d2697da4079610075d8)
* | | | | Fix missed refactor of serialsqian2018-06-271-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 0c3572e2f3 Change-Id: I308c5279fd50402efe6a2c06feaaf034cea4541d
| * | | | Fix missed refactor of serialsqian2018-06-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 109822806 Test: run vts Change-Id: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 Merged-In: If88384699dbb4c2ddd1c580d2b35be38afd0f8e8 (cherry picked from commit c0e2e2b071df5cdff10193556163e2975f0b682c)
* | | | | Fixed VTS failure in no SIM caseJack Yu2018-06-271-2/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ac4e6051f9 Change-Id: I96717b5640c85223c5226e4b911e07d504623429
| * | | | Fixed VTS failure in no SIM caseJack Yu2018-06-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added RadioError::NONE as a possible return value for data call setup API. The data call could be setup for emergency purposes when no SIM inserted. Test: VTS Bug: 109767888 Merged-In: I4469c371f999b99d35f4078df000f05ee1f3c84d Change-Id: I4469c371f999b99d35f4078df000f05ee1f3c84d (cherry picked from commit 431eb118f84de14c94ec18f887197944ec17e712)
* | | | | Merge "Add docs for setSignalStrengthReportingCriteria" into stage-aosp-masterNathan Harold2018-06-271-6/+17
|\ \ \ \ \
| * | | | | Add docs for setSignalStrengthReportingCriteriaNathan Harold2018-06-261-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because setSignalStrengthReportingCriteria only supports a single measurement quantity, provide further clarification on the applicability of the API and how it may be used in various situations. Bug: 110121199 Test: compilation - docstring-only change Change-Id: If4236070fbc03368e5a78b0cf502cdc4a529a6ed
* | | | | | Call notify for voiceReg and dataReg VTS testsEric Schwarzenbach2018-06-261-3/+7
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | am: 9589ee1c36 Change-Id: Ie20c0329cd19da7ca2f86c7769ba6f7d3a3ca32b
| * | | | | Call notify for voiceReg and dataReg VTS testsEric Schwarzenbach2018-06-261-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 80554443 Test: vts Change-Id: I19f7131f7b65323065f3c283a89668ff761815e3 Merged-In: I19f7131f7b65323065f3c283a89668ff761815e3 (cherry picked from commit 2bb626a2975ef3398adbcb12fe50804cf71efc39)
* | | | | | Merge "Add setIndicationFilter response notification in 1.2 VTS"sqian2018-06-251-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a086c5c3a9 Change-Id: I4b869026a0dad435a5ffdc752a1be0ad4ce87dfc
| * | | | | Merge "Add setIndicationFilter response notification in 1.2 VTS"android-p-preview-4Treehugger Robot2018-06-251-1/+3
| |\ \ \ \ \
| | * | | | | Add setIndicationFilter response notification in 1.2 VTSsqian2018-06-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: run vts Bug: 109822806 Change-Id: I95102a148a26cab80235cc68ad83143a9bb6eb39 Merged-In: I95102a148a26cab80235cc68ad83143a9bb6eb39 (cherry picked from commit 0ff41b94b30a0db0ce4a6a5b29600ced5853a762)
* | | | | | | Allow REQUEST_NOT_SUPPORTED as an error for startNetworkScanAmit Mahajan2018-06-251-10/+25
|\| | | | | | | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | am: 6a5c36d73f Change-Id: I6c5daa8b8cd440951e33f094a605a1073b3f64de
| * | | | | Allow REQUEST_NOT_SUPPORTED as an error for startNetworkScanAmit Mahajan2018-06-251-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are trying to tighten the APIs. However for this case since the documentation was not updated, we are allowing NOT_SUPPORTED for now and will be cleaned up in a later release. Test: run vts -m VtsHalRadioV1_2Target Bug: 110118713 Change-Id: Id9dd3d7bac99bed36ceb9c906189f1fea78d5a2c (cherry picked from commit a7587b5a7fdace0d193ad333e6f5cda8b995570b)