Home
last modified time | relevance | path

Searched refs:timeOut (Results 1 – 25 of 34) sorted by relevance

12

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/
Dapp_event_watcher.cpp74 ++status_.timeOut; in ProcessTimeOut()
75 if ((cond_.timeOut > 0 && status_.timeOut >= cond_.timeOut) && status_.row > 0) { in ProcessTimeOut()
96 status_.timeOut = 0; in ResetStatus()
Dapp_event_watcher_mgr.cpp58 if (watcher->GetCond().timeOut > 0 && handler_ == nullptr) { in AddWatcher()
81 return watcher.second->GetCond().timeOut > 0; in RemoveWatcher()
/base/sensors/miscdevice/frameworks/native/miscdevice/src/
Dvibrator_service_client.cpp71 int32_t VibratorServiceClient::Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) in Vibrate() argument
73 MISC_HILOGD("Vibrate begin, timeOut : %{public}u", timeOut); in Vibrate()
81 ret = miscdeviceProxy_->Vibrate(vibratorId, timeOut, usage); in Vibrate()
Dmiscdevice_service_proxy.cpp34 int32_t MiscdeviceServiceProxy::Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) in Vibrate() argument
47 if (!data.WriteInt32(timeOut)) { in Vibrate()
/base/usb/usb_manager/interfaces/innerkits/native/src/
Dusb_device_pipe.cpp53 …ePipe::BulkTransfer(const USBEndpoint &endpoint, std::vector<uint8_t> &bufferData, int32_t timeOut) in BulkTransfer() argument
55 return UsbSrvClient::GetInstance().BulkTransfer(*this, endpoint, bufferData, timeOut); in BulkTransfer()
Dusb_srv_client.cpp232 …SBDevicePipe &pipe, const USBEndpoint &endpoint, std::vector<uint8_t> &bufferData, int32_t timeOut) in BulkTransfer() argument
239 ret = proxy_->BulkTransferRead(tdev, tpipe, bufferData, timeOut); in BulkTransfer()
241 ret = proxy_->BulkTransferWrite(tdev, tpipe, bufferData, timeOut); in BulkTransfer()
303 int32_t UsbSrvClient::PipeRequestWait(USBDevicePipe &pipe, int64_t timeOut, UsbRequest &req) in PipeRequestWait() argument
309 int32_t ret = proxy_->RequestWait(tdev, timeOut, clientData, bufferData); in PipeRequestWait()
/base/usb/usb_manager/interfaces/kits/js/napi/include/
Dusb_async_context.h95 int32_t timeOut = 0; member
102 int32_t timeOut = 0; member
/base/sensors/miscdevice/services/miscdevice_service/src/
Dmiscdevice_service.cpp157 int32_t MiscdeviceService::Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) in Vibrate() argument
159 if ((timeOut <= MIN_VIBRATOR_TIME) || (timeOut > MAX_VIBRATOR_TIME) in Vibrate()
170 .duration = timeOut in Vibrate()
/base/sensors/miscdevice/frameworks/native/miscdevice/include/
Dvibrator_service_client.h28 int32_t Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage);
Di_miscdevice_service.h33 virtual int32_t Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) = 0;
Dmiscdevice_service_proxy.h29 virtual int32_t Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) override;
/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_watcher_test.cpp78 TriggerCondition BuildCondition(int row, int size, int timeOut) in BuildCondition() argument
83 .timeOut = timeOut, in BuildCondition()
/base/usb/usb_manager/interfaces/innerkits/native/include/
Diusb_srv.h80 std::vector<uint8_t> &bufferData, int32_t timeOut) = 0;
82 const std::vector<uint8_t> &bufferData, int32_t timeOut) = 0;
92 …virtual int32_t RequestWait(const HDI::Usb::V1_0::UsbDev &dev, int32_t timeOut, std::vector<uint8_…
Dusb_device_pipe.h31 …t32_t BulkTransfer(const USBEndpoint &endpoint, std::vector<uint8_t> &bufferData, int32_t timeOut);
Dusb_srv_client.h61 int32_t timeOut);
69 int32_t PipeRequestWait(USBDevicePipe &pip, int64_t timeOut, UsbRequest &req);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/watcher/include/
Dapp_event_watcher.h27 int timeOut; member
/base/usb/usb_manager/services/zidl/include/
Dusb_server_proxy.h50 std::vector<uint8_t> &bufferData, int32_t timeOut) override;
52 const std::vector<uint8_t> &bufferData, int32_t timeOut) override;
63 …int32_t RequestWait(const HDI::Usb::V1_0::UsbDev &dev, int32_t timeOut, std::vector<uint8_t> &clie…
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp374 int32_t timeOut = 0; in DoBulkTransferRead() local
379 READ_PARCEL_WITH_RET(data, Int32, timeOut, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoBulkTransferRead()
383 int32_t ret = BulkTransferRead(tmpDev, tmpPipe, bufferData, timeOut); in DoBulkTransferRead()
402 int32_t timeOut = 0; in DoBulkTransferWrite() local
407 READ_PARCEL_WITH_RET(data, Int32, timeOut, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoBulkTransferWrite()
416 ret = BulkTransferWrite(tmpDev, tmpPipe, bufferData, timeOut); in DoBulkTransferWrite()
432 int32_t timeOut; in DoControlTransfer() local
440 READ_PARCEL_WITH_RET(data, Int32, timeOut, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoControlTransfer()
450 const UsbCtrlTransfer tctrl = {requestType, request, value, index, timeOut}; in DoControlTransfer()
579 int32_t timeOut = 0; in DoRequestWait() local
[all …]
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_napi.cpp94 uint32_t timeOut; in Hold() local
95 if (napi_ok != napi_get_value_uint32(env, argv[INDEX_0], &timeOut)) { in Hold()
101 runningLock->Lock(timeOut); in Hold()
Drunninglock_interface.cpp136 uint32_t timeOut; in Lock() local
137 status = napi_get_value_uint32(env, args[0], &timeOut); in Lock()
152 entity->runningLock->Lock(timeOut); in Lock()
/base/usb/usb_manager/services/native/include/
Dusb_service.h80 std::vector<uint8_t> &bufferData, int32_t timeOut) override;
82 const std::vector<uint8_t> &bufferData, int32_t timeOut) override;
92 …int32_t RequestWait(const HDI::Usb::V1_0::UsbDev &dev, int32_t timeOut, std::vector<uint8_t> &clie…
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_trace_test.cpp109 bool timeOut = false; in Wait() local
114 timeOut = true; in Wait()
118 EXPECT_FALSE(timeOut); in Wait()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_watch.cpp173 .timeOut = 0 in GetCondition()
195 int timeOut = GetConditionValue(env, cond, COND_PROPS[index++]); in GetCondition() local
196 if (timeOut < 0) { in GetCondition()
/base/sensors/miscdevice/services/miscdevice_service/include/
Dmiscdevice_service.h57 virtual int32_t Vibrate(int32_t vibratorId, int32_t timeOut, int32_t usage) override;
/base/telephony/ril_adapter/services/vendor/src/
Dat_call.c364 long timeOut = DEFAULT_TIMEOUT; in ReqGetCallList() local
366 ret = SendCommandLock("AT+CLCC", "+CLCC:", timeOut, &pResponse); in ReqGetCallList()
1004 long long timeOut = DEFAULT_TIMEOUT_CLCK; in ReqGetCallRestriction() local
1017 err = SendCommandLock(cmd, "+CLCK:", timeOut, &pResponse); in ReqGetCallRestriction()
1047 long long timeOut = DEFAULT_TIMEOUT; in ReqSetCallRestriction() local
1058 err = SendCommandLock(cmd, NULL, timeOut, &pResponse); in ReqSetCallRestriction()
1074 long long timeOut = DEFAULT_TIMEOUT; in ReqSetBarringPassword() local
1085 int32_t err = SendCommandLock(cmd, NULL, timeOut, &pResponse); in ReqSetBarringPassword()
1413 long timeOut = DEFAULT_TIMEOUT; in ReqGetEmergencyCallList() local
1415 ret = SendCommandLock("AT^XLEMA?", "^XLEMA:", timeOut, &pResponse); in ReqGetEmergencyCallList()

12