Home
last modified time | relevance | path

Searched refs:devices (Results 1 – 25 of 50) sorted by relevance

12

/AliOS-Things-master/solutions/miniapp_agent_demo/miniapp/utils/
A Dble_util.js88 for (let index = 0; index < res.devices.length; index++) {
89 …if (res.devices[index].advertisServiceUUIDs != undefined && res.devices[index].advertisServiceUUID…
90 _net_config_devices.push(res.devices[index]);
94 resolve({ devices: _net_config_devices, content: 'success' })
96 resolve({ devices: null, content: '未搜索到目标设备' })
100 resolve({ devices: null, content: '获取设备失败' + JSON.stringify(error) });
106 resolve({ devices: null, content: '启动扫描失败' + JSON.stringify(error) });
/AliOS-Things-master/solutions/miniapp_agent_demo/miniapp/pages/netCfg/
A DnetCfg.sjs2 getDeviceNameList(devices) {
4 for(let index = 0; index < devices.length; index++){
5 device_name_list.push(devices[index].localName)
A DnetCfg.js39 if (res && res.devices != null) {
40 console.log(res.devices)
42 net_config_devices: res.devices
49 if (res.devices == null)
/AliOS-Things-master/components/SDL2/src/joystick/windows/
A DSDL_xinputjoystick.c125 PRAWINPUTDEVICELIST devices = NULL; in GuessXInputDevice() local
132 devices = (PRAWINPUTDEVICELIST)SDL_malloc(sizeof(RAWINPUTDEVICELIST) * device_count); in GuessXInputDevice()
133 if (devices == NULL) { in GuessXInputDevice()
137 if (GetRawInputDeviceList(devices, &device_count, sizeof(RAWINPUTDEVICELIST)) == -1) { in GuessXInputDevice()
138 SDL_free(devices); in GuessXInputDevice()
151 if (devices[i].dwType == RIM_TYPEHID && in GuessXInputDevice()
158 SDL_free(devices); in GuessXInputDevice()
172 if (devices[i].dwType == RIM_TYPEHID && in GuessXInputDevice()
173 … GetRawInputDeviceInfoA(devices[i].hDevice, RIDI_DEVICEINFO, &rdi, &rdiSize) != (UINT)-1 && in GuessXInputDevice()
205 SDL_free(devices); in GuessXInputDevice()
[all …]
A DSDL_rawinputjoystick.c134 PRAWINPUTDEVICELIST devices; in RAWINPUT_AllXInputDevicesSupported() local
141 devices = (PRAWINPUTDEVICELIST)SDL_malloc(sizeof(RAWINPUTDEVICELIST) * device_count); in RAWINPUT_AllXInputDevicesSupported()
142 if (devices == NULL) { in RAWINPUT_AllXInputDevicesSupported()
146 if (GetRawInputDeviceList(devices, &device_count, sizeof(RAWINPUTDEVICELIST)) == -1) { in RAWINPUT_AllXInputDevicesSupported()
147 SDL_free(devices); in RAWINPUT_AllXInputDevicesSupported()
158 if ((devices[i].dwType == RIM_TYPEHID) && in RAWINPUT_AllXInputDevicesSupported()
159 … (GetRawInputDeviceInfoA(devices[i].hDevice, RIDI_DEVICEINFO, &rdi, &rdiSize) != ((UINT)-1)) && in RAWINPUT_AllXInputDevicesSupported()
160 … (GetRawInputDeviceInfoA(devices[i].hDevice, RIDI_DEVICENAME, devName, &nameSize) != ((UINT)-1)) && in RAWINPUT_AllXInputDevicesSupported()
170 SDL_free(devices); in RAWINPUT_AllXInputDevicesSupported()
/AliOS-Things-master/components/SDL2/src/audio/qsa/
A DSDL_qsa_audio.c484 uint32_t devices; in QSA_DetectDevices() local
503 devices = 0; in QSA_DetectDevices()
517 devices); in QSA_DetectDevices()
524 snd_pcm_open(&handle, it, devices, in QSA_DetectDevices()
528 devices; in QSA_DetectDevices()
548 devices++; in QSA_DetectDevices()
561 devices = 0; in QSA_DetectDevices()
575 devices); in QSA_DetectDevices()
582 snd_pcm_open(&handle, it, devices, in QSA_DetectDevices()
586 devices; in QSA_DetectDevices()
[all …]
/AliOS-Things-master/components/py_engine/engine/tools/
A Dpydfu.py114 devices = get_dfu_devices(**kwargs)
115 if not devices:
117 if len(devices) > 1:
119 __dev = devices[0]
489 devices = get_dfu_devices(*args, **kwargs)
490 if not devices:
492 for device in devices:
/AliOS-Things-master/solutions/miniapp_agent_demo/miniapp/pages/linkLP/
A DlinkLP.js77 if (res && res.devices != null) {
78 console.log(res.devices)
80 link_lp_devices: res.devices
86 if (res.devices == null)
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/acceleration/configuration/
A Dnnapi_plugin_test.cc68 const ANeuralNetworksDevice* const* devices, uint32_t numDevices, in SetUp()
187 const ANeuralNetworksDevice* const* devices, uint32_t numDevices, in TEST_F()
203 const ANeuralNetworksDevice* const* devices, uint32_t numDevices, in TEST_F() argument
314 const ANeuralNetworksDevice* const* devices, uint32_t numDevices, in TEST_F()
/AliOS-Things-master/components/SDL2/src/hidapi/udev/
A D99-hid.rules1 # This is a sample udev file for HIDAPI devices which changes the permissions
32 # set the group or user owner for specific devices (for example the plugdev
/AliOS-Things-master/components/SDL2/src/hidapi/linux/
A DREADME.txt9 version is that it will only work with USB devices, while the hidraw
10 implementation will work with Bluetooth devices as well.
42 for hidraw devices. This is worked around in the libary. No action should be
A Dhid.c468 struct udev_list_entry *devices, *dev_list_entry; in hid_enumerate() local
487 devices = udev_enumerate_get_list_entry(enumerate); in hid_enumerate()
490 udev_list_entry_foreach(dev_list_entry, devices) { in hid_enumerate()
/AliOS-Things-master/components/SDL2/src/hidapi/testgui/
A Dtest.cpp66 struct hid_device_info *devices; member in MainWindow
118 devices = NULL; in MainWindow()
290 hid_free_enumeration(devices); in onRescan()
291 devices = hid_enumerate(0x0, 0x0); in onRescan()
292 cur_dev = devices; in onRescan()
/AliOS-Things-master/components/SDL2/src/hidapi/
A DLICENSE-orig.txt2 communication with HID devices.
/AliOS-Things-master/components/SDL2/src/audio/
A DSDL_audio.c404 for (i = *devices; i != NULL; i = i->next) { in add_audio_device()
427 item->next = *devices; in add_audio_device()
428 *devices = item; in add_audio_device()
450 free_device_list(SDL_AudioDeviceItem **devices, int *devCount) in free_device_list() argument
453 for (item = *devices; item != NULL; item = next) { in free_device_list()
465 *devices = NULL; in free_device_list()
519 mark_device_removed(void *handle, SDL_AudioDeviceItem *devices, SDL_bool *removedFlag) in mark_device_removed() argument
523 for (item = devices; item != NULL; item = item->next) { in mark_device_removed()
1015 clean_out_device_list(SDL_AudioDeviceItem **devices, int *devCount, SDL_bool *removedFlag) in clean_out_device_list() argument
1017 SDL_AudioDeviceItem *item = *devices; in clean_out_device_list()
[all …]
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/
A DFILES23 devices. Please read /doc/ppp.txt and ppp/PPPD_FOLLOWUP for a detailed
/AliOS-Things-master/components/SDL2/src/audio/alsa/
A DSDL_alsa_audio.c786 ALSA_Device *devices = NULL; in ALSA_HotplugThread() local
809 unseen = devices; in ALSA_HotplugThread()
901 devices = seen; /* now we have a known-good list of attached devices. */ in ALSA_HotplugThread()
927 for (dev = devices; dev; dev = next) { in ALSA_HotplugThread()
/AliOS-Things-master/components/SDL2/src/hidapi/ios/
A Dhid.m204 …// listening to the BLE device, as iOS on slower devices may stop delivery of packets to the app W…
241 // any devices that may have paired while we were inactive.
340 … // at startup, if we have no already attached peripherals, do a 20s scan for new unpaired devices,
421 // Core Bluetooth devices calling back on event boundaries of their run-loops. so annoying.
730 NSEnumerator<HIDBLEDevice *> *devices = [bleManager.deviceMap objectEnumerator];
732 for ( HIDBLEDevice *device in devices )
784 NSEnumerator<HIDBLEDevice *> *devices = [bleManager.deviceMap objectEnumerator];
785 for ( HIDBLEDevice *device in devices )
/AliOS-Things-master/components/SDL2/docs/
A DREADME-gesture.md12 …chId is the id of the touch device you wish to record on, or -1 to record on all connected devices.
45 …re touchId is the id of the touch to load to (or -1 to load to all touch devices), and src is an S…
A DREADME-touch.md6 The linux touch system is currently based off event streams, and proc/bus/devices. The active user …
54 The number of touch devices can be queried with SDL_GetNumTouchDevices().
A DREADME-directfb.md33 To disable the use of linux input devices, i.e. multimice/multikeyboard support,
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/hl/api/
A Dgapm_task.h713 struct gap_bdaddr devices[__ARRAY_EMPTY]; member
730 struct gap_ral_dev_info devices[__ARRAY_EMPTY]; member
/AliOS-Things-master/components/SDL2/test/
A DREADME17 testmultiaudio Tests using several audio devices
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m186 /* Some devices have whitespace at the end...trim it. */
272 /* this is called when the system's list of available audio devices changes. */
413 Apple TV but is still needed in order to output to Bluetooth devices.
682 if (this->handle != NULL) { /* we don't register this listener for default devices. */
778 /* some devices don't support this property, so errors are fine here. */
832 /* only listen for unplugging on specific devices, not the default device, as that should
946 …/* we don't care if this fails; we just won't change to new default devices, but we still otherwis…
1001 …/* we don't care if this fails; we just won't change to new default devices, but we still otherwis…
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_egl_c.h101 void **devices,

Completed in 32 milliseconds

12