Home
last modified time | relevance | path

Searched refs:devices (Results 1 - 25 of 1354) sorted by relevance

12345678910>>...55

/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/
H A Dbt_statistic.cpp97 cJSON *json, const std::vector<OHOS::Bluetooth::BluetoothRemoteDevice>& devices, uint32_t profileId) in AddDevicesToArray()
103 for (size_t i = 0; i < devices.size(); i++) { in AddDevicesToArray()
105 (void)AddStringToJsonObject(deviceJson, "Name", devices[i].GetDeviceName().c_str()); in AddDevicesToArray()
107 OHOS::SoftBus::WifiDirectAnonymizeMac(devices[i].GetDeviceAddr()).c_str()); in AddDevicesToArray()
111 std::to_string(A2dpSource::GetProfile()->GetPlayingState(devices[i])).c_str()); in AddDevicesToArray()
114 std::to_string(A2dpSink::GetProfile()->GetPlayingState(devices[i])).c_str()); in AddDevicesToArray()
117 std::to_string(HandsFreeUnit::GetProfile()->GetScoState(devices[i])).c_str()); in AddDevicesToArray()
120 std::to_string(HandsFreeAudioGateway::GetProfile()->GetScoState(devices[i])).c_str()); in AddDevicesToArray()
132 std::vector<BluetoothRemoteDevice> devices; in GetGattDeviceInfo() local
134 devices in GetGattDeviceInfo()
96 AddDevicesToArray( cJSON *json, const std::vector<OHOS::Bluetooth::BluetoothRemoteDevice>& devices, uint32_t profileId) AddDevicesToArray() argument
165 std::vector<BluetoothRemoteDevice> devices; GetA2dpSrcDeviceInfo() local
172 std::vector<BluetoothRemoteDevice> devices; GetA2dpSinkDeviceInfo() local
179 std::vector<BluetoothRemoteDevice> devices; GetAvrCTDeviceInfo() local
186 std::vector<BluetoothRemoteDevice> devices; GetAvrTGDeviceInfo() local
193 std::vector<BluetoothRemoteDevice> devices; GetHfpAGDeviceInfo() local
200 std::vector<BluetoothRemoteDevice> devices; GetHfpHFDeviceInfo() local
207 std::vector<BluetoothRemoteDevice> devices; GetMapMseDeviceInfo() local
214 std::vector<BluetoothRemoteDevice> devices; GetPbapPseDeviceInfo() local
221 std::vector<BluetoothRemoteDevice> devices; GetHidHostDeviceInfo() local
228 std::vector<BluetoothRemoteDevice> devices; GetOppDeviceInfo() local
235 std::vector<BluetoothRemoteDevice> devices; GetPanDeviceInfo() local
[all...]
/third_party/backends/testsuite/sanei/
H A Dsanei_usb_test.c94 /** count detected devices
95 * count all detected devices and check it against expected value
107 if (devices[i].missing == 0 && devices[i].devname != NULL) in count_detected()
114 printf ("ERROR: %d detected devices, expected %d!\n", num, expected); in count_detected()
117 printf ("%d devices still detected.\n", num); in count_detected()
166 /* give unused devices a name so strcmp() won't crash. */ in test_store_device()
168 devices[i].devname = ""; in test_store_device()
171 /* there should be no more devices */ in test_store_device()
180 if (devices[ in test_store_device()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_single_ver_p2p_sync_check_test.cpp182 std::vector<std::string> devices; in HWTEST_F() local
183 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
184 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
205 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in HWTEST_F()
208 ASSERT_TRUE(result.size() == devices.size()); in HWTEST_F()
230 std::vector<std::string> devices; in HWTEST_F() local
231 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
232 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
254 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in HWTEST_F()
257 ASSERT_TRUE(result.size() == devices in HWTEST_F()
300 std::vector<std::string> devices; HWTEST_F() local
345 std::vector<std::string> devices; HWTEST_F() local
380 std::vector<std::string> devices; HWTEST_F() local
427 std::vector<std::string> devices; HWTEST_F() local
465 std::vector<std::string> devices; HWTEST_F() local
503 std::vector<std::string> devices; HWTEST_F() local
527 std::vector<std::string> devices; HWTEST_F() local
717 std::vector<std::string> devices; HWTEST_F() local
769 std::vector<std::string> devices; HWTEST_F() local
821 std::vector<std::string> devices; HWTEST_F() local
1013 std::vector<std::string> devices; HWTEST_F() local
1122 PrepareEnv(vector<std::string> &devices, Key &key, Query &query) PrepareEnv() argument
1137 Sync(KvStoreNbDelegate *kvDelegatePtr, vector<std::string> &devices, const DBStatus &targetStatus) Sync() argument
1147 Sync(vector<std::string> &devices, const DBStatus &targetStatus) Sync() argument
1152 SyncWithQuery(vector<std::string> &devices, const Query &query, const SyncMode &mode, const DBStatus &targetStatus) SyncWithQuery() argument
1163 SyncWithQuery(vector<std::string> &devices, const Query &query, const DBStatus &targetStatus) SyncWithQuery() argument
1168 SyncWithDeviceOffline(vector<std::string> &devices, Key &key, const Query &query) SyncWithDeviceOffline() argument
1186 PrepareWaterMarkError(std::vector<std::string> &devices, Query &query) PrepareWaterMarkError() argument
1253 std::vector<std::string> devices; HWTEST_F() local
1302 std::vector<std::string> devices; HWTEST_F() local
1353 std::vector<std::string> devices; HWTEST_F() local
1373 std::vector<std::string> devices; HWTEST_F() local
1404 std::vector<std::string> devices; TestDifferentSyncMode() local
1477 PrepareForSyncMergeTest(std::vector<std::string> &devices, int &sendRequestCount) PrepareForSyncMergeTest() argument
1521 std::vector<std::string> devices; HWTEST_F() local
1573 std::vector<std::string> devices; HWTEST_F() local
1625 std::vector<std::string> devices; HWTEST_F() local
1684 PrePareForQuerySyncMergeTest(bool isQuerySync, std::vector<std::string> &devices, Key &key, Value &value, int &sendRequestCount) PrePareForQuerySyncMergeTest() argument
1745 std::vector<std::string> devices; HWTEST_F() local
1784 std::vector<std::string> devices; HWTEST_F() local
1838 std::vector<std::string> devices; HWTEST_F() local
1885 std::vector<std::string> devices; HWTEST_F() local
1926 std::vector<std::string> devices; HWTEST_F() local
1986 std::vector<std::string> devices; HWTEST_F() local
2055 std::vector<std::string> devices; HWTEST_F() local
2095 std::vector<std::string> devices; HWTEST_F() local
2149 std::vector<std::string> devices; HWTEST_F() local
2186 std::vector<std::string> devices; HWTEST_F() local
2237 std::vector<std::string> devices; HWTEST_F() local
2269 std::vector<std::string> devices; HWTEST_F() local
2345 std::vector<std::string> devices; HWTEST_F() local
2428 std::vector<std::string> devices; HWTEST_F() local
[all...]
H A Ddistributeddb_single_ver_p2p_simple_sync_test.cpp202 std::vector<std::string> devices; in HWTEST_F() local
203 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
204 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
223 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in HWTEST_F()
231 ASSERT_TRUE(result.size() == devices.size()); in HWTEST_F()
253 std::vector<std::string> devices; in HWTEST_F() local
254 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
255 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
278 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in HWTEST_F()
284 ASSERT_TRUE(result.size() == devices in HWTEST_F()
306 std::vector<std::string> devices; HWTEST_F() local
357 std::vector<std::string> devices; HWTEST_F() local
414 std::vector<std::string> devices; HWTEST_F() local
514 std::vector<std::string> devices; HWTEST_F() local
545 std::vector<std::string> devices; HWTEST_F() local
620 std::vector<std::string> devices; HWTEST_F() local
697 std::vector<std::string> devices; HWTEST_F() local
775 std::vector<std::string> devices; HWTEST_F() local
801 std::vector<std::string> devices; HWTEST_F() local
851 std::vector<std::string> devices; HWTEST_F() local
932 std::vector<std::string> devices; HWTEST_F() local
976 std::vector<std::string> devices; HWTEST_F() local
1020 std::vector<std::string> devices; HWTEST_F() local
1058 std::vector<std::string> devices; HWTEST_F() local
1096 std::vector<std::string> devices; HWTEST_F() local
1134 std::vector<std::string> devices; HWTEST_F() local
1193 std::vector<std::string> devices; HWTEST_F() local
1235 std::vector<std::string> devices; HWTEST_F() local
1362 std::vector<std::string> devices; HWTEST_F() local
1471 std::vector<std::string> devices; HWTEST_F() local
1513 std::vector<std::string> devices; HWTEST_F() local
1604 std::vector<std::string> devices; HWTEST_F() local
1634 std::vector<std::string> devices; HWTEST_F() local
1744 std::vector<std::string> devices; HWTEST_F() local
[all...]
H A Ddistributeddb_single_ver_p2p_permission_sync_test.cpp174 std::vector<std::string> devices; in HWTEST_F() local
175 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
176 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
191 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in HWTEST_F()
198 ASSERT_TRUE(result.size() == devices.size()); in HWTEST_F()
239 std::vector<std::string> devices; in HWTEST_F() local
240 devices.push_back(g_deviceB->GetDeviceId()); in HWTEST_F()
241 devices.push_back(g_deviceC->GetDeviceId()); in HWTEST_F()
263 status = g_tool.SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PULL_ONLY, result); in HWTEST_F()
270 ASSERT_TRUE(result.size() == devices in HWTEST_F()
307 std::vector<std::string> devices; HWTEST_F() local
396 std::vector<std::string> devices; HWTEST_F() local
460 std::vector<std::string> devices; HWTEST_F() local
528 std::vector<std::string> devices; HWTEST_F() local
596 std::vector<std::string> devices; HWTEST_F() local
654 std::vector<std::string> devices; HWTEST_F() local
735 std::vector<std::string> devices = {g_deviceB->GetDeviceId()}; HWTEST_F() local
809 std::vector<std::string> devices; HWTEST_F() local
[all...]
/third_party/backends/sanei/
H A Dsanei_usb.c178 * total number of devices that can be found at the same time */
183 static device_list_type devices[MAX_DEVICES]; variable
186 * total number of detected devices in devices array */
366 as the end of controller devices */ in kernel_get_vendor_product()
377 break; /* Treat this as the end of devices for this controller */ in kernel_get_vendor_product()
409 /* if there are already some devices present, check against in store_device()
413 if (devices[i].method == device.method in store_device()
414 && !strcmp (devices[i].devname, device.devname) in store_device()
415 && devices[ in store_device()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_kv_syncer.cpp56 std::vector<std::string> devices; in EnableAutoSync() local
57 GetOnlineDevices(devices); in EnableAutoSync()
58 if (devices.empty()) { in EnableAutoSync()
59 LOGI("[Syncer] EnableAutoSync no online devices"); in EnableAutoSync()
62 int errCode = Sync(devices, SyncModeType::AUTO_PUSH, nullptr, nullptr, false); in EnableAutoSync()
86 std::vector<std::string> devices; in LocalDataChanged() local
87 GetOnlineDevices(devices); in LocalDataChanged()
88 if (devices.empty()) { in LocalDataChanged()
89 LOGI("[Syncer] LocalDataChanged no online standard devices, Label=%s", label_.c_str()); in LocalDataChanged()
100 int errCode = RuntimeContext::GetInstance()->ScheduleTask([this, devices, engin in LocalDataChanged()
225 TryFullSync(const std::vector<std::string> &devices) TryFullSync() argument
243 TriggerSubQuerySync(const std::vector<std::string> &devices) TriggerSubQuerySync() argument
[all...]
/third_party/ltp/testcases/kernel/hotplug/cpu_hotplug/include/
H A Dcpuhotplug_hotplug.sh72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online
93 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then
99 $TIME echo 0 > /sys/devices/system/cpu/cpu${CPU}/online
112 [ -d /sys/devices/system/cpu/cpu0 ] || return -1
113 NUM=`ls /sys/devices/system/cpu/ \
128 [ -d /sys/devices/system/cpu ] || return 1
129 (cd /sys/devices/system/cpu; ls -d cpu[0-9]*)
139 local present_mask="/sys/devices/system/cpu/present"
157 if [ -e /sys/devices/syste
[all...]
/third_party/vk-gl-cts/scripts/android/
H A Dinstall_apk.py52 proc = subprocess.Popen([adbPath, 'devices', '-l'], stdout=subprocess.PIPE)
56 raise Exception("adb devices -l failed, got %d" % proc.returncode)
59 devices = []
69 devices.append(Device(m.group(1), m.group(2), m.group(3), m.group(4)))
71 return devices
145 def installToDevices (devices, doParallel, adbPath, packageName, apkPath):
146 padLen = max([len(device.model) for device in devices])+1
148 parallelApply(installToDevice, [(device, adbPath, packageName, apkPath, ("(%s):%s" % (device.model, ' ' * (padLen - len(device.model))))) for device in devices]);
150 serialApply(installToDevice, [(device, adbPath, packageName, apkPath) for device in devices]);
153 devices
227 devices = getDevices(args.adbPath) global() variable
240 devices = getDevices(args.adbPath) global() variable
242 devices = [dev for dev in devices if dev.serial in args.serial] global() variable
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp225 std::vector<std::string> devices = {DEVICE_A}; in HWTEST_F() local
227 int errCode = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, in HWTEST_F()
228 [&devices](const std::map<std::string, std::vector<TableStatus>> &devicesMap) { in HWTEST_F()
229 EXPECT_EQ(devicesMap.size(), devices.size()); in HWTEST_F()
244 std::vector<std::string> devices = {DEVICE_A}; in HWTEST_F() local
246 int errCode = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, in HWTEST_F()
247 [&devices](const std::map<std::string, std::vector<TableStatus>> &devicesMap) { in HWTEST_F()
248 EXPECT_EQ(devicesMap.size(), devices.size()); in HWTEST_F()
263 std::vector<std::string> devices = {DEVICE_A}; in HWTEST_F() local
265 int errCode = delegate->Sync(devices, SyncMod in HWTEST_F()
282 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
304 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
323 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
348 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
378 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
430 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
463 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
620 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
646 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
672 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
698 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
724 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
784 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
823 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
872 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
918 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
1011 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
1085 std::vector<std::string> devices = {DEVICE_A}; HWTEST_F() local
1117 std::vector<std::string> devices = {DEVICE_B}; HWTEST_F() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLProgram.cpp24 DevicePtrs devices; in build() local
25 devices.reserve(numDevices); in build()
28 devices.emplace_back(&(*deviceList++)->cast<Device>()); in build()
38 return mImpl->build(devices, options, notify); in build()
50 DevicePtrs devices; in compile() local
51 devices.reserve(numDevices); in compile()
54 devices.emplace_back(&(*deviceList++)->cast<Device>()); in compile()
70 return mImpl->compile(devices, options, programs, headerIncludeNames, notify); in compile()
75 std::vector<cl_device_id> devices; in getInfo() local
99 devices in getInfo()
223 Program(Context &context, DevicePtrs &&devices, const size_t *lengths, const unsigned char **binaries, cl_int *binaryStatus, cl_int &errorCode) Program() argument
237 Program(Context &context, DevicePtrs &&devices, const char *kernelNames, cl_int &errorCode) Program() argument
245 Program(Context &context, const DevicePtrs &devices, const char *options, const cl::ProgramPtrs &inputPrograms, ProgramCB pfnNotify, void *userData, cl_int &errorCode) Program() argument
[all...]
/third_party/ffmpeg/libavdevice/
H A Dpulse_audio_common.c54 AVDeviceInfoList *devices; member
158 if ((ret = av_dynarray_add_nofree(&info->devices->devices, in pulse_add_detected_device()
159 &info->devices->nb_devices, new_device)) < 0) { in pulse_add_detected_device()
197 int ff_pulse_audio_get_devices(AVDeviceInfoList *devices, const char *server, int output) in ff_pulse_audio_get_devices() argument
207 dev_list.devices = devices; in ff_pulse_audio_get_devices()
208 if (!devices) in ff_pulse_audio_get_devices()
210 devices->nb_devices = 0; in ff_pulse_audio_get_devices()
211 devices in ff_pulse_audio_get_devices()
[all...]
/third_party/mesa3d/src/tool/pps/
H A Dpps_device.cc24 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in device_count() local
25 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in device_count()
26 drmFreeDevices(devices, num_devices); in device_count()
69 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create_all() local
70 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in create_all()
76 drmDevicePtr device = devices[gpu_num]; in create_all()
87 drmFreeDevices(devices, num_devices); in create_all()
99 drmDevicePtr devices[MAX_DRM_DEVICES] = {}; in create() local
100 int num_devices = drmGetDevices2(0, devices, MAX_DRM_DEVICES); in create()
103 drmDevicePtr device = devices[gpu_nu in create()
[all...]
/third_party/libdrm/tests/
H A Ddrmdevice.c110 drmDevicePtr *devices; in main() local
118 printf("drmGetDevices2() has not found any devices (errno=%d)\n", in main()
125 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()
126 if (devices == NULL) { in main()
131 printf("--- Retrieving devices information (PCI device revision is ignored) ---\n"); in main()
132 ret = drmGetDevices2(0, devices, max_devices); in main()
135 free(devices); in main()
140 print_device_info(devices[i], i, false); in main()
143 if (devices[i]->available_nodes & 1 << j) { in main()
144 printf("--- Opening device node %s ---\n", devices[ in main()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/sync_fuzzer/
H A Dsync_fuzzer.cpp115 std::vector<std::string> devices; in NormalSyncPush() local
116 devices.push_back(g_deviceB->GetDeviceId()); in NormalSyncPush()
122 DistributedDBToolsTest::SyncTestWithQuery(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result, query); in NormalSyncPush()
124 DistributedDBToolsTest::SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PUSH_ONLY, result); in NormalSyncPush()
148 std::vector<std::string> devices; in NormalSyncPull() local
149 devices.push_back(g_deviceB->GetDeviceId()); in NormalSyncPull()
155 DistributedDBToolsTest::SyncTestWithQuery(g_kvDelegatePtr, devices, SYNC_MODE_PULL_ONLY, result, query); in NormalSyncPull()
157 DistributedDBToolsTest::SyncTest(g_kvDelegatePtr, devices, SYNC_MODE_PULL_ONLY, result); in NormalSyncPull()
171 std::vector<std::string> devices; in NormalSyncPushAndPull() local
172 devices in NormalSyncPushAndPull()
191 std::vector<std::string> devices; SubscribeOperation() local
[all...]
/test/testfwk/xdevice/plugins/devicetest/
H A Dmain.py31 def __init__(self, test_list, configs, devices, result_file):
35 self.devices = devices or []
43 self.test_list, self.configs, self.devices, self.upload_result_handler)
59 def __init__(self, test_list, configs, devices):
62 self.devices = devices or []
66 test_runner = TestSuiteRunner(self.test_list, self.configs, self.devices)
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dsingle_kvstore.h127 * Remove all the other devices data synced from remote if device is empty.
145 * @brief Sync store with other devices.
150 * @param devices Device list to sync.
152 * PUSH_PULL will firstly push all not-local store to listed devices,
157 virtual Status Sync(const std::vector<std::string> &devices, SyncMode mode, uint32_t delay) = 0;
160 * @brief Sync store with other devices only syncing the data which is satisfied with the condition.
165 * @param devices Device list to sync.
167 * PUSH_PULL will firstly push all not-local store to listed devices,
173 virtual Status Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQuery &query, in Sync() argument
176 return Sync(devices, mod in Sync()
194 Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQuery &query, std::shared_ptr<KvStoreSyncCallback> syncCallback, uint32_t delay) Sync() argument
203 Sync(const std::vector<std::string> &devices, SyncMode mode) Sync() argument
214 Sync(const std::vector<std::string> &devices, SyncMode mode, const DataQuery &query) Sync() argument
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuLibDrm.cpp94 "Failed to query number of DRM devices in system"); in getDevices()
105 TCU_FAIL("Failed to query list of DRM devices in system"); in getDevices()
111 const char* LibDrm::findDeviceNode (drmDevicePtr *devices, int count, deInt64 major, deInt64 minor) const in findDeviceNode() argument
117 if (!(devices[i]->available_nodes & (1 << j))) in findDeviceNode()
122 int res = stat(devices[i]->nodes[j], &statBuf); in findDeviceNode()
130 return devices[i]->nodes[j]; in findDeviceNode()
138 void LibDrm::freeDevices (drmDevicePtr *devices, int count) const in freeDevices() argument
140 pFreeDevices(devices, count); in freeDevices()
141 delete[] devices; in freeDevices()
190 int LibDrm::intGetDevices (drmDevicePtr devices[], in argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c51 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_link_encoder_connector()
53 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in amdgpu_link_encoder_connector()
74 amdgpu_encoder->active_device = amdgpu_encoder->devices & amdgpu_connector->devices; in amdgpu_encoder_set_active_device()
76 amdgpu_encoder->active_device, amdgpu_encoder->devices, in amdgpu_encoder_set_active_device()
77 amdgpu_connector->devices, encoder->encoder_type); in amdgpu_encoder_set_active_device()
95 if (amdgpu_encoder->active_device & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder()
116 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c50 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_link_encoder_connector()
52 if (amdgpu_encoder->devices & (ATOM_DEVICE_LCD_SUPPORT)) { in amdgpu_link_encoder_connector()
74 amdgpu_encoder->active_device = amdgpu_encoder->devices & amdgpu_connector->devices; in amdgpu_encoder_set_active_device()
76 amdgpu_encoder->active_device, amdgpu_encoder->devices, in amdgpu_encoder_set_active_device()
77 amdgpu_connector->devices, encoder->encoder_type); in amdgpu_encoder_set_active_device()
95 if (amdgpu_encoder->active_device & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder()
116 if (amdgpu_encoder->devices & amdgpu_connector->devices) { in amdgpu_get_connector_for_encoder_init()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/config/
H A Dconfig_manager.py32 devices = []
49 devices.append(device)
61 devices.append(device)
62 return devices
65 devices = [env for env in self.environment if env.get("label") == "ohos"]
66 if devices:
67 return devices
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh12 local path="/sys/bus/pci/devices/$dev/eeh_pe_state"
67 if [ -e "/sys/bus/pci/devices/$dev/pci_bus" ] ; then
76 if [ "ahci" = "$(basename $(realpath /sys/bus/pci/devices/$dev/driver))" ] ; then
82 # PEs that contain multiple PCI devices (e.g. multi-function cards)
100 if ! test -e /sys/bus/pci/devices/$dev/ ; then
139 test -e /sys/bus/pci/devices/$1/driver;
152 devices=""
165 for dev in `ls -1 /sys/bus/pci/devices/` ; do
166 sysfs="/sys/bus/pci/devices/$dev"
183 devices
[all...]
/third_party/mesa3d/src/vulkan/device-select-layer/
H A Ddevice_select_wayland.c99 int device_select_find_wayland_pci_default(struct device_pci_info *devices, uint32_t device_count) in device_select_find_wayland_pci_default() argument
126 if (devices[i].has_bus_info) { in device_select_find_wayland_pci_default()
127 if (info.dev_info->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_wayland_pci_default()
128 info.dev_info->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_wayland_pci_default()
129 info.dev_info->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_wayland_pci_default()
130 info.dev_info->businfo.pci->func == devices[i].bus_info.func) in device_select_find_wayland_pci_default()
133 if (info.dev_info->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_wayland_pci_default()
134 info.dev_info->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_wayland_pci_default()
H A Ddevice_select_x11.c63 int device_select_find_xcb_pci_default(struct device_pci_info *devices, uint32_t device_count) in device_select_find_xcb_pci_default() argument
103 if (devices[i].has_bus_info) { in device_select_find_xcb_pci_default()
104 if (xdev->businfo.pci->domain == devices[i].bus_info.domain && in device_select_find_xcb_pci_default()
105 xdev->businfo.pci->bus == devices[i].bus_info.bus && in device_select_find_xcb_pci_default()
106 xdev->businfo.pci->dev == devices[i].bus_info.dev && in device_select_find_xcb_pci_default()
107 xdev->businfo.pci->func == devices[i].bus_info.func) { in device_select_find_xcb_pci_default()
111 if (xdev->deviceinfo.pci->vendor_id == devices[i].dev_info.vendor_id && in device_select_find_xcb_pci_default()
112 xdev->deviceinfo.pci->device_id == devices[i].dev_info.device_id) in device_select_find_xcb_pci_default()
/third_party/libinput/tools/
H A Dlibinput-list-kernel-devices.py41 devices = {}
49 devices[device.device_node] = name[1:-1]
54 for k in sorted(devices, key=versionsort):
55 print(f"{k}:\t{devices[k]}")
70 devices = []
78 devices.append(HidDevice(name, driver, vendor, product, devpath))
83 for hid in devices:
91 for hid in devices:
96 for d in devices:
106 parser = argparse.ArgumentParser(description="List kernel devices")
[all...]

Completed in 15 milliseconds

12345678910>>...55