Description:remove extra spaces

Feature or Bugfix:remove extra spaces
Binary Source: No

Signed-off-by: Lixiaoying <lixiaoying25@huawei.com>
This commit is contained in:
l30043718 2023-04-06 20:59:02 +08:00
parent b2d574ba9c
commit bcb8974128
7 changed files with 24 additions and 24 deletions

View File

@ -24,7 +24,7 @@ public:
IPCFileDescriptor();
explicit IPCFileDescriptor(int fd);
~IPCFileDescriptor();
/**
* @brief Marshal the object.
* @param parcel Indicates the Parcel object to which the sequenceable object will be marshaled.
@ -49,7 +49,7 @@ public:
* @since 9
*/
static IPCFileDescriptor *Unmarshalling(Parcel &parcel);
/**
* @brief Gets the file descriptor.
* @return Returns the file descriptor.

View File

@ -39,7 +39,7 @@ public:
* @since 9
*/
int SendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &optionoption) override;
/**
* @brief Determine whether it is a Proxy Object.
* @return Returns <b>true</b> if it is Proxy Object; returns <b>false</b> otherwise.
@ -56,14 +56,14 @@ public:
* @since 9
*/
bool IsObjectDead() const override;
/**
* @brief Obtains the reference count of the object.
* @return Returns the reference count.
* @since 9
*/
int32_t GetObjectRefCount() override;
/**
* @brief Dump the contents.
* @param fd Indicates the file descriptor.
@ -73,7 +73,7 @@ public:
* @since 9
*/
int Dump(int fd, const std::vector<std::u16string> &args) override;
/**
* @brief The first strong reference provided.
* @param objectId Indicates the object Id.
@ -81,7 +81,7 @@ public:
* @since 9
*/
void OnFirstStrongRef(const void *objectId) override;
/**
* @brief The last strong reference provided.
* @param objectId Indicates the object Id.
@ -89,7 +89,7 @@ public:
* @since 9
*/
void OnLastStrongRef(const void *objectId) override;
/**
* @brief Registered a death recipient.
* @param recipient Indicates the recipient of the DeathRecipient pointer.
@ -97,7 +97,7 @@ public:
* @since 9
*/
bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override;
/**
* @brief Unregistered a death recipient.
* @param recipient Indicates the recipient of the DeathRecipient pointer.
@ -105,7 +105,7 @@ public:
* @since 9
*/
bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override;
/**
* @brief Send Obituary to agents who have registered for death notices.
* @return void
@ -135,7 +135,7 @@ public:
{
return handle_;
};
/**
* @brief Call the listening thread.
* @param data Indicates the object sent to the peer process.
@ -153,7 +153,7 @@ public:
* @since 9
*/
int32_t NoticeServiceDie();
/**
* @brief Obtains the corresponding PID and UID.
* @param reply Indicates the object returned by the peer process.
@ -162,14 +162,14 @@ public:
* @since 9
*/
int GetPidUid(MessageParcel &reply);
/**
* @brief Obtains the session name.
* @return Returns the session name of type string.
* @since 9
*/
std::string GetSessionName();
/**
* @brief Obtains the session name for PID and UID.
* @param uid Indicates the UID value entered.
@ -178,21 +178,21 @@ public:
* @since 9
*/
std::string GetSessionNameForPidUid(uint32_t uid, uint32_t pid);
/**
* @brief Obtains the grant session name.
* @return Returns the grant session name of type string.
* @since 9
*/
std::string GetGrantedSessionName();
/**
* @brief Obtains the proxy protocol.
* @return Returns the obtained proxy protocol.
* @since 9
*/
int GetProto() const;
/**
* @brief Wait for initialization.
* @return void
@ -300,7 +300,7 @@ private:
private:
std::mutex initMutex_;
std::recursive_mutex mutex_;
std::vector<sptr<DeathRecipient>> recipients_;
const uint32_t handle_;
int proto_;

View File

@ -154,7 +154,7 @@ public:
* @since 9
*/
static std::string ResetCallingIdentity();
/**
* @brief Set calling identity.
* @param identity Indicates the string containing the UID and PID of the remote user.

View File

@ -78,7 +78,7 @@ public:
* @since 9
*/
static BrokerRegistration &Get();
/**
* @brief Register the broker.
* @param descriptor Indicates a descriptor the type of string.
@ -96,7 +96,7 @@ public:
* @since 9
*/
void Unregister(const std::u16string &descriptor);
/**
* @brief Obtains the new instance object.
* @param descriptor Indicates a descriptor the type of string.

View File

@ -24,7 +24,7 @@ protected:
PeerHolder(const sptr<IRemoteObject> &object);
~PeerHolder() = default;
/**
* @brief Gets the proxy object.
* @return Returns the IRemoteObject pointer object.

View File

@ -43,7 +43,7 @@ namespace OHOS {
};
EXTERN_C_START
/**
* @brief Export NAPIRemote object.
* @param env Indicates the environment in which NAPI is called.

View File

@ -41,7 +41,7 @@ public:
{
return false;
};
RpcSystemAbilityCallback() = default;
virtual ~RpcSystemAbilityCallback() = default;
};