Commit Graph

86 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Garvan Keeley
7fe69db21e Bug 1176261 - Discard gps with impossibly tiny accuracy. r=jaliu 2015-07-02 22:41:59 -04:00
Kan-Ru Chen
a171dc88c4 Bug 772750 - Get mobile connection technology from MobileConnectionService. r=garvank,echen 2015-05-27 14:41:23 +08:00
Kan-Ru Chen
ebbdf58645 Bug 1168068 - GonkGPSGeolocationProvider should use mRilDataServiceId in SetReferenceLocation. r=garvank 2015-05-27 14:40:48 +08:00
Jessica Jong
9ba6075286 Bug 1114901 - Part 3: move data connection related code out of RadioInterfaceLayer. r=echen 2015-05-20 10:08:39 +08:00
Bevis Tseng
abe2ea3055 Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
Shawn Ku
4f9c4a5383 Bug 1127690 - [flatfish] build break in gecko/dom/system/gonk/GonkGPSGeolocationProvider.cpp. r=KanRu. 2015-02-02 09:56:56 +08:00
Alexandre Lissy
88b0d08fb1 Bug 1123072 - Fix build of GonkGPSGeolocationProvider on Flatfish. r=kchen 2015-01-19 03:00:00 +01:00
Shawn Ku
b27b54d693 Bug 878748 - [dolphin] B2G GPS: acquire correct RadioInterface instance in MultiSIM configuration. r=KanRu. 2015-01-19 10:51:57 +08:00
Dave Huseby
f8c0a3485b Bug 1107681 - fix up the dom uses of WrapptedJSToDictionary to use the cx-less interface. r=bholley 2014-12-29 11:56:00 +01:00
Jamin Liu
d47b593467 Bug 1065751 - Support AGPS with roaming cell by retrieving mcc & mnc from nsIMobileNetworkInfo. r=kchen 2014-12-18 17:51:00 +01:00
Jessica Jong
0473c076a5 Bug 1058305 - Part 3: use defined network types in nsIRadioInterface (other components). r=echen 2014-11-25 09:44:35 +08:00
Alexandre Lissy
7a226b1413 Bug 1089619 - Stop abusing the Settings API from Gonk GPS. r=kanru
GPS handling for Gonk abuses the Settings API in two ways. First, on
mozsettings-changed event, it will trigger two new requests to read
values (debug enabled and GPS locations ignore). This is useless since
the event already contains the key that has changed and the new value,
so there is no need to do a createLock().get() call. Then, in startup
code, the Init() method is supposed to check itself whether it is
already running. This is done through the mStarted boolean. The same
Init() method is responsible for adding the mozsettings-changed
observer, which is removed by the Shutdown() method. Investigation on
device by using the Geolocation API has proven that we were leaking some
observers. This is because checking mStarted boolean is performed after
we request settings values and we install the mozsettings-changed
observer. So any time the Init() gets called, we install it but we just
remove it once in Shutdown().
2014-10-30 07:42:00 -04:00
Edgar Chen
5673c75bde Bug 994461 - Part 2: GPS changes for IccInfo WebIDL. r=kchen 2014-09-05 14:54:29 +08:00
Vicamo Yang
8371bf0470 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-21 15:24:43 +08:00
Carsten "Tomcat" Book
7e90b88b7a Backed out changeset 9ff2889f236a (bug 1063304) 2014-09-17 13:13:08 +02:00
Vicamo Yang
e8097c2286 Bug 1063304 - 3.c/3: accommodate other components. r=echen 2014-09-16 21:20:18 +08:00
Garvan Keeley
473b67fa82 Bug 1056857 - Code cleanup related to debugging flags. r=kanru
- change #define to const char* for consistency
- change int to bool for bool flags
- make debug log messages more concise, multi-line messages (that could be one-line) make watching the debug log difficult
2014-09-02 21:09:00 -04:00
Garvan Keeley
6d3204dce9 Bug 1056857 - Add debug flag for ignoring GPS locations. r=kanru
Also added observer of Gaia settings changes, so the debug settings
can be toggled on the fly.
2014-09-03 06:58:00 -04:00
Edgar Chen
f62eb7f8ef Bug 843452 - Part 4-2: [GPS] Get voiceInfo via MobileConnectionService. r=kchen 2014-07-01 18:46:05 +08:00
Wes Kocher
93e86ff4d2 Backed out 17 changesets (bug 843452)
Backed out changeset e72a0297d488 (bug 843452)
Backed out changeset 73f62ce4190f (bug 843452)
Backed out changeset 6d4a49ebd9fc (bug 843452)
Backed out changeset ac93e396669f (bug 843452)
Backed out changeset cf4fc721821e (bug 843452)
Backed out changeset 9a94ea71d232 (bug 843452)
Backed out changeset b95ff097374d (bug 843452)
Backed out changeset 8d6428a93500 (bug 843452)
Backed out changeset e31b86ef0e80 (bug 843452)
Backed out changeset bd4efde535cd (bug 843452)
Backed out changeset 02bbcd8ac571 (bug 843452)
Backed out changeset f7f41bf82b22 (bug 843452)
Backed out changeset 20f42764cd38 (bug 843452)
Backed out changeset 82f8670f5c17 (bug 843452)
Backed out changeset 52f25f1278e3 (bug 843452)
Backed out changeset 181337820a7c (bug 843452)
Backed out changeset 9bd12641af03 (bug 843452)
2014-08-28 16:51:41 -07:00
Edgar Chen
d541adc958 Bug 843452 - Part 4-2: [GPS] Get voiceInfo via MobileConnectionService. r=kchen 2014-07-01 18:46:05 +08:00
Garvan Keeley
3f9d523781 Bug 1033274 - Added logic when MLS responds to GPS provider. r=kanru
NetworkGeolocationProvider is listened to by the Gonk GPS provider, and
these updates are to be used in certain cases (such as the GPS is
inactive) or ignored in other cases so as not overwrite an accuracte GPS
location with and inaccurate MLS location.

Fixed the GPS position's timestamp; the code was using the satellite provided
timestamp. This timestamp bubbles up to the DOM eventually, which has no
knowledge of GPS timestamp delays, thus it needs the current system time.
2014-08-22 07:37:00 -04:00
Kan-Ru Chen (陳侃如)
3e0e75e355 Bug 1050899 - Check mAGpsRilInterface before use. r=dougt 2014-08-15 04:24:00 -04:00
Kan-Ru Chen (陳侃如)
7715aa8a90 Bug 1032063 - Call update_network_state and update_network_availability when network state changes for A-GPS. r=dougt 2014-08-06 14:41:56 +08:00
Jan de Mooij
1d6a780efe Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Michael Wu
ca8d5f9c17 Bug 1033209 - Lazily initialize gps callbacks, r=kanru 2014-07-02 22:59:46 +08:00
Doug Turner
be26fb8fdb Bug 1022463 - Gonk GPS should default to 10s before trying a a network position. r=kanru 2014-06-08 22:58:40 -07:00
Garvan Keeley
1b24f366af Bug 996998 - GonkGPSGeolocationProvider::NetworkLocationUpdate::Update(). r=dougt 2014-04-28 06:24:00 +02:00
Edgar Chen
f644e55d9b Bug 898445 - Part 4: GPS changes for MobileConnection webidl. r=kchen 2014-02-26 16:00:39 +08:00
Ryan VanderMeulen
ab2f6d79b4 Backed out changeset eaa0d64e544e (bug 996998) for B2G bustage. 2014-04-27 17:47:12 -04:00
Garvan Keeley
b95107dc87 Bug 996998 - GonkGPSGeolocationProvider::NetworkLocationUpdate::Update() MLS location can override GPS location, even through the MLS location is unchanged. r=dougt 2014-04-21 07:45:00 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Gregor Wagner
db02cdc332 Bug 999572 - Fix settingsService usage in NetworkGeolocationProvider.js. r=bent 2014-04-23 14:16:24 -07:00
Vicamo Yang
7837e79dbd Bug 994601: fix undefined 'RequestSettingValue' and 'nsIRILNetworkInterface' in Flatfish build. r=kanru 2014-04-11 22:28:01 +08:00
Doug Turner
ef6379b45c Bug 989692 - Add GPS Debugging Logging. r=kchen 2014-03-24 21:58:18 -07:00
Vicamo Yang
b0782eb5d5 Bug 978709 - 2.b/6: don't use nsIRILDataCallback in GonkGPSGeolocationProvider. r=kanru
nsIRILDataCallback has been abused in RadioInterfaceLayer.js and is
becoming an RIL internal utility.  Besides, nsIRILDataCallback has
also racing problem as described in bug 976897.  We should really use
NetworkManager observer events to replace the notification mechanism
here.
2014-03-29 15:18:11 +08:00
Vicamo Yang
0928f24af0 Bug 978709 - 2.a/6: remove nsIRILDataCallback::receiveDataCallList. r=hsinyi
nsIRILDataCallback::receiveDataCallList has been obsoleted for a long
long time and all the existing classes that implement
nsIRILDataCallback leave the function body empty.  Since we're going
to change the object layout of a |datacall| JS object, removing
related but obsoleted functions saves us some time.
2014-03-29 15:18:10 +08:00
Doug Turner
2d503a55c1 Bug 987019 - Shutdown Wifi scanning after geolocation request has completed. r=kanru 2014-03-24 12:40:42 -07:00
Doug Turner
99eeb6c62e Bug 977725 - MLS Geolocation seeding GONK GPS Provider. r=kanru 2014-03-22 00:42:55 -07:00
Sam Joch
79c5c55715 Bug 968215 - SettingsService needs to have a callback when transaction are completed. r=bent 2014-02-07 12:19:58 +01:00
Tom Schuster
4a7dd51a60 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Vicamo Yang
9a43f875b0 Bug 920551 - 2.j/2: fix GonkGPSGeolocationProvider. r=kanru 2013-10-29 16:12:47 +08:00
Edgar Chen
2040442b87 Bug 869778 - Part 5: GPS changes for msisdn. r=kchen 2013-08-21 10:45:57 +08:00
Edgar Chen
bfb06ec243 Bug 882984 - Part 3: GPS changes for MobileCellInfo. r=kchen 2013-07-18 17:30:54 +08:00
Joshua Cranmer
46b6048262 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands. 2013-07-18 21:21:20 -05:00
Edgar Chen
9502ced6d2 Bug 875721 - Part 3: GPS changes for iccInfo. r=kchen 2013-05-30 18:52:56 +08:00
Vicamo Yang
f537cca9a5 Bug 814581 - Part 4/8: fix GonkGPSGeolocationProvider. r=kanru 2013-07-02 17:36:44 +08:00
Doug Turner
99e8fd3b70 Bug 882485 - Add API keys support for Google Location Service API. r=gps, jdm, gavin. sr=brendan 2013-06-12 19:20:07 -07:00
Oleg Romashin
3262087e6c Bug 877191 - Gonk does not compile with later m-c on 4.6 compiler. r=mwu
From 0ff67b491787206102e3f079026bdb54339f69bf Mon Sep 17 00:00:00 2001
---
 dom/system/gonk/GonkGPSGeolocationProvider.cpp |    6 +++---
 dom/system/gonk/GonkGPSGeolocationProvider.h   |    1 +
 widget/gonk/nsIdleServiceGonk.h                |    7 +++----
 3 files changed, 7 insertions(+), 7 deletions(-)
2013-05-29 17:43:17 -07:00