Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 55) sorted by relevance

123

/drivers/hdf_core/framework/tools/hdi-gen/test/hash_test/
Dhash_test.py35 def exec_command(command): argument
36 return subprocess.getstatusoutput(command)
68 command = "../../hdi-gen -D ./good/ -r ohos.hdi:./good/ --hash"
69 status, exec_result = exec_command(command)
85command = "../../hdi-gen -D ./good/ -r ohos.hdi:./good/ --hash -o {}".format(temp_hash_file_path)
86 status, result = exec_command(command)
101 command = "../../hdi-gen -D ./bad_01/ -r ohos.hdi:./bad_01/ --hash"
102 status, _ = exec_command(command)
109 command = "../../hdi-gen -D ./bad_02/ -r ohos.hdi:./bad_02/ --hash"
110 status, _ = exec_command(command)
[all …]
/drivers/interface/face_auth/v1_1/
DFaceAuthTypes.idl80 * @brief Enumerates sa command ids.
86 /**< Indicates that the sa command is begin brightness increase. */
88 /**< Indicates that the sa command is end brightness increase. */
93 * @brief Indicates sa command parameter none.
102 * @brief Indicates sa command parameter.
108 /**< Indicates that sa command parameter is none. See {@link SaCommandParamNone}. */
113 * @brief Indicates sa command.
119 /**< Indicates sa command id. See {@link SaCommandId}. */
121 /**< Indicates sa command parameter. See {@link SaCommandParam}. */
126 * @brief Enumerates command IDs.
[all …]
DISaCommandCallback.idl33 …* @brief Defines the callback for an async API, which can be used to send command to SA. See {@lin…
44 …* @brief Defines the callback for an async API, which can be used to send command to SA. See {@lin…
/drivers/interface/fingerprint_auth/v1_1/
DFingerprintAuthTypes.idl98 * @brief Enumerates sa command ids.
104 /**< Indicates that the sa command is enable sensor illumination. */
106 /**< Indicates that the sa command is disable sensor illumination. */
108 /**< Indicates that the sa command is turn on sensor illumination. */
110 /**< Indicates that the sa command is turn off sensor illumination. */
115 * @brief Sa command parameter for enable sensor illumination.
134 * @brief Indicates sa command parameter none.
143 * @brief Indicates sa command parameter.
149 /**< Indicates that sa command parameter is none. See {@link SaCommandParamNone}. */
151 …/**< Indicates that sa command parameter is enable sensor illumination. See {@link SaCommandParamE…
[all …]
DISaCommandCallback.idl33 …* @brief Defines the callback for an async API, which can be used to send command to SA. See {@lin…
43 …* @brief Defines the callback for an async API, which can be used to send command to SA. See {@lin…
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
Dvsc-extension-quickstart.md6 * `package.json` - this is the manifest file in which you declare your extension and command.
7 … plugin registers a command and defines its title and command name. With this information VS Code …
8 * `extension.js` - this is the main file where you will provide the implementation of your command.
9 …ry first time your extension is activated (in this case by executing the command). Inside the `act…
10 …* We pass the function containing the implementation of the command as the second parameter to `re…
15 * Run your command from the command palette by pressing (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) an…
/drivers/hdf_core/framework/tools/hc-gen/test/
Dupdate_case.py98 command = "%s -o %s -d %s" % (hcgen_path, target_file, source_file)
99 status, output = subprocess.getstatusoutput(command)
121 command = "%s %s -o %s %s" % \
123 status, output = subprocess.getstatusoutput(command)
150 command = "%s -t -o %s %s" % (hcgen_path, target_file, source_file)
151 status, output = subprocess.getstatusoutput(command)
178 command = "%s -m -o %s %s" % (hcgen_path, target_file, source_file)
179 status, output = subprocess.getstatusoutput(command)
Dhcgen_test.py77 def exec_command(command): argument
78 return subprocess.getstatusoutput(command)
144 command = "%s -o %s -t %s" % (TestConfig.HCGEN, output_file, source_file)
146 command = "%s -o %s %s" % (TestConfig.HCGEN, output_file, source_file)
148 status, output = exec_command(command)
226 command = "%s -o %s -d %s" % (TestConfig.HCGEN, output_file, source_file)
228 status, output = exec_command(command)
/drivers/interface/secure_element/v1_0/
DISecureElementInterface.idl61 * @param response The response to SELECT command, or empty if failure.
74 * @param response The response to SELECT command, or empty if failure.
90 * Transmit an APDU command (as per ISO/IEC 7816) to the SE.
92 * @param command The APDU command to be transmitted, as a byte array.
94 * @param status The status code to transmit command.
98 …transmit([in] List<unsigned char> command, [out] List<unsigned char> response, [out] enum SecureEl…
101 * Transmit an APDU command (as per ISO/IEC 7816) to the SE.
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_dev.h58 RetCode ConfigSys(const std::string& cameraID, V4l2FmtCmd command, DeviceFormat& format);
60 RetCode UpdateSetting(const std::string& cameraID, AdapterCmd command, const int* args);
62 RetCode QuerySetting(const std::string& cameraID, unsigned int command, int* args);
107 RetCode ConfigFps(const int fd, DeviceFormat& format, V4l2FmtCmd command);
/drivers/interface/audio/effect/v1_0/
DIEffectControl.idl23 * data process function which is provided by the command.
36 * @brief Send the effect processing command.
38 * @param cmdId Command index used to match command options in the command table.
64 * data reverse function which is provided by the command.
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
Dv4l2_dev.cpp410 RetCode HosV4L2Dev::UpdateSetting(const std::string& cameraID, AdapterCmd command, const int* args) in UpdateSetting() argument
430 switch (command) { in UpdateSetting()
461 RetCode HosV4L2Dev::QuerySetting(const std::string& cameraID, unsigned int command, int* args) in QuerySetting() argument
486 rc = myControl_->V4L2GetCtrl(fd, command, value); in QuerySetting()
589 RetCode HosV4L2Dev::ConfigFps(const int fd, DeviceFormat& format, V4l2FmtCmd command) in ConfigFps() argument
601 if (command == CMD_V4L2_SET_FPS) { in ConfigFps()
608 CAMERA_LOGE("ConfigFps CMD %d fail\n", command); in ConfigFps()
614 RetCode HosV4L2Dev::ConfigSys(const std::string& cameraID, V4l2FmtCmd command, DeviceFormat& format) in ConfigSys() argument
630 switch (command) { in ConfigSys()
653 rc = ConfigFps(fd, format, command); in ConfigSys()
[all …]
/drivers/peripheral/secure_element/hdi_service/
Dse_impl.cpp69 int32_t SeImpl::transmit(const std::vector<uint8_t>& command, std::vector<uint8_t>& response, in transmit() argument
72 return adaptor_.transmit(command, response, status); in transmit()
Dse_impl.h46 int32_t transmit(const std::vector<uint8_t>& command, std::vector<uint8_t>& response,
/drivers/interface/power/v1_0/
DPowerTypes.idl35 * Such data types include command parameters, callback parameters, and system status.
44 * @brief Enumerates command parameters for power management.
66 * @brief Enumerates command parameters for the power status callback.
/drivers/peripheral/secure_element/vendor_adaptor/
Dse_vendor_adaptions.cpp142 int32_t SeVendorAdaptions::transmit(const std::vector<uint8_t>& command, std::vector<uint8_t>& resp… in transmit() argument
148 int ret = HuaweiSecureElementCaTransmit((uint8_t *)&command[0], command.size(), res, &resLen); in transmit()
Dse_vendor_adaptions.h43 int32_t transmit(const std::vector<uint8_t>& command, std::vector<uint8_t>& response,
Disecure_element_vendor.h45 virtual int32_t transmit(const std::vector<uint8_t>& command, std::vector<uint8_t>& response,
/drivers/interface/power/v1_1/
DPowerTypes.idl35 * Such data types include command parameters, callback parameters, and system status.
44 * @brief Enumerates command parameters for power management.
67 * @brief Enumerates command parameters for the power status callback.
/drivers/interface/fingerprint_auth/v1_0/
DFingerprintAuthTypes.idl79 * Enumerates command id.
85 LOCK_TEMPLATE = 1, /**< Indicates lock template command id. */
86 UNLOCK_TEMPLATE = 2, /**< Indicates unlock template command id. */
87 VENDOR_COMMAND_BEGIN = 10000 /**< Vendor may add custom command id after this. */
DIExecutor.idl139 * @brief Send command to driver.
141 * @param commandId Indicates command id. For details, see {@link CommandId}.
142 * @param extraInfo Indicates extra info of command.
143 * @param callbackObj Indicates command callback object, see {@link IExecutorCallback}.
/drivers/interface/face_auth/v1_0/
DFaceAuthTypes.idl89 * @brief Enumerates command IDs.
95 /**< Indicates the command ID for locking the template. */
97 /**< Indicates the command ID for unlocking the template. */
99 /**< The vendor may add a custom command ID after this. */
DIExecutor.idl138 * @brief Sends a command to the driver.
140 * @param commandId Indicates the command ID. See {@link CommandId}.
141 * @param extraInfo Indicates the extra information of the command.
142 … * @param callbackObj Indicates the callback object of the command. See {@link IExecutorCallback}.
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
Dmain.py42 ret = commands.run(args.command, args.remainder_args)
/drivers/interface/pin_auth/v1_0/
DIExecutor.idl138 * @brief Sends a command to the driver.
140 * @param commandId Indicates the command ID. See {@link CommandId}.
141 * @param extraInfo Indicates the extra information of the command.
142 … * @param callbackObj Indicates the callback object of the command. See {@link IExecutorCallback}.

123