Commit graph

4879 commits

Author SHA1 Message Date
Yingjie Wang
abfeea182d Fix KW P1 related issues
Change-Id: Ifc3cb9dcabf2e07439fd596b5ad33b46ea562b3d
CRs-fixed: 2375836
2019-01-04 16:19:24 +08:00
Hoss Zhou
f7c6bf552a fix multiple GPS_LOCK request
donot send GPS_LOCK request when new gpsLock is the
same as last one.

Change-Id: Ifb87018d11aef0383762b9b132742faf3d4d7e79
CRs-fixed: 2360896
2018-12-24 15:23:55 +08:00
Dante Russo
2f34b1ab42 Merge location.lnx.4.0 into location.lnx.5.0
Fastforward from location.lnx.4.0

Change-Id: I08144304a318a075ba27f6b3dc5947606ffcbcef
2018-12-18 14:14:30 -08:00
Bharat Pawar
389f89ae12 wayne-common: Remove improveTouch HAL Entry from manifest
* Also drop improveTouch blobs

Change-Id: I28d9a9a586239f776528e9b63de85efef8ffa021
2018-12-15 10:11:33 +00:00
Jesse Hall
696255e59c wayne-common: Advertise Vulkan 1.1 system feature
Bug: 66875961
Test: atest VulkanFeaturesTest
Change-Id: I58f904984320dee174637ba0ddfecdd343fab7e6
2018-12-08 09:39:02 +00:00
Bruno Martins
7fcc708c1d wayne-common: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-12-08 09:37:59 +00:00
Kshitij Gupta
48cd52cfd9 wayne-common: overlay: Enable Swipe Up gesture navigation
Change-Id: I6ee5f42748cac1414e5c7f1327fe0f42bf6d863a
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
2018-12-08 09:34:24 +00:00
Roshan Pius
fd6afc24e3 wayne-common: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: Ia7ef8bf3da8adc3491c4dac4096e4297cbd5bf5b
2018-12-08 05:26:09 +00:00
Isaac Chen
53a86fcdf1 wayne-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Nile targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT
to armv8-a, instead of armv7-a-neon, can silence the related warning
during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-12-08 05:25:45 +00:00
Mathieu Chartier
9407e427e7 wayne-common: Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I313e1f53487c0a21b615f65dc64c21a1ecb4b7d5
2018-12-08 05:25:20 +00:00
LuK1337
ff7e8a2b70 wayne-common: Add vendor_ prefix for our custom AIDs
Change-Id: Ie1dd9c1f6a79d04b42e12e0fd9dabdc22b2f6927
2018-12-08 05:24:54 +00:00
Yifan Hong
ba3140167a wayne-common Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-12-08 05:24:18 +00:00
Jeff Vander Stoep
6f0c86315b wayne-common: wifi_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8996 targets
Change-Id: Ib5caf362bc939911b357db186a274957d3fbf186
(cherry picked from commit 1f2b2f3a780bb7a6ed489bf86e18e77382f37514)
2018-12-08 05:23:02 +00:00
Roshan Pius
6defd41082 wayne-common: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-12-08 05:21:42 +00:00
Roshan Pius
74d02acc90 wayne-common: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-12-08 05:19:42 +00:00
Roshan Pius
67f99c62ba wayne-common: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-12-08 05:18:57 +00:00
Jeff Vander Stoep
0bb856ea89 wayne-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-12-08 05:18:15 +00:00
Etan Cohen
9a27764b7b wayne-common: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-12-08 05:16:17 +00:00
Isaac Chen
5f26bcf562 wayne-common: Apply jasmine rebrand
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-07 23:37:06 +08:00
oshmoun
c858ca4529 wayne-common: Add public.libraries.txt
Android needs this text file to know what libraries are allowed to be loaded by apps directly.
For now, add:
libOpenCL.so to the list, in order to get OpenCL to function properly.
adsprpc related libraries, since they were also declared public in stock.

Change-Id: I15ef7a7ab7d1f1a0cc6b484cd2ca9993f40de23b
2018-12-05 00:36:35 +08:00
Michael Bestas
cc472568e1 wayne-common: Adapt libinit for wayne
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
2664a20ce7 wayne-common: biometric: Run goodix script in condition 2018-12-02 11:02:30 +08:00
Isaac Chen
f89bf07b99 wayne-common: biometric: Detect fingerprint from cmdline
* Cleanup fingerprint logic
2018-12-02 11:02:30 +08:00
Isaac Chen
1f768a77be wayne-common: Remove unused partition defines
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
48f31a3614 wayne-common: init: Remove non-common model detection
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
445a16da35 wayne-common: Decommonize vendor security patch level
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
d64ff20f0d wayne-common: Support jasmine
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
dc59590a23 wayne-common: rootdir: Support A/B fstab
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Isaac Chen
7a59c64c44 wayne-common: Convert into common tree
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02 11:02:30 +08:00
Hoss Zhou
3203504a28 PZ90 datum support
add a configuration DATUM_TYPE in gps.conf to configure
datum type. Default datum type is WGS84.

