OSDN Git Service

android-x86/hardware-ril.git
5 years agoMerge "Convert librilutils to Android.bp" am: 1dc06a8cfa
Dan Willemsen [Tue, 20 Nov 2018 23:20:02 +0000 (15:20 -0800)]
Merge "Convert librilutils to Android.bp" am: 1dc06a8cfa
am: 3630e372e2

Change-Id: Icaa4f51a877af4926abf90a5179f60ac48008314

5 years agoMerge "Convert librilutils to Android.bp"
Dan Willemsen [Tue, 20 Nov 2018 23:14:37 +0000 (15:14 -0800)]
Merge "Convert librilutils to Android.bp"
am: 1dc06a8cfa

Change-Id: Ic5cff233f6175530f6d8d6d794b71271f7534c6d

5 years agoMerge "Convert librilutils to Android.bp"
Treehugger Robot [Tue, 20 Nov 2018 22:58:02 +0000 (22:58 +0000)]
Merge "Convert librilutils to Android.bp"

5 years agoConvert librilutils to Android.bp
Dan Willemsen [Sat, 17 Nov 2018 03:36:00 +0000 (19:36 -0800)]
Convert librilutils to Android.bp

See build/soong/README.md for more information.

Test: cd hardware/ril; mma
Change-Id: I39b5a8df5ca44c951640d3c32e7fa77530898014

