Merge commit '205021cd79eb84b4931ed79fd6d995aa8ca8c29e'
* commit '205021cd79eb84b4931ed79fd6d995aa8ca8c29e':
gps: Set SUPL server via hostname rather than IP address.
The GPS engine needs the hostname for the secure SUPL case
and deferring the DNS lookup to the HAL might be helpful in the future
if the SUPL server is on a carrier's private network.
Signed-off-by: Mike Lockwood <lockwood@android.com>
This includes the following fixes:
- remove potential qemud crash at system boot
- fix GPS fix emulation
- fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems)
- add -prop <name>=<value> option to add system properties on boot
- allow F5 keybinding for SEARCH on keyboard-less hardware configurations
- allow skins to provide a "search" button
- fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Automated import of CL 149496
* changes:
Add input source parameter to openInputStream factory function. This change lays the foundation for recording from different sources. A series of changes will follow that implement the factory function for the various hardware configurations. Finally, the deprecated function will be removed. Bug 1846343
The problem was that qemu_gps_set_position_mode() was called with the value
GPS_POSITION_MODE_MS_BASED, which corresponds to AGPS (Assisted GPS), and
returned an error (which was not properly filtered by the JNI caller, but this
is the subject of another change).
This explains why GPS emulation doesn't work in the 1.5_r1 SDK. Unfortunately,
this fix requires generating a new system image for 1.5_r2 :-(
By the way, Mike, I don't understand why this position mode is being passed.
Looking at the code in GpsLocationProvider.java, I believe that this can only
happen if a SUPL host is given by the network, and I don't think this is the
case in the emulator, is it?
This change lays the foundation for recording from different sources.
A series of changes will follow that implement the factory function
for the various hardware configurations. Finally, the deprecated
function will be removed.
Bug 1846343
Merge commit '049ae36fcb9e9af8ee5e42284b9320e64b576ebd'
* commit '049ae36fcb9e9af8ee5e42284b9320e64b576ebd':
GPS: Generalize SUPL support to include AGPS for CDMA