Home
last modified time | relevance | path

Searched refs:action (Results 1 - 24 of 24) sorted by relevance

/drivers/peripheral/usb/ddk/host/src/
H A Dddk_uevent_queue.cpp46 char action[MAX_ACTION_LEN]; member
71 int32_t ret = memcpy_s(task.action, MAX_ACTION_LEN, info->action, strlen(info->action)); in DdkUeventCopyTask()
73 HDF_LOGE("%{public}s: copy action failed:%{public}s", __func__, info->action); 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()
149 HDF_LOGE("%{public}s: action:%{public}s, ret:%{public}d", __func__, info->action, re in DdkDispatchUevent()
[all...]
H A Dddk_uevent_handle.c90 .action = "", in DdkHandleUevent()
102 info.action = msgTmp; in DdkHandleUevent()
/drivers/external_device_manager/test/moduletest/driver_extension_controller_mt/
H A Ddriver_extension_controller_mt.cpp68 string action(argv[PARAM_INDEX_OF_ACTION]); in TestEntry()
71 cout << "args: "<< action << ", " << bundleName << ", " << abilityName << endl; in TestEntry()
73 if (action == "start") { in TestEntry()
76 } else if (action == "stop") { in TestEntry()
79 } else if (action == "connect") { in TestEntry()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_uevent.c53 enum DEVMGR_ACTION_TYPE action; member
210 HDF_LOGE("parse event %{public}s fail, no action", subStr); in DevMgrUeventParseHdfEvent()
215 HDF_LOGE("event action part invalid [%{public}s]", ptr); in DevMgrUeventParseHdfEvent()
220 char *action = ptr + 1; in DevMgrUeventParseHdfEvent() local
223 ptr = strchr(action, '\n'); in DevMgrUeventParseHdfEvent()
229 ptr = strchr(action, '\r'); in DevMgrUeventParseHdfEvent()
234 if (strcmp(action, "load") == 0) { in DevMgrUeventParseHdfEvent()
235 ruleCfg->action = DEVMGR_ACTION_LOAD; in DevMgrUeventParseHdfEvent()
236 } else if (strcmp(action, "unload") == 0) { in DevMgrUeventParseHdfEvent()
237 ruleCfg->action in DevMgrUeventParseHdfEvent()
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp254 void HosV4L2UVC::V4L2GetUsbString(std::string& action, std::string& subsystem, in V4L2GetUsbString() argument
265 if (action == "") { in V4L2GetUsbString()
268 action = ""; in V4L2GetUsbString()
270 action = std::string(retVal); in V4L2GetUsbString()
271 CAMERA_LOGD("UVC:V4L2GetUsbString action %{public}s\n", action.c_str()); in V4L2GetUsbString()
342 std::string action = ""; in CheckBuf() local
345 V4L2GetUsbString(action, subsystem, devnode, buf, len); in CheckBuf()
346 UpdateV4L2UvcMatchDev(action, subsystem, devnode); in CheckBuf()
351 void HosV4L2UVC::UpdateV4L2UvcMatchDev(std::string& action, st argument
[all...]
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp253 void HosV4L2UVC::V4L2GetUsbString(std::string& action, std::string& subsystem, in V4L2GetUsbString() argument
264 if (action == "") { in V4L2GetUsbString()
267 action = ""; in V4L2GetUsbString()
269 action = std::string(retVal); in V4L2GetUsbString()
270 CAMERA_LOGD("UVC:V4L2GetUsbString action %{public}s\n", action.c_str()); in V4L2GetUsbString()
341 std::string action = ""; in CheckBuf() local
344 V4L2GetUsbString(action, subsystem, devnode, buf, len); in CheckBuf()
345 UpdateV4L2UvcMatchDev(action, subsystem, devnode); in CheckBuf()
350 void HosV4L2UVC::UpdateV4L2UvcMatchDev(std::string& action, st argument
[all...]
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Dbluetooth_a2dp_src_observer.cpp51 void BluetoothA2dpSrcObserver::OnMediaStackChanged(const OHOS::bluetooth::RawAddress &device, int action) in OnMediaStackChanged() argument
55 callbacks_->OnMediaStackChanged(device, action); in OnMediaStackChanged()
H A Dbluetooth_a2dp_audio_src_observer_stub.cpp102 int action = data.ReadInt32(); in OnMediaStackChangedInner() local
104 OnMediaStackChanged(RawAddress(addr), action); in OnMediaStackChangedInner() local
H A Daudio_bluetooth_manager.cpp109 static void AudioOnMediaStackChanged(const RawAddress &device, int action) in AudioOnMediaStackChanged() argument
112 (void) action; in AudioOnMediaStackChanged()
/drivers/peripheral/usb/ddk/host/include/
H A Dddk_uevent_queue.h23 const char *action; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_uvc.h53 void UpdateV4L2UvcMatchDev(std::string& action, std::string& subsystem, std::string& devnode);
55 void V4L2GetUsbString(std::string& action, std::string& subsystem,
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/
H A Dconftest.py30 "--browser", action="store", default="chrome", help="browser option: firefox or chrome"
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/
H A Dbluetooth_a2dp_src_observer.h31 void OnMediaStackChanged(const OHOS::bluetooth::RawAddress &device, int action);
H A Daudio_bluetooth_manager.h38 void (*OnMediaStackChanged)(const RawAddress &device, int action);
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/
H A Dmain.py32 arg_parser.add_argument('--run_as_daemon', action='store_true')
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_pnp_uevent.c102 const char *action; member
450 if (audioPnpUevent->action == NULL || audioPnpUevent->devName == NULL || audioPnpUevent->subSystem == NULL || in AudioUsbHeadsetDetectDevice()
462 if (strcmp(audioPnpUevent->action, UEVENT_ACTION_ADD) == 0) { in AudioUsbHeadsetDetectDevice()
468 } else if (strcmp(audioPnpUevent->action, UEVENT_ACTION_REMOVE) == 0) { in AudioUsbHeadsetDetectDevice()
520 if (strncmp(audioPnpUevent->action, UEVENT_ACTION_CHANGE, strlen(UEVENT_ACTION_CHANGE)) != 0) { in SetAudioEventValue()
586 &audioPnpUevent.action, &audioPnpUevent.devName, &audioPnpUevent.name, in AudioPnpUeventParse()
/drivers/hdf_core/adapter/khdf/linux/model/usb/host/src/
H A Dusb_pnp_notify.c637 static int32_t UsbPnpNotifyCallback(struct notifier_block *self, unsigned long action, void *dev) in UsbPnpNotifyCallback() argument
644 HDF_LOGI("%s: action=0x%lx", __func__, action); in UsbPnpNotifyCallback()
645 switch (action) { in UsbPnpNotifyCallback()
688 if (g_preAcion == action) { in UsbPnpNotifyCallback()
692 if (action == USB_GADGET_ADD) { in UsbPnpNotifyCallback()
702 g_preAcion = action; in UsbPnpNotifyCallback()
705 HDF_LOGI("%s: the action = 0x%lx is not defined!", __func__, action); in UsbPnpNotifyCallback()
/drivers/hdf_core/adapter/khdf/linux/manager/src/
H A Dhdf_kevent.c214 static int32_t KeventPmNotifierFn(struct notifier_block *nb, unsigned long action, void *dummy) in KeventPmNotifierFn() argument
223 HDF_LOGI("%s:action=%d", __func__, action); in KeventPmNotifierFn()
224 switch (action) { in KeventPmNotifierFn()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_set_handler.py54 action=ConfigItemsAction)
/drivers/hdf_core/framework/tools/idl-gen/
H A Didl_generator.py49 parser.add_argument("-v", "--version", help="Display version information", action="store_true")
50 parser.add_argument("-f", "--file", metavar="<*.h>", required=True, action='append',
/drivers/peripheral/ril/interfaces/hdi_service/src/
H A Dril_impl.cpp147 int32_t RilImpl::SetClip(int32_t slotId, int32_t serialId, int32_t action) in SetClip() argument
149 return TaskSchedule(&Telephony::HRilManager::SetClip, slotId, serialId, action); in SetClip()
157 int32_t RilImpl::SetClir(int32_t slotId, int32_t serialId, int32_t action) in SetClir() argument
159 return TaskSchedule(&Telephony::HRilManager::SetClir, slotId, serialId, action); in SetClir()
/drivers/peripheral/ril/interfaces/hdi_service/include/
H A Dril_impl.h59 int32_t SetClip(int32_t slotId, int32_t serialId, int32_t action) override;
61 int32_t SetClir(int32_t slotId, int32_t serialId, int32_t action) override;
/drivers/hdf_core/framework/tools/hdi-gen/
H A Dbuild_hdi_files_info.py988 action="append",
992 action="append",
/drivers/peripheral/wlan/client/src/netlink/
H A Dnetlink_cmd_adapter.c3264 uint8_t action[MAX_INDEX] = { 0 }; in WifiEventTxStatus() local
3266 action[i] = (uint8_t)((g_cookieSucess >> (i * BYTE_UNIT_8)) & 0xFF); in WifiEventTxStatus()
3269 action[ACK_INDEX] = NO_ACK; in WifiEventTxStatus()
3271 action[ACK_INDEX] = ACK; in WifiEventTxStatus()
3273 actionData.data = action; in WifiEventTxStatus()
3340 HILOG_ERROR(LOG_CORE, "%{public}s: send action failed", __FUNCTION__); in WifiSendActionFrame()

Completed in 21 milliseconds