Commit graph

4623 commits

Author SHA1 Message Date
Isaac Chen
f05bd896e3 wayne: Set model via checking hardware revision
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:44 +00:00
TheScarastic
25b47ac236 wayne: Delete goodix data if other slot is taking up space 2018-07-13 00:03:44 +00:00
Isaac Chen
9e61877f1b wayne: proprietary-files: Move goodix firmware to system
* Not loading when it is in vendor

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:44 +00:00
Isaac Chen
a07f5c59c3 wayne: Import HIDL fingerprint wrapper service
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:24 +00:00
Isaac Chen
e9c2d355a4 wayne: Build libinit
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:18 +00:00
Demon Singur
a3b292d0ca wayne: Include all blueprint modules
Change-Id: Iaf3d59fe173cf0b424409c546854841e4da082a1
2018-07-13 00:03:17 +00:00
Harshit Jain
ad9a011a07 wayne: light: Throw a warning if path stream ain't valid 2018-07-13 00:03:17 +00:00
dev-harsh1998
9cfa4c0be9 wayne: Convert light HAL into a HIDL service
Signed-off-by: dev-harsh1998 <harshit.india@linaro.org>
2018-07-13 00:03:17 +00:00
Isaac Chen
5d5c84331b wayne: Import XiaomiDoze from msm8996-common
Change-Id: Id2ad90466f64761a43bb8c768630b14620bee35c
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:17 +00:00
Isaac Chen
2c422cb5c2 wayne: Import IPACM
* QC Tag: LA.UM.6.2.r1-06100-sdm660.0

Change-Id: I8209c81b5c05f618450248e88226d216935a8bcd
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:17 +00:00
Isaac Chen
6a15b2379f wayne: Import GPS
* QC Tag: LA.UM.6.2.r1-06100-sdm660.0

Change-Id: I26da3b90caa473ed5f88408627463ec7f7655f23
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:17 +00:00
Isaac Chen
71ad0c9e53 wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:01:25 +00:00
dianlujitao
103f8c68ff wayne: Build dummy android.hidl.[base,manager]@1.0
Change-Id: I81a081130869c4d92f30b2674e75bb6b096a7a2c
2018-07-13 00:05:37 +08:00
padarshr
62ca3a07ab wayne: Update vndk-sp build mechanism and library set.
This change is to add some more libraries needed to
be present in the vndk-sp library set. Also, move towards
a better the mechanism to build vndk-sp.

Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:02:51 +08:00
Isaac Chen
8e4c18602d wayne: proprietary-files: Initial blob list
Change-Id: I5041c432aa859d83d6e7e5a61b7fe2d50e53b592
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 03:33:42 +08:00
Bhavna Sharma
27114f21cc Changed to allow only locclient group to access
hal daemon

Move hal daemon socket creation to loc_client directory
Define uid/gid for locclient

CRs-Fixed: 2260194

Change-Id: Icaac885c19cd65b11254bb93b6a938b2d4595761
2018-07-11 16:53:14 -07:00
Saurabh Srivastava
aa6481f638 Print QZSS SV ID with offset
Adding QZSS SV ID offset for
logging.

Change-Id: I19fc6ba93d222b0646e3f6e2e59fe84ce42fbae4
CRs-Fixed: 2272374
2018-07-04 08:12:39 -07:00
Linux Build Service Account
f487bbb4ec Merge "Merge remote-tracking branch 'quic/location.lnx.3.9' into HEAD" 2018-07-03 22:57:50 -07:00
Linux Build Service Account
b658d82b1a Merge "Set interval to large value for all MSA cases" 2018-07-03 19:28:03 -07:00
Dante Russo
395c8110d6 Assure event mask is set properly to get positions
The event mask can be retrieved in the context of
client thread as zero and then queued up to go to
msg task thread. By the time the msg is actually
handled in msg task thread, the actual event
mask at LOC API layer may have already changed, but
this mask would then be overridden by zero. This
can cause no modem events to ever come, including
position reports.

The fix is to not retrieve the event mask in the
client thread, but instead wait for msg to be
handled in msg task thread before retrieving it.

Change-Id: I48562d028bbfa187732686c060b5cdd62c6d5a89
CRs-fixed: 2219519
2018-07-03 18:04:09 -07:00
Kevin Tang
feabf98840 Merge remote-tracking branch 'quic/location.lnx.3.9' into HEAD
Change-Id: I27b0712c0e34908ed07edd290661def5ef9917ea
CRs-Fixed: 2272544
2018-07-03 16:45:42 -07:00
Linux Build Service Account
5b00f53189 Merge "GPS: block CPI injection for those fixes orginate from modem" 2018-07-03 16:04:21 -07:00
Baili Feng
ffbe00b52b Set interval to large value for all MSA cases
If position mode is MSA, set interval to 590 hours

Change-Id: I552e0da679bf5b817bdc2463b32c8159c98b6e87
CRs-Fixed: 2268571
2018-07-03 15:41:52 -07:00
Kevin Tang
56c4dd4420 GPS: block CPI injection for those fixes orginate from modem
GNSS adapter to block CPI injection for CPI originates from modem.
One source of the fix is QNP fix from modem. Only fixes that
comes within time threshold and with latitude and longitude
falls within the same proximity will be blocked.