5 years ago[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am...
Bill Yi [Thu, 25 Oct 2018 01:47:26 +0000 (18:47 -0700)]
[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: 8e228fc8be  -s ours
am: 40e71f7952  -s ours

Change-Id: I5b3358deffad9a0eb7ac34b1ca80a01c2c7279ab

5 years ago[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 23:29:44 +0000 (16:29 -0700)]
[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE
am: 8e228fc8be  -s ours

Change-Id: I9eff1ef267c5a5b776532524f8e629dc2b519b50

5 years agoMerge pie-platform-release to aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 21:47:13 +0000 (14:47 -0700)]
Merge pie-platform-release to aosp-master - DO NOT MERGE

Change-Id: Ib170536902f7c88b2d9ca4005607e1080c79f5c7

5 years ago[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 17:57:23 +0000 (10:57 -0700)]
[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE
am: c3ab198dda  -s ours

Change-Id: Ice146f5b25f1505cfa6ff0fac42fc58f3aececac

5 years agoMerge pi-platform-release to stage-aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 16:07:03 +0000 (09:07 -0700)]
Merge pi-platform-release to stage-aosp-master - DO NOT MERGE

Change-Id: I07122ad5a17f2755505362f6c7f975be39379531

5 years agoMerge "Replace strncpy with strlcpy." am: 665b76e3ba
Ashit Sood [Mon, 8 Oct 2018 18:05:19 +0000 (11:05 -0700)]
Merge "Replace strncpy with strlcpy." am: 665b76e3ba
am: 2f0400e3c2

Change-Id: I4684bd75a304995e6c0989cd9e03bd5ad91ca068

5 years agoMerge "Replace strncpy with strlcpy."
Ashit Sood [Mon, 8 Oct 2018 18:00:16 +0000 (11:00 -0700)]
Merge "Replace strncpy with strlcpy."
am: 665b76e3ba

Change-Id: Ibc97057fb0bea660fbbc267ab32669d129d81e7e

5 years agoMerge "Replace strncpy with strlcpy."
Treehugger Robot [Mon, 8 Oct 2018 17:45:29 +0000 (17:45 +0000)]
Merge "Replace strncpy with strlcpy."

5 years ago[automerger skipped] Encode the Number of MNC Digits in CellIdentity
Nathan Harold [Thu, 4 Oct 2018 23:25:52 +0000 (16:25 -0700)]
[automerger skipped] Encode the Number of MNC Digits in CellIdentity
am: 5f438e18ba  -s ours

Change-Id: I556c587b6f704da03f426a24fd8fda210d95f203

5 years agoEncode the Number of MNC Digits in CellIdentity
Nathan Harold [Mon, 20 Aug 2018 18:38:27 +0000 (11:38 -0700)]
Encode the Number of MNC Digits in CellIdentity

Legacy RIL uses an integer to encode the number of
MNC digits. Because the size is not fixed, leading
zeroes result in ambiguity in the length of the mnc.

This change adds support for passing the number of
encoded digits in the most-significant nibble of the
mnc integer (which is only 10 bits). Thus, on any
implementation that is 16-bits or wider, the mnc info
will be properly encoded and decoded with the
correctly-sized string.

Bug: 111971808
Test: ril::util::mnc::test
Change-Id: I24aeba5328a63f80b0d6b25b068bd19160191dff
Merged-In: I24aeba5328a63f80b0d6b25b068bd19160191dff
(cherry picked from commit 98cfceefdf06d5e4ec3bfff3d1cd425baefb155e)

5 years agoReplace strncpy with strlcpy.
Ashit Sood [Thu, 6 Sep 2018 21:10:34 +0000 (14:10 -0700)]
Replace strncpy with strlcpy.

Use strlcpy instead of strncpy when copying strings to make sure
the copy is always null-terminated.

Bug:73436938

Change-Id: I12d4883c22a180e2136dc8c85bc0394ddcdcb706

5 years agoMerge "Encode the Number of MNC Digits in CellIdentity" am: 1fba551f96
Nathan Harold [Thu, 30 Aug 2018 22:56:35 +0000 (15:56 -0700)]
Merge "Encode the Number of MNC Digits in CellIdentity" am: 1fba551f96
am: e983fcbd19

Change-Id: I59c8038e6c431a3b7605c269478d1aece4157cb8

5 years agoMerge "Encode the Number of MNC Digits in CellIdentity"
Nathan Harold [Thu, 30 Aug 2018 22:36:24 +0000 (15:36 -0700)]
Merge "Encode the Number of MNC Digits in CellIdentity"
am: 1fba551f96

Change-Id: If70db22040cbf72f0e26402c5816f39af785b91d

5 years agoMerge "Encode the Number of MNC Digits in CellIdentity"
Treehugger Robot [Thu, 30 Aug 2018 22:14:35 +0000 (22:14 +0000)]
Merge "Encode the Number of MNC Digits in CellIdentity"

5 years agoEncode the Number of MNC Digits in CellIdentity
Nathan Harold [Mon, 20 Aug 2018 18:38:27 +0000 (11:38 -0700)]
Encode the Number of MNC Digits in CellIdentity

Legacy RIL uses an integer to encode the number of
MNC digits. Because the size is not fixed, leading
zeroes result in ambiguity in the length of the mnc.

This change adds support for passing the number of
encoded digits in the most-significant nibble of the
mnc integer (which is only 10 bits). Thus, on any
implementation that is 16-bits or wider, the mnc info
will be properly encoded and decoded with the
correctly-sized string.

Bug: 111971808
Test: ril::util::mnc::test
Change-Id: I24aeba5328a63f80b0d6b25b068bd19160191dff

5 years agoMerge "Merge Android Pie into master" am: c136355b05 am: e4be21cdac
Xin Li [Wed, 8 Aug 2018 05:17:05 +0000 (22:17 -0700)]
Merge "Merge Android Pie into master" am: c136355b05 am: e4be21cdac
am: d1b5e6e6ea

Change-Id: Ia0aaad82f89939d1eb3985852c87b10f3eeaf3dd

5 years agoMerge "Merge Android Pie into master" am: c136355b05
Xin Li [Wed, 8 Aug 2018 01:06:47 +0000 (18:06 -0700)]
Merge "Merge Android Pie into master" am: c136355b05
am: e4be21cdac

Change-Id: I87a78c5461d42a3c663b13fd0a29f9b5b1db4792

5 years agoMerge "Merge Android Pie into master"
Xin Li [Tue, 7 Aug 2018 21:33:44 +0000 (14:33 -0700)]
Merge "Merge Android Pie into master"
am: c136355b05

Change-Id: If0ba079474b2988e94ac8148a02dc54c87eb25b7

5 years agoMerge "Merge Android Pie into master"
Xin Li [Tue, 7 Aug 2018 16:51:27 +0000 (16:51 +0000)]
Merge "Merge Android Pie into master"

5 years agoMerge Android Pie into master
Xin Li [Mon, 6 Aug 2018 23:51:13 +0000 (16:51 -0700)]
Merge Android Pie into master

Bug: 112104996
Change-Id: I057be85a9c61eba0f6624bd3165e59163a8fc4bc

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Sat, 9 Jun 2018 09:50:39 +0000 (02:50 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master
am: f43ad9ed5a

Change-Id: I2f0db645814fc1582156ac0448890a6d42c6d20f

5 years agoMerge pi-dev-plus-aosp-without-vendor into stage-aosp-master
Xin Li [Fri, 8 Jun 2018 18:07:55 +0000 (11:07 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master

Bug: 79597307
Change-Id: I15c4264853cf6faf1a02d848ffa262ac22586963

6 years agoSnap for 4778776 from 982ba7ab0767df77b0cda7f592bfde7e8b6cb53d to pi-release pie-x86 android-x86-9.0-r1 android-x86-9.0-r2
android-build-team Robot [Sun, 13 May 2018 07:26:06 +0000 (07:26 +0000)]
Snap for 4778776 from 982ba7ab0767df77b0cda7f592bfde7e8b6cb53d to pi-release

Change-Id: I7b8a0c69fbd4b62e15f451bbd7146b3e08a231d4

6 years agoAdd scan error to Network Scan result
Sooraj Sasindran [Fri, 11 May 2018 23:13:16 +0000 (16:13 -0700)]
Add scan error to Network Scan result
am: 982ba7ab07

Change-Id: If5c231a10ec9c7697c9ad6bb31a9c7349a5606c2

6 years agoAdd scan error to Network Scan result
Sooraj Sasindran [Tue, 8 May 2018 04:20:43 +0000 (21:20 -0700)]
Add scan error to Network Scan result

Add scan error to Network Scan result

Bug: 79377435
Test: Verified that SCAN is always responding fine
Change-Id: If0232826aa14fb35fc7a5324bdc95368c88994f5

6 years agoSnap for 4765094 from 456df1bf437a38bd1931da18b1322db9e792eb6a to pi-release
android-build-team Robot [Sun, 6 May 2018 07:22:36 +0000 (07:22 +0000)]
Snap for 4765094 from 456df1bf437a38bd1931da18b1322db9e792eb6a to pi-release

Change-Id: Ib69e8d05717f20cf99207b15d033b49da57e9462

6 years agoril: Change rild initial sequence to guarantee non-null function pointer before rild...
terrycrhuang [Fri, 4 May 2018 19:08:58 +0000 (12:08 -0700)]
ril: Change rild initial sequence to guarantee non-null function pointer before rild register its hidl service
am: 456df1bf43

Change-Id: I22ef08409bfcdbb052859f4aaada1f5f04a858c8

6 years agoril: Change rild initial sequence to guarantee non-null function pointer before rild...
terrycrhuang [Fri, 4 May 2018 05:47:06 +0000 (13:47 +0800)]
ril: Change rild initial sequence to guarantee non-null function pointer before rild register its hidl service

Test: Build and local test
Bug: 78886552
Change-Id: I1137cc0f4f09f0304662a2227b84c2b5b228d45d

6 years agoSnap for 4683893 from ac71c57c88050f2bc46ea75320f03c62c708c91a to pi-release
android-build-team Robot [Wed, 28 Mar 2018 07:25:35 +0000 (07:25 +0000)]
Snap for 4683893 from ac71c57c88050f2bc46ea75320f03c62c708c91a to pi-release

Change-Id: If7690dc77983587a309bd5505304e230f8d012bd

6 years agoMerge "Add DISABLE_RILD_OEM_HOOK." into pi-dev
Steven Moreland [Tue, 27 Mar 2018 04:46:37 +0000 (04:46 +0000)]
Merge "Add DISABLE_RILD_OEM_HOOK." into pi-dev
am: ac71c57c88

Change-Id: I490e1d14b7575ba8628243db67f63912dd35c24e

6 years agoMerge "Add DISABLE_RILD_OEM_HOOK." into pi-dev
TreeHugger Robot [Tue, 27 Mar 2018 04:35:16 +0000 (04:35 +0000)]
Merge "Add DISABLE_RILD_OEM_HOOK." into pi-dev

6 years agoAdd DISABLE_RILD_OEM_HOOK.
Steven Moreland [Tue, 20 Mar 2018 18:20:05 +0000 (11:20 -0700)]
Add DISABLE_RILD_OEM_HOOK.

OEM hook is deprecated, so adding a way to disable it to
this radio implementation.

Bug: 75322118
Test: boot device w/ DISABLE_RILD_OEM_HOOK works, lshal
Change-Id: Ie7ade48476d2c330df608e9cc8dab805f84dd81d

6 years agoSnap for 4667902 from 4818c04ca31a6244cc2ab26724f45958a245b0c9 to pi-release
android-build-team Robot [Wed, 21 Mar 2018 07:22:19 +0000 (07:22 +0000)]
Snap for 4667902 from 4818c04ca31a6244cc2ab26724f45958a245b0c9 to pi-release

Change-Id: I89402e3e4a6f741b12a0e753fc4f77808545ceea

6 years agoreference-ril: fix asan error
bohu [Wed, 21 Mar 2018 01:17:09 +0000 (01:17 +0000)]
reference-ril:  fix asan error
am: 4818c04ca3

Change-Id: I65ee0a1af205c67ba57aeecda4e9cf968b3b51a7

6 years agoreference-ril: fix asan error
bohu [Mon, 19 Mar 2018 22:49:39 +0000 (15:49 -0700)]
reference-ril:  fix asan error

BUG: 74981776

Change-Id: I9e321fd6b34fe2a37a5e22668f7070f6da7d9f46

6 years agoSnap for 4662252 from 0c6d7438566d42bf07d1fcf7bf3460ce406f0ac2 to pi-release
android-build-team Robot [Sun, 18 Mar 2018 07:20:43 +0000 (07:20 +0000)]
Snap for 4662252 from 0c6d7438566d42bf07d1fcf7bf3460ce406f0ac2 to pi-release

Change-Id: Iffc696ed191eee61c5666b9d078ea7be7504bf30

6 years agoRevert "Emulator: add CSIM authentication support"
Bo Hu [Fri, 16 Mar 2018 21:46:28 +0000 (21:46 +0000)]
Revert "Emulator: add CSIM authentication support"
am: 0c6d743856

Change-Id: I579b1a1f3b54eb50d1e9d65e308e395eaa5580b1

6 years agoRevert "Emulator: add CSIM authentication support"
Bo Hu [Fri, 16 Mar 2018 19:30:21 +0000 (19:30 +0000)]
Revert "Emulator: add CSIM authentication support"

This reverts commit 1a0999f5359912a5f8b43ecb242b6fcb1de6c769.

Reason for revert: regression

Change-Id: Iaccff16f66132418e744531db117c7d6af21a90a
BUG: 75284151

6 years agoEmulator: add CSIM authentication support
bohu [Fri, 16 Mar 2018 01:43:45 +0000 (01:43 +0000)]
Emulator: add CSIM authentication support
am: 1a0999f535

Change-Id: I3531c0e7997084e721b54fd1b1cf5ad13fd0e4ea

6 years agoEmulator: add CSIM authentication support
bohu [Thu, 4 May 2017 21:24:19 +0000 (14:24 -0700)]
Emulator: add CSIM authentication support

BUG: 72886046
BUG: 37719621
BUG: 70507162

Test: run cts -m CtsCarrierApiTestCases -t
android.carrierapi.cts.CarrierApiTest#testGetIccAuthentication

Change-Id: I4438eab706ba4c0bd360600a1eb7322b186c9e82
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoSnap for 4653471 from 2d9f8af0f6334ded55c7850e5d12d480881fcc8f to pi-release
android-build-team Robot [Wed, 14 Mar 2018 07:25:25 +0000 (07:25 +0000)]
Snap for 4653471 from 2d9f8af0f6334ded55c7850e5d12d480881fcc8f to pi-release

Change-Id: Idcc2e103f020883492e0edffa2398399283d441b

6 years agoEmulator: use RIL_CellInfo_v12
bohu [Tue, 13 Mar 2018 17:04:44 +0000 (17:04 +0000)]
Emulator: use RIL_CellInfo_v12
am: 2d9f8af0f6

Change-Id: Ibddafd96ca06dc5a992a079a3df04133c783da2d

6 years agoEmulator: use APPTYPE_USIM instead of APPTYPE_SIM
bohu [Tue, 13 Mar 2018 17:03:43 +0000 (17:03 +0000)]
Emulator: use APPTYPE_USIM instead of APPTYPE_SIM
am: 48170a0b6c

Change-Id: I2a343195993bbefca4079fae3388442667681bf0

6 years agoSnap for 4651078 from 8c1da5b30cd4e01dd587d0b7ada8383b54b63879 to pi-release
android-build-team Robot [Tue, 13 Mar 2018 09:44:18 +0000 (09:44 +0000)]
Snap for 4651078 from 8c1da5b30cd4e01dd587d0b7ada8383b54b63879 to pi-release

Change-Id: Ie83246c96cfe9211d1fd3f2d44dae03ab8ffd1d1

6 years agoEmulator: use RIL_CellInfo_v12
bohu [Mon, 1 May 2017 22:35:19 +0000 (15:35 -0700)]
Emulator: use RIL_CellInfo_v12

RIL_CellInfo is deprecated and it fails CTS test

BUG: 72886046
Test: run cts -m CtsTelephonyTestCases  -t
android.telephony.cts.CellInfoTest#testCellInfo

Change-Id: I814322824836c91e9a9ad7807a6edb06f2047245
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoEmulator: use APPTYPE_USIM instead of APPTYPE_SIM
bohu [Mon, 1 May 2017 21:59:00 +0000 (14:59 -0700)]
Emulator: use APPTYPE_USIM instead of APPTYPE_SIM

The USIM is assumed to be available by default now.
(previously SIM is default)

BUG: 72886046
Test: run cts -m CtsTelephonyTestCases  -t
android.telephony.cts.TelephonyManagerTest#testGetForbiddenPlmns

Change-Id: I7161df9eb0317cf2c6978b5b4af2332ce91da8a9
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoEmulator: set correct MEID for non-CDMA phone
bohu [Mon, 12 Mar 2018 21:16:11 +0000 (21:16 +0000)]
Emulator: set correct MEID for non-CDMA phone
am: 8c1da5b30c

Change-Id: Ib9b114d9007635f9dda0241752cfb26ebf0a01ae

6 years agoMerge "libril: Protect against NULL unsolicited response function" am: f6b6550f24
D. Andrei Măceș [Mon, 12 Mar 2018 21:05:53 +0000 (21:05 +0000)]
Merge "libril: Protect against NULL unsolicited response function" am: f6b6550f24
am: 5a01e12008

Change-Id: I1706fc70f36f93f795e3b38a76a2e65017ad2ec8

6 years agoMerge "libril: Protect against NULL unsolicited response function"
D. Andrei Măceș [Mon, 12 Mar 2018 20:55:54 +0000 (20:55 +0000)]
Merge "libril: Protect against NULL unsolicited response function"
am: f6b6550f24

Change-Id: I4a150bb510c25f5d06603d82746c5eeecf125362

6 years agoMerge "libril: Protect against NULL unsolicited response function"
Treehugger Robot [Mon, 12 Mar 2018 20:35:37 +0000 (20:35 +0000)]
Merge "libril: Protect against NULL unsolicited response function"

6 years agoSnap for 4647811 from efa3401c716b8d090afbd9a6a1022f111a041b9a to pi-release
android-build-team Robot [Sun, 11 Mar 2018 08:23:41 +0000 (08:23 +0000)]
Snap for 4647811 from efa3401c716b8d090afbd9a6a1022f111a041b9a to pi-release

Change-Id: I48c4f23e945a8e2e270656dea3b386683414cb67

6 years agoEmulator: support querying device identity
bohu [Sat, 10 Mar 2018 06:40:35 +0000 (06:40 +0000)]
Emulator: support querying device identity
am: efa3401c71

Change-Id: I30c1a653b9f927a6b4f4b750eb4125555d1a11d4

6 years agolibril: Protect against NULL unsolicited response function
D. Andrei Măceș [Sat, 7 Oct 2017 15:07:00 +0000 (18:07 +0300)]
libril: Protect against NULL unsolicited response function

Upstream change I732234a22328a1bfcb603bb020547f543b6fd766 makes
RIL_UNSOL_DC_RT_INFO_CHANGED's responseFunction() NULL, without
protecting against it in RIL_onUnsolicitedResponse(), thus crash-
ing at least hammerhead's RIL stack upon mobile data connection.

https://android-review.googlesource.com/#/c/platform/hardware/ril/+/345950/

Change-Id: I6567019cb6daf6492a29e04cc9872e69b2ba456d
Signed-off-by: D. Andrei Măceș <Andrei.Maces@alumni.nd.edu>
6 years agoEmulator: set correct MEID for non-CDMA phone
bohu [Mon, 1 May 2017 21:38:13 +0000 (14:38 -0700)]
Emulator: set correct MEID for non-CDMA phone

For GSM phone, the MEID should be empty.

BUG: 72886046
Test: un cts -m CtsTelephonyTestCases  -t
android.telephony.cts.TelephonyManagerTest#testGetMeid

Change-Id: Id0cabe87f417fe284b41f5394c755cfbd3bd689c

6 years agoUse system property gateway if not using WiFi
Bjoern Johansson [Fri, 9 Mar 2018 23:31:33 +0000 (23:31 +0000)]
Use system property gateway if not using WiFi
am: bc497e700e

Change-Id: Ib6cbc213e2c670658fa0d162f156c961e0c11aac

6 years agoEmulator: support querying device identity
bohu [Mon, 1 May 2017 21:07:22 +0000 (14:07 -0700)]
Emulator: support querying device identity

Current reference-ril only support CDMA type;
Changed it to support Non-CDMS type (such as GSM) as well.

BUG: 72886046
Test: run cts -m CtsTelephonyTestCases  -t
android.telephony.cts.TelephonyManagerTest#testGetImei

Change-Id: I8a5f61d96568b22f990da2004248436fcef7a51a
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoUse system property gateway if not using WiFi
Bjoern Johansson [Thu, 27 Jul 2017 22:41:08 +0000 (15:41 -0700)]
Use system property gateway if not using WiFi

When running with WiFi the IPv4 gateway for the radio interface is known
and can be hardcoded, even if TAP is enabled. This is because the
gateway is the internal address in the router namespace. Without WiFi
the radio interface is eth0, the public interface. The gateway for this
interface can be dynamic if running with TAP networking so in that case
it can't use a hardcoded gateway the way it used to. The DHCP client
will set the net.eth0.gw system property to the gateway of the host
network so use that property to give the correct gateway to the radio
interface.
Bug: 72886046
Test: manual, build and ran the emulator (steps from CTS tests)
Change-Id: I110a1216cccc846a48befe4c8cb2e602ed63752f
(cherry picked from commit cf111309af68ab095371ef495d2c78e1faf885a6)
(cherry picked from commit 0de94de9dc67db550f50bf2ffe3360b7ce02907d)

6 years agoSnap for 4641295 from d20f07743b64e7670cb8e69e01b8c3ac55cea160 to pi-release
android-build-team Robot [Thu, 8 Mar 2018 08:23:25 +0000 (08:23 +0000)]
Snap for 4641295 from d20f07743b64e7670cb8e69e01b8c3ac55cea160 to pi-release

Change-Id: I8dd08888d66fb188a2968b05a31ebda1e6f46302

6 years agoMerge "Enable/disable radio interface on setup/deactivate" into pi-dev
Bjoern Johansson [Thu, 8 Mar 2018 02:00:46 +0000 (02:00 +0000)]
Merge "Enable/disable radio interface on setup/deactivate" into pi-dev
am: d20f07743b

Change-Id: I0636ab07751bfe78b53bd9bf590baff2c7365e67

6 years agoMerge "Enable/disable radio interface on setup/deactivate" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 01:02:28 +0000 (01:02 +0000)]
Merge "Enable/disable radio interface on setup/deactivate" into pi-dev

6 years agoEnable/disable radio interface on setup/deactivate
Bjoern Johansson [Wed, 22 Mar 2017 21:54:00 +0000 (14:54 -0700)]
Enable/disable radio interface on setup/deactivate

When a RIL request to setup or deactivate data calls the radio interface
would previously be left up. This caused some problems for IPv6 when
switching between WiFi and radio. When WiFi was disable the radio
interface would not send a router solicitation and so the IPv6 router
table would not be populated with a default gateway. Disabling and
enabling the interface solves this since enabling the interface triggers
the router solicitation. Additionally this also makes networking
unavailable when radio data is turned off as one might expect.
Bug: 72886046
Test: manual, build and ran the emulator (steps from CTS tests)
Change-Id: I658ebd8ea6e691a6ffb829e38e1ebbec67002645
(cherry picked from commit 9d552844e9936d03cc5a8856040fca18a2d2f5ac)
(cherry picked from commit 857f2d522c5163d8bbcf4ba5c9394d043fbc5b82)
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoSnap for 4638586 from 9169039be9b6ec2076a8b9b655a227f8a87dfb36 to pi-release
android-build-team Robot [Wed, 7 Mar 2018 08:27:51 +0000 (08:27 +0000)]
Snap for 4638586 from 9169039be9b6ec2076a8b9b655a227f8a87dfb36 to pi-release

Change-Id: I20205600179d3ce9ce13c90f95fe3b1999275e1f

6 years agoMerge "reference-ril: add owner from emulator team" into pi-dev
bohu [Wed, 7 Mar 2018 00:31:40 +0000 (00:31 +0000)]
Merge "reference-ril: add owner from emulator team" into pi-dev
am: 9169039be9

Change-Id: Ib6a289ab04738c0981ae9c87158ead0b53312c18

6 years agoNamespace ril service and properties with "vendor."
Jaekyun Seok [Tue, 6 Mar 2018 22:51:41 +0000 (22:51 +0000)]
Namespace ril service and properties with "vendor."
am: 1b4e637ead

Change-Id: Ifa5e49c1eeffb8636ce567e22d86847228f889fb

6 years agoMerge "reference-ril: add owner from emulator team" into pi-dev
TreeHugger Robot [Tue, 6 Mar 2018 22:50:46 +0000 (22:50 +0000)]
Merge "reference-ril: add owner from emulator team" into pi-dev

6 years agoNamespace ril service and properties with "vendor."
Jaekyun Seok [Mon, 26 Feb 2018 04:30:06 +0000 (13:30 +0900)]
Namespace ril service and properties with "vendor."

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name and
vendor-specific properties.
You can see the details in http://go/treble-sysprop-compatibility.

These are applied only if PRODUCT_COMPATIBLE_PROPERTY is true.

Bug: 36796459
Bug: 73871799
Test: succeeded building and tested on a taimen device
Change-Id: I45ce47a0f6768bc3f088450a8b4680801a96db7e
Merged-In: I45ce47a0f6768bc3f088450a8b4680801a96db7e
(cherry picked from commit 83035b57fc6f63f4e80c3a424f09a867150e3bbe)

6 years agoreference-ril: add owner from emulator team
bohu [Mon, 5 Mar 2018 18:57:33 +0000 (10:57 -0800)]
reference-ril: add owner from emulator team

The emulator team has been modifying reference-ril
and would like to have a owner on this subdir for
quicker turn around of bug fixes

This cl copied the OWNERS file from hardware/ril
to reference-ril/ and added bohu@

Change-Id: I6598af1827da32f67fed71c732fee111605d1186
(cherry picked from commit c89f255e8bb17cf2b91e4e46b6b5e937a908131f)

6 years agoSnap for 4628106 from b67d8eb090caca72d1c1f0e7a726b6f13bfaa4d9 to pi-release
android-build-team Robot [Thu, 1 Mar 2018 08:23:47 +0000 (08:23 +0000)]
Snap for 4628106 from b67d8eb090caca72d1c1f0e7a726b6f13bfaa4d9 to pi-release

Change-Id: I2cb604520db42f9941c65b99297a06bbb3269b7b

6 years agoMerge "Store the system time when NITZ is received." am: 236f668034 am: 0406228af4
Amit Mahajan [Thu, 1 Mar 2018 01:15:20 +0000 (01:15 +0000)]
Merge "Store the system time when NITZ is received." am: 236f668034 am: 0406228af4
am: a2e8af50ea

Change-Id: I74c796651711d5d94d1690018b68a6bd35476251

6 years agoMerge "Store the system time when NITZ is received." am: 236f668034
Amit Mahajan [Thu, 1 Mar 2018 01:10:47 +0000 (01:10 +0000)]
Merge "Store the system time when NITZ is received." am: 236f668034
am: 0406228af4

Change-Id: Iaf9208530732e177c27c0f3ba8c6b28161005c01

6 years agoMerge "Store the system time when NITZ is received."
Amit Mahajan [Thu, 1 Mar 2018 01:06:16 +0000 (01:06 +0000)]
Merge "Store the system time when NITZ is received."
am: 236f668034

Change-Id: I251bb5e0ab7171907d056deb393dd77183f1061e

6 years agoMerge "Store the system time when NITZ is received."
Treehugger Robot [Thu, 1 Mar 2018 01:02:28 +0000 (01:02 +0000)]
Merge "Store the system time when NITZ is received."

6 years agoSnap for 4623514 from a8bec8983b382917b517e97fa09be5afda468b0c to pi-release
android-build-team Robot [Tue, 27 Feb 2018 08:27:39 +0000 (08:27 +0000)]
Snap for 4623514 from a8bec8983b382917b517e97fa09be5afda468b0c to pi-release

Change-Id: I13f6e477db378a280d9091ce284c4dc7c34db162

6 years agoStore the system time when NITZ is received.
Amit Mahajan [Sat, 24 Feb 2018 01:12:15 +0000 (17:12 -0800)]
Store the system time when NITZ is received.

If cached value for NITZ is used, the time at which it was
received needs to be cached too.

Test: Basic telephony sanity
Bug: 72283604
Change-Id: I8f443171c4583e3eab9be7973d7714ae6c7ab6af

6 years agoAdd support for WiFi in the emulator
Bjoern Johansson [Fri, 10 Feb 2017 06:55:02 +0000 (22:55 -0800)]
Add support for WiFi in the emulator

The way WiFi works in the emulator requires changes to the reference RIL
in setting up interfaces. The interface name and gateway provided by RIL
changes when the emulator indicates support for WiFi. This information
is used to set up default routes which is needed for internet
connectivity.
Exempt-From-Owner-Approval:
Change-Id: I5dface583519ac36d12d16315b059866baaf73a5
(cherry picked from commit 021f5783a6c3c2a9793e3ac46e9ba0c9a6607235)
(cherry picked from commit 4710ed193d827066d08b46d75ce6315a983c7402)
Signed-off-by: Roman Kiryanov <rkir@google.com>
6 years agoSnap for 4600820 from 9dc8fcd49129caf8e649eef289130269bd4d89d4 to pi-release
android-build-team Robot [Tue, 13 Feb 2018 08:41:52 +0000 (08:41 +0000)]
Snap for 4600820 from 9dc8fcd49129caf8e649eef289130269bd4d89d4 to pi-release

Change-Id: I8f736ae76b547e64ec2d7732147fdc9a6ace777a

6 years agoMerge "Changed owners" am: 72ee094c8d am: 7c0ce9e778
Jack Yu [Mon, 12 Feb 2018 23:15:22 +0000 (23:15 +0000)]
Merge "Changed owners" am: 72ee094c8d am: 7c0ce9e778
am: 1150e6b738

Change-Id: I1881e2d93d01eea0cd2e902da0a6338d40f22070

6 years agoMerge "Changed owners" am: 72ee094c8d
Jack Yu [Mon, 12 Feb 2018 23:08:53 +0000 (23:08 +0000)]
Merge "Changed owners" am: 72ee094c8d
am: 7c0ce9e778

Change-Id: I977114eac84d377a16522c93f77c617577600f9d

6 years agoMerge "Changed owners"
Jack Yu [Mon, 12 Feb 2018 23:02:02 +0000 (23:02 +0000)]
Merge "Changed owners"
am: 72ee094c8d

Change-Id: Ic84d14a9584d938bc92cc9ceb6bfb3d3044cff3b

6 years agoMerge "Changed owners"
Jack Yu [Mon, 12 Feb 2018 22:37:54 +0000 (22:37 +0000)]
Merge "Changed owners"

6 years agoChanged owners
Jack Yu [Mon, 12 Feb 2018 19:52:36 +0000 (11:52 -0800)]
Changed owners

Test: Build
Change-Id: I1f647165958984380419bb5ca92b9fb141bf43e7

6 years agomerge in pi-release history after reset to master
gitbuildkicker [Mon, 29 Jan 2018 22:54:47 +0000 (14:54 -0800)]
merge in pi-release history after reset to master

6 years agomerge in pi-release history after reset to master
gitbuildkicker [Mon, 29 Jan 2018 19:54:57 +0000 (11:54 -0800)]
merge in pi-release history after reset to master

6 years agoSnap for 4571561 from 4600c0ce6ff346a58841b5e4a2e56cf6fed473dd to pi-release
android-build-team Robot [Sun, 28 Jan 2018 08:20:25 +0000 (08:20 +0000)]
Snap for 4571561 from 4600c0ce6ff346a58841b5e4a2e56cf6fed473dd to pi-release

Change-Id: Ib2db524107415bb22c2b3650d4c8b29b3d36b886

6 years agoSnap for 4565898 from 716f96749d242cdf9e4e6c3036705f6495477af3 to pi-release
android-build-team Robot [Thu, 25 Jan 2018 09:06:30 +0000 (09:06 +0000)]
Snap for 4565898 from 716f96749d242cdf9e4e6c3036705f6495477af3 to pi-release

Change-Id: I075a94db64ff74204fea0d0a65e432e0d60d6627

6 years agoAdd flag to disable rild compilation
Naina Nalluri [Wed, 24 Jan 2018 21:08:24 +0000 (13:08 -0800)]
Add flag to disable rild compilation

This change adds a flag to disable rild
compilation. Vendors implementing their
own version should enable this flag in their
device specific make files.

Bug: 71513817
Test: Compile and check the out folder for rild
Change-Id: Ifce51b803adb97e03c9d27b9415dc3fa5714e71e

6 years agoMerge "Revert "reference-ril: fix emulator gateway"" am: fe21a1c2d8 am: bf10103224
Tao Wu [Wed, 24 Jan 2018 08:30:52 +0000 (08:30 +0000)]
Merge "Revert "reference-ril: fix emulator gateway"" am: fe21a1c2d8 am: bf10103224
am: a93069b72b

Change-Id: I495599cfa1207ce0fd712b86f4ff4a0d9a0d44d7

6 years agoMerge "Revert "reference-ril: fix emulator gateway"" am: fe21a1c2d8
Tao Wu [Wed, 24 Jan 2018 08:22:01 +0000 (08:22 +0000)]
Merge "Revert "reference-ril: fix emulator gateway"" am: fe21a1c2d8
am: bf10103224

Change-Id: Ic06fb7d7174dbb992bfa0dd2285ebccd1d34a8a4

6 years agoMerge "Revert "reference-ril: fix emulator gateway""
Tao Wu [Wed, 24 Jan 2018 07:56:31 +0000 (07:56 +0000)]
Merge "Revert "reference-ril: fix emulator gateway""
am: fe21a1c2d8

Change-Id: I3f9c00d934dd998cc90ca6d431930b01b5c7cd3c

6 years agoMerge "Revert "reference-ril: fix emulator gateway""
Tao Wu [Wed, 24 Jan 2018 05:41:01 +0000 (05:41 +0000)]
Merge "Revert "reference-ril: fix emulator gateway""

6 years agoRevert "reference-ril: fix emulator gateway"
Tao Wu [Wed, 24 Jan 2018 00:43:22 +0000 (00:43 +0000)]
Revert "reference-ril: fix emulator gateway"

This reverts commit 0c389bf755acc18fb44dff5f3a32385352e69656.

Reason for revert: the right fix should be r.android.com/597929

Change-Id: Icc97c003b6dee7ada22748950e08cd5e0d5913c8

6 years agomerge in pi-release history after reset to master
gitbuildkicker [Tue, 23 Jan 2018 22:19:56 +0000 (14:19 -0800)]
merge in pi-release history after reset to master

6 years agomerge in pi-release history after reset to master
gitbuildkicker [Tue, 23 Jan 2018 20:12:37 +0000 (12:12 -0800)]
merge in pi-release history after reset to master

6 years agoSnap for 4560043 from 5a5fea16d9f36fec04588f11c952136a89c0afe4 to pi-release
android-build-team Robot [Tue, 23 Jan 2018 08:28:45 +0000 (08:28 +0000)]
Snap for 4560043 from 5a5fea16d9f36fec04588f11c952136a89c0afe4 to pi-release

Change-Id: If05eb445cc6adf5b1d200ed87c54d8c638fdff9c

6 years agoMerge "Avoid possible buffer overflow." am: 5b6c4c4612 am: 9f461fcb2b
Elliott Hughes [Mon, 22 Jan 2018 21:39:07 +0000 (21:39 +0000)]
Merge "Avoid possible buffer overflow." am: 5b6c4c4612 am: 9f461fcb2b
am: 15946ecc29

Change-Id: I945904ff338b30296a1cae508160689758bf55e2

6 years agoMerge "Avoid possible buffer overflow." am: 5b6c4c4612
Elliott Hughes [Mon, 22 Jan 2018 21:34:07 +0000 (21:34 +0000)]
Merge "Avoid possible buffer overflow." am: 5b6c4c4612
am: 9f461fcb2b

Change-Id: Ie47864c9f1f9bfb8a34f276672dffb073d4197b6