Commit graph

4933 commits

Author SHA1 Message Date
Linux Build Service Account
c3c5d2628a Merge fddc79ffc2 on remote branch
Change-Id: Ib9ba04107c67c7f63369eb65ba1c4c3322b108ea
2018-01-20 23:31:00 -07:00
Linux Build Service Account
0a5adeaa17 Merge "Updating logic to send empty SUPL server URL" 2018-01-20 15:54:18 -08:00
Saurabh Srivastava
e8fbefa5d2 Updating logic to send empty SUPL server URL
CRs-Fixed: 2164682
Change-Id: I70e68d380e8daff5d568e0e49c3ea90064154b00
2018-01-18 14:40:27 +05:30
Kevin Tang
61de97e130 LE clean up
separated utils, core, ds and loc-api-v02 from loc-hal into their
own independent packages; simplified loc-pla; moved pla to the
root of project; removed loc-stub.

Change-Id: I373f02f9306646addf55ae90d71c4ba8e3741d09
CRs-Fixed: 2172544
2018-01-16 13:35:38 -08:00
Linux Build Service Account
438abebca0 Merge "init condition with attr CLOCK_MONOTONIC" 2018-01-15 23:28:28 -08:00
Linux Build Service Account
e301338767 Merge "LocIpc: enhance startListeningNoBlocking with ready callback" 2018-01-15 18:02:28 -08:00
Kevin Tang
4cac1baf97 LocIpc: enhance startListeningNoBlocking with ready callback
For startListeningNoBlocking, for callers that need to know
when the socket is actually being created and ready to receive
message, this change allows callback to be invoked when socket
is ready.

Change-Id: Ie7c6eb1a3966371d84fc98109f07805ac7d4e3a1
CRs-fixed: 2169568
2018-01-15 10:18:49 -08:00
Linux Build Service Account
07ae32ee01 Merge "Added FDCL reg mask bit and feature support bit" 2018-01-13 10:38:02 -08:00
Linux Build Service Account
603de6f476 Merge "Changing GNSS HAL service class to hal" 2018-01-12 11:36:06 -08:00
Baili Feng
52f5cfe9d7 init condition with attr CLOCK_MONOTONIC
Use MONOTONIC time to keep consistence with pthread_cond_timedwait.
CRs-fixed: 2169171

Change-Id: I25f308ff343e2f9f938275a572fbff35b659e782
2018-01-11 19:44:11 +08:00
Saurabh Srivastava
02862b8577 Allow SUPL server NONE config
Clear SUPL server on Modem if configured
as NONE in HLOS config.

CRs-Fixed: 2164682
Change-Id: If104550fddaa64be43e446f8691cab60b1541013
2018-01-10 12:33:21 -08:00
Saurabh Srivastava
cf96869f44 Changing GNSS HAL service class to hal
Changing GNSS HAL service class from main
to hal

Change-Id: I72250b1645981b0ec5a5a8faf3fe16dafb51646a
CRs-Fixed: 2164972
2018-01-10 16:34:18 +05:30
Dante Russo
65e3760d6d Added FDCL reg mask bit and feature support bit
Also change the reg mask to 64 bit since we now
have more than 32 possible bits.

CRs-fixed: 2129134
Change-Id: I006f5fffac3d9dd2d96ca82d84f49bde96bc0f55
2018-01-09 18:05:42 -08:00
Santhosh Behara
99b66021c4 sdm660_64: update media_codecs_performance.xml for VP9 & HEVC Codec
Update the measured frame rates in media_codecs_performance.xml for
VP9 software encoder and HEVC software decoder.

Change-Id: I29aa2dfe2e45556f390f6ece9922f60c7e97f451
2018-01-09 03:50:56 -08:00
Linux Build Service Account
b634883b55 Merge 8f41d5f3a1 on remote branch
Change-Id: I93ff8458e8eac7f22df21070b00558ec29ff0ff3
2018-01-07 22:28:28 -07:00
Linux Build Service Account
c98dcaa840 Merge "Remove system status reset upon delete aiding data" 2018-01-07 19:34:21 -08:00
Linux Build Service Account
fddc79ffc2 Merge "sdm660_64: update media_codecs_performance.xml for VP9 & HEVC Codec" 2018-01-03 06:44:19 -08:00
Yingjie Wang
57a5b186c5 Remove system status reset upon delete aiding data
Delete aiding data command would trigger default gnss engine state set.
Rename setDeafultReport with setDefaultGnssEngineStates and remove system
settings reset in it.

