Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 32) sorted by relevance

12

/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/
DRequestCreateTask.test.ets61 * @tc.desc: Test create task when lack action
82 * @tc.desc: Test create task when action is string
104 * @tc.desc: Test create task when action is 2
126 * @tc.desc: Test create task when action is UPLOAD
147 * @tc.desc: Test create task when action is DOWNLOAD
172 * @tc.desc: Test create task when lack url
193 * @tc.desc: Test create task when url is empty
215 * @tc.desc: Test create task when url is not support download
233 * @tc.desc: Test create task when url is not support upload
254 * @tc.desc: Test create task when title is given
[all …]
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h44 static inline int64_t TimePointToTimeOut(const InnerEvent::TimePoint &when) in TimePointToTimeOut() argument
47 if (when <= now) { in TimePointToTimeOut()
51 auto duration = when - now; in TimePointToTimeOut()
/base/time/time_service/services/timer/src/
Dtimer_handler.cpp105 int TimerHandler::Set(uint32_t type, std::chrono::nanoseconds when) in Set() argument
112 auto second = std::chrono::duration_cast<std::chrono::seconds>(when); in Set()
113 timespec ts {second.count(), (when - second).count()}; in Set()
Dtimer_info.cpp52 when {_when},
79 when = currentTime + offsetMill; in UpdateWhenElapsed()
Dtimer_manager.cpp249 std::chrono::milliseconds when, in SetHandlerLocked() argument
261 auto alarm = std::make_shared<TimerInfo>(id, type, when, whenElapsed, windowLength, maxWhen, in SetHandlerLocked()
379 auto whenElapsed = ConvertToElapsed(timer->when, timer->type); in ReAddTimerLocked()
398 std::chrono::steady_clock::time_point TimerManager::ConvertToElapsed(std::chrono::milliseconds when in ConvertToElapsed() argument
404 auto offset = when - systemTimeNow; in ConvertToElapsed()
410 auto offset = when - bootTimeNow; in ConvertToElapsed()
517 … SetHandlerLocked(alarm->id, alarm->type, alarm->when + delta, nextElapsed, alarm->windowLength, in TriggerTimersLocked()
565 void TimerManager::SetLocked(int type, std::chrono::nanoseconds when) in SetLocked() argument
567 handler_->Set(static_cast<uint32_t>(type), when); in SetLocked()
777 …auto offset = ConvertToElapsed(mPendingIdleUntil_->when, mPendingIdleUntil_->type) - GetBootTimeNs… in AdjustDeliveryTimeBasedOnDeviceIdle()
/base/time/time_service/services/timer/include/
Dtimer_info.h37 std::chrono::milliseconds when; variable
47 std::chrono::milliseconds when,
Dtimer_handler.h36 int Set(uint32_t type, std::chrono::nanoseconds when);
Dtimer_manager.h68 std::chrono::milliseconds when,
95 void SetLocked(int type, std::chrono::nanoseconds when);
96 … std::chrono::steady_clock::time_point ConvertToElapsed(std::chrono::milliseconds when, int type);
/base/update/updater/services/package/pkg_manager/
Dpkg_utils.cpp182 void ExtraTimeAndDate(time_t when, uint16_t &date, uint16_t &time) in GetFileSize() argument
184 when = static_cast<time_t>((static_cast<unsigned long>(when) + 1) & (~1)); in GetFileSize()
187 localtime_s(&nowTime, &when); in GetFileSize()
189 localtime_r(&when, &nowTime); in GetFileSize()
Dpkg_utils.h42 void ExtraTimeAndDate(time_t when, uint16_t &date, uint16_t &time);
/base/security/permission_lite/services/pms/include/
Dperm_define.h60 enum GrantTime when; member
/base/powermgr/battery_manager/test/unittest/
DBUILD.gn76 ### test exceptions when Remote() return nullptr
108 ### test exceptions when MessageParcel::WriteInterfaceToken() return false
140 ### test exceptions when SendRequest() return value not equal ERR_OK
173 ### test exceptions when read reply MessageParcel error
/base/security/huks/frameworks/huks_standard/main/common/
DBUILD.gn30 [ ":huks_config" ] # Share include files for other gn when deps.
64 [ ":huks_config" ] # Share include files for other gn when deps.
/base/security/permission_lite/
DREADME_zh.md139 "when": "always"
149 "when": "always"
159 "when": "always"
177 "when": "always"
187 "when": "always"
197 "when": "always"
DREADME.md89 "when": "always"
99 "when": "always"
109 "when": "always"
127 "when": "always"
137 "when": "always"
147 "when": "always"
/base/sensors/start/
DREADME.md24 …itee.com/openharmony/sensors_miscdevice) part compartments, respectively. when selecting a part, t…
25 …ation items for the 3601 service. The sensors.xml file starts the service when the sensors process…
/base/update/updater/test/unittest/test_data/diffpatch/
Dpatchtest.new27 # will be the string passed as the name when the template is invoked.
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/
DBUILD.gn34 [ ":cert_manager_config" ] # Share include files for other gn when deps.
/base/update/update_app/feature/ota/src/main/ets/dialog/
DDialogHelper.ets56 logInfo('Callback when the first button is clicked');
64 logInfo('Callback when the second button is clicked');
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/ServiceExtAbility/
DUsbFunctionSwitchWindowAbility.ets40 * Lifecycle function, called back when a service extension is started for initialization.
52 * Lifecycle function, called back when a service extension is started or recall.
/base/hiviewdfx/hichecker/
DREADME.md54 … | Defines a caution rule, which is programmed to print a log when an alarm is generat…
55 …fines a caution rule, which is programmed to force an application to exit when an alarm is generat…
/base/notification/eventhandler/interfaces/inner_api/
Devent_queue.h249 void WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock);
/base/update/update_app/common/src/main/ets/component/
DHomeCardView.ets68 this.onChange(); // when video Prepared.
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/util/
DNotificationUtil.ets65 * @param id, Support specifying notification id when publishing notifications
/base/time/time_service/
DREADME.md61 | wantAgent | wantAgent | Set the wantagent to notify, and notify when the timer expires. |

12