Change-Id: If67a164d1e1c75735979f048a9f8dc93f0b0a41f
CRs-fixed: 2260721
2018-07-03 10:45:56 -07:00
Isaac Chen
6f742be6e1 wayne: Add blob extractors
Change-Id: Ifee4d4a2e8db3ca3afed7b39de7284408407de30
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:54 +08:00
Isaac Chen
6e0cdfadc7 wayne: Remove unused makefiles
Change-Id: I6a0b5cdfbba03d2d3a1cd55c565b893e228474cd
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
GuaiYiHu
b3d7f22ea2 wayne: Move ramdisk configs to rootdir dir
* Clean up unused configs

Change-Id: I0aae320468796a67fc2110aef0b31c06da2314e3
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
e1db0f8a9c wayne: configs: Move config files to specified dir
Change-Id: I6bea25b73d4e0396aaefc831feb34c1c6639e347
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
8bb0bdf430 wayne: wifi: Organize for wifi configs
Change-Id: I7babdea2c169c02bc2659054e3675bc7aa6f65a3
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
7f5b96172a wayne: Remove unused configs
Change-Id: I8a519609dd2661b9d851eea9ecb4469490c6fe14
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
de97ae529d wayne: Add lineage specified makefiles
Change-Id: Ia384603c9e10c633ae33c678bc67ff316c8cd5ff
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
c06a0bfc0c wayne: Use device specified path
Change-Id: I39978725c7b152b9ab04883d8a60fe37c76a89d0
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
f80468f88d wayne: Remove unused A/B partition configs
Change-Id: I1766360677602c3ae86d0ad38ef795df060198e2
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
dianlujitao
69360569e1 wayne: Remove perfboost params
* We handle this in CM PowerHAL

Change-Id: I11bd0bd2b7af410864cedb62445beda56f874b69
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Isaac Chen
13261402d8 wayne: Remove unused sdm630 config
Change-Id: I122f1306d9098c10b7320d08be6b3b079d0a693b
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-03 22:11:27 +08:00
Saurabh Srivastava
889d1eed23 Fixing error population logic
Updating error vector population logic
in GNSS Update config command.

Change-Id: Ia328ad112056ecc20221ca10ba91c72f3182830a
CRs-Fixed: 2261813
2018-07-02 23:28:50 -07:00
Linux Build Service Account
95e5a78305 Merge "Add a getLocationOptions() function in TrackingOptions" 2018-07-02 15:10:42 -07:00
Saurabh Srivastava
050de4e82e Adding offset for SV ID values
Adding offset to SV ID values
received for blacklisting in HIDL
API.

Change-Id: I16dd5e918e9397a23fa4e142dd94d029970f4217
CRs-Fixed: 2239179
2018-07-01 11:10:07 +05:30
Saurabh Srivastava
f7e3cd59e3 Returning failure on GPS blacklisting
Returning false for HIDL Set Blacklist
API when a GPS constellation SV is
passed in for blacklisting.

Change-Id: I4fdaf226111d9db365af11c0e5bb6fa043c0b6fb
CRs-Fixed: 2234230
2018-07-01 11:05:18 +05:30
Harikrishnan Hariharan
59269e171e Add a getLocationOptions() function in TrackingOptions
Add a getLocationOptions() function in TrackingOptions to
return the LocationOptions object data associated with this
class. This is for use in client_api and location-hal-daemon.

Change-Id: Id725e1961dc390b8dac908575bb1686b16756057
CRs-Fixed: 2270936
2018-06-30 20:32:10 -07:00
Linux Build Service Account
4819ca816f Merge "Get AGC from PQWM1 regardless of time validity" 2018-06-29 10:23:19 -07:00
Linux Build Service Account
4ff9a6a2a2 Merge "Don't send ACK to modem for a 2nd close request" 2018-06-29 10:23:17 -07:00
Linux Build Service Account
021821ce54 Merge "Added optional MO SUPL SLP" 2018-06-29 01:39:07 -07:00
Linux Build Service Account
3463e547e7 Merge "Checking return for ODCPI CB" 2018-06-28 19:49:34 -07:00
Mike Cailean
1d42da7b67 Get AGC from PQWM1 regardless of time validity
Eliminated time valid dependency when processing
PQWM1 message to get AGC

Bug: 110460486

Change-Id: I962272a749599db7a9dc84e00da9e1152686c366
CRs-fixed: 2267159
2018-06-28 13:44:40 -07:00
Mike Cailean
864d805332 Get AGC from PQWM1 regardless of time validity
Eliminated time valid dependency when processing
PQWM1 message to get AGC

Bug: 110460486

Change-Id: I962272a749599db7a9dc84e00da9e1152686c366
CRs-fixed: 2267159
2018-06-28 13:43:43 -07:00
Linux Build Service Account
075e7acc0a Merge "fixed data items for service and cell info" 2018-06-28 08:49:23 -07:00
Saurabh Srivastava
7a8e0643c3 Checking return for ODCPI CB
Adding return value check for ODCPI
HIDL callback API

CRs-Fixed: 2263480
Change-Id: I652a4717ab08f8a0c64b3bc0f78bae4e8f553513
2018-06-28 13:28:40 +05:30
Hoss Zhou
1e871997d6 Fix: wrong string format operator
a log print in LocCloseMsg print a string without
dereferenced address, and it will cause null pointer
dereference.

Change-Id: I0daf7cbf09033e065e07825f842320ae5d2508cb
CRs-Fixed: 2259999
2018-06-28 14:13:22 +08:00
Kevin Tang
802e89fcdf fixed data items for service and cell info
which right now are not keeping any data into the SSOO's table,
therefore it is not able to determine if the new data arrives is
different than the current one. This results in not passing the
following data updates to the clients.

Change-Id: Ieb94e959228d9a9f8d43b090f3328208387d864f
CRs-Fixed: 2239616
2018-06-27 18:22:31 -07:00