Change-Id: I7b5dffe3191b24e9f5bb6d887705fca34ed94013
CRs-fixed: 2151350
2018-01-03 14:52:33 +08:00
Kevin Tang
13c41211a7 debug nmea should not sent to upper layer
Debug nmea is a way HAL gets GNSS engine debug information from modem.
It is provided to developers in the for bugreoprt.  Those NMEAs should
be discarded once information is extracted out.  But by mistake, they
are sent to GnssLocationProvider.  They will be in the unknown format
to apps, and they may get truncated too.

Dhanged the condition so these debug nmeas get discarded before they
can possibly passed on to GnssLocaitonProvider.

Change-Id: I1a8400201e734a37e730321f6c6e5707c71bd3f0
CRs-Fixed: 2160866
2018-01-01 20:24:55 -08:00
Santhosh Behara
e18c373acc sdm660_64: update media_codecs_performance.xml for VP9 & HEVC Codec
Update the measured frame rates in media_codecs_performance.xml for
VP9 software encoder and HEVC software decoder.

Change-Id: I29aa2dfe2e45556f390f6ece9922f60c7e97f451
2017-12-28 16:33:04 +05:30
Rafeeqh Shaik
8f41d5f3a1 Enable Radio Hal v1.1
Change-Id: I18d78cafa554085d37e638363e36456ab80d1352
2017-12-27 01:11:03 -08:00
Linux Build Service Account
d519abf0c1 Merge "Replace wall time" 2017-12-25 08:03:44 -08:00
Linux Build Service Account
4a414aa115 Merge 86ac325870 on remote branch
Change-Id: I7c844256bac660d4a59e6700fb64cb3418e656cc
2017-12-22 00:51:28 -07:00
Linux Build Service Account
ce94137dd6 Merge "fixing the location api level race condition on callbacks" 2017-12-21 21:41:01 -08:00
Linux Build Service Account
ce9daaea37 Merge "Fix incorrect cast to avoid integer overflow" 2017-12-21 13:58:26 -08:00
Linux Build Service Account
d75c010c59 Merge "Location Utils - LocIpc class enhancement" 2017-12-21 13:58:24 -08:00
Kevin Tang
03bc75f298 fixing the location api level race condition on callbacks
At the layer right under HIDL impl, where the callback objs
are received from HIDL and used by HAL layer, there is race
condition volnerability which could yield using a incompletely
copied sp obj. Added mutex protection.

Change-Id: I611db590d1fadbe43c74db71a1ea906dbe067c6d
CRs-Fixed: 2144976
2017-12-21 13:29:37 -08:00
Katz Yamada
99e0f11428 Location Utils - LocIpc class enhancement
Add LocIpcSender class and add an overloaded
send method in LocIpc class that takes binary
data block.

Change-Id: I102f23fe8bf378c3bed5cac0086aa9773c62727b
CRs-Fixed: 2144883
2017-12-18 11:37:24 -08:00
Linux Build Service Account
86ac325870 Merge "sdm660_64: update media_codecs_performance.xml for vp9 encoder" 2017-12-18 05:58:46 -08:00
Linux Build Service Account
46d9ab4b9d Merge "sdm660_64: Enable SOTER flag" 2017-12-16 04:22:00 -08:00
Santhosh Behara
8116d18ae0 sdm660_64: update media_codecs_performance.xml for vp9 encoder
Update media_codecs_performance.xml for vp9 software encoder

Change-Id: Ibb53a9491d6968c5412e1c1854de2580d5f26537
2017-12-14 21:25:22 -08:00
Katz Yamada
f3f7a4bf41 Fix incorrect cast to avoid integer overflow
Fix incorrect cast in converting time uncertainty
from integer based source to float.

Change-Id: Ibb75eb1a2d925a7e7ce13275f09a618f241c31bf
CRs-Fixed: 2157401
2017-12-13 12:31:06 -08:00
Linux Build Service Account
e477983365 Merge "sdm660: cas: add CAS HAL" 2017-12-12 16:06:06 -08:00
Linux Build Service Account
de82a3b2c7 Merge "sdm660: mediacodec: Update media codecs list" 2017-12-12 16:05:57 -08:00
Mahesh Lanka
14d35aafe4 sdm660: cas: add CAS HAL
Change-Id: I3d26b3c8c57425d2ee596f8efecaa2722b39551c
2017-12-12 14:55:53 +05:30
Santhosh Behara
bf43eac3ee sdm660: mediacodec: Update media codecs list
Remove OMX.qcom.video.decoder.wmv entry from media_codecs.xml
as OMX.qcom.video.decoder.vc1 entry is already present.

CRs-Fixed: 2155302
Change-Id: I91bc6be7225e0d2aaeba56eb9e20a315e4c05a37
2017-12-11 16:54:28 +05:30
mohamed sunfeer
c49e1d3ad9 sdm660_64: Enable SOTER flag
Enable TARGET_SUPPORT_SOTER feature flag to enable SOTER for
keymaster 2.0 for OTA upgrades to work.

Change-Id: I9e9dcd6257a94f32777f673c31caa1b7e2a7895d
2017-12-11 12:14:16 +05:30
Kevin Tang
53a1aa5ed5 Fixed incorrect casting for SystemStatus::setNetworkInfo call
An incorrect casting at SystemStatus::eventDataItemNotify was causing a
heap overflow when trying to cast NetworkInfoDataItem into
SystemStatusNetworkInfo, that is bigger.

Change-Id: I3fbd88a1daf210c3c687a6f49ad868968a6efd96
CRs-fixed: 2137958
2017-12-08 18:18:03 -08:00
Devi Sandeep Endluri V V
22d1e75c14 sdm660_64: Enable Latency HAL
Data link latency HAL service are now enabled

Change-Id: I9a90f7daadfd6d02b0be7d16c81415d9486dd45a
CRs-fixed: 2088833
2017-12-08 02:48:27 -08:00
Linux Build Service Account
01f7db0576 Merge a027d1f0fc on remote branch
Change-Id: I82124881dfc3fb1b39e204042872e6fca933097d
2017-12-07 10:34:07 -08:00
Baili Feng
edcf000435 Replace wall time
Replace gettimeofday with clock_gettime
CRs-fixed: 2144315

Change-Id: Ie8472d2aedcd0e63b86cc5ff100ce9bb28fd670c
2017-12-05 16:59:41 +08:00
Rafeeqh Shaik
a027d1f0fc start atfwd android service at power up
set "persist.radio.atfwd.start" property to start atfwd android
service at power up.

Change-Id: Ieeaeeebf51689e2bcbedc603b6338161c2ea43d7
CRs-Fixed: 2095968
2017-11-28 22:28:33 -08:00
Linux Build Service Account
bac0979ae6 Merge "Record the first connection status notification" 2017-11-28 21:27:59 -08:00
Linux Build Service Account
dceb0d974e Merge "HAL handshake with XTRA" 2017-11-28 17:26:18 -08:00
Bhavna Sharma
e787679074 Record the first connection status notification
Keep record of whether connection status was reported
and report it in the response status

CRs-Fixed: 2126610
Change-Id: I284f53c71f1131a73eed0adaf00b66f04e4100ac
2017-11-28 14:51:43 -08:00
Linux Build Service Account
8fe6a36970 Merge "Check ret value for HIDL callback method" 2017-11-27 04:05:46 -08:00
Niranjan Reddy Dumbala
c42e847db6 Added syscall to media extractor policy
Change-Id: I68b3f094decd06e2a05255dad78f1b391fd978a8
2017-11-22 02:37:24 -08:00
Linux Build Service Account
68883097b4 Merge "Location Utils - Improve send method of LocIpc" 2017-11-21 00:24:36 -08:00
Anirudh Radhakrishnan
e2fe942fb1 Removed support for high performance VR
Removed the command to copy android.hardware.vr.high_performance.xml

Change-Id: Idbb037730b5c0cf16161758c9eb34aa92b49fd92
2017-11-20 23:09:49 -08:00
Yingjie Wang
9fe73f379a Check ret value for HIDL callback method
Judge ret value for niNotifyCb to check HIDL return status

Change-Id: I0cde3716a971941260f2fb12c9e5927bc8c8d548
CRs-fixed: 2147437
2017-11-21 12:20:06 +08:00