| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GPS Provider Service changes
GPS engine needs to receive network state changes from Android fw.
Added db query for the current APN, also added a new parameter
between JNI / HAL to the new method in AGpsRilInterface struct
for gps engine to receive APN from GPSLocationService
Conflicts:
services/java/com/android/server/location/GpsLocationProvider.java
Change-Id: I33c45027f1571493d3525324f62d199517c4960c
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |\
| | |
| | |
| | |
| | | |
* commit '0b3af353dcf61177158934a11404cf2914038696':
GPS Provider Service changes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
GPS engine needs to receive network state changes from Android fw.
Added db query for the current APN, also added a new parameter
between JNI / HAL to the new method in AGpsRilInterface struct
for gps engine to receive APN from GPSLocationService
Change-Id: I62e35c948d2ac1961771d1a10581a3b8e695c05a
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
address for AGps"
* commit '21700fedfe29f6a0a752d2bea46142038e69136c':
gps: Adding ip address for AGps
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '5f7203eb258503bc5d2ba29176bdf483a68a93b8':
gps: Adding ip address for AGps
|
| | |
| | |
| | |
| | | |
Change-Id: Ic590187d159853de2f1bd2912e159f0a00d8fb10
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
enable on-demand data call flow for CDMA connections"
* commit 'f8d13e535c3e6166c2386adac3b3a2f115d2b79d':
GPS: Changes to enable on-demand data call flow for CDMA connections
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
on-demand data call flow for CDMA connections"
* commit 'bf676d460d1d1fc8923982006c38d0f6785daea8':
GPS: Changes to enable on-demand data call flow for CDMA connections
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the CDMA case we do not get a valid APN on a data connection request
to the connectivity manager. A fix is put in so that even if we get a
null APN we populate this field before we call native_agps_data_conn_open()
method to avoid a run time exception.
Change-Id: I134ead5d8b177fced9b14756c6bd8199a2b9c35d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
...apk reinstall; affects user privacy
Disconnecting a ServiceConnection after an app is torn down could
impact the bookkeeping of the same service if it has been started
for the app.
Also address issue #5073927: GSF process can't be killed
A new flag allows the systems location manager service to tell
the activity manager to not pull bound services up forever into
the visible adj level.
Change-Id: I2557eca0e4bd48f3b10007c40ec878e769fd96a8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Uses NTP server and timeout from secure settings, or fallback to
defaults in resources. Update various system services to use cached
NTP time when fresh enough, or force updates as needed.
Bug: 4517273
Change-Id: Ie1c4c4883836013d02ca0bbd850cf8949f93b34b
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I83db0249c13598070ed70b9f90207305b60b468f
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
interval from 4 to 24 hours" into honeycomb-mr2
* commit '859443f2a4d6a2b72c3e9c75720d32d4e4c09489':
GPS: Change NTP polling interval from 4 to 24 hours
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
24 hours" into honeycomb-mr2
* commit 'c0d9834a1c6dd8d9cd0b7fe9b50495578c104405':
GPS: Change NTP polling interval from 4 to 24 hours
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4 hours is excessive, and we want to save bandwidth on the NTP servers
Change-Id: Ic5ac4f4a8e62167206f3f620ea51635a2ea771d6
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'ee60f3fb1b4e61ac8027293a658ba710e36d36b6':
Enable support for SMS national language shift tables.
|
| |\ \ \
| | | |/
| | |/|
| | | | |
Change-Id: I2b569ada3baec2dc486296623063bc2b504c5e96
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add support for encoding and decoding SMS 7 bit user data using the
national language shift tables defined in 3GPP TS 23.038 (GSM/UMTS only),
including the new tables added in Release 9 for Indic languages.
Decoding is always supported, but encoding is only enabled for the
specific language tables added to the new integer array resources
"config_sms_enabled_single_shift_tables" and
"config_sms_enabled_locking_shift_tables" defined in
frameworks/base/core/res/res/values/config.xml. The default empty arrays
should be overridden in an OEM overlay for the specific nationalities where
SMS national language shift table encoding is allowed/mandated (e.g. Turkey).
GsmAlphabet.countGsmSeptets() will try to find the most efficient encoding
among all combinations of enabled locking shift and single shift tables.
If no 7 bit encoding is possible, 16 bit UCS-2 encoding will be used.
This change also fixes a bug in the decoder: when an escape septet
is followed by a septet with no entry in the extension (single shift)
table, TS 23.038 Table 6.2.1.1 states that the MS shall display
the character in the main GSM 7 bit default alphabet table, or the
active national language locking shift table. Previously, we were
decoding this sequence as a space character. Two consecutive escape
septets will continue to decode as a space character, according to
Note 1 of table 6.2.1.1.
Change-Id: I4dab3f0ffe39f3df2064ed93c9c05f26e274d18b
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 4345419
Change-Id: Ia3e071b97c6971538ea994fdee6029db928201d6
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
since before 1.0.
Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
|
|\ \ \
| |/ /
| | /
| |/
|/| |
* commit 'a5b68f39e2936a83eac0b995992724cd5de6905d':
GPS: Restore XTRA downloading at boot.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Between Froyo and Gingerbread we disabled scheduling an XTRA data download
at boot because the Qualcomm engineers thought it should not be necessary.
However, some users noticed a GPS performance degradation after receiving
their Gingerbread update, and some reported forcing an XTRA download cleared
up the problem. This change restores the Froyo behavior of downloading
XTRA data after boot.
Bug: 3509901
Change-Id: I5a52201a2b24ce4a5d3ddb1f86340e3d5387f603
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '6c8d8d8927373fdb9ad1c853396b5dbc8295f996'
* commit '6c8d8d8927373fdb9ad1c853396b5dbc8295f996':
GPS: Disable verbose logging
|
| |
| |
| |
| |
| |
| |
| | |
BUG: 3127049
Change-Id: I9efd9eb7ff69724b133f3b70c52e173f49ddfbc5
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
requestRefLocation" into gingerbread
Merge commit 'd78c8d8bb9516878eb5042a28d76bd6bcf4c6780'
* commit 'd78c8d8bb9516878eb5042a28d76bd6bcf4c6780':
GPS: Fix network type logic in requestRefLocation
|
| |
| |
| |
| |
| | |
Change-Id: I20ef81bcf029b289389dba57e6cf457fda5acbf4
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| | |
Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remember, the system and main logs are
- Shared resources
- Primarily for recording problems
- To be used only for large grained events during normal operation
Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '8333d59133da8e56cfb5465c767e89c61ede28bc'
* commit '8333d59133da8e56cfb5465c767e89c61ede28bc':
GPS: Enable some more logging
|
| |
| |
| |
| |
| | |
Change-Id: I7d13c859002fa96fa8c361c0c709931c6b12eb99
Signed-off-by: Mike Lockwood <lockwood@google.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
logging" into gingerbread
Merge commit '11eada780dc82fcac2a1dad4e2dde1d310b4231c'
* commit '11eada780dc82fcac2a1dad4e2dde1d310b4231c':
Enable framework GPS and location manager logging
|
| |
| |
| |
| |
| | |
Change-Id: Id54fc01e7288e7d90d7b76824b708bcb2ee88333
Signed-off-by: Mike Lockwood <lockwood@google.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
AGpsRillInterface" into gingerbread
Merge commit '431dd3b1bc8f2acf7cbcf08463649b5629baf398'
* commit '431dd3b1bc8f2acf7cbcf08463649b5629baf398':
GPS: Add update_network_state call to AGpsRillInterface
|
| |
| |
| |
| |
| | |
Change-Id: I404a7a45773f592de7dfe75a8287fef15515ea8b
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
multiple times" into gingerbread
Merge commit '748b413e94c73b760c63a03126df2c4712a1ae05'
* commit '748b413e94c73b760c63a03126df2c4712a1ae05':
GPS: Do not call sGpsInterface->init() multiple times
|
| |
| |
| |
| |
| | |
Change-Id: I5f2b55959bd67864168690c1fe619e55edc18268
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Proxy" into gingerbread
Merge commit '98e1f3840f06d3dfea987154da25d5351460d080'
* commit '98e1f3840f06d3dfea987154da25d5351460d080':
Remove races in Geocoder/LocationProvider Proxy
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The proxy must ensure that enable/disable calls are not reordered when
proxied; this change adds synchronization to prevent such reordering
that could happen following an onServiceConnected() callback, and to
ensure cross-thread visibility of writes.
Also, when the package is updated, the old service instance must be
unbound and the new one bound. This changes uses a separate
Connection object per service instance (package version) to avoid
confusing the binder objects.
Change-Id: I0907f7eed211b97ccfffa395754f1eb8ea8d8fec
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I1a398a7100abf75d8df7ae9a3d6110829645ae64
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Adding changes to be able to have access to missing data to SUPL
(celld, imsi, WAP_PUSH and SMS)
Change-Id: I0207f7f7ea6595ed3fd7021cb732feddf52e4cf9
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ia5ce86d84454a4be76e71aeb77942ba8d88d2700
|
| |
| |
| |
| |
| | |
Change-Id: I2d7db3512b9edd7e0ba27d97442967fc2278e3b9
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
while bringing up APN for SUPL." into gingerbread
Merge commit '6cec0dc0e47459553a3a6572abd28a8e49ce5875'
* commit '6cec0dc0e47459553a3a6572abd28a8e49ce5875':
GpsLocationProvider: Fix race condition while bringing up APN for SUPL.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If handleUpdateNetworkState() is called before
ConnectivityManager.startUsingNetworkFeature() returns, then we will not
call native_agps_data_conn_open() to inform the GPS that the APN is up.
So we now set mAGpsDataConnectionState to AGPS_DATA_CONNECTION_OPENING
before calling ConnectivityManager.startUsingNetworkFeature() to avoid
this problem.
Change-Id: I5e1597d6494dc8ab68e608911c546a7a04f2ea07
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
| |
| |
| | |
Change-Id: I350d560bc99661550f939f70b6abcb40bbe44bfc
|
|\ \
| |/
| |
| | |
Change-Id: I27004dc464f5771d3205ae5757c6eccc5b16854d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes a problem where applications could ask the location
manager to do very heavy-weight things (like... say... update
location every minute), which would get accounted against the
system instead of the application because ultimately it is the
system making the heavy calls (wake locks, etc).
To solve this, we introduce a new class WorkSource representing
the source of some work. Wake locks and Wifi locks allow you
to set the source to use (but only if you are system code and thus
can get the permission to do so), which is what will be reported
to the battery stats until the actual caller.
For the initial implementation, the location manager keeps track
of all clients requesting periodic updates, and tells its providers
about them as a WorkSource param when setting their min update time.
The network location provider uses this to set the source on the
wake and wifi locks it acquires, when doing work because of the
update period.
This should also be used elsewhere, such as in the GPS provider,
but this is a good start.
Change-Id: I2b6ffafad9e90ecf15d7c502e2db675fd52ae3cf
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
enabled" into gingerbread
Merge commit '264348361e0660948a09fe516a535b7c60998def'
* commit '264348361e0660948a09fe516a535b7c60998def':
GPS: Initialize XTRA support when GPS is enabled
|
| |
| |
| |
| |
| |
| |
| | |
BUG: 2923148
Change-Id: If9a643e385c6c567b30f47d4caa35fa812a2ba43
Signed-off-by: Mike Lockwood <lockwood@android.com>
|