Home
last modified time | relevance | path

Searched refs:instruction (Results 1 - 18 of 18) sorted by relevance

/base/update/updater/test/unittest/updater_binary/
H A Dupdate_image_patch_unittest.cpp39 auto instruction = std::make_unique<USInstrImagePatch>(); in TestImgPatch01() local
40 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestImgPatch01()
56 auto instruction = std::make_unique<USInstrImagePatch>(); in TestImgPatch02() local
57 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestImgPatch02()
73 auto instruction = std::make_unique<USInstrImagePatch>(); in TestImgPatch03() local
74 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_ERROR_EXECUTE); in TestImgPatch03()
90 auto instruction = std::make_unique<USInstrImagePatch>(); in TestImgPatch04() local
91 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_ERROR_EXECUTE); in TestImgPatch04()
109 auto instruction = std::make_unique<USInstrImagePatch>(); in TestImgPatch05() local
110 EXPECT_EQ(instruction in TestImgPatch05()
141 auto instruction = std::make_unique<USInstrImagePatch>(); TestImgPatch06() local
[all...]
/base/update/updater/test/unittest/script/script_instruction/
H A Dbasic_instruction_unittest.cpp84 auto instruction = std::make_unique<UScriptInstructionIsSubString>(); in TestBasicInstructionIsSubString01() local
85 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_SUCCESS); in TestBasicInstructionIsSubString01()
95 auto instruction = std::make_unique<UScriptInstructionIsSubString>(); in TestBasicInstructionIsSubString01() local
96 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_SUCCESS); in TestBasicInstructionIsSubString01()
109 auto instruction = std::make_unique<UScriptInstructionIsSubString>(); in TestBasicInstructionIsSubString02() local
110 EXPECT_EQ(instruction->Execute(env, context), UScriptContext::PARAM_TYPE_INVALID); in TestBasicInstructionIsSubString02()
118 auto instruction = std::make_unique<UScriptInstructionIsSubString>(); in TestBasicInstructionIsSubString02() local
119 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestBasicInstructionIsSubString02()
129 auto instruction = std::make_unique<UScriptInstructionStdout>(); in TestBasicInstructionStdout() local
140 EXPECT_EQ(instruction in TestBasicInstructionStdout()
152 auto instruction = std::make_unique<UScriptInstructionConcat>(); TestBasicInstructionConcat() local
178 auto instruction = std::make_unique<UScriptInstructionConcat>(); TestBasicInstructionConcat() local
201 auto instruction = std::make_unique<UScriptInstructionAbort>(); TestBasicInstructionAbort() local
207 auto instruction = std::make_unique<UScriptInstructionSleep>(); TestBasicInstructionAbort() local
213 auto instruction = std::make_unique<UScriptInstructionAbort>(); TestBasicInstructionAbort() local
219 auto instruction = std::make_unique<UScriptInstructionAbort>(); TestBasicInstructionAbort() local
228 auto instruction = std::make_unique<UScriptInstructionAssert>(); TestBasicInstructionAssert() local
234 auto instruction = std::make_unique<UScriptInstructionAssert>(); TestBasicInstructionAssert() local
240 auto instruction = std::make_unique<UScriptInstructionAssert>(); TestBasicInstructionAssert() local
249 auto instruction = std::make_unique<UScriptInstructionSleep>(); TestBasicInstructionSleep() local
255 auto instruction = std::make_unique<UScriptInstructionSleep>(); TestBasicInstructionSleep() local
[all...]
H A Dscript_updateprocesser_unittest.cpp81 auto instruction = std::make_unique<UScriptInstructionSetProcess>(); in TestUpdateProcesserSetProcess() local
82 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestUpdateProcesserSetProcess()
95 auto instruction = std::make_unique<UScriptInstructionSetProcess>(); in TestUpdateProcesserSetProcess() local
96 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_SUCCESS); in TestUpdateProcesserSetProcess()
115 auto instruction = std::make_unique<UScriptInstructionShowProcess>(); in TestUpdateProcesserShowProcess() local
116 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestUpdateProcesserShowProcess()
124 auto instruction = std::make_unique<UScriptInstructionShowProcess>(); in TestUpdateProcesserShowProcess() local
125 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestUpdateProcesserShowProcess()
135 auto instruction = std::make_unique<UScriptInstructionShowProcess>(); in TestUpdateProcesserShowProcess() local
136 EXPECT_EQ(instruction in TestUpdateProcesserShowProcess()
155 auto instruction = std::make_unique<UScriptInstructionUiPrint>(); TestUpdateProcesserPrint() local
164 auto instruction = std::make_unique<UScriptInstructionUiPrint>(); TestUpdateProcesserPrint() local
183 auto instruction = std::make_unique<UScriptInstructionSetProportion>(); TestUpdateProcesserSetProportion() local
[all...]
H A Dscript_registercmd_unittest.cpp60 auto instruction = std::make_unique<ScriptRegisterCmd>(); in TestRegisterCmd01() local
61 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestRegisterCmd01()
74 auto instruction = std::make_unique<ScriptRegisterCmd>(); in TestRegisterCmd02() local
75 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestRegisterCmd02()
88 auto instruction = std::make_unique<ScriptRegisterCmd>(); in TestRegisterCmd03() local
89 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_SUCCESS); in TestRegisterCmd03()
H A Dscript_loadscript_unittest.cpp59 auto instruction = std::make_unique<ScriptLoadScript>(); in TestLoadScript01() local
60 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestLoadScript01()
74 auto instruction = std::make_unique<ScriptLoadScript>(); in TestLoadScript02() local
75 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_INVALID_PARAM); in TestLoadScript02()
89 auto instruction = std::make_unique<ScriptLoadScript>(); in TestLoadScript03() local
90 EXPECT_EQ(instruction->Execute(env, context), USCRIPT_SUCCESS); in TestLoadScript03()
H A Dscript_instructionhelper_unittest.cpp144 for (auto instruction : reservedInstructions) { in TestIsReservedInstruction()
145 EXPECT_TRUE(helper->IsReservedInstruction(instruction)); in TestIsReservedInstruction()
157 for (auto instruction : reservedInstructions) { in TestAddInstruction()
158 EXPECT_EQ(helper->AddInstruction(instruction, nullptr), USCRIPT_ERROR_REVERED); in TestAddInstruction()
204 // invalid instruction "" in TestRegisterUserInstruction01()
/base/update/updater/services/script/script_interpreter/
H A Dscript_interpreter.cpp177 UScriptInstruction* instruction = scriptManager_->FindInstruction(name); in ExecuteNativeFunc() local
178 if (instruction == nullptr) { in ExecuteNativeFunc()
179 USCRIPT_LOGE("Fail to find instruction %s", name.c_str()); in ExecuteNativeFunc()
189 int32_t ret = instruction->Execute(*scriptManager_->GetScriptEnv(name), *funcContext.get()); in ExecuteNativeFunc()
216 int32_t ret = instruction->Execute(*scriptManager_->GetScriptEnv(name), *funcContext.get()); in ExecuteNativeFunc()
/base/update/updater/services/script/script_manager/
H A Dscript_manager_impl.h43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction);
H A Dscript_managerImpl.cpp153 USCRIPT_LOGE("Failed to create instruction for %s", instrName.c_str()); in RegisterInstruction()
158 USCRIPT_LOGE("Failed to add instruction for %s", instrName.c_str()); in RegisterInstruction()
243 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction) in AddInstruction() argument
248 // New instruction has the same name in AddInstruction()
249 // with already registered instruction, in AddInstruction()
253 scriptInstructions_[instrName] = instruction; in AddInstruction()
/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_sim_parcel.h291 /** APDU instruction type. For details, see ETSI 102 221 [55]. */
294 /** APDU instruction. For details, see ETSI 102 221 [55]. */
295 int32_t instruction = 0; member
/base/telephony/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_sim_defs.h295 * APDU instruction type. For details, see ETSI 102 221 [55].
299 * APDU instruction. For details, see ETSI 102 221 [55].
301 int32_t instruction; member
/base/telephony/core_service/services/sim/src/
H A Dicc_operator_privilege_controller.cpp334 reqInfo.instruction = COMMAND; in ProcessOpenLogicalChannelDone()
366 reqInfo.instruction = COMMAND; in ProcessTransmitLogicalChannelDone()
H A Desim_file.cpp178 requestInfo->instruction = apduCommand->data.ins; in CopyApdCmdToReqInfo()
1487 reqInfo.instruction = esimProfile_.apduData.instruction_; in ProcessSendApduData()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp392 reqInfo.instruction = 0xCA; // COMMAND; in HWTEST_F()
451 reqInfo.instruction = 0xCA; // COMMAND; in HWTEST_F()
491 reqInfo.instruction = 0xCA; // COMMAND; in HWTEST_F()
514 reqInfo.instruction = 0xCA; // COMMAND; in HWTEST_F()
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_sim.cpp573 ApduRequestInfo.instruction = reqInfo.instruction; in BuildApduRequestInfo()
/base/telephony/ril_adapter/services/hril/src/
H A Dhril_sim.cpp764 rilApduSimIO->instruction = apduSimIO.instruction; in CopyToHRilApduSimIO()
/base/telephony/ril_adapter/test/unittest/
H A Dril_interface_test.cpp1164 cout << "input instruction:"; in InputTransmitApduChannelParam()
1165 cin >> reqInfo.instruction; in InputTransmitApduChannelParam()
/base/telephony/ril_adapter/services/vendor/src/
H A Dat_sim.c1152 pApduSimIO->type, pApduSimIO->instruction, pApduSimIO->p1, pApduSimIO->p2, pApduSimIO->p3, pApduSimIO->data); in ReqSimTransmitApduLogicalChannel()

Completed in 23 milliseconds