/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/ |
H A D | graph.h | 117 …static std::string CycleAsString(Path cycle, std::string prompt = "L: ", std::string terminator = … 121 if (cycle.vertices.empty() || cycle.vertices.size() < 1 || 122 (cycle.edges.size() != (cycle.vertices.size() - 1))) { 127 auto edgeIt = cycle.edges.begin(); 128 for (auto vDataPtr : cycle.vertices) { 130 if (edgeIt != cycle.edges.end()) { 150 Path cycle = RunDfsFromVertex(seedIdx); in FindFirstCycle() local 151 if (!cycle.vertices.empty()) { in FindFirstCycle() 152 return cycle; in FindFirstCycle()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | bus_center_heartbeat_sdk_test.cpp | 86 GearMode mode1 = { .cycle = MID_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = false }; 87 GearMode mode2 = { .cycle = HIGH_FREQ_CYCLE, .duration = DEFAULT_DURATION, .wakeupFlag = true }; 88 GearMode mode3 = { .cycle = LOW_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = true }; 89 GearMode mode4 = { .cycle = HIGH_FREQ_CYCLE, .duration = NORMAL_DURATION, .wakeupFlag = true }; 90 GearMode mode5 = { .cycle = MID_FREQ_CYCLE, .duration = LONG_DURATION, .wakeupFlag = false };
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/shiftlnngear_fuzzer/ |
H A D | shiftlnngear_fuzzer.cpp | 41 g_mode.cycle = HIGH_FREQ_CYCLE; in GenRanDiscInfo() 44 g_mode.cycle = MID_FREQ_CYCLE; in GenRanDiscInfo() 47 g_mode.cycle = LOW_FREQ_CYCLE; in GenRanDiscInfo()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | idle_time.cpp | 78 int64_t cycle = elapsedTime / period ; in EventTask() local 80 …Tag::APPKIT, "EventTask idleTime %{public}" PRId64 ", cycle is %{public}" PRId64, idleTime, cycle); in EventTask() 81 if (idleTime > 0 && cycle < MAX_PERIOD_COUNT) { in EventTask()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/ |
H A D | hb_ctrl_deps_mock.cpp | 90 int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) in AuthSendKeepaliveOption() argument 92 return HeartBeatCtrlDepsInterface()->AuthSendKeepaliveOption(uuid, cycle); in AuthSendKeepaliveOption()
|
/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | Readme-CN.md | 31 - [使用Node-API进行environmental-life-cycle相关开发](use-napi-about-environmental-life-cycle.md) 33 - [使用Node-API进行life-cycle相关开发](use-napi-life-cycle.md) 78 - [使用JSVM-API接口进行生命周期相关开发](use-jsvm-life-cycle.md)
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/mock/ |
H A D | auth_mock.cpp | 88 int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) in AuthSendKeepaliveOption() argument 90 return GetAuthInterface()->AuthSendKeepaliveOption(uuid, cycle); in AuthSendKeepaliveOption()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
H A D | net_quota_policy.cpp | 199 std::string cycle = quotapolicy.periodDuration.substr(0, 1); in GetPeriodStart() local 202 if (cycle == PERIOD_DAY) { in GetPeriodStart() 206 } else if (cycle == PERIOD_YEAR) { in GetPeriodStart()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_tcp_connection.c | 700 static int32_t GetTcpKeepaliveOptionByCycle(ModeCycle cycle, TcpKeepaliveOption *tcpKeepaliveOption) in GetTcpKeepaliveOptionByCycle() argument 706 switch (cycle) { in GetTcpKeepaliveOptionByCycle() 724 AUTH_LOGE(AUTH_CONN, "no match cycle, cycle=%{public}d", cycle); in GetTcpKeepaliveOptionByCycle() 727 tcpKeepaliveOption->keepaliveIdle = (int32_t)cycle; in GetTcpKeepaliveOptionByCycle() 732 int32_t AuthSetTcpKeepaliveOption(int32_t fd, ModeCycle cycle) in AuthSetTcpKeepaliveOption() argument 734 if (fd <= 0 || cycle < HIGH_FREQ_CYCLE || cycle > DEFAULT_FREQ_CYCLE) { in AuthSetTcpKeepaliveOption() 740 if (GetTcpKeepaliveOptionByCycle(cycle, &tcpKeepaliveOption) != SOFTBUS_OK) { in AuthSetTcpKeepaliveOption()
|
H A D | auth_session_message.c | 382 static char *PackKeepaliveMessage(const char *uuid, ModeCycle cycle) in PackKeepaliveMessage() argument 390 !JSON_AddInt32ToObject(obj, TIME, cycle)) { in PackKeepaliveMessage() 437 if (JSON_GetInt32FromOject(json, TIME, (int32_t *)&messageParse->cycle)) { in IsDeviceMessagePacket() 438 … AUTH_LOGI(AUTH_FSM, "parse keepalive cycle success, cycle=%{public}d", messageParse->cycle); in IsDeviceMessagePacket() 550 msg = PackKeepaliveMessage(auth->uuid, messageParse->cycle); in PostDeviceMessage()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_strategy.c | 104 dumpCount, info->callerId, info->mode.cycle, info->mode.duration, info->mode.wakeupFlag, in DumpGearModeSettingList() 135 if (mode->cycle != 0 && mode->cycle < info->mode.cycle) { in GetGearModeFromSettingList() 138 if (mode->cycle == info->mode.cycle && !info->mode.wakeupFlag) { in GetGearModeFromSettingList() 153 tmpCallerId, mode->cycle, mode->duration, mode->wakeupFlag); in GetGearModeFromSettingList() 641 uint64_t delayMillis = (uint64_t)mode.cycle * HB_TIME_FACTOR; in AdjustablePeriodSendStrategy() 654 .cycle = LOW_FREQ_CYCLE, in RegistParamMgrBySpecificType() 892 uint64_t delayMillis = (uint64_t)mode.cycle * HB_TIME_FACTOR + HB_NOTIFY_DEV_LOST_DELAY_LEN; in LnnStartOfflineTimingStrategy()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_traffic.cpp | 440 std::string cycle = periodDuration.substr(0, 1); in IsValidPeriodDuration() local 444 if (cycle == PERIOD_DAY) { in IsValidPeriodDuration() 450 if (cycle == PERIOD_MONTH) { in IsValidPeriodDuration() 456 if (cycle == PERIOD_YEAR) { in IsValidPeriodDuration() 462 cycle.c_str()); in IsValidPeriodDuration()
|
/ohos5.0/foundation/resourceschedule/work_scheduler/frameworks/include/ |
H A D | work_info.h | 93 void RequestRepeatCycle(uint32_t timeInterval, int32_t cycle); 106 void RequestBaseTimeAndCycle(time_t baseTime, int32_t cycle);
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-perf.md | 77 …YCLE | Time-consuming Calc Methods->By Cpu Cycle | Perf计时单位为cycle | YES/NO | 88 3种事件类型:CPU硬件事件(cycle、branch、icache、dcache等)、高精度周期事件(cpu clock)、OS软件事件(task switch、mux pend、irq等)。 176 .predivided = 1, /* cycle counter increase every 64 cycles */
|
H A D | kernel-small-basic-time.md | 35 | 时间统计 | LOS_TickCountGet:获取当前Tick数<br/>LOS_CyclePerTickGet:每个Tick的cycle数 |
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/ |
H A D | peak_finder.h | 96 DownwardTrendInfo(bool isDecay, double drop, double cycle) in DownwardTrendInfo() 100 ducyCycle = cycle; in DownwardTrendInfo()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/demo/bus_center/ |
H A D | shift_lnn_gear_demo.c | 35 .cycle = MID_FREQ_CYCLE, in main()
|
/ohos5.0/base/update/packaging_tools/ |
H A D | gigraph_process.py | 181 self.cycle = DirectedCycle(graph) 182 if not self.cycle.has_cycle:
|
H A D | blocks_manager.py | 180 heapq.merge(zip(self.range_data, itertools.cycle((-5, +5))), 181 zip(other.range_data, itertools.cycle((-1, +1)))):
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-locale-culture.md | 22 … user, including the calendar, string collation, numeral system, and hour cycle. The value starts … 30 | hc | Hour cycle used by the user. For example, **h11** indicates the hour cycle from 0 to 11.|
|
/ohos5.0/foundation/ability/ability_lite/interfaces/kits/ability_lite/ |
H A D | README.md | 2 …can interactive with AMS `Ability Manager Service`. In addition, the life cycle of these applicati…
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/include/ |
H A D | auth_tcp_connection.h | 61 int32_t AuthSetTcpKeepaliveOption(int32_t fd, ModeCycle cycle);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/ |
H A D | hb_ctrl_deps_mock.h | 42 virtual int32_t AuthSendKeepaliveOption(const char *uuid, ModeCycle cycle) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/heartbeat/ |
H A D | hb_strategy_test.cpp | 302 .cycle = MID_FREQ_CYCLE, 342 .cycle = MID_FREQ_CYCLE, 386 .cycle = MID_FREQ_CYCLE,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | pipeline_context_test_ng.h | 73 static void CreateCycleDirtyNode(int cycle, bool& flagUpdate);
|