Searched refs:locationCommand (Results 1 – 4 of 4) sorted by relevance
886 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in ConnectHdi() local887 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() local1026 if (locationCommand != nullptr) { in ConnectHdi()1027 gnssAbility->SendCommand(locationCommand); in ConnectHdi()
596 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); in PreSendCommand() local597 locationCommand->scenario = data.ReadInt32(); in PreSendCommand()598 locationCommand->command = Str16ToStr8(data.ReadString16()); in PreSendCommand()599 reply.WriteInt32(locatorAbility->SendCommand(locationCommand)); in PreSendCommand()
485 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable486 locationCommand->scenario = 1;487 locationCommand->command = true;493 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SendCommand(locationCommand));
976 std::unique_ptr<LocationCommand> locationCommand = std::make_unique<LocationCommand>(); variable977 locationCommand->scenario = data.ReadInt32();978 locationCommand->command = data.ReadBool();985 proxy_->SendCommand(locationCommand);