Lines Matching defs:cmdIndex
138 int cmdIndex = 0;
139 GetMatchCmd("reboot ", &cmdIndex);
140 int ret = AddCommand(trigger, cmdIndex, nullptr, nullptr);
142 ret = AddCommand(trigger, cmdIndex, "update: aaaaaaa", nullptr);
161 int cmdIndex = 0;
162 GetMatchCmd("reboot ", &cmdIndex);
163 int ret = AddCommand(trigger, cmdIndex, nullptr, nullptr);
165 ret = AddCommand(trigger, cmdIndex, "update: aaaaaaa", nullptr);
363 const uint32_t cmdIndex = 100;
364 ret = AddCommand(trigger, cmdIndex, value, nullptr);
370 EXPECT_EQ(g_execCmdId, cmdIndex);
385 const uint32_t cmdIndex = 102;
386 ret = AddCommand(trigger, cmdIndex, value, nullptr);
391 EXPECT_EQ(g_execCmdId, cmdIndex);
410 const uint32_t cmdIndex = 103;
411 ret = AddCommand(trigger, cmdIndex, value, nullptr);
418 EXPECT_EQ(g_execCmdId, cmdIndex);
441 const uint32_t cmdIndex = 105;
442 ret = AddCommand(trigger, cmdIndex, value, nullptr);
450 EXPECT_NE(g_execCmdId, cmdIndex);