Commit graph

3334 commits

Author SHA1 Message Date
Linux Build Service Account
3379b6645d Merge "Add jammer indication" 2018-08-21 14:29:45 -07:00
Linux Build Service Account
a190b2c116 Merge "GNSS_NI_RESPONSE_IGNORE handling" 2018-08-20 18:45:20 -07:00
Linux Build Service Account
1bc192e57f Merge "Filter DataItems with suitable way." 2018-08-20 00:38:28 -07:00
Isaac Chen
0c4b315565 wayne: Update vendor security patch level from miui 8.8.16
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-20 00:00:20 +00:00
Demon Singur
c30c5bec75 wayne: proprietary-files: Add power off alarm blobs
Change-Id: Id1d0be0e6dca7faddd591580fa0b928b13859ede
2018-08-20 00:00:20 +00:00
Danny Baumann
6abb5912df wayne: overlay-lineage: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2018-08-20 00:00:19 +00:00
Linux Build Service Account
3b52c3ac19 Merge "Add support for multiband data" 2018-08-17 19:20:37 -07:00
Mike Cailean
4599ab400c Replace unsafe functions
Replace strncpy with strlcpy

Change-Id: Iade6b1201db75fb15da37431183cb372cd1ad41a
CRs-fixed: 2298929
2018-08-17 10:29:48 -07:00
Mike Cailean
75cfd43bfd Add jammer indication
Add AGC and jammer indication

Change-Id: I93641864338beec368e7a56b3a20b158ea892202
CRs-fixed: 2239155
2018-08-17 09:15:20 -07:00
Baili Feng
de454e21f6 Filter DataItems with suitable way.
We should carefully modify unordered_set when traversing it.
Update the iterator with the return value of erase function.

Change-Id: I777f42b077502f617a513128db9a4f3b7c9a322c
CRs-Fixed: 2288358
2018-08-16 19:11:13 +08:00
Kevin Tang
a030bf9baa GNSS_NI_RESPONSE_IGNORE handling
GNSS_NI_RESPONSE_IGNORE inaverdently mapped to NO_RESPONSE,
which is a different reponse code. The two should be handled
differently.

Bug: 111770241
CRs-Fixed: 2296845

Change-Id: If2697f51c07a0272841709bfca247daaa4e963b6
2018-08-14 21:35:21 -07:00
Linux Build Service Account
329de0d44f Merge "SAP:update SENSOR_CONTROL_MODE configuration" 2018-08-14 03:46:00 -07:00
Bhavna Sharma
2124941746 Add support for multiband data
CRs-Fixed: 2289264

Change-Id: I5339870e8be3247b445203dad39e6f8522a64575
2018-08-13 11:18:18 -07:00
Linux Build Service Account
4088ca58bc Merge "Disable GTP CELL and GTP WAA feature." 2018-08-10 02:21:30 -07:00
Katz Yamada
8a752aa1b3 Systemsatus - add support older version of PQWME
Add support of older (shorter) version of PQWME
strings from modem. Systemstatus currently discards
those shorter strings. This change is to fill out
all zeros in those missing fields instead of
discarding the whole sentence.

Change-Id: I31c42b6de53c3002f598cfd815304086bba056f9
CRs-Fixed: 2153513
2018-08-08 20:42:19 -07:00
Ashish Dhiman
f8f7e876e3 Disable GTP CELL and GTP WAA feature.
Disable GTP_CELL and GTP WAA feature as it will not work with
GTP_AP_MODE 4

CRs-Fixed: 2288722
Change-Id: I88cbb05030c1588fb2be30c3de41839208bb14c0
2018-08-08 04:07:02 -07:00
Hoss Zhou
4bab73548d Fix: Xtra connection initialization issue
HAL sends an empty field to Xtra when connections
is not updated.

Change-Id: I42c456581a1a968887880154f1ffffee12421354
CRs-Fixed: 2259165
2018-08-06 14:17:12 -07:00
Hoss Zhou
f2f6ca70c5 SAP:update SENSOR_CONTROL_MODE configuration
set SENSOR_CONTROL_MODE to MODEM_DEFAULT to make INS
use its default setting.

remove SENSOR_PROVIDER and SENSOR_USAGE.

Change-Id: I99d48d4600a6bca8e64ae0d1ff065af762888b2e
CRs-Fixed: 2285242
2018-08-05 14:52:50 -07:00
Linux Build Service Account
6f17924602 Merge "Skip position filtering for telematics" 2018-08-05 05:29:31 -07:00
Isaac Chen
d6ed30131a wayne: sepolicy: Address IR denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-08-05 00:00:16 +00:00
Linux Build Service Account
230751d957 Merge "Cache the SUPL server and port on each update" 2018-08-03 10:05:06 -07:00
Dante Russo
12b3302094 Skip position filtering for telematics
When engine hub is loaded, e.g.: if any of the
engine services are enabled in izat.conf, position
filtering is skipped and all position (valid or
invalid) will be reported to requesting client

Change-Id: Idc340478c977d8da441211d4c81580987b0f4a29
CRs-fixed: 2290155
2018-08-02 14:34:57 -07:00
Linux Build Service Account
148224c378 Merge "Delete LocApiBase and derived class on msgTask thread" 2018-07-31 04:01:57 -07:00
Isaac Chen
3eebbc8ec1 wayne: sepolicy: Address btnvtool denial
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
29136ba5ed wayne: light: Support ramp step notification control
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Isaac Chen
8f63059aea wayne: sepolicy: Address camera denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
TheScarastic
80a669c55a wayne: sepolicy: Add sepolicy for goodix script
Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
2018-07-31 00:00:10 +00:00
Isaac Chen
cff97f0832 wayne: Cleanup properties
* Remove unused properties
 * Rearrange props
 * Use fluence audio

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-31 00:00:10 +00:00
Kevin Tang
a8f926020f Delete LocApiBase and derived class on msgTask thread
Direct delete of the API obj on caller thread could result
in a race condition that caller still has close() or other
handling running at the same time the API object is being
or already deleted.

