OSDN Git Service

android-x86/hardware-ril.git
4 years agoAdd RIL_UNSOL_KEEPALIVE_STATUS in ril_unsol_commands.h q-x86
Gary Jian [Thu, 13 Jun 2019 23:30:21 +0000 (16:30 -0700)]
Add RIL_UNSOL_KEEPALIVE_STATUS in ril_unsol_commands.h
am: 2093efa562

Change-Id: I8432b299e0b85b6471083c295f1581ff5d4f2847

4 years agoAdd RIL_UNSOL_KEEPALIVE_STATUS in ril_unsol_commands.h
Gary Jian [Thu, 6 Jun 2019 08:45:49 +0000 (16:45 +0800)]
Add RIL_UNSOL_KEEPALIVE_STATUS in ril_unsol_commands.h

Bug: 134048171
Test: 1. Build Pass
      2. Running atest android.net.cts.ConnectivityManagerTest
         #testSocketKeepaliveLimitTelephony and make sure the
         Telephony FWK can receive RIL_UNSOL_KEEPALIVE_STATUS.

Change-Id: I98f8d4a95a6c9c3c078a02aa9fd8722779623f12

5 years agoMerge master@5406228 into git_qt-dev-plus-aosp.
Bill Rassieur [Wed, 3 Apr 2019 23:52:13 +0000 (16:52 -0700)]
Merge master@5406228 into git_qt-dev-plus-aosp.
am: 63879f189c

Change-Id: I3f2335624a28ac0a0980380995cb686801aee80f

5 years agoMerge master@5406228 into git_qt-dev-plus-aosp.
Bill Rassieur [Fri, 29 Mar 2019 04:24:44 +0000 (04:24 +0000)]
Merge master@5406228 into git_qt-dev-plus-aosp.

Change-Id: Iafbdddb6c6ebb647746c7a3e743e925f278f6fda
BUG: 129345239

5 years agoMerge "Do not call rilc_thread_pool if there is no ril library" am: 001a126f8b am...
Roman Kiryanov [Thu, 21 Mar 2019 03:37:23 +0000 (20:37 -0700)]
Merge "Do not call rilc_thread_pool if there is no ril library" am: 001a126f8b am: 61eae8ffd1
am: 976eb99d92

Change-Id: Id43e20b668a7b9b0df93bed3f2edfe956a7c664c

5 years agoMerge "Do not call rilc_thread_pool if there is no ril library" am: 001a126f8b
Roman Kiryanov [Thu, 21 Mar 2019 03:33:23 +0000 (20:33 -0700)]
Merge "Do not call rilc_thread_pool if there is no ril library" am: 001a126f8b
am: 61eae8ffd1

Change-Id: Ia5ae77b5c7655503031bd44c557a9ac074b7e7e0

5 years agoMerge "Do not call rilc_thread_pool if there is no ril library"
Roman Kiryanov [Thu, 21 Mar 2019 03:29:21 +0000 (20:29 -0700)]
Merge "Do not call rilc_thread_pool if there is no ril library"
am: 001a126f8b

Change-Id: Ib83df4199f842800c14a68aa21341b298121a91b

5 years agoMerge "Do not call rilc_thread_pool if there is no ril library"
Treehugger Robot [Thu, 21 Mar 2019 03:13:09 +0000 (03:13 +0000)]
Merge "Do not call rilc_thread_pool if there is no ril library"

5 years agoDo not call rilc_thread_pool if there is no ril library
Roman Kiryanov [Wed, 20 Mar 2019 23:06:18 +0000 (16:06 -0700)]
Do not call rilc_thread_pool if there is no ril library

rilc_thread_pool crashes if RIL_register is never called
because RIL_register sets the threadpool which
rilc_thread_pool joins to.

