mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-20 21:41:02 -04:00
Description:fix reviewBot
Match-id-5e7ae907a83af47964318e31f8f53bf455bd08e5
This commit is contained in:
@@ -51,7 +51,6 @@ void DistributedInputInnerTest::TestPrepareDInputCallback::OnResult(
|
||||
|
||||
void DistributedInputInnerTest::TestUnprepareDInputCallback::OnResult(
|
||||
const std::string& deviceId, const int32_t& status)
|
||||
|
||||
{
|
||||
(void)deviceId;
|
||||
(void)status;
|
||||
@@ -60,14 +59,15 @@ void DistributedInputInnerTest::TestUnprepareDInputCallback::OnResult(
|
||||
|
||||
void DistributedInputInnerTest::TestStartDInputCallback::OnResult(
|
||||
const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status)
|
||||
|
||||
{
|
||||
(void)deviceId;
|
||||
(void)inputTypes;
|
||||
(void)status;
|
||||
return;
|
||||
}
|
||||
|
||||
void DistributedInputInnerTest::TestStopDInputCallback::OnResult(
|
||||
const std::string& deviceId, const uint32_t& inputTypes, const int32_t& status)
|
||||
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
+1
@@ -12,6 +12,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "distributed_input_sinkmanager_test.h"
|
||||
|
||||
#include "if_system_ability_manager.h"
|
||||
|
||||
@@ -42,7 +42,7 @@ public OHOS::DistributedHardware::DistributedInput::PrepareDInputCallbackStub {
|
||||
public:
|
||||
TestPrepareDInputCallback() = default;
|
||||
virtual ~TestPrepareDInputCallback() = default;
|
||||
void OnResult(const std::string& deviceId, const int32_t& status) const
|
||||
void OnResult(const std::string& deviceId, const int32_t& status)
|
||||
{
|
||||
(void)deviceId;
|
||||
(void)status;
|
||||
@@ -54,7 +54,7 @@ public OHOS::DistributedHardware::DistributedInput::UnprepareDInputCallbackStub
|
||||
public:
|
||||
TestUnprepareDInputCallback() = default;
|
||||
virtual ~TestUnprepareDInputCallback() = default;
|
||||
void OnResult(const std::string& deviceId, const int32_t& status) const
|
||||
void OnResult(const std::string& deviceId, const int32_t& status)
|
||||
{
|
||||
(void)deviceId;
|
||||
(void)status;
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
class TestStartDInputCallback :
|
||||
public OHOS::DistributedHardware::DistributedInput::StartDInputCallbackStub {
|
||||
public:
|
||||
void OnResult(const std::string& devId, const uint32_t& inputTypes, const int32_t& status) const
|
||||
void OnResult(const std::string& devId, const uint32_t& inputTypes, const int32_t& status)
|
||||
{
|
||||
(void)devId;
|
||||
(void)inputTypes;
|
||||
@@ -77,7 +77,7 @@ public OHOS::DistributedHardware::DistributedInput::StopDInputCallbackStub {
|
||||
public:
|
||||
TestStopDInputCallback() = default;
|
||||
virtual ~TestStopDInputCallback() = default;
|
||||
void OnResult(const std::string& devId, const uint32_t& inputTypes, const int32_t& status) const
|
||||
void OnResult(const std::string& devId, const uint32_t& inputTypes, const int32_t& status)
|
||||
{
|
||||
(void)devId;
|
||||
(void)inputTypes;
|
||||
|
||||
Reference in New Issue
Block a user