CRs-Fixed: 2275383

Change-Id: I5d3de204befec3c22c73cece8516e90800abbd35
2018-07-30 16:17:37 -07:00
Bhavna Sharma
2a005b5816 Cache the SUPL server and port on each update
CRs-Fixed: 2286256

Change-Id: I7adb584ff6f81c6a7f50f5ec4e9a4a094414e297
2018-07-30 12:23:12 -07:00
Linux Build Service Account
19c10059bc Merge "Added FDCL_2 feature support bit" 2018-07-27 07:45:39 -07:00
Isaac Chen
7b8535343b wayne: Switch to enforcing
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Isaac Chen
a59e765afb wayne: sepolicy: Initial denials
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-27 00:00:11 +00:00
Dante Russo
26e542da6d Modify ODCPI timer from 30s to 10s
ODCPI timer is modified to match location
request duration that was changed from 30s
to 10s in frameworks.

Change-Id: If1380635b0b87d55bf9a00197b806b3de48b6f4f
CRs-fixed: 2282588
2018-07-25 17:29:31 -07:00
Kevin Tang
6a12f3743f Added FDCL_2 feature support bit
Added FDCL_2 feature support bit

Change-Id: Icae2cf89f06f8d1d8d87c8115fe8efce9ccc566a
CRs-Fixed: 2191059
2018-07-25 16:40:28 -07:00
Linux Build Service Account
04f0a9a45d Merge "Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into location.lnx.4.0" 2018-07-24 21:53:37 -07:00
Dante Russo
06d93da4a1 Deprecate reading of ro.lean property
ro.lean property is no longer used, so remove
reading logic of this property. If ro.lean is
added in the future, it will need vendor prefix.
Change-Id: I6b5e891f6d59c0809f9136541bbfb6696cbf4d5a
CRs-fixed: 2282702
2018-07-23 17:58:04 -07:00
Linux Build Service Account
6bb4b271cf Merge "Add a timer for better handling of ODCPI/DBH" 2018-07-23 13:58:14 -07:00
Bhavna Sharma
92e990faf8 Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into
location.lnx.4.0

CRs-Fixed: 2282734

Change-Id: I5911f47d796591474eb19be527499daf758bff03
2018-07-23 13:11:31 -07:00
Dante Russo
48b4774ece Add a timer for better handling of ODCPI/DBH
Prevent more than one ODCPI request into
frameworks each 30 seconds.
Request ODCPI every 30 seconds while modem
is actively requesting it
Allow location injections for ODCPI even
outside ODCPI session.
Emergency ODCPI requests override normal ODCPI
requests

Change-Id: Ie2de6a5d42e749fce2e45cd672fc1d667b3f3347
CRs-fixed: 2246658
2018-07-19 10:45:29 -07:00
Isaac Chen
39445a3026 wayne: Decleare dt2w node
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Isaac Chen
d7d8aaeacc wayne: Set vendor security patch level
+ Package: miui_MI6X_8.7.16_36c868a278_8.1.zip

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-19 00:01:07 +00:00
Paul Keith
1ee644d212 wayne: overlay: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa

Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
2018-07-19 00:01:07 +00:00
LuK1337
0618942b01 wayne: overlay: Remove config_no_sim_display_network_modes overlay
* This overlay does not exist since we are no longer
  based on CAF.

Change-Id: Ibbc522f9ab1597d7e039eb7458cf4bb3924b7176
2018-07-19 00:01:07 +00:00
LuK1337
cb5b4f507b wayne: overlay: Remove send_mic_mute_to_AudioManager overlay
* send_mic_mute_to_AudioManager hasn't been doing anything
  since Android 4.4, therefore there's no reason to keep it.

Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
2018-07-19 00:01:07 +00:00
Antoine Giraudmaillet
f2aa710e36 wayne: ipacm: Fix memory leaks
* Errors reported by CppCheck.

Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde
2018-07-19 00:01:07 +00:00
SzuWei Lin
2fdf20b62c wayne: Move android.hardware.gnss@1.0-service-qti.rc to vendor
The .rc file should be on the vendor image, or can not boot
with generic system image.

Bug: 63051055
Test: Boot with GSI to home screen
Change-Id: I1e2ebe5d23a6cf5a4176ee33613ef621b4b558cf
2018-07-19 00:01:07 +00:00
Demon Singur
8085b952a5 wayne: Build separate system and vendor hidl libs
Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2018-07-19 00:01:07 +00:00
LuK1337
b7caae3d07 wayne: Remove camera.device impl from PRODUCT_PACKAGES
* camera.device impl is a dependency of camera provider
  therefore there's no need to add it to PRODUCT_PACKAGES.

Change-Id: I3ae211965a31b5f85af3dd0fa1c7811b802586c3
2018-07-19 00:01:07 +00:00
Luca Stefani
bca941560b wayne: Remove unwanted WiFi packages
Change-Id: I27bd4a2c7df84bc3cde59987f9cbd36ab5f94ab4
2018-07-19 00:01:07 +00:00