Test: make
Bug: 117327079
Change-Id: If249561375748d42f1b8593ac9794fdfa1b76d18
Signed-off-by: Roman Kiryanov <rkir@google.com>
5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" am...
Xin Li [Mon, 11 Mar 2019 21:49:54 +0000 (14:49 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" am: 8a206a0e27 -s ours am: 4df6a14940 -s ours
am: 23d2f26d06 -s ours
am skip reason: subject contains skip directive

Change-Id: I1f4c8028bf38d49545ae4dfdb578cf1b55924ff0

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" am...
Xin Li [Mon, 11 Mar 2019 21:14:48 +0000 (14:14 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master" am: 8a206a0e27 -s ours
am: 4df6a14940 -s ours
am skip reason: subject contains skip directive

Change-Id: I14c8d4729a1cb371b9248a373014f280fa018d98

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 653c30840f...
Xin Li [Mon, 11 Mar 2019 20:58:48 +0000 (13:58 -0700)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 653c30840f -s ours am: 79ef3c3f65 -s ours
am: 8e242a5262 -s ours
am skip reason: subject contains skip directive

Change-Id: I2cc57cb4759ca91d40c132feba46692e45162c8d

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"
Xin Li [Mon, 11 Mar 2019 20:25:37 +0000 (13:25 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"
am: 8a206a0e27 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic738bb413ceb3a409446692d176cb29755c7e41d

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 653c30840f...
Xin Li [Mon, 11 Mar 2019 20:12:48 +0000 (13:12 -0700)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: 653c30840f -s ours
am: 79ef3c3f65 -s ours
am skip reason: subject contains skip directive

Change-Id: Iad2d831fe90c2cf1587ba40e3dd09ef634c370f7

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master
Xin Li [Mon, 11 Mar 2019 19:39:08 +0000 (12:39 -0700)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master
am: 653c30840f -s ours
am skip reason: subject contains skip directive

Change-Id: I36d97e1ec9b9fb894c0c239c415a2dc8c9c52593

5 years agoMerge "DO NOT MERGE - Merge PPRL.190305.001 into master"
Treehugger Robot [Mon, 11 Mar 2019 18:56:29 +0000 (18:56 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190305.001 into master"

5 years agoDO NOT MERGE - Merge PPRL.190305.001 into master
Xin Li [Mon, 11 Mar 2019 16:13:29 +0000 (09:13 -0700)]
DO NOT MERGE - Merge PPRL.190305.001 into master

Bug: 127812889
Change-Id: Id628051e8dde2bce29ae874b190b5e25758efe46

5 years agoMerge "Use 32BIT nanopb library."
TreeHugger Robot [Wed, 6 Mar 2019 10:51:12 +0000 (10:51 +0000)]
Merge "Use 32BIT nanopb library."

5 years agoMerge stage-aosp-master into pi-dev-plus-aosp
Xin Li [Mon, 25 Feb 2019 13:38:22 +0000 (05:38 -0800)]
Merge stage-aosp-master into pi-dev-plus-aosp
am: 4a431edc85

Change-Id: I5cd71e856c80c861d464c199dc41332ac6651f33

5 years agoMerge stage-aosp-master into pi-dev-plus-aosp
Xin Li [Mon, 25 Feb 2019 08:30:35 +0000 (00:30 -0800)]
Merge stage-aosp-master into pi-dev-plus-aosp

Bug: 126125118
Change-Id: If68db2b53dffe4c33f9fb34019020d6253ac0679

5 years agoDO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Xin Li [Thu, 21 Feb 2019 00:19:30 +0000 (16:19 -0800)]
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master

Bug: 120848293
Change-Id: I4f5019a9b58e64ccc733556646673966260d9524

5 years agoUse 32BIT nanopb library.
Yu Shan [Sat, 26 Jan 2019 01:22:05 +0000 (17:22 -0800)]
Use 32BIT nanopb library.

Test: None
Bug: 122292884
Change-Id: Idb0d56749e41aa97a760dfed5246330041c3da3a

5 years agoHandle MCC/MNC in data registration state provided by legacy vendor RILs
Gohulan Balachandran [Tue, 5 Feb 2019 19:20:46 +0000 (11:20 -0800)]
Handle MCC/MNC in data registration state provided by legacy vendor RILs

Include MCC/MNC provided by legacy (versions 14 and older) vendor RIL
implementations as part of data registration state, in data registration
state reported to clients of the radio HAL service.

Bug: 119904357
Test: local build and did the local test on Marlin device,
      the mcc/mnc value are correct (not -1 and empty string value).

Change-Id: I5a26939402b86d889133e16f3508ab76b8bedddc

5 years ago[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into...
Xin Li [Tue, 12 Feb 2019 03:15:23 +0000 (19:15 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master am: 59449b4c75 -s ours
am: 40fd020dc4 -s ours
am skip reason: subject contains skip directive

Change-Id: I1b788e8df7dad8c6b326bdc2f48f1eaba4a30f95

5 years ago[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into...
Xin Li [Tue, 12 Feb 2019 02:17:00 +0000 (18:17 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
am: 59449b4c75 -s ours
am skip reason: subject contains skip directive

Change-Id: I93f1084ccdac4ee7f45684cbac1d399c791bc37b

5 years agoDO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Xin Li [Mon, 11 Feb 2019 23:54:43 +0000 (15:54 -0800)]
DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master

Bug: 124234733
Change-Id: I0d1f506ed30baff926c0dd0c3a7e1e30b7b710af

5 years agoSnap for 5180536 from 082e32effc07dddd06b67d2be2c2c6ee554d5d52 to pi-platform-release
android-build-team Robot [Sat, 9 Feb 2019 02:20:35 +0000 (02:20 +0000)]
Snap for 5180536 from 082e32effc07dddd06b67d2be2c2c6ee554d5d52 to pi-platform-release

Change-Id: Ibd53a72bf47948b3fc264a30fd84b19cca83577d

5 years agoMerge "Fix protocol buffer compiler warning"
TreeHugger Robot [Thu, 24 Jan 2019 12:45:44 +0000 (12:45 +0000)]
Merge "Fix protocol buffer compiler warning"

5 years agoMerge "ril: set initial value to GW timingAdvance" am: 1106273899 am: 76482b9fc6
Tim Lin [Wed, 23 Jan 2019 05:09:57 +0000 (21:09 -0800)]
Merge "ril: set initial value to GW timingAdvance" am: 1106273899 am: 76482b9fc6
am: a6ecf622db

Change-Id: I0c147e42cb0b0f9048b71f3967da7d5dbd73d502

5 years agoMerge "ril: set initial value to GW timingAdvance" am: 1106273899
Tim Lin [Wed, 23 Jan 2019 04:41:52 +0000 (20:41 -0800)]
Merge "ril: set initial value to GW timingAdvance" am: 1106273899
am: 76482b9fc6

Change-Id: I8403bbf345ed531c559d89c4a666445a10922be0

5 years agoMerge "ril: set initial value to GW timingAdvance"
Tim Lin [Wed, 23 Jan 2019 04:37:50 +0000 (20:37 -0800)]
Merge "ril: set initial value to GW timingAdvance"
am: 1106273899

Change-Id: I4cf3a32da7c63dc89dc996fcb534d8772eb77c63

5 years agoMerge "ril: set initial value to GW timingAdvance"
Treehugger Robot [Wed, 23 Jan 2019 04:25:53 +0000 (04:25 +0000)]
Merge "ril: set initial value to GW timingAdvance"

5 years agoril: set initial value to GW timingAdvance
Tim Lin [Tue, 22 Jan 2019 09:17:51 +0000 (17:17 +0800)]
ril: set initial value to GW timingAdvance

RIL_SignalStrength_v10 not support gw.timingAdvance. But default 0 will
be taken as valid value. Set to INT_MAX as invalid value.

Bug: 123096279
Test: Build pass. Correct value for GW timingAdvance in radio log.
01-22 16:22:41.150  1779  1910 V RILJ    : [UNSL]< UNSOL_SIGNAL_STRENGTH
SignalStrength:{ mGsm=CellSignalStrengthGsm: rssi=2147483647 ber=99 mTa=2147483647

Change-Id: I37cc2c246d045a07ffad863fb0cc852d8184c3ca

5 years agoFix protocol buffer compiler warning
jimsun [Sat, 19 Jan 2019 02:32:27 +0000 (10:32 +0800)]
Fix protocol buffer compiler warning

Warning message:
  [ 86% 23128/26768] //hardware/ril/librilutils:librilutils protoc proto/sap-api.proto
  [libprotobuf WARNING external/protobuf/src/google/protobuf/compiler/parser.cc:547]
  No syntax specified for the proto file: hardware/ril/librilutils/proto/sap-api.proto.
  Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version.
  (Defaulted to proto2 syntax.)

Bug: 123039027
Test: build pass withtout warning message printed out
Change-Id: Ie340518a2f4758817bc3402fc897f918a8e89df6

5 years agoMerge "The index value shall be -1 if there is no relevant application" am: 902fa4401...
Ryuto Sawada [Wed, 5 Dec 2018 00:16:12 +0000 (16:16 -0800)]
Merge "The index value shall be -1 if there is no relevant application" am: 902fa44011 am: 4df763b290
am: f20719661f

Change-Id: I43b9124e27e4cb49462026d325562f5550e9fb48

5 years agoMerge "The index value shall be -1 if there is no relevant application" am: 902fa44011
Ryuto Sawada [Tue, 4 Dec 2018 23:53:39 +0000 (15:53 -0800)]
Merge "The index value shall be -1 if there is no relevant application" am: 902fa44011
am: 4df763b290

Change-Id: I11f48f72a98d0fcc5e75b979b512844c23bd1797

5 years agoMerge "The index value shall be -1 if there is no relevant application"
Ryuto Sawada [Tue, 4 Dec 2018 23:45:57 +0000 (15:45 -0800)]
Merge "The index value shall be -1 if there is no relevant application"
am: 902fa44011

Change-Id: I57f77a8f19dd646eb6c5698e0b680573070b19c9

5 years agoMerge "The index value shall be -1 if there is no relevant application"
Treehugger Robot [Tue, 4 Dec 2018 23:17:55 +0000 (23:17 +0000)]
Merge "The index value shall be -1 if there is no relevant application"

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

Change-Id: If5104624900b742b842b391986b6c3e8b027cb2f

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 02:22:22 +0000 (19:22 -0700)]
[automerger skipped] Merge pie-platform-release to aosp-master - DO NOT MERGE am: 8e228fc8be  -s ours am: 40e71f7952  -s ours
am: 021ef37bc2  -s ours

Change-Id: If7311984b5ac848a37d25c7c010f85bff13ed774

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 18:19:04 +0000 (11:19 -0700)]
[automerger skipped] Merge pi-platform-release to stage-aosp-master - DO NOT MERGE am: c3ab198dda  -s ours
am: 1a117e038c  -s ours

Change-Id: Ieffc6b0da23ba01df6f9a42272580226d7861b0b

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 am: 2f0400e3c2
Ashit Sood [Mon, 8 Oct 2018 18:09:23 +0000 (11:09 -0700)]
Merge "Replace strncpy with strlcpy." am: 665b76e3ba am: 2f0400e3c2
am: 0bc6910b95

Change-Id: Ideb8f136b4fdb78996a03f3329930d2ed844f7ab

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 agoMerge "Snap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2...
android-build-team Robot [Sat, 6 Oct 2018 03:22:49 +0000 (03:22 +0000)]
Merge "Snap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2-release" into pi-qpr2-release

5 years agoSnap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2-release
android-build-team Robot [Sat, 6 Oct 2018 03:15:57 +0000 (03:15 +0000)]
Snap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2-release

Change-Id: Ie86cd6aae2b1ad9fa68af015827da13623bd1e52

5 years agoSnap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2-release
android-build-team Robot [Sat, 6 Oct 2018 03:10:23 +0000 (03:10 +0000)]
Snap for 5053079 from 5f438e18ba37089a8ae58fca529ab1cb964e9f81 to pi-qpr2-release

Change-Id: I7ed0422e4a142d9e4ce13cd87df7cee85b24de10

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

Change-Id: I2f7b13e816573c1a7809086644cbdea63146e4ac

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 am: e983fcbd19
Nathan Harold [Thu, 30 Aug 2018 23:22:53 +0000 (16:22 -0700)]
Merge "Encode the Number of MNC Digits in CellIdentity" am: 1fba551f96 am: e983fcbd19
am: 57c88e68f9

Change-Id: I9274b369ebd17708f0ed95fedabf306879834892

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 am: d1b5e6e6ea
Xin Li [Wed, 8 Aug 2018 10:12:04 +0000 (03:12 -0700)]
Merge "Merge Android Pie into master" am: c136355b05 am: e4be21cdac am: d1b5e6e6ea
am: 532c457770

Change-Id: I9ed263dead01c464777433d117c5b0a946399eb7

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 am: f43ad9ed5a
Xin Li [Sat, 9 Jun 2018 13:23:28 +0000 (06:23 -0700)]
Merge pi-dev-plus-aosp-without-vendor into stage-aosp-master am: f43ad9ed5a
am: 0e84af7788

Change-Id: I3e8f90c7283772c3fa08ba5d8fc8466ea1ede042

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

5 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

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

Change-Id: I01aa504c1387c747b5d05bc543bc7cee58e68d73

5 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

5 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

5 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

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

Change-Id: Ib6a53d7bbd9058bbb46df122d28ee9900acf364d

5 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

5 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 am: ac71c57c88
Steven Moreland [Tue, 27 Mar 2018 05:18:32 +0000 (05:18 +0000)]
Merge "Add DISABLE_RILD_OEM_HOOK." into pi-dev am: ac71c57c88
am: 938b135016

Change-Id: Ibf1a3b8550d420f52112ef24cd26e2a369d5be0f

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 am: 4818c04ca3
bohu [Wed, 21 Mar 2018 04:03:57 +0000 (04:03 +0000)]
reference-ril:  fix asan error am: 4818c04ca3
am: bae52d8f19

Change-Id: I78646eb31264837403e4bb0b36958378ca8edf79

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" am: 0c6d743856
Bo Hu [Fri, 16 Mar 2018 22:10:13 +0000 (22:10 +0000)]
Revert "Emulator: add CSIM authentication support" am: 0c6d743856
am: 88ea356011

Change-Id: I572e0952fe78581132705e49e276eb2a3349e800

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 am: 1a0999f535
bohu [Fri, 16 Mar 2018 03:15:09 +0000 (03:15 +0000)]
Emulator: add CSIM authentication support am: 1a0999f535
am: ab5e2b0599

Change-Id: I0efe1f5b33f0ebcaff16087bfc8c20c099aa3893

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