Home
last modified time | relevance | path

Searched refs:allDevices (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
H A Dusb_policy_utils.cpp44 std::vector<OHOS::USB::UsbDevice> allDevices; in AddAllowedUsbDevices() local
45 int32_t getRet = srvClient.GetDevices(allDevices); in AddAllowedUsbDevices()
53 EDMLOGI("UsbPolicyUtils AddAllowedUsbDevices getDevices size: %{public}zu", allDevices.size()); in AddAllowedUsbDevices()
54 for (const auto &item : allDevices) { in AddAllowedUsbDevices()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dallowed_usb_devices_plugin.cpp120 std::vector<OHOS::USB::UsbDevice> allDevices; in OnRemovePolicy() local
121 int32_t getRet = srvClient.GetDevices(allDevices); in OnRemovePolicy()
130 std::for_each(allDevices.begin(), allDevices.end(), [&](const auto usbDevice) { in OnRemovePolicy()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md422 let allDevices = mindSporeLite.getAllNNRTDeviceDescriptions();
423 if (allDevices == null) {
570 if (allDevices == null) {
576 for (let i: number = 0; i < allDevices.length; i++) {
577 console.info(allDevices[i].deviceID().toString());
599 if (allDevices == null) {
605 for (let i: number = 0; i < allDevices.length; i++) {
606 console.info(allDevices[i].deviceType().toString());
628 if (allDevices == null) {
634 for (let i: number = 0; i < allDevices.length; i++) {
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-mindspore-lite-kit/
H A Djs-apis-mindSporeLite.md422 let allDevices = mindSporeLite.getAllNNRTDeviceDescriptions();
423 if (allDevices == null) {
570 if (allDevices == null) {
576 for (let i: number = 0; i < allDevices.length; i++) {
577 console.info(allDevices[i].deviceID().toString());
599 if (allDevices == null) {
605 for (let i: number = 0; i < allDevices.length; i++) {
606 console.info(allDevices[i].deviceType().toString());
628 if (allDevices == null) {
634 for (let i: number = 0; i < allDevices.length; i++) {
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dneural_network_core.cpp53 const std::vector<size_t>& allDevices = backendManager.GetAllBackendsID(); in OH_NNDevice_GetAllDevicesID() local
55 if (allDevices.empty()) { in OH_NNDevice_GetAllDevicesID()
62 *allDevicesID = allDevices.data(); in OH_NNDevice_GetAllDevicesID()
64 *deviceCount = static_cast<uint32_t>(allDevices.size()); in OH_NNDevice_GetAllDevicesID()