Commit graph

4661 commits

Author SHA1 Message Date
The Android Open Source Project
16e52e0654 Reconcile with jb-mr1-release - do not merge
Change-Id: Ie52cdeb09f0af68d833ccb50e63d72ab5a5efea2
2012-10-31 09:17:34 -07:00
Iliyan Malchev
f0af7289cb am 8ba1fbee: am c74962df: chmod uga-x
* commit '8ba1fbeef87f451a06919b1d596b79ce09b3daa7':
  chmod uga-x
2012-10-29 17:15:55 -07:00
Iliyan Malchev
8ba1fbeef8 am c74962df: chmod uga-x
* commit 'c74962df0d30bdb176472a1775a794fd93b1cd7a':
  chmod uga-x
2012-10-29 14:31:34 -07:00
The Android Automerger
283486517d merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-29 11:20:06 -07:00
Iliyan Malchev
c74962df0d chmod uga-x
find -type f -perm +111 -name \*.[ch]\* -exec chmod uga-x {} \;

Bug: 7428209
Change-Id: I991e3fb62a46f4b4cd727ef4b6a4472b4015ce33
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-10-27 14:22:13 -07:00
The Android Automerger
6f1ee47d21 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-19 06:59:46 -07:00
woojin.shin
6fa8714c3a am 22809b1a: am 9365bf1f: gps: fix for no gps signals after modem reset
* commit '22809b1a09d3b5817e2a31ecc5d1e2294f6f7dae':
  gps: fix for no gps signals after modem reset
2012-10-18 14:54:44 -07:00
woojin.shin
22809b1a09 am 9365bf1f: gps: fix for no gps signals after modem reset
* commit '9365bf1ffd633b65bad7f95af90dcbb53e41652b':
  gps: fix for no gps signals after modem reset
2012-10-18 14:52:12 -07:00
woojin.shin
9365bf1ffd gps: fix for no gps signals after modem reset
This fixes the problem that GPS doesn't work until reboot after modem reset.

Bug: 7216911
Change-Id: Ibfee6a28850490548da2e0ccaefdabe9b826b5e9
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-10-18 13:50:31 -07:00
Linux Build Service Account
353911d007 Merge "XTWiFi: disable coarse position injection when XTWiFi NLP is in use" 2012-10-17 21:52:33 -07:00
Kevin Tang
0529b2b9bb XTWiFi: disable coarse position injection when XTWiFi NLP is in use
Disable coarse position injection from GPS HAL when XTWiFi
Network Location Provider is in use. This is needed to avoid self
learning loop inside modem.

Change-Id: I0526317221d3490c41d0d8d901fbfa4d93e9a0b0
CRs-Fixed: 409409
2012-10-17 14:49:56 -07:00
Linux Build Service Account
f86ec94d37 Merge "Service modem's request for NTP time" 2012-10-15 18:34:52 -07:00
Linux Build Service Account
250adab993 Merge "Remove interpretation of LPP config parameter" 2012-10-12 12:56:10 -07:00
Tushar Janefalkar
d6c8792769 Remove interpretation of LPP config parameter
Instead of having a switch case that sets bits in the
lppconfig mask, the mask is assigned whatever value
was read from gps.conf. The advantage of this being
that if in the future additional bits are added in
lppconfig, there need not be a code change; only
comments in gps.conf have to be updated to inform the
correct value for those additional bits

CRs-Fixed: 406969

Change-Id: I979151b44cd85e98b59b4586fdd49e20a7d7c82b
2012-10-12 10:24:02 -07:00
Linux Build Service Account
020727f661 Merge "BIT:Fixes a bug in HAL for AGPS operation for SGLTE" 2012-10-11 20:43:44 -07:00
Tushar Janefalkar
2051ffae1f Service modem's request for NTP time
Previously, modem's request for NTP time was not supported.
This change enables that request to be serviced through the HAL
and current NTP time is injected into the modem

CRs-Fixed: 406357

Change-Id: I471f98cf57a276902d7991da48cf7244fe798318
2012-10-11 15:07:49 -07:00
Satheesh Jayakumar
0eaa3bab7e BIT:Fixes a bug in HAL for AGPS operation for SGLTE
Enhances HAL to launch the Daemon connection server
for SGLTE targets too.
CRs-Fixed: 409237