Change-Id: Ia8404aa5cf6d49741b9f487f8b086abd095f21ea
CRs-fixed: 2338883
2018-11-30 16:07:06 +08:00
Linux Build Service Account
372ec44be0 Merge "GPS location API: support destroy with callback for completion" 2018-11-28 20:43:25 -08:00
Wei Chen
e232986d84 GPS location API: support destroy with callback for completion
Support Location API destroy function with callback. Location
API client that passes callback to Location API need to wait
for the destroy complete callback to be invoked before releasing
the memory that holds the callback

Change-Id: I29b1c6d46feb79c789e6f1ec1500c941b022a3ac
CRs-fixed: 2349398
2018-11-27 17:07:19 -08:00
Wei Chen
730abcc3d4 GPS NMEA: generate proper nmea during leap second transition
During leap second transition, the hour, minute and seconds
displayed need to be in the format of 23:59:60 to denote
the extra leap second

Change-Id: Ice7c6f934b1251990ba26e2b7e399554a2862eb4
CRs-fixed: 2335188
2018-11-27 14:46:25 -08:00
Linux Build Service Account
9b0abcc59d Merge "Remove XTRA URLs from gps.conf" 2018-11-27 02:05:22 -08:00
Ankur Sharma
dca1724d17 Remove XTRA URLs from gps.conf
Remove default URL's for XTRA from gps.conf

CRs-Fixed:2355372

Change-Id: Iea1caa42e8cd4f84a0d37bb6bcd69655609d368d
2018-11-23 18:18:11 +05:30
Linux Build Service Account
148b0dd3b2 Merge "Request for a data item value is not handle by SSO" 2018-11-21 03:28:15 -08:00
Linux Build Service Account
80b5ce40d7 Merge "Invoking dlclose in error case" 2018-11-20 11:57:01 -08:00
Harikrishnan Hariharan
06d7e5bbba Request for a data item value is not handle by SSO
Subscribe for a data item first time adds the DI to internal
SSO client list. When the request comes for after this, since
item is already added, dataItemsToSubscribe will be empty. So
the code for request value for DI is not invoked. Handle this
scenario in SSO.

Change-Id: Ife04fe4eedc9b3132e7967f781b0e29ac41c01e7
CRs-Fixed: 2347338
2018-11-20 14:17:58 +05:30
Linux Build Service Account
272be96747 Merge "Lowered the severity of debug message" 2018-11-17 08:16:37 -08:00
Saurabh Srivastava
b00c1c26c9 Invoking dlclose in error case
Invoking dlclose for loc_net_iface
library dlopen call in error case.

Change-Id: Ib8d4b05904214ebaa83608309679bc055bd7abe5
CRs-Fixed: 2347372
2018-11-15 22:33:51 -08:00
Mike Cailean
d6b0854a70 Lowered the severity of debug message
Lowered the severity of debug message when
setting callback function for geofencing

Change-Id: I2bbd0648d1dba5d7d655545bb0487223dbccb9cb
CRs-fixed: 2347777
2018-11-13 16:36:26 -08:00
Linux Build Service Account
0056afe9bd Merge "remove LOC_MODEM_EMULATOR from gps.utils" 2018-11-10 00:22:49 -08:00
Madhanraj Chelladurai
512388f806 gps: add include files for LA compilation
add include files for LA compilation

Change-Id: I2781337a7b5d50eaaada20bcf2a6bfb97095749d
CRs-Fixed: 2344727
2018-11-05 14:53:17 +05:30
Kevin Tang
84a25954a7 remove LOC_MODEM_EMULATOR from gps.utils
Move LOC_MODEM_EMULATOR reading out of libgps.utils,
as utils is being use by the whole world, and nobody
but one cares about this valude.

Change-Id: I95ad52222172c3f31e8013dd4d917713392e1a4d
CRs-Fixed: 2343169
2018-10-31 22:31:03 -07:00
Linux Build Service Account
b8ebd13693 Merge "Initial Android target definition for trinket" 2018-10-31 02:04:37 -07:00
Linux Build Service Account
6020990bda Merge "Fix issue with app side NMEA generation for GSV" 2018-10-30 19:02:52 -07:00
Mohit Sharma
831ea96a23 Initial Android target definition for trinket
CRs-fixed: 2339147

Change-Id: I295f393ca721c92003f2dfd726861b63e4e1e977
2018-10-29 15:53:41 -07:00
Katz Yamada
f3b1394b15 Add socket name in error log message
Change-Id: I229ce4c5bfa54df26ff00d68377dfc91cf11f5f0
CRs-Fixed: 2338533
2018-10-26 15:01:44 -07:00
Harikrishnan Hariharan
7ba7e62c05 Fix issue with app side NMEA generation for GSV
Handling the case when there is no signal type available as
part of SV report.

Change-Id: I7696f8f19b490506211c83d3d20659a69fffba66
CRs-Fixed: 2338206
2018-10-25 13:48:47 +05:30
Wei Chen
21b9c4e47e FR48381: Support leap second change event
Support leap second change event
(1) Info will be available in location api and location
    client api
(2) Engine hub aggregator will use the info to calculate
    UTC timestamp

Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6
CRs-fixed: 2289457
2018-10-08 12:26:06 -07:00