Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 72) sorted by relevance

123

/vendor/ohemu/qemu_riscv32_mini_system_demo/fs_data/data/data/panel/pages/index/
Dindex.js141 data: { property
199 success: function success(data) {
201 console.log('brand:' + data.brand);
202 console.log('manufacturer:' + data.manufacturer);
203 console.log('model:' + data.model);
204 console.log('product:' + data.product);
205 console.log('language:' + data.language);
206 console.log('region:' + data.region);
207 console.log('windowWidth:' + data.windowWidth);
208 console.log('windowHeight:' + data.windowHeight);
[all …]
/vendor/hisilicon/hispark_taurus_linux/init_configs/
Dinit_linux_3516dv300_openharmony_debug.cfg5 "mkdir /storage/data",
6 "chmod 0755 /storage/data",
7 "mkdir /storage/data/log",
8 "chmod 0755 /storage/data/log",
9 "chown 4 4 /storage/data/log",
23 "mkdir /storage/data/dsoftbus",
24 "chmod 0600 /storage/data/dsoftbus",
25 "chown 19 7 /storage/data/dsoftbus",
26 "mkdir /storage/data/device_attest",
27 "chmod 0755 /storage/data/device_attest",
[all …]
Dinit_linux_3516dv300_openharmony_release.cfg5 "mkdir /storage/data",
6 "chmod 0755 /storage/data",
7 "mkdir /storage/data/log",
8 "chmod 0755 /storage/data/log",
9 "chown 4 4 /storage/data/log",
23 "mkdir /storage/data/dsoftbus",
24 "chmod 0600 /storage/data/dsoftbus",
25 "chown 19 7 /storage/data/dsoftbus",
26 "mkdir /storage/data/device_attest",
27 "chmod 0755 /storage/data/device_attest",
[all …]
/vendor/hihope/rk3568/demo/led_rgb/apps/led_rgb/
Dled_rgb.c57 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); in main() local
58 if (data == NULL) { in main()
66 HdfSbufFlush(data); in main()
67 if (!HdfSbufWriteInt32(data, --led_mod)) { in main()
71 ret = serv->dispatcher->Dispatch(&serv->object, LED_RGB_WRITE, data, NULL); in main()
75 if (!HdfSbufWriteInt32(data, led_mod)) { in main()
79 ret = serv->dispatcher->Dispatch(&serv->object, LED_RGB_WRITE, data, NULL); in main()
82 HdfSbufRecycle(data); in main()
/vendor/hihope/rk3568/demo/tetcl_poetry/entry/src/main/ets/MainAbility/common/utils/
DRequestUtil.ts33 get(url: string, data?: any): Promise<any> {
35 this.request(url, http.RequestMethod.GET, data).then((res) => {
41 post(url: string, data?: any): Promise<any> {
43 this.request(url, http.RequestMethod.POST, data).then((res) => {
49 …private request(url: string, method: http.RequestMethod.GET | http.RequestMethod.POST, data?: any)…
57 extraData: data
63 let data = result.toString();
64 let resultVal: RestApi = JSON.parse(data);
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/
Dapp_demo_gl5537_1.c49 unsigned short data = 0; in GetLightStatus() local
58 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_4, &data, HI_ADC_EQU_MODEL_4, HI_ADC_CUR_BAIS_DEFAULT, … in GetLightStatus()
63 g_adcBuf[i] = data; in GetLightStatus()
82 unsigned short data = 0; in GetGpio5Voltage() local
92 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_2, &data, IOT_ADC_EQU_MODEL_4, IOT_ADC_CUR_BAIS_DEFAULT… in GetGpio5Voltage()
97 g_gpio5AdcBuf[i] = data; in GetGpio5Voltage()
Dhal_iot_adc.c22 unsigned int AdcRead(const IotAdcChannelIndex channel, const unsigned short *data, in AdcRead() argument
25 return hi_adc_read((hi_adc_channel_index)channel, (hi_u16*)data, (hi_adc_equ_model_sel)equModel, in AdcRead()
/vendor/hisilicon/hispark_pegasus/demo/traffic_light_demo/
Dapp_demo_gl5537_1.c49 unsigned short data = 0; in GetLightStatus() local
58 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_4, &data, HI_ADC_EQU_MODEL_4, HI_ADC_CUR_BAIS_DEFAULT, … in GetLightStatus()
63 g_adcBuf[i] = data; in GetLightStatus()
82 unsigned short data = 0; in GetGpio5Voltage() local
92 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_2, &data, IOT_ADC_EQU_MODEL_4, IOT_ADC_CUR_BAIS_DEFAULT… in GetGpio5Voltage()
97 g_gpio5AdcBuf[i] = data; in GetGpio5Voltage()
/vendor/hisilicon/hispark_pegasus/demo/histreaming_demo/
Dapp_demo_gl5537_1.c49 unsigned short data = 0; in GetLightStatus() local
58 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_4, &data, HI_ADC_EQU_MODEL_4, HI_ADC_CUR_BAIS_DEFAULT, … in GetLightStatus()
63 g_adcBuf[i] = data; in GetLightStatus()
82 unsigned short data = 0; in GetGpio5Voltage() local
92 …unsigned int ret = AdcRead(IOT_ADC_CHANNEL_2, &data, IOT_ADC_EQU_MODEL_4, IOT_ADC_CUR_BAIS_DEFAULT… in GetGpio5Voltage()
97 g_gpio5AdcBuf[i] = data; in GetGpio5Voltage()
Dhal_iot_adc.c22 unsigned int AdcRead(const IotAdcChannelIndex channel, const unsigned short *data, in AdcRead() argument
25 return hi_adc_read((hi_adc_channel_index)channel, (hi_u16*)data, (hi_adc_equ_model_sel)equModel, in AdcRead()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
Dapp_demo_gl5537_1.c49 unsigned short data = 0; in GetLightStatus() local
58 unsigned int ret = AdcRead(IOT_ADC_CHANNEL_4, &data, in GetLightStatus()
64 g_adcBuf[i] = data; in GetLightStatus()
83 unsigned short data = 0; in GetGpio5Voltage() local
93 unsigned int ret = AdcRead(IOT_ADC_CHANNEL_2, &data, in GetGpio5Voltage()
99 g_gpio5AdcBuf[i] = data; in GetGpio5Voltage()
Dhal_iot_adc.c19 unsigned int AdcRead(const IotAdcChannelIndex channel, const unsigned short *data, const IotAdcEquM… in AdcRead() argument
22 return hi_adc_read((hi_adc_channel_index)channel, (hi_u16*)data, (hi_adc_equ_model_sel)equModel, in AdcRead()
/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
Dapp_demo_gl5537_1.c49 unsigned short data = 0; in GetLightStatus() local
58 unsigned int ret = AdcRead(IOT_ADC_CHANNEL_4, &data, in GetLightStatus()
64 g_adcBuf[i] = data; in GetLightStatus()
84 unsigned short data = 0; in GetGpio5Voltage() local
94 unsigned int ret = AdcRead(IOT_ADC_CHANNEL_2, &data, in GetGpio5Voltage()
100 g_gpio5AdcBuf[i] = data; in GetGpio5Voltage()
Dhal_iot_adc.c22 unsigned int AdcRead(IotAdcChannelIndex channel, unsigned const short *data, IotAdcEquModelSel equM… in AdcRead() argument
25 return hi_adc_read((hi_adc_channel_index)channel, (hi_u16*)data, (hi_adc_equ_model_sel)equModel, in AdcRead()
/vendor/hisilicon/hispark_taurus/init_configs/
Dinit_liteos_a_3516dv300_mksh.cfg5 "mkdir /storage/data/log",
6 "chmod 0755 /storage/data/log",
7 "chown 4 4 /storage/data/log",
8 "mkdir /storage/data/softbus",
9 "chmod 0700 /storage/data/softbus",
10 "chown 7 7 /storage/data/softbus",
11 "mkdir /storage/data/device_attest",
12 "chmod 0755 /storage/data/device_attest",
13 "chown 20 20 /storage/data/device_attest",
Dinit_liteos_a_3516dv300.cfg5 "mkdir /storage/data/log",
6 "chmod 0755 /storage/data/log",
7 "chown 4 4 /storage/data/log",
8 "mkdir /storage/data/softbus",
9 "chmod 0700 /storage/data/softbus",
10 "chown 7 7 /storage/data/softbus",
11 "mkdir /storage/data/device_attest",
12 "chmod 0755 /storage/data/device_attest",
13 "chown 20 20 /storage/data/device_attest",
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/src/
Daht20.c102 WifiIotI2cData data = { 0 };
103 data.receiveBuf = buffer;
104 data.receiveLen = buffLen;
105 uint32_t retval = I2cRead(AHT20_I2C_IDX, AHT20_READ_ADDR, &data);
115 WifiIotI2cData data = { 0 };
116 data.sendBuf = buffer;
117 data.sendLen = buffLen;
118 uint32_t retval = I2cWrite(AHT20_I2C_IDX, AHT20_WRITE_ADDR, &data);
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/
Daht20.c102 WifiIotI2cData data = { 0 };
103 data.receiveBuf = buffer;
104 data.receiveLen = buffLen;
105 uint32_t retval = I2cRead(AHT20_I2C_IDX, AHT20_READ_ADDR, &data);
115 WifiIotI2cData data = { 0 };
116 data.sendBuf = buffer;
117 data.sendLen = buffLen;
118 uint32_t retval = I2cWrite(AHT20_I2C_IDX, AHT20_WRITE_ADDR, &data);
Denvrionment_demo.c62 static float ConvertToVoltage(unsigned short data) in ConvertToVoltage() argument
64 return (float)data * ONE_POINT_EIGHT * FOUR / FOUR_THOUSAND_AND_NINETY_SIX; in ConvertToVoltage()
109 unsigned short data = 0; in EnvironmentTask() local
110 …if (AdcRead(GAS_SENSOR_CHAN_NAME, &data, WIFI_IOT_ADC_EQU_MODEL_4, WIFI_IOT_ADC_CUR_BAIS_DEFAULT, … in EnvironmentTask()
112 if (ConvertToVoltage(data) == 0) { in EnvironmentTask()
/vendor/hisilicon/hispark_pegasus/demo/adc_demo/
Dadc_demo.c41 unsigned short data = 0; in ADCLightTask() local
43 …if (AdcRead(LIGHT_SENSOR_CHAN_NAME, &data, WIFI_IOT_ADC_EQU_MODEL_4, WIFI_IOT_ADC_CUR_BAIS_DEFAULT… in ADCLightTask()
45 printf("ADC_VALUE = %u\n", (unsigned int)data); in ADCLightTask()
/vendor/hihope/Hi3861/adc_demo/
Dadc_demo.c41 unsigned short data = 0; in ADCLightTask() local
43 …if (AdcRead(LIGHT_SENSOR_CHAN_NAME, &data, WIFI_IOT_ADC_EQU_MODEL_4, WIFI_IOT_ADC_CUR_BAIS_DEFAULT… in ADCLightTask()
45 printf("ADC_VALUE = %u\n", (unsigned int)data); in ADCLightTask()
/vendor/hisilicon/hispark_aries/init_configs/
Dinit_liteos_a_3518ev300.cfg5 "mkdir /storage/data/log",
6 "chmod 0755 /storage/data/log",
7 "chown 4 4 /storage/data/log",
9 "mkdir /storage/data/softbus",
10 "chmod 0700 /storage/data/softbus",
11 "chown 7 7 /storage/data/softbus",
Dinit_liteos_a_3518ev300_mksh.cfg5 "mkdir /storage/data/log",
6 "chmod 0755 /storage/data/log",
7 "chown 4 4 /storage/data/log",
9 "mkdir /storage/data/softbus",
10 "chmod 0700 /storage/data/softbus",
11 "chown 7 7 /storage/data/softbus",
/vendor/hihope/rk3568/demo/UdpDemo/entry/src/main/ets/MainAbility/pages/
Dindex.ets53 udp.on('message', data => { //收到指定端口来的消息
56 let dataView = new DataView(data.message)
65 console.log("==message:" + str + "From:" + data.remoteInfo.address)
66 mixerAddr.address = data.remoteInfo.address //更新打蒜器的地址
69 udp.send({ data: 'recv ok!\r\n',address: mixerAddr});
75 udp.send({ data: 'hello!\r\n',address: mixerAddr});
107 await udp.send({ data: order,address: mixerAddr})
/vendor/ohemu/qemu_small_system_demo/init_configs/
Dinit_liteos_a_arm_virt.cfg5 "mkdir /storage/data/log",
6 "chmod 0755 /storage/data/log",
7 "chown 4 4 /storage/data/log",
9 "mkdir /storage/data/softbus",
10 "chmod 0700 /storage/data/softbus",
11 "chown 7 7 /storage/data/softbus",

123