Change-Id: I70116eb1f96b8b4dbe39f57dfceb1ab02ef65e4d
2012-10-11 11:54:11 -07:00
Linux Build Service Account
b1c6ba1ffc Merge "dynamically build and load adapter libs" 2012-10-08 04:23:31 -07:00
Kevin Tang
a389eae611 dynamically build and load adapter libs
this is to support bringup efforts. This change will decouple
the dependencies between GPS HAL and proprietary QMI headers,
so that we can build HAL without any proprietary repos.

Change-Id: I7b836d09f4ac6b1a1bdb38f8d6a2bfb90bb5bf01
2012-10-05 18:37:05 -07:00
Linux Build Service Account
b6a9a0d446 Merge "ATL call crash fix" 2012-10-03 03:17:07 -07:00
Linux Build Service Account
3a6bfa4bc3 Merge "BIT:Fixes a bug in the pipe ownership for BIT AGPS interface" 2012-10-02 22:42:33 -07:00
Linux Build Service Account
8dba00b498 Merge "gps: add support for apq8064 v2" 2012-10-02 20:27:59 -07:00
The Android Open Source Project
d2d637cd6d am 6f441d38: (-s ours) Reconcile with jb-mr1-release - do not merge
* commit '6f441d38d863a64a463ae3c5ec188e7e2962b9e2':
  disabled agps state machine delete in cleanup
  gps: report session begin/end on gps start/stop
2012-10-02 09:24:27 -07:00
The Android Open Source Project
6f441d38d8 Reconcile with jb-mr1-release - do not merge
Change-Id: Ifbd9be57ffd54239f7d0b9271f262042394b938e
2012-10-02 09:18:57 -07:00
Satheesh Jayakumar
502865cbdf BIT:Fixes a bug in the pipe ownership for BIT AGPS interface
Changes to assign the correct permissions for 'gps" group for
Rx path from HAL to BIT daemon

Change-Id: I6c5dc4ff0a1379a95888f4d98e88f0174a7a2a79
CRs-Fixed: 400339, 387672
2012-10-01 12:01:36 -07:00
Linux Build Service Account
de8ce86fe4 Merge "gps: report session begin/end on gps start/stop" 2012-10-01 10:33:13 -07:00
Linux Build Service Account
c16468cc8d Merge "QMI LOC bug fix on SGLTE OOS IND" 2012-09-28 16:05:58 -07:00
Dante Russo
5b98ce35cd gps: add support for apq8064 v2
The id for apq8064 v2 is 153 vs apq8064 v1
id of 109, so the id can be either in order
to conclude that the device is apq8064 so
that GSS can be launched.

Change-Id: I8126854f18ba30a1fe46992993185266e9d1db18
CRs-fixed: 405494
2012-09-28 15:31:11 -07:00
Kevin Tang
67754118ce ATL call crash fix
AgpsStatus added with a couple string fields for wifi
which are not NULL ended when they are not used. This
get passed to AFW JNI, and allow UTF8 string with the
open ended buffer with junks in it. It might cause
exception depending on the content of the garbadge.

CRs-Fixed: 405473

Change-Id: If762748a4c63fe1be59491b5d08dbadd479176b3
2012-09-28 14:46:43 -07:00
Mekala Natarajan
fb4152c14b disabled agps state machine delete in cleanup
The current cleanup mismatches agps_init(), so that it the agps state
machines will get deleted in the cleanup but never get recreated next
time apgs_init() is called.

Bug 7216641

Change-Id: Iddba9fd0d90c790e658f14c42c8a25d22b8749c0
2012-09-27 18:21:50 -07:00
Ajay Dudani
d12dd7f6cc gps: report session begin/end on gps start/stop
Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

Bug 7185242

Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
2012-09-27 18:21:24 -07:00
Dante Russo
dc7abf9a3d gps: report session begin/end on gps start/stop
Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

CRs-fixed: 401664
Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
2012-09-27 15:22:14 -07:00
Kevin Tang
0a28a39125 QMI LOC bug fix on SGLTE OOS IND
Change-Id: I4408beede3d05d6cfb1a9a5ead3a44a31b1263cf
2012-09-27 10:07:13 -07:00
Brian Muramatsu
586a62cda0 Merge "gps: report session begin/end on gps start/stop" into jb-mr1-dev 2012-09-26 18:41:16 -07:00
Mekala Natarajan
205590ae1b disabled agps state machine delete in cleanup
The current cleanup mismatches agps_init(), so that it the agps state
machines will get deleted in the cleanup but never get recreated next
time apgs_init() is called.

