/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssGeofenceProxy.java | 45 private final GnssNative mGnssNative; field in GnssGeofenceProxy 51 mGnssNative = gnssNative; in GnssGeofenceProxy() 53 mGnssNative.addBaseCallbacks(this); in GnssGeofenceProxy() 59 return mGnssNative.isGeofencingSupported(); in isHardwareGeofenceSupported() 68 boolean added = mGnssNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence() 90 boolean removed = mGnssNative.removeGeofence(geofenceId); in removeHardwareGeofence() 101 boolean paused = mGnssNative.pauseGeofence(geofenceId); in pauseHardwareGeofence() 115 boolean resumed = mGnssNative.resumeGeofence(geofenceId, monitorTransitions); in resumeHardwareGeofence() 132 boolean added = mGnssNative.addGeofence(entry.geofenceId, entry.latitude, in onHalRestarted() 138 mGnssNative.pauseGeofence(entry.geofenceId); in onHalRestarted()
|
D | GnssManagerService.java | 64 private final GnssNative mGnssNative; field in GnssManagerService 81 mGnssNative = gnssNative; in GnssManagerService() 84 ServiceManager.getService(BatteryStats.SERVICE_NAME)), mGnssNative); in GnssManagerService() 86 mGnssLocationProvider = new GnssLocationProvider(mContext, injector, mGnssNative, in GnssManagerService() 88 mGnssStatusProvider = new GnssStatusProvider(injector, mGnssNative); in GnssManagerService() 89 mGnssNmeaProvider = new GnssNmeaProvider(injector, mGnssNative); in GnssManagerService() 90 mGnssMeasurementsProvider = new GnssMeasurementsProvider(injector, mGnssNative); in GnssManagerService() 91 mGnssNavigationMessageProvider = new GnssNavigationMessageProvider(injector, mGnssNative); in GnssManagerService() 92 mGnssAntennaInfoProvider = new GnssAntennaInfoProvider(mGnssNative); in GnssManagerService() 93 mGnssGeofenceProxy = new GnssGeofenceProxy(mGnssNative); in GnssManagerService() [all …]
|
D | GnssNavigationMessageProvider.java | 61 private final GnssNative mGnssNative; field in GnssNavigationMessageProvider 66 mGnssNative = gnssNative; in GnssNavigationMessageProvider() 68 mGnssNative.addBaseCallbacks(this); in GnssNavigationMessageProvider() 69 mGnssNative.addNavigationMessageCallbacks(this); in GnssNavigationMessageProvider() 74 return mGnssNative.isNavigationMessageCollectionSupported(); in isSupported() 91 if (mGnssNative.startNavigationMessageCollection()) { in registerWithService() 104 if (mGnssNative.stopNavigationMessageCollection()) { in unregisterWithService()
|
D | GnssAntennaInfoProvider.java | 61 private final GnssNative mGnssNative; field in GnssAntennaInfoProvider 66 mGnssNative = gnssNative; in GnssAntennaInfoProvider() 67 mGnssNative.addBaseCallbacks(this); in GnssAntennaInfoProvider() 68 mGnssNative.addAntennaInfoCallbacks(this); in GnssAntennaInfoProvider() 81 return mGnssNative.isAntennaInfoSupported(); in isSupported() 125 mGnssNative.startAntennaInfoListening(); in onHalStarted() 130 mGnssNative.startAntennaInfoListening(); in onHalRestarted()
|
D | GnssLocationProvider.java | 232 private final GnssNative mGnssNative; field in GnssLocationProvider 381 mGnssNative = gnssNative; in GnssLocationProvider() 412 mGnssConfiguration = mGnssNative.getConfiguration(); in GnssLocationProvider() 429 mGnssNative.addBaseCallbacks(this); in GnssLocationProvider() 430 mGnssNative.addLocationCallbacks(this); in GnssLocationProvider() 431 mGnssNative.addSvStatusCallbacks(this); in GnssLocationProvider() 432 mGnssNative.setAGpsCallbacks(this); in GnssLocationProvider() 433 mGnssNative.setPsdsCallbacks(this); in GnssLocationProvider() 434 mGnssNative.setNotificationCallbacks(this); in GnssLocationProvider() 435 mGnssNative.setLocationRequestCallbacks(this); in GnssLocationProvider() [all …]
|
D | GnssNmeaProvider.java | 43 private final GnssNative mGnssNative; field in GnssNmeaProvider 52 mGnssNative = gnssNative; in GnssNmeaProvider() 54 mGnssNative.addBaseCallbacks(this); in GnssNmeaProvider() 55 mGnssNative.addNmeaCallbacks(this); in GnssNmeaProvider() 99 int length = mGnssNative.readNmea(mNmeaBuffer, in onReportNmea()
|
D | GnssMeasurementsProvider.java | 88 private final GnssNative mGnssNative; field in GnssMeasurementsProvider 95 mGnssNative = gnssNative; in GnssMeasurementsProvider() 97 mGnssNative.addBaseCallbacks(this); in GnssMeasurementsProvider() 98 mGnssNative.addMeasurementCallbacks(this); in GnssMeasurementsProvider() 103 return mGnssNative.isMeasurementSupported(); in isSupported() 121 if (mGnssNative.startMeasurementCollection(request.isFullTracking(), in registerWithService() 135 if (mGnssNative.stopMeasurementCollection()) { in unregisterWithService()
|
D | GnssMetrics.java | 95 private final GnssNative mGnssNative; field in GnssMetrics 98 mGnssNative = gnssNative; in GnssMetrics() 627 mGnssNative.requestPowerStats(); in onPullAtom() 628 GnssPowerStats gnssPowerStats = mGnssNative.getPowerStats(); in onPullAtom()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
D | FakeGnssHal.java | 249 private @Nullable GnssNative mGnssNative; field in FakeGnssHal 264 Objects.requireNonNull(mGnssNative).restartHal(); in restartHal() 305 Objects.requireNonNull(mGnssNative).reportLocation(true, location); in reportLocation() 323 Objects.requireNonNull(mGnssNative).reportGeofenceTransition( in reportLocation() 332 Objects.requireNonNull(mGnssNative).reportGeofenceTransition( in reportLocation() 344 Objects.requireNonNull(mGnssNative).reportNavigationMessage(message); in reportNavigationMessage() 350 Objects.requireNonNull(mGnssNative).reportAntennaInfo(antennaInfos); in reportAntennaInfo() 360 Objects.requireNonNull(mGnssNative).reportMeasurementData(event); in reportMeasurement() 386 mGnssNative = Objects.requireNonNull(gnssNative); in initOnce() 576 Objects.requireNonNull(mGnssNative).reportLocationBatch(locations); in flushBatch() [all …]
|