Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 86) sorted by relevance

1234

/drivers/peripheral/camera/test/ut/pipeline_core/
Dpipeline_core_test.cpp71 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable
72 EXPECT_TRUE(s != nullptr);
73 re = s->Init(cameraId_);
75 re = s->CreatePipeline(0);
91 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable
92 EXPECT_TRUE(s != nullptr);
93 re = s->Init(cameraId_);
95 re = s->CreatePipeline(0);
115 std::shared_ptr<IStreamPipelineCore> s = core->GetStreamPipelineCore(); variable
116 EXPECT_TRUE(s != nullptr);
[all …]
Dstream_pipeline_strategy_test.cpp59 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
60 EXPECT_TRUE(s != nullptr);
61 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0);
71 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
72 EXPECT_TRUE(s != nullptr);
73 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0);
86 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
87 EXPECT_TRUE(s != nullptr);
88 std::shared_ptr<PipelineSpec> spec = s->GeneratePipelineSpec(0);
95 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
[all …]
Dstream_pipeline_dispatcher_test.cpp65 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
66 EXPECT_TRUE(s != nullptr);
67 std::shared_ptr<PipelineSpec> spec_ = s->GeneratePipelineSpec(0);
89 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgrConf); variable
90 EXPECT_TRUE(s != nullptr);
91 std::shared_ptr<PipelineSpec> spec_ = s->GeneratePipelineSpec(0);
113 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgrAbConf); variable
114 EXPECT_TRUE(s != nullptr);
115 std::shared_ptr<PipelineSpec> spec_ = s->GeneratePipelineSpec(0);
Dstream_pipeline_builder_test.cpp67 std::unique_ptr<StreamPipelineStrategy> s = StreamPipelineStrategy::Create(streamMgr); variable
68 EXPECT_TRUE(s != nullptr);
69 spec_ = s->GeneratePipelineSpec(0);
/drivers/hdf_core/adapter/khdf/linux/platform/mipi_csi/
Dmipi_csi_dev.c160 static struct MipiCsiCntlr *GetCntlr(const SysProcEntryTag *s) in GetCntlr() argument
162 if (s == NULL) { in GetCntlr()
504 static void ProcShowMipiDevice(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiDevice() argument
519 SysSeqPrintf(s, "\nMIPI DEV ATTR\n"); in ProcShowMipiDevice()
520 SysSeqPrintf(s, in ProcShowMipiDevice()
539 SysSeqPrintf(s, "%8d" "%10s" "%10s" "%20s" "%10s" "%8d" "%8d" "%8d" "%8d" "\n", in ProcShowMipiDevice()
552 static void ProcShowMipiLane(SysProcEntryTag *s, struct MipiCsiCntlr *cntlr) in ProcShowMipiLane() argument
565 SysSeqPrintf(s, "\nMIPI LANE INFO\n"); in ProcShowMipiLane()
566 SysSeqPrintf(s, "%8s" "%24s" "\n", "Devno", "LaneID"); in ProcShowMipiLane()
577 SysSeqPrintf(s, "%8d" "%10d,%3d,%3d,%3d" "\n", in ProcShowMipiLane()
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/src/
Dhost_stream_mgr_impl.cpp22 void GetStreamTypes(std::vector<int32_t>& s) const override;
25 void GetStreamIds(std::vector<int32_t>& s) const;
35 … it = std::find_if(streams_.begin(), streams_.end(), [info](const std::unique_ptr<HostStream>& s) { in CreateHostStream() argument
36 return s->GetStreamId() == info.streamId_; in CreateHostStream()
58 …= std::find_if(streams_.begin(), streams_.end(), [streamId](const std::unique_ptr<HostStream>& s) { in DestroyHostStream() argument
59 return s->GetStreamId() == streamId; in DestroyHostStream()
70 void HostStreamMgrImpl::GetStreamTypes(std::vector<int32_t>& s) const in GetStreamTypes()
72 std::transform(streams_.begin(), streams_.end(), std::back_inserter(s), in GetStreamTypes()
74 std::sort(s.begin(), s.end(), [](const int32_t& f, const int32_t& n) { in GetStreamTypes()
79 void HostStreamMgrImpl::GetStreamIds(std::vector<int32_t>& s) const in GetStreamIds()
[all …]
/drivers/peripheral/camera/test/mpi/
DdfxShell.sh21 libcamera_client=$(stat -c %s "libcamera_client.z.so")
24 camera_buffer_manager=$(stat -c %s "libcamera_buffer_manager.z.so")
27 camera_device_manager=$(stat -c %s "libcamera_device_manager.z.so")
30 camera_host_service_1.0=$(stat -c %s "libcamera_host_service_1.0.z.so")
33 camera_pipeline_core=$(stat -c %s "libcamera_pipeline_core.z.so")
36 camera_utils=$(stat -c %s "libcamera_utils.z.so")
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/display_template/
Dhi35xx_display_driver_source.template63 HDF_LOGE("%s: panel is null", __func__);
67 HDF_LOGE("%s: object is null", __func__);
80 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
85 HDF_LOGE("%s: MipiDsiOpen failed", __func__);
98 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
104 HDF_LOGE("%s: LcdResetOn failed", __func__);
108 HDF_LOGE("%s: mipiHandle is null", __func__);
119 HDF_LOGE("%s: MipiDsiTx failed", __func__);
135 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
139 HDF_LOGE("%s: mipiHandle is null", __func__);
[all …]
Drk3568_display_driver_source.template63 HDF_LOGE("%s: panel is null", __func__);
67 HDF_LOGE("%s: object is null", __func__);
80 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
84 HDF_LOGE("%s: MipiDsiOpen failed", __func__);
97 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
103 HDF_LOGE("%s: LcdResetOn failed", __func__);
107 HDF_LOGE("%s: mipiHandle is null", __func__);
123 HDF_LOGE("%s: ${driver_lower_case} is null", __func__);
127 HDF_LOGE("%s: mipiHandle is null", __func__);
136 HDF_LOGE("%s: LcdResetOff failed", __func__);
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNodeTools.js488 NodeTools.jinZhiXTo10 = function (s) { argument
489 if (s == null || s.length == 0) {
493 s = s.trim();
494 if (!isFinite(s)) {
499 if (s[0] == '0') {
500 if (s.length == 1) {
501 return [BigInt(s), 10];
502 } else if (s[1] == 'b' || s[1] == 'B') {
503 return [BigInt(s), 2];
504 } else if (s[1] == 'x' || s[1] == 'X') {
[all …]
/drivers/peripheral/usb/test/moduletest/common/
Dusb_utils.cpp63 char s[1024]; in ParseSysCmdResult() local
68 if (fgets(s, sizeof(s), &result) == nullptr) { in ParseSysCmdResult()
71 pch = strtok(s, " "); in ParseSysCmdResult()
122 char s[100]; in CalcProcInfoFromFile() local
131 if (fgets(s, sizeof(s), fp) == nullptr) { in CalcProcInfoFromFile()
134 ParseFile(strtok(s, " \t"), pinfo); in CalcProcInfoFromFile()
Dusb_host_raw_api_func_test.cpp106 const string s = "0123456789abcdef"; variable
111 while (n < totalSize / writeCnt / s.size()) {
112 data += s;
193 const string s = "0123456789abcdef"; variable
198 while (n < totalSize / writeCnt / s.size()) {
199 data += s;
/drivers/hdf_core/framework/model/storage/include/mmc/
Dmmc_block.h38 #define MMC_SEC_PARAM_INVALID(s, n) \ argument
39 ((s) >= MMC_MAX_SEC_NR || \
41 (MMC_MAX_SEC_NR - (n)) <= (s))
/drivers/peripheral/usb/ddk/device/src/
Dadapter_if_liteos.c73 configString->s = UsbFnMemCalloc(strLen + 1); in UsbFnAdapterCreateFconfigString()
74 if (configString->s == NULL) { in UsbFnAdapterCreateFconfigString()
79 int32_t ret = memcpy_s(configString->s, (strLen + 1), name, strLen); in UsbFnAdapterCreateFconfigString()
82 UsbFnMemFree(configString->s); in UsbFnAdapterCreateFconfigString()
86 *(configString->s + configString->len) = '\0'; in UsbFnAdapterCreateFconfigString()
117 devDesc.gadgetName.s = gadgetName->s; in UsbFnAdapterWriteDevDesc()
143 while (usbString->s) { in UsbFnAdapterWriteDevString()
153 devStrings->strings[devStrings->strCount].str.s = NULL; in UsbFnAdapterWriteDevString()
157 … ret = UsbFnAdapterCreateFconfigString(&devStrings->strings[jCount].str, usbString[jCount].s); in UsbFnAdapterWriteDevString()
160 UsbFnMemFree(devStrings->strings[jCount].str.s); in UsbFnAdapterWriteDevString()
[all …]
/drivers/hdf_core/framework/model/sensor/driver/include/
Dsensor_platform_if.h38 #define SENSOR_DATA_SHIFT_LEFT(d, s) ((d) << (s)) argument
39 #define SENSOR_DATA_SHIFT_RIGHT(d, s) ((d) >> (s)) argument
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
Daudio_common.cpp31 int32_t AudioGetSysTime(char *s, int32_t len) in AudioGetSysTime() argument
34 if (s == NULL) { in AudioGetSysTime()
38 s[0] = 0; in AudioGetSysTime()
39 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/sensor_template/
Dals_sensor_driver_source.template27 HDF_LOGE("%s: Get time failed", __func__);
49 HDF_LOGE("%s: TEST read raw data failed", __func__);
61 HDF_LOGE("%s: BH1745 report data failed", __func__);
73 HDF_LOGE("%s: ${driver_upper_case} sensor init config failed", __func__);
96 HDF_LOGE("%s: Malloc ${driver_upper_camel_case} drv data fail", __func__);
119 … HDF_LOGD("%s: Creating ${device_lower_camel_case}cfg failed because detection failed", __func__);
127 HDF_LOGE("%s: Register ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
133 HDF_LOGE("%s: Init ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
Dcom_sensor_driver_source.template27 HDF_LOGE("%s: Get time failed", __func__);
49 HDF_LOGE("%s: ${driver_upper_case} read raw data failed", __func__);
55 HDF_LOGE("%s: ${driver_upper_case} convert raw data failed", __func__);
69 HDF_LOGE("%s: ${driver_upper_case} sensor init config failed", __func__);
92 HDF_LOGE("%s: Malloc ${driver_upper_camel_case} drv data fail", __func__);
115 HDF_LOGD("%s: Creating accelcfg failed because detection failed", __func__);
123 HDF_LOGE("%s: Register ${driver_upper_case} accel failed", __func__);
129 HDF_LOGE("%s: Init ${driver_upper_case} accel failed", __func__);
Daccel_sensor_driver_source.template27 HDF_LOGE("%s: Get time failed", __func__);
49 HDF_LOGE("%s: ${driver_upper_case} read raw data failed", __func__);
55 HDF_LOGE("%s: ${driver_upper_case} convert raw data failed", __func__);
69 HDF_LOGE("%s: ${driver_upper_case} sensor init config failed", __func__);
92 HDF_LOGE("%s: Malloc ${driver_upper_camel_case} drv data fail", __func__);
115 … HDF_LOGD("%s: Creating ${device_lower_camel_case}cfg failed because detection failed", __func__);
122 HDF_LOGE("%s: Register ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
128 HDF_LOGE("%s: Init ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
Dhall_sensor_driver_source.template28 HDF_LOGE("%s: ${driver_upper_case} convert raw data failed", __func__);
42 HDF_LOGE("%s: ${driver_upper_case} sensor init config failed", __func__);
65 HDF_LOGE("%s: Malloc ${driver_upper_camel_case} drv data fail", __func__);
88 … HDF_LOGD("%s: Creating ${device_lower_camel_case}cfg failed because detection failed", __func__);
95 HDF_LOGE("%s: Register ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
101 HDF_LOGE("%s: Init ${driver_upper_case} ${device_lower_camel_case} failed", __func__);
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/input_template/
Dinput_driver_source.template80 HDF_LOGI("%s: update firmware success\n", __func__);
123 HDF_LOGE("%s: instance chip config failed", __func__);
129 HDF_LOGE("%s: parse chip config failed", __func__);
140 HDF_LOGE("%s: instance chip device failed", __func__);
150 HDF_LOGE("%s: param is null", __func__);
178 HDF_LOGI("%s: enter", __func__);
206 HDF_LOGI("%s: exit succ, chipName = %s", __func__, chipCfg->chipName);
219 HDF_LOGE("%s: param is null", __func__);
222 HDF_LOGI("%s: ${driver_lower_case} chip is release", __func__);
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/
Dhost_stream_mgr.h27 virtual void GetStreamTypes(std::vector<int32_t>& s) const = 0;
30 virtual void GetStreamIds(std::vector<int32_t>& s) const = 0;
/drivers/peripheral/audio/hdi_service/primary_impl/src/
Daudio_common.c49 int32_t AudioGetSysTime(char *s, int32_t len) in AudioGetSysTime() argument
52 if (s == NULL) { in AudioGetSysTime()
56 s[0] = 0; in AudioGetSysTime()
58 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
/drivers/peripheral/audio/hal/hdi_passthrough/src/
Daudio_common.c41 int32_t AudioGetSysTime(char *s, int32_t len) in AudioGetSysTime() argument
44 if (s == NULL) { in AudioGetSysTime()
48 s[0] = 0; in AudioGetSysTime()
49 int32_t ret = snprintf_s(s, len, len - 1, "[%llu.%llu]", time.sec, time.usec); in AudioGetSysTime()
/drivers/peripheral/usb/test/moduletest/common/liteos/
Dusb_host_raw_api_func_test.cpp165 const string s = "0123456789abcdef"; variable
170 while (n < totalSize / writeCnt / s.size()) {
171 data += s;
315 const string s = "0123456789abcdef"; variable
320 while (n < totalSize / writeCnt / s.size()) {
321 data += s;

1234