Bug 7216641

Change-Id: Iddba9fd0d90c790e658f14c42c8a25d22b8749c0
2012-09-26 17:21:33 -07:00
Ajay Dudani
56de3d4311 gps: report session begin/end on gps start/stop
Since modem does not consistently send
SESSON_END/ENGINE_OFF event, always report
SESSION_END on stop gps and SESSION_BEGIN on
start gps so that the icon is turned on/off
correctly.

Bug 7185242

Change-Id: Ib3954529056a653d7057aedb489be1ccee9eaf1d
2012-09-26 16:38:31 -07:00
Linux Build Service Account
40f4d0d40d Merge "LOC_API: Modify LOC_API to support MSAPU client." 2012-09-25 08:01:47 -07:00
Linux Build Service Account
acc44b1af1 Merge "LOC_API: Add group permissions after creating the pipe." 2012-09-25 08:01:03 -07:00
Amol Mahesh
899ebaa3de LOC_API: Modify LOC_API to support MSAPU client.
Modify LOC_API to support MSAPU client which would also
request for the access to wifi network.

Change-Id: I74a5f83484953c52437855467b04c2a4c2ccfa27
2012-09-24 13:44:50 -07:00
Amol Mahesh
a03322f3a7 LOC_API: Add group permissions after creating the pipe.
Add the group permissions to the pipe after creation so
that it can be accessed by the group.

Change-Id: Ib42639ee8a46a498c4e246bc448fe8267fd5fa7d
2012-09-24 13:41:46 -07:00
Linux Build Service Account
7da07e83ff Merge "QMI LOC and Loc API update:" 2012-09-22 09:53:09 -07:00
Ajay Dudani
6f36c0ec74 Silence more gps function tracing logs
Change-Id: I33f672950f59ad739362263d212424f8f55ab88b
2012-09-21 19:13:34 -07:00
Kevin Tang
af0b025a0a QMI LOC and Loc API update:
Inject motion data and Get NI Geofence List;
subsystem restart over QMUXD;
CR 368109
SGLTE CID / OOS / NI SUPL INIT

Change-Id: I3bd77e87de61c2c2565bbb151d661c717367c0ed
2012-09-20 19:05:59 -07:00
Linux Build Service Account
48cd8b423b Merge "gps: AP NMEA generation" 2012-09-19 13:33:15 -07:00
Linux Build Service Account
6947e9cb07 Merge "gps: launch GSS on bootup even if GPS is disabled" 2012-09-19 02:54:55 -07:00
Dante Russo
a3409617b6 gps: AP NMEA generation
Generate NMEA sentences on the AP

Change-Id: Ifc9e9263868ab4dec450bef35c53c441c881a072
2012-09-17 07:34:08 -07:00
Ajay Dudani
ca3538229b gps: Fix typo in checking for qmi-framework
b/7175603

This caused one of the gps related libraries to be not built in the full tree,
causing GPS failure

Change-Id: Iff51c1a588a22f0b46b075ebf27d2b6493b97e40
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-09-16 15:51:00 -07:00
Ajay Dudani
197fe088f7 dynamically build and load adapter libs
This is to support bringup efforts. This change will decouple
the dependencies between GPS HAL and proprietary QMI headers,
so that we can build HAL without any proprietary repos.

Change-Id: I7b836d09f4ac6b1a1bdb38f8d6a2bfb90bb5bf01
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-09-15 13:44:20 -07:00
Linux Build Service Account
24d928186f Merge "gps: control session state evt from HAL, not modem" 2012-09-15 12:15:05 -07:00
Ajay Dudani
ac8fa07a02 gps: control session state evt from HAL, not modem
Suppress the registering for QMI_LOC_EVENT_MASK_FIX_SESSION_STATE_V02
event from modem, that is normally responsible for generating
GPS_STATUS_SESSION_BEGIN and GPS_STATUS_SESSION_END, and instead
initiate these events from hal from when we get GPS_STATUS_ENGINE_ON
and GPS_STATUS_ENGINE_OFF.

Change-Id: I9d220bef7ee4f989a3982d888ed46279861f612d
2012-09-14 17:49:49 -07:00