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.cpp886 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in ConnectHdi() local
887 locationCommand->scenario = data.ReadInt32(); in ConnectHdi()
888 locationCommand->command = Str16ToStr8(data.ReadString16()); in ConnectHdi()
889 … AppExecFwk::InnerEvent::Pointer event = AppExecFwk::InnerEvent::Get(code, locationCommand); in ConnectHdi()
1025 std::unique_ptr<LocationCommand> locationCommand = event->GetUniqueObject<LocationCommand>(); in ConnectHdi() local
1026 if (locationCommand != nullptr) { in ConnectHdi()
1027 gnssAbility->SendCommand(locationCommand); in ConnectHdi()
/base/location/services/location_locator/locator/source/
Dlocator_skeleton.cpp596 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in PreSendCommand() local
597 locationCommand->scenario = data.ReadInt32(); in PreSendCommand()
598 locationCommand->command = Str16ToStr8(data.ReadString16()); in PreSendCommand()
599 reply.WriteInt32(locatorAbility->SendCommand(locationCommand)); in PreSendCommand()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp485 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable
486 locationCommand->scenario = 1;
487 locationCommand->command = true;
493 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SendCommand(locationCommand));
/base/location/test/location_locator/source/
Dlocator_service_test.cpp976 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable
977 locationCommand->scenario = data.ReadInt32();
978 locationCommand->command = data.ReadBool();
985 proxy_->SendCommand(locationCommand);