/AliOS-Things-master/solutions/miniapp_agent_demo/miniapp/utils/ |
A D | ble_util.js | 88 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 D | netCfg.sjs | 2 getDeviceNameList(devices) { 4 for(let index = 0; index < devices.length; index++){ 5 device_name_list.push(devices[index].localName)
|
A D | netCfg.js | 39 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 D | SDL_xinputjoystick.c | 125 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 D | SDL_rawinputjoystick.c | 134 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 D | SDL_qsa_audio.c | 484 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 D | pydfu.py | 114 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 D | linkLP.js | 77 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 D | nnapi_plugin_test.cc | 68 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 D | 99-hid.rules | 1 # 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 D | README.txt | 9 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 D | hid.c | 468 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 D | test.cpp | 66 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 D | LICENSE-orig.txt | 2 communication with HID devices.
|
/AliOS-Things-master/components/SDL2/src/audio/ |
A D | SDL_audio.c | 404 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 D | FILES | 23 devices. Please read /doc/ppp.txt and ppp/PPPD_FOLLOWUP for a detailed
|
/AliOS-Things-master/components/SDL2/src/audio/alsa/ |
A D | SDL_alsa_audio.c | 786 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 D | hid.m | 204 …// 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 D | README-gesture.md | 12 …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 D | README-touch.md | 6 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 D | README-directfb.md | 33 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 D | gapm_task.h | 713 struct gap_bdaddr devices[__ARRAY_EMPTY]; member 730 struct gap_ral_dev_info devices[__ARRAY_EMPTY]; member
|
/AliOS-Things-master/components/SDL2/test/ |
A D | README | 17 testmultiaudio Tests using several audio devices
|
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/ |
A D | SDL_coreaudio.m | 186 /* 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 D | SDL_egl_c.h | 101 void **devices,
|