Home
last modified time | relevance | path

Searched refs:locationCommand (Results 1 – 4 of 4) sorted by relevance

/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp139 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in OnRemoteRequest() local
140 locationCommand->scenario = data.ReadInt32(); in OnRemoteRequest()
141 locationCommand->command = data.ReadBool(); in OnRemoteRequest()
142 reply.WriteInt32(SendCommand(locationCommand)); in OnRemoteRequest()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp484 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable
485 locationCommand->scenario = 1;
486 locationCommand->command = true;
492 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SendCommand(locationCommand));
/base/location/services/location_locator/locator/source/
Dlocator_skeleton.cpp594 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in PreSendCommand() local
595 locationCommand->scenario = data.ReadInt32(); in PreSendCommand()
596 locationCommand->command = data.ReadBool(); in PreSendCommand()
597 reply.WriteInt32(locatorAbility->SendCommand(locationCommand)); in PreSendCommand()
/base/location/test/location_locator/source/
Dlocator_service_test.cpp973 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable
974 locationCommand->scenario = data.ReadInt32();
975 locationCommand->command = data.ReadBool();
982 proxy_->SendCommand(locationCommand);