Home
last modified time | relevance | path

Searched refs:devType (Results 1 – 25 of 130) sorted by relevance

123456

/ohos5.0/foundation/ability/ability_base/test/unittest/want/
H A Dextra_params_test.cpp43 std::vector<string> devType; variable
45 extraParams.SetDevType(devType);
47 EXPECT_EQ(result, devType);
100 std::vector<string> devType; variable
101 extraParams.SetDevType(devType);
124 std::vector<string> devType; variable
128 ExtraParams extraParams(devType, targetBundleName, description, jsonParams);
/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dddk_uevent_queue.cpp49 char devType[MAX_DEVTYPE_LEN]; member
89 ret = memcpy_s(task.devType, MAX_DEVTYPE_LEN, info->devType, strlen(info->devType)); in DdkUeventCopyTask()
91 HDF_LOGE("%{public}s: copy devType failed:%{public}s", __func__, info->devType); in DdkUeventCopyTask()
142 if (strcmp(info->action, "bind") == 0 && strcmp(info->devType, "usb_device") == 0) { in DdkDispatchUevent()
144 } else if (strcmp(info->action, "remove") == 0 && strcmp(info->devType, "usb_device") == 0) { in DdkDispatchUevent()
219 … bool isAddDevice = strcmp(info->action, "bind") == 0 && strcmp(info->devType, "usb_device") == 0; in DdkUeventAddTask()
220 …bool isRemoveDevice = strcmp(info->action, "remove") == 0 && strcmp(info->devType, "usb_device") =… in DdkUeventAddTask()
225 __func__, info->action, info->subSystem, info->devType, info->devPath); in DdkUeventAddTask()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/interface/
H A Didevice_status_observer.h26 virtual void OnDeviceStatusUpdated(DeviceType devType, bool isConnected,
29 virtual void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected) = 0;
30 virtual void OnPnpDeviceStatusUpdated(DeviceType devType, bool isConnected,
32 virtual void OnMicrophoneBlockedUpdate(DeviceType devType, DeviceBlockStatus status) = 0;
39 virtual void OnForcedDeviceSelected(DeviceType devType, const std::string &macAddress) = 0;
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/input/
H A D_input_dev_desc.md21 | uint32_t [devType](#devtype) | 设备类型 |
37 ### devType subsection
40 uint32_t InputDevDesc::devType
H A D_dev_desc_v10.md21 | unsigned int [devType](#devtype) | 设备类型 |
37 ### devType subsection
40 unsigned int DevDesc::devType
H A D_input_hot_plug_event.md21 | uint32_t [devType](#devtype) | 设备类型 |
38 ### devType subsection
41 uint32_t InputHotPlugEvent::devType
H A D_hot_plug_event_v10.md21 | unsigned int [devType](#devtype) | 设备类型 |
38 ### devType subsection
41 unsigned int HotPlugEvent::devType
H A D_device_info_v10.md21 | unsigned int [devType](#devtype) | 设备类型 |
82 ### devType subsection
85 unsigned int DeviceInfo::devType
H A D_input_device_info.md21 | uint32_t [devType](#devtype) | 设备类型 |
82 ### devType subsection
85 uint32_t InputDeviceInfo::devType
/ohos5.0/drivers/hdf_core/framework/model/input/driver/
H A Dhdf_input_device_manager.c36 … if ((inputDev->devType > INDEV_TYPE_HID_BEGIN_POS) && (inputDev->devType < INDEV_TYPE_UNKNOWN)) { in IsHidDevice()
93 event.devType = inputDev->devType; in HotPlugNotify()
214 switch (inputDev->devType) { in AllocPackageBuffer()
276 if (inputDev->devType == INDEV_TYPE_TOUCH) { in AllocDeviceID()
328 HDF_LOGI("%s: enter devName=%s, devType=%u", __func__, inputDev->devName, inputDev->devType); in RegisterInputDevice()
417 sta.devType = tmpDev->devType; in ScanAllDev()
H A Dinput_config.h18 uint8_t devType; member
137 uint8_t devType; member
145 uint8_t devType; member
154 uint8_t devType; member
H A Dhdf_hid_adapter.c212 inputDev->devType = info->devType; in HidConstructInputDev()
252 HDF_LOGI("%s: enter devName=%s, devType=%u", __func__, info->devName, info->devType); in HidRegisterHdfInputDev()
317 device->devType == INDEV_TYPE_KEYBOARD) { in HidReportEvent()
333 uint32_t devType = inputDev->devType; in HidGetDevType() local
334 HDF_LOGI("%s: enter, devType is %u", __func__, devType); in HidGetDevType()
335 bool ret = HdfSbufWriteUint32(reply, devType); in HidGetDevType()
H A Dhdf_key.c119 keyDrv->devType = keyCfg->devType; in KeyDriverInstance()
135 inputDev->devType = keyDrv->devType; in InputDeviceInstance()
H A Dhdf_input_device_manager.h53 uint32_t devType; member
58 uint32_t devType; member
113 uint32_t devType; member
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dextra_params.cpp94 ExtraParams::ExtraParams(const std::vector<string> &devType, const string &targetBundleName, const … in ExtraParams() argument
97 devType_ = devType; in ExtraParams()
119 void ExtraParams::SetDevType(const std::vector<string> &devType) in SetDevType() argument
121 devType_ = devType; in SetDevType()
/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dbus_center_adapter.c150 const char *devType = NULL; in GetCommonDevInfo() local
165 devType = GetDeviceType(); in GetCommonDevInfo()
166 LNN_LOGI(LNN_STATE, "get device from GetDeviceType, GetDeviceType=%{public}s", devType); in GetCommonDevInfo()
167 if (devType != NULL) { in GetCommonDevInfo()
169 … if (SoftBusConvertDeviceType(devType, softBusDevType, DEVICE_TYPE_BUF_LEN) != SOFTBUS_OK) { in GetCommonDevInfo()
/ohos5.0/foundation/multimedia/audio_framework/test/fuzztest/audiobluetoothmanager_fuzzer/
H A Daudiobluetoothmanager_fuzzer.cpp42 DeviceType devType = *reinterpret_cast<const DeviceType *>(rawData); in AudioBluetoothManagerFuzzTest() local
54 .OnDeviceStatusUpdated(devType, isConnected, macAddress, deviceName, audioStreamInfo); in AudioBluetoothManagerFuzzTest()
57 .OnDeviceConfigurationChanged(devType, macAddress, deviceName, audioStreamInfo); in AudioBluetoothManagerFuzzTest()
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_core.c217 if (cntlr->devType == MMC_DEV_SDIO) { in MmcCntlrQueueCreate()
219 } else if (cntlr->devType == MMC_DEV_SD) { in MmcCntlrQueueCreate()
221 } else if (cntlr->devType == MMC_DEV_EMMC) { in MmcCntlrQueueCreate()
564 if (devType == MMC_DEV_SDIO || devType == MMC_DEV_COMBO) { in MmcCntlrAllocDev()
566 } else if (devType == MMC_DEV_SD) { in MmcCntlrAllocDev()
568 } else if (devType == MMC_DEV_EMMC) { in MmcCntlrAllocDev()
582 mmc->type = devType; in MmcCntlrAllocDev()
797 if (cntlr->devType != MMC_DEV_SDIO) { in MmcCntlrAddSdioRescanMsgToQueue()
963 cntlr->devType = HCS_PROP(node, devType); \
1087 ret = drsOps->GetUint32(node, "devType", &(cntlr->devType), 0); in MmcCntlrParse()
[all …]
/ohos5.0/foundation/multimodalinput/input/tools/event_inject/include/
H A Dmsg_head.h49 int32_t devType; member
69 int32_t devType; member
/ohos5.0/drivers/peripheral/input/test/unittest/hdi/
H A Dhdf_input_hdi_test.cpp156 …HDF_LOGE("%s: %d, %d, %d, %d", __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].d…
275 HDF_LOGI("%s: devindex = %u, devType = %u", __func__, dev.devIndex, dev.devType);
308 HDF_LOGI("%s: index = %u, devType = %u", __func__, dev[i].devIndex, dev[i].devType);
329 uint32_t devType = INIT_DEFAULT_VALUE; variable
331 ret = g_inputInterfaces->GetDeviceType(TOUCH_INDEX, devType);
337 HDF_LOGI("%s: device's type is %u", __func__, devType);
389 HDF_LOGI("%s: new devIndex = %u, devType = %u", __func__, dev.devIndex, dev.devType);
/ohos5.0/drivers/peripheral/input/interfaces/include/
H A Dinput_type.h174 uint32_t devType; /**< Device type */ member
183 uint32_t devType; /**< Device type */ member
275 uint32_t devType; /**< Device type */ member
/ohos5.0/foundation/multimodalinput/input/tools/event_inject/src/
H A Dinjection_event_dispatch.cpp292 return item.devType; in GetDevTypeIndex()
298 int32_t InjectionEventDispatch::GetDevIndexType(int32_t devType) const in GetDevIndexType()
301 if (item.devType == devType) { in GetDevIndexType()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/localhardwaremanager/
H A Dlocal_hardware_manager.cpp137 uint16_t devType = DHContext::GetInstance().GetDeviceInfo().deviceType; in AddLocalCapabilityInfo() local
140 dhItem.dhId, deviceId, devName, devType, dhType, dhItem.attrs, dhItem.subtype); in AddLocalCapabilityInfo()
152 uint16_t devType = DHContext::GetInstance().GetDeviceInfo().deviceType; in AddLocalMetaCapInfo() local
158 dhItem.dhId, deviceId, devName, devType, dhType, dhItem.attrs, dhItem.subtype, udidHash, in AddLocalMetaCapInfo()
/ohos5.0/drivers/peripheral/input/test/unittest/common/
H A Dhdi_input_test.cpp113 … HDF_LOGI("%s: status =%d devId=%d type =%d", __func__, msg->status, msg->devIndex, msg->devType); in ReportHotPlugEventPkgCallback()
202 …HDF_LOGI("%s:%d, %d, %d, %d", __func__, sta[0].devType, sta[0].devIndex, sta[1].devType, sta[1].de…
353 dev->devType);
386 dev[i]->devType);
404 uint32_t devType = INIT_DEFAULT_VALUE; variable
408 ret = g_inputInterface->iInputController->GetDeviceType(TOUCH_INDEX, &devType);
412 HDF_LOGI("%s: device1's type is %u", __func__, devType);
461 dev->devType);
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/include/
H A Dextra_params.h68 …ExtraParams(const std::vector<string> &devType, const string &targetBundleName, const string &desc…
86 void SetDevType(const std::vector<string> &devType);

123456