mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Add newlines to clarify the comments
Bug: 150830099 Test: format only Change-Id: Icdcb5f8587e3d95c3d707f0f843824989fde064b
This commit is contained in:
@@ -63,9 +63,11 @@ struct GnssMeasurement : public IGnssMeasurement {
|
||||
|
||||
// Guarded by mMutex
|
||||
static sp<IGnssMeasurementCallback> sCallback;
|
||||
|
||||
std::atomic<long> mMinIntervalMillis;
|
||||
std::atomic<bool> mIsActive;
|
||||
std::thread mThread;
|
||||
|
||||
// Synchronization lock for sCallback
|
||||
mutable std::mutex mMutex;
|
||||
};
|
||||
|
||||
@@ -49,9 +49,11 @@ struct GnssAntennaInfo : public IGnssAntennaInfo {
|
||||
|
||||
// Guarded by mMutex
|
||||
static sp<IGnssAntennaInfoCallback> sCallback;
|
||||
|
||||
std::atomic<long> mMinIntervalMillis;
|
||||
std::atomic<bool> mIsActive;
|
||||
std::thread mThread;
|
||||
|
||||
// Synchronization lock for sCallback
|
||||
mutable std::mutex mMutex;
|
||||
};
|
||||
|
||||
@@ -68,11 +68,14 @@ struct GnssMeasurement : public IGnssMeasurement {
|
||||
|
||||
// Guarded by mMutex
|
||||
static sp<V2_1::IGnssMeasurementCallback> sCallback_2_1;
|
||||
|
||||
// Guarded by mMutex
|
||||
static sp<V2_0::IGnssMeasurementCallback> sCallback_2_0;
|
||||
|
||||
std::atomic<long> mMinIntervalMillis;
|
||||
std::atomic<bool> mIsActive;
|
||||
std::thread mThread;
|
||||
|
||||
// Synchronization lock for sCallback_2_1 and sCallback_2_0
|
||||
mutable std::mutex mMutex;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user