!630 Rectify namespace irregularities

Merge pull request !630 from liyaoyao/master
This commit is contained in:
openharmony_ci 2024-08-27 07:13:16 +00:00 committed by Gitee
commit 30ebe17005
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
12 changed files with 24 additions and 24 deletions

View File

@ -35,6 +35,6 @@ public:
private:
SensorDataChannel *channel_ = { nullptr };
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // FD_LISTENER_H

View File

@ -26,6 +26,6 @@ public:
virtual ~ISensorClient() = default;
DECLARE_INTERFACE_DESCRIPTOR(u"ISensorClient");
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // I_SENSOR_CLIENT_H

View File

@ -50,6 +50,6 @@ public:
virtual ErrCode DisableActiveInfoCB() = 0;
virtual ErrCode ResetSensors() = 0;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // I_SENSOR_SERVICE_H

View File

@ -68,6 +68,6 @@ private:
};
#define SENSOR_AGENT_IMPL OHOS::DelayedSingleton<SensorAgentProxy>::GetInstance()
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // endif SENSOR_PROXY_H

View File

@ -34,6 +34,6 @@ private:
DISALLOW_COPY_AND_MOVE(SensorClientProxy);
static inline BrokerDelegator<SensorClientProxy> delegator_;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_CLIENT_PROXY_H

View File

@ -30,6 +30,6 @@ public:
virtual int32_t OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply,
MessageOption &option) override;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_CLIENT_STUB_H

View File

@ -52,6 +52,6 @@ private:
ReceiveMessageFun receiveMessage_;
DisconnectFun disconnect_;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_DATA_CHANNEL_H

View File

@ -31,6 +31,6 @@ public:
*/
void ProcessEvent(const AppExecFwk::InnerEvent::Pointer &event) override;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_EVENT_HANDLER_H

View File

@ -36,6 +36,6 @@ private:
SensorDataChannel *channel_ = nullptr;
SensorData *receiveDataBuff_ = nullptr;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_FILE_DESCRIPTOR_LISTENER_H

View File

@ -74,6 +74,6 @@ private:
std::mutex activeInfoCBMutex_;
std::set<SensorActiveInfoCB> activeInfoCBSet_;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_SERVICE_CLIENT_H

View File

@ -48,6 +48,6 @@ private:
DISALLOW_COPY_AND_MOVE(SensorServiceProxy);
static inline BrokerDelegator<SensorServiceProxy> delegator_;
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSOR_SERVICE_PROXY_H

View File

@ -34,6 +34,6 @@ enum class SensorInterfaceCode {
DISABLE_ACTIVE_INFO_CB,
RESET_SENSORS,
};
} // namespace Sensors
} // namespace OHOS
} // namespace Sensors
} // namespace OHOS
#endif // SENSORS_IPC_INTERFACE_CODE_H