Home
last modified time | relevance | path

Searched refs:state (Results 1 - 25 of 3793) sorted by relevance

12345678910>>...152

/base/global/resource_management/interfaces/cj/src/
H A Dresource_manager_impl.cpp62 RState state = resMgr_->CloseRawFileDescriptor(name); in CloseRawFd() local
63 if (state != RState::SUCCESS) { in CloseRawFd()
64 LOGE("ResourceManagerImpl::CloseRawFd failed %{public}" PRIu32, state); in CloseRawFd()
68 return state; in CloseRawFd()
74 RState state = resMgr_->GetRawFileDescriptorFromHap(rawFileName, descriptor); in GetRawFd() local
75 if (state != RState::SUCCESS) { in GetRawFd()
76 LOGE("ResourceManagerImpl::GetRawFd failed %{public}" PRIu32, state); in GetRawFd()
80 return state; in GetRawFd()
86 RState state = resMgr_->GetRawFileFromHap(name, len, outValue); in GetRawFileContent() local
87 if (state ! in GetRawFileContent()
97 RState state = resMgr_->GetRawFileList(rawDirPath, rawfileList); GetRawFileList() local
109 RState state = resMgr_->GetColorByName(name, outValue); GetColorByName() local
120 RState state = resMgr_->GetColorById(id, outValue); GetColorById() local
131 RState state = resMgr_->GetPluralStringByIdFormat(outValue, resId, num, num); GetPluralStringValue() local
142 RState state = resMgr_->GetStringArrayById(resId, outValue); GetStringArrayValue() local
153 RState state = resMgr_->GetStringArrayByName(name, outValue); GetStringArrayByName() local
164 RState state = resMgr_->GetStringById(resId, outValue); GetString() local
175 RState state = resMgr_->GetStringByName(name, outValue); GetStringByName() local
186 RState state = resMgr_->GetPluralStringByNameFormat(outValue, name, num, num); GetPluralStringValue() local
197 bool state = resMgr_->AddAppOverlay(path); AddResource() local
206 bool state = resMgr_->RemoveAppOverlay(path); RemoveResource() local
215 RState state = resMgr_->GetBooleanById(id, outValue); GetBooleanById() local
226 RState state = resMgr_->GetBooleanByName(name, outValue); GetBooleanByName() local
237 RState state = resMgr_->GetIntegerById(id, outValue); GetIntegerById() local
248 RState state = resMgr_->GetIntegerByName(name, outValue); GetIntegerByName() local
259 RState state = resMgr_->GetFloatById(id, outValue); GetFloatById() local
270 RState state = resMgr_->GetFloatByName(name, outValue); GetFloatByName() local
309 RState state = resMgr_->GetMediaDataByName(name, len, outValue, density); GetMediaDataByName() local
321 RState state = resMgr_->GetMediaDataById(id, len, outValue, density); GetMediaDataById() local
332 RState state = resMgr_->GetMediaBase64DataById(id, outValue, density); GetMediaContentBase64ById() local
343 RState state = resMgr_->GetMediaBase64DataByName(name, outValue, density); GetMediaContentBase64ByName() local
354 RState state = SUCCESS; GetDrawableDescriptor() local
372 RState state = SUCCESS; GetDrawableDescriptorByName() local
440 GetDrawableDescriptorPtr(uint32_t id, std::shared_ptr<Global::Resource::ResourceManager> resMgr, uint32_t density, RState &state) GetDrawableDescriptorPtr() argument
461 RState state = resMgr_->GetSymbolById(id, outValue); GetSymbolById() local
472 RState state = resMgr_->GetSymbolByName(name, outValue); GetSymbolByName() local
[all...]
/foundation/communication/dsoftbus/tests/adapter/common/src/
H A Dlnn_wifiservice_monitor_test.cpp69 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; in HWTEST_F() local
71 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::OBTAINING_IPADDR, &state); in HWTEST_F()
72 EXPECT_EQ(state, SOFTBUS_WIFI_OBTAINING_IPADDR); in HWTEST_F()
74 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::CONNECTED, &state); in HWTEST_F()
75 EXPECT_EQ(state, SOFTBUS_WIFI_CONNECTED); in HWTEST_F()
77 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::DISCONNECTED, &state); in HWTEST_F()
78 EXPECT_EQ(state, SOFTBUS_WIFI_DISCONNECTED); in HWTEST_F()
80 state = SOFTBUS_WIFI_UNKNOWN; in HWTEST_F()
81 EventFwk::SetSoftBusWifiConnState((int)OHOS::Wifi::ConnState::UNKNOWN, &state); in HWTEST_F()
82 EXPECT_EQ(state, SOFTBUS_WIFI_UNKNOW in HWTEST_F()
93 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; HWTEST_F() local
114 SoftBusWifiState state = SOFTBUS_WIFI_UNKNOWN; HWTEST_F() local
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/benchmark/
H A Dbenchmark_audiorenderer_test.cpp40 void SetUp(const ::benchmark::State &state) override
55 void TearDown(const ::benchmark::State &state) override
71 benchmark::State &state) in BENCHMARK_F()
73 while (state.KeepRunning()) in BENCHMARK_F()
78 state.SkipWithError("StartAbilityTestCase audioRenderer start failed."); in BENCHMARK_F()
81 state.PauseTiming(); in BENCHMARK_F()
85 state.SkipWithError("StartAbilityTestCase audioRenderer start failed."); in BENCHMARK_F()
87 state.ResumeTiming(); in BENCHMARK_F()
94 benchmark::State &state) in BENCHMARK_F()
96 while (state in BENCHMARK_F()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/benchmark/
H A Dbenchmark_audiomanager_test.cpp41 void SetUp(const ::benchmark::State &state) override
48 void TearDown(const ::benchmark::State &state) override
64 benchmark::State &state) in BENCHMARK_F()
66 while (state.KeepRunning()) in BENCHMARK_F()
71 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive true failed."); in BENCHMARK_F()
73 state.PauseTiming(); in BENCHMARK_F()
77 state.SkipWithError("SetDeviceActiveAbilityTestCase audioManager SetDeviceActive false failed."); in BENCHMARK_F()
79 state.ResumeTiming(); in BENCHMARK_F()
86 benchmark::State &state) in BENCHMARK_F()
88 while (state in BENCHMARK_F()
[all...]
/drivers/hdf_core/adapter/khdf/linux/platform/pwm/
H A Dpwm_hi35xx_linux.c39 static int Hi35xxPwmApply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) in Hi35xxPwmApply() argument
41 static int Hi35xxPwmApply(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) in Hi35xxPwmApply()
47 if (hi35xxChip == NULL || pwm == NULL || state == NULL) { in Hi35xxPwmApply()
52 if (state->polarity != PWM_POLARITY_NORMAL && state->polarity != PWM_POLARITY_INVERSED) { in Hi35xxPwmApply()
53 HDF_LOGE("Hi35xxPwmApply: polarity %u is invalid!", state->polarity); in Hi35xxPwmApply()
57 if (state->period < PWM_MIN_PERIOD) { in Hi35xxPwmApply()
58 HDF_LOGE("Hi35xxPwmApply: period %llu is not support, min period %d!", state->period, PWM_MIN_PERIOD); in Hi35xxPwmApply()
61 if (state->duty_cycle < 1 || state in Hi35xxPwmApply()
93 Hi35xxGetState(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) Hi35xxGetState() argument
[all...]
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_test.cpp218 RState state; in HWTEST_F() local
226 state = rm->UpdateResConfig(*rc); in HWTEST_F()
228 EXPECT_EQ(SUCCESS, state); in HWTEST_F()
239 RState state; in HWTEST_F() local
245 state = rm->UpdateResConfig(*rc); in HWTEST_F()
247 EXPECT_EQ(LOCALEINFO_IS_NULL, state); in HWTEST_F()
258 RState state; in HWTEST_F() local
265 state = rm->UpdateResConfig(*rc); in HWTEST_F()
267 EXPECT_EQ(LOCALEINFO_IS_NULL, state); in HWTEST_F()
280 RState state; in HWTEST_F() local
320 RState state; HWTEST_F() local
356 RState state; HWTEST_F() local
422 RState state = rm->GetStringById(NON_EXIST_ID, outValue); HWTEST_F() local
472 RState state = rm->GetStringByName(g_nonExistName, outValue); HWTEST_F() local
489 RState state = rm->GetStringFormatById(outValue, id, 101); HWTEST_F() local
504 RState state = rm->GetStringFormatById(outValue, NON_EXIST_ID, 101); HWTEST_F() local
519 RState state = rm->GetStringFormatByName(outValue, name, 101); HWTEST_F() local
534 RState state = rm->GetStringFormatByName(outValue, g_nonExistName, 101); HWTEST_F() local
549 RState state; HWTEST_F() local
573 RState state; HWTEST_F() local
591 RState state; HWTEST_F() local
609 RState state; HWTEST_F() local
628 RState state; HWTEST_F() local
649 RState state; HWTEST_F() local
670 RState state; HWTEST_F() local
690 RState state; HWTEST_F() local
707 RState state; HWTEST_F() local
725 RState state; HWTEST_F() local
743 RState state; HWTEST_F() local
761 RState state; HWTEST_F() local
854 RState state; HWTEST_F() local
885 RState state; HWTEST_F() local
916 RState state; HWTEST_F() local
947 RState state; HWTEST_F() local
963 RState state; HWTEST_F() local
981 RState state; HWTEST_F() local
996 RState state; HWTEST_F() local
1016 RState state; HWTEST_F() local
1031 RState state; HWTEST_F() local
1055 RState state; HWTEST_F() local
1070 RState state; HWTEST_F() local
1090 RState state; HWTEST_F() local
1105 RState state; HWTEST_F() local
1129 RState state; HWTEST_F() local
1144 RState state; HWTEST_F() local
1164 RState state; HWTEST_F() local
1179 RState state; HWTEST_F() local
1203 RState state; HWTEST_F() local
1218 RState state; HWTEST_F() local
1238 RState state; HWTEST_F() local
1253 RState state; HWTEST_F() local
1274 RState state; HWTEST_F() local
1289 RState state; HWTEST_F() local
1308 RState state; HWTEST_F() local
1323 RState state; HWTEST_F() local
1347 RState state; HWTEST_F() local
1362 RState state; HWTEST_F() local
1382 RState state; HWTEST_F() local
1402 RState state; HWTEST_F() local
1421 RState state; HWTEST_F() local
1441 RState state; HWTEST_F() local
1458 RState state; HWTEST_F() local
1478 RState state; HWTEST_F() local
1497 RState state; HWTEST_F() local
1517 RState state; HWTEST_F() local
1534 RState state; HWTEST_F() local
1694 RState state; HWTEST_F() local
[all...]
H A Dlocale_info_test.cpp174 RState state = SUCCESS; in HWTEST_F() local
175 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
200 RState state = SUCCESS; in HWTEST_F() local
201 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
216 localeInfo = BuildFromString("en-US", '-', state); in HWTEST_F()
227 localeInfo = BuildFromString("en-Qaag-US", '-', state); in HWTEST_F()
253 RState state = SUCCESS; in HWTEST_F() local
254 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
271 RState state = SUCCESS; in HWTEST_F() local
272 LocaleInfo* localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
289 RState state = SUCCESS; HWTEST_F() local
307 RState state = SUCCESS; HWTEST_F() local
328 RState state = SUCCESS; HWTEST_F() local
343 RState state = SUCCESS; HWTEST_F() local
358 RState state = SUCCESS; HWTEST_F() local
373 RState state = SUCCESS; HWTEST_F() local
388 RState state = SUCCESS; HWTEST_F() local
409 RState state = SUCCESS; HWTEST_F() local
430 RState state = SUCCESS; HWTEST_F() local
445 RState state = SUCCESS; HWTEST_F() local
460 RState state = SUCCESS; HWTEST_F() local
481 RState state = SUCCESS; HWTEST_F() local
502 RState state = SUCCESS; HWTEST_F() local
517 RState state = SUCCESS; HWTEST_F() local
538 RState state = SUCCESS; HWTEST_F() local
553 RState state = SUCCESS; HWTEST_F() local
568 RState state = SUCCESS; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/sdk/bus_center/benchmarktest/
H A Dbus_center_test.cpp68 void SetUp(const ::benchmark::State &state) override
153 BENCHMARK_F(BusCenterTest, RegNodeDeviceStateCbTestCase)(benchmark::State &state) in BENCHMARK_F()
155 while (state.KeepRunning()) { in BENCHMARK_F()
156 state.ResumeTiming(); in BENCHMARK_F()
159 state.SkipWithError("RegNodeDeviceStateCbTestCase failed."); in BENCHMARK_F()
161 state.PauseTiming(); in BENCHMARK_F()
173 BENCHMARK_F(BusCenterTest, UnregNodeDeviceStateCbTestCase)(benchmark::State &state) in BENCHMARK_F()
175 while (state.KeepRunning()) { in BENCHMARK_F()
176 state.PauseTiming(); in BENCHMARK_F()
178 state in BENCHMARK_F()
[all...]
/base/time/time_service/framework/cj/src/
H A Dsystem_date_time_ffi.cpp38 auto [state, time] = SystemDateTimeImpl::getCurrentTime(isNano); in FfiOHOSSysDateTimegetCurrentTime()
39 if (state != SUCCESS_CODE) { in FfiOHOSSysDateTimegetCurrentTime()
40 ret.code = state; in FfiOHOSSysDateTimegetCurrentTime()
44 ret.code = state; in FfiOHOSSysDateTimegetCurrentTime()
52 auto [state, time] = SystemDateTimeImpl::getRealActiveTime(isNano); in FfiOHOSSysDateTimegetRealActiveTime()
53 if (state != SUCCESS_CODE) { in FfiOHOSSysDateTimegetRealActiveTime()
54 ret.code = state; in FfiOHOSSysDateTimegetRealActiveTime()
58 ret.code = state; in FfiOHOSSysDateTimegetRealActiveTime()
66 auto [state, time] = SystemDateTimeImpl::getRealTime(isNano); in FfiOHOSSysDateTimegetRealTime()
67 if (state ! in FfiOHOSSysDateTimegetRealTime()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dstate_style_manager.h41 // StateStyleManager is mainly used to manage the setting and refresh of state styles.
49 bool HasStateStyle(UIState state) const in HasStateStyle()
51 return (supportedStates_ & state) == state; in HasStateStyle()
59 void AddSupportedState(UIState state) in AddSupportedState() argument
61 supportedStates_ = supportedStates_ | state; in AddSupportedState()
64 void SetSupportedStates(UIState state) in SetSupportedStates() argument
66 supportedStates_ = state; in SetSupportedStates()
69 bool IsCurrentStateOn(UIState state) const in IsCurrentStateOn()
71 if (state in IsCurrentStateOn()
77 SetCurrentUIState(UIState state, bool flag) SetCurrentUIState() argument
86 UpdateCurrentUIState(UIState state) UpdateCurrentUIState() argument
98 ResetCurrentUIState(UIState state) ResetCurrentUIState() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_settings_config.cpp27 RetError AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() argument
30 enabled_ = state; in SetEnabled()
34 RetError AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() argument
37 eventTouchGuideState_ = state; in SetTouchGuideState()
41 RetError AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() argument
44 gesturesSimulation_ = state; in SetGestureState()
48 RetError AccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() argument
51 filteringKeyEvents_ = state; in SetKeyEventObserverState()
55 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() argument
58 isCaptionState_ = state; in SetCaptionState()
62 SetScreenMagnificationState(const bool state) SetScreenMagnificationState() argument
76 SetShortKeyState(const bool state) SetShortKeyState() argument
83 SetShortKeyOnLockScreenState(const bool state) SetShortKeyOnLockScreenState() argument
97 SetMouseKeyState(const bool state) SetMouseKeyState() argument
138 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
145 SetDaltonizationState(const bool state) SetDaltonizationState() argument
152 SetInvertColorState(const bool state) SetInvertColorState() argument
159 SetAnimationOffState(const bool state) SetAnimationOffState() argument
166 SetAudioMonoState(const bool state) SetAudioMonoState() argument
194 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
373 uint32_t state = 0; GetConfigState() local
408 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
422 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
[all...]
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/
H A Dmock_mt_accessibility_settings_config.cpp27 RetError MockAccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() argument
30 enabled_ = state; in SetEnabled()
34 RetError MockAccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() argument
37 eventTouchGuideState_ = state; in SetTouchGuideState()
41 RetError MockAccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() argument
44 gesturesSimulation_ = state; in SetGestureState()
48 RetError MockAccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() argument
51 filteringKeyEvents_ = state; in SetKeyEventObserverState()
55 RetError MockAccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() argument
58 isCaptionState_ = state; in SetCaptionState()
62 SetScreenMagnificationState(const bool state) SetScreenMagnificationState() argument
76 SetShortKeyState(const bool state) SetShortKeyState() argument
83 SetShortKeyOnLockScreenState(const bool state) SetShortKeyOnLockScreenState() argument
97 SetMouseKeyState(const bool state) SetMouseKeyState() argument
138 SetHighContrastTextState(const bool state) SetHighContrastTextState() argument
145 SetDaltonizationState(const bool state) SetDaltonizationState() argument
152 SetInvertColorState(const bool state) SetInvertColorState() argument
159 SetAnimationOffState(const bool state) SetAnimationOffState() argument
166 SetAudioMonoState(const bool state) SetAudioMonoState() argument
194 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
373 uint32_t state = 0; GetConfigState() local
408 SetIgnoreRepeatClickState(const bool state) SetIgnoreRepeatClickState() argument
422 SetStartFromAtoHosState(const bool state) SetStartFromAtoHosState() argument
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dstate_pattern_naive.h21 * When using naive state design pattern, please define `STATE_PATTERN_NAIVE_STATE`
27 #define STATE_PATTERN_NAIVE_STATE_SET_AND_RETURN(state, returnVal) \
29 STATE_PATTERN_NAIVE_STATE = state; \
33 #define STATE_PATTERN_NAIVE_ACCEPT(state, returnVal) \
35 if (STATE_PATTERN_NAIVE_STATE != state) { \
40 #define STATE_PATTERN_NAIVE_REJECT(state, returnVal) \
42 if (STATE_PATTERN_NAIVE_STATE == state) { \
48 #define STATE_PATTERN_NAIVE_ACCEPT_LOG(state, returnVal, ...) \
50 if (STATE_PATTERN_NAIVE_STATE != state) { \
56 #define STATE_PATTERN_NAIVE_REJECT_LOG(state, returnVa
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp110 static void BenchmarkTestGetApplicationInfoByFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfoByFlag() argument
115 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByFlag()
131 static void BenchmarkTestGetApplicationInfoByUserId(benchmark::State &state) in BenchmarkTestGetApplicationInfoByUserId() argument
137 for (auto _ : state) { in BenchmarkTestGetApplicationInfoByUserId()
153 static void BenchmarkTestGetApplicationInfosByApplicationFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfosByApplicationFlag() argument
158 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByApplicationFlag()
175 static void BenchmarkTestGetApplicationInfosByFlags(benchmark::State &state) in BenchmarkTestGetApplicationInfosByFlags() argument
181 for (auto _ : state) { in BenchmarkTestGetApplicationInfosByFlags()
197 static void BenchmarkTestGetBundleInfoByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfoByBundleFlag() argument
202 for (auto _ : state) { in BenchmarkTestGetBundleInfoByBundleFlag()
217 BenchmarkTestGetBundleInfoByFlags(benchmark::State &state) BenchmarkTestGetBundleInfoByFlags() argument
239 BenchmarkTestGetBundleInfosByBundleFlag(benchmark::State &state) BenchmarkTestGetBundleInfosByBundleFlag() argument
260 BenchmarkTestGetBundleInfosByFlags(benchmark::State &state) BenchmarkTestGetBundleInfosByFlags() argument
282 BenchmarkTestGetUidByBundleName(benchmark::State &state) BenchmarkTestGetUidByBundleName() argument
300 BenchmarkTestGetAppIdByBundleName(benchmark::State &state) BenchmarkTestGetAppIdByBundleName() argument
318 BenchmarkTestGetBundlesForUid(benchmark::State &state) BenchmarkTestGetBundlesForUid() argument
338 BenchmarkTestGetNameForUid(benchmark::State &state) BenchmarkTestGetNameForUid() argument
358 BenchmarkTestGetAppType(benchmark::State &state) BenchmarkTestGetAppType() argument
377 BenchmarkTestCheckIsSystemAppByUid(benchmark::State &state) BenchmarkTestCheckIsSystemAppByUid() argument
396 BenchmarkTestGetBundleInfosByMetaData(benchmark::State &state) BenchmarkTestGetBundleInfosByMetaData() argument
417 BenchmarkTestQueryAbilityInfo(benchmark::State &state) BenchmarkTestQueryAbilityInfo() argument
440 BenchmarkTestQueryAbilityInfoByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfoByFlags() argument
467 BenchmarkTestQueryAbilityInfos(benchmark::State &state) BenchmarkTestQueryAbilityInfos() argument
494 BenchmarkTestQueryAbilityInfosByFlags(benchmark::State &state) BenchmarkTestQueryAbilityInfosByFlags() argument
520 BenchmarkTestQueryAbilityInfosById(benchmark::State &state) BenchmarkTestQueryAbilityInfosById() argument
547 BenchmarkTestQueryAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUri() argument
569 BenchmarkTestQueryAbilityInfoByUriAndId(benchmark::State &state) BenchmarkTestQueryAbilityInfoByUriAndId() argument
591 BenchmarkTestQueryAbilityInfosByUri(benchmark::State &state) BenchmarkTestQueryAbilityInfosByUri() argument
613 BenchmarkTestQueryKeepAliveBundleInfos(benchmark::State &state) BenchmarkTestQueryKeepAliveBundleInfos() argument
634 BenchmarkTestGetAbilityLabel(benchmark::State &state) BenchmarkTestGetAbilityLabel() argument
653 BenchmarkTestGetBundleArchiveInfo(benchmark::State &state) BenchmarkTestGetBundleArchiveInfo() argument
673 BenchmarkTestGetBundleArchiveInfoByFlag(benchmark::State &state) BenchmarkTestGetBundleArchiveInfoByFlag() argument
693 BenchmarkTestGetLaunchWantForBundle(benchmark::State &state) BenchmarkTestGetLaunchWantForBundle() argument
713 BenchmarkTestGetPermissionDef(benchmark::State &state) BenchmarkTestGetPermissionDef() argument
735 BenchmarkTestCleanBundleDataFiles(benchmark::State &state) BenchmarkTestCleanBundleDataFiles() argument
754 BenchmarkTestRegisterBundleStatusCallback(benchmark::State &state) BenchmarkTestRegisterBundleStatusCallback() argument
775 BenchmarkTestClearBundleStatusCallback(benchmark::State &state) BenchmarkTestClearBundleStatusCallback() argument
796 BenchmarkTestUnregisterBundleStatusCallback(benchmark::State &state) BenchmarkTestUnregisterBundleStatusCallback() argument
815 BenchmarkTestDumpInfos(benchmark::State &state) BenchmarkTestDumpInfos() argument
837 BenchmarkTestIsApplicationEnabled(benchmark::State &state) BenchmarkTestIsApplicationEnabled() argument
857 BenchmarkTestSetApplicationEnabled(benchmark::State &state) BenchmarkTestSetApplicationEnabled() argument
876 BenchmarkTestIsAbilityEnabled(benchmark::State &state) BenchmarkTestIsAbilityEnabled() argument
898 BenchmarkTestSetAbilityEnabled(benchmark::State &state) BenchmarkTestSetAbilityEnabled() argument
919 BenchmarkTestGetBundleInstaller(benchmark::State &state) BenchmarkTestGetBundleInstaller() argument
938 BenchmarkTestGetBundleUserMgr(benchmark::State &state) BenchmarkTestGetBundleUserMgr() argument
957 BenchmarkTestGetAllFormsInfo(benchmark::State &state) BenchmarkTestGetAllFormsInfo() argument
978 BenchmarkTestGetFormsInfoByApp(benchmark::State &state) BenchmarkTestGetFormsInfoByApp() argument
999 BenchmarkTestGetFormsInfoByModule(benchmark::State &state) BenchmarkTestGetFormsInfoByModule() argument
1020 BenchmarkTestGetShortcutInfos(benchmark::State &state) BenchmarkTestGetShortcutInfos() argument
1041 BenchmarkTestGetAllCommonEventInfo(benchmark::State &state) BenchmarkTestGetAllCommonEventInfo() argument
1062 BenchmarkTestGetDistributedBundleInfo(benchmark::State &state) BenchmarkTestGetDistributedBundleInfo() argument
1085 BenchmarkTestGetAppPrivilegeLevel(benchmark::State &state) BenchmarkTestGetAppPrivilegeLevel() argument
1104 BenchmarkTestQueryExtensionAbilityInfosByWant(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByWant() argument
1130 BenchmarkTestQueryExtensionAbilityInfosByType(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfosByType() argument
1150 BenchmarkTestQueryExtensionAbilityInfos(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfos() argument
1176 BenchmarkTestVerifyCallingPermission(benchmark::State &state) BenchmarkTestVerifyCallingPermission() argument
1196 BenchmarkTestQueryExtensionAbilityInfoByUri(benchmark::State &state) BenchmarkTestQueryExtensionAbilityInfoByUri() argument
1217 BenchmarkTestImplicitQueryInfoByPriority(benchmark::State &state) BenchmarkTestImplicitQueryInfoByPriority() argument
1244 BenchmarkTestGetSandboxBundleInfo(benchmark::State &state) BenchmarkTestGetSandboxBundleInfo() argument
1264 BenchmarkTestGetAbilityInfo(benchmark::State &state) BenchmarkTestGetAbilityInfo() argument
1285 BenchmarkTestGetAbilityInfoByModuleName(benchmark::State &state) BenchmarkTestGetAbilityInfoByModuleName() argument
1305 BenchmarkTestGetAllDependentModuleNames(benchmark::State &state) BenchmarkTestGetAllDependentModuleNames() argument
1325 BenchmarkTestObtainCallingBundleName(benchmark::State &state) BenchmarkTestObtainCallingBundleName() argument
[all...]
/base/request/request/services/src/manage/scheduler/state/
H A Dsql.rs101 state = CASE
102 WHEN (state = {RUNNING} OR state = {RETRYING}) AND action = {DOWNLOAD} THEN {WAITING}
103 WHEN (state = {RUNNING} OR state = {RETRYING}) AND action = {UPLOAD} THEN {FAILED}
104 ELSE state
107 WHEN (state = {RUNNING} OR state = {RETRYING}) THEN {APP_BACKGROUND_OR_TERMINATE}
108 WHEN state = {WAITING} THEN
135 state
[all...]
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_state_machine.h37 // state, {callbackId, stateChangeCallback}
40 explicit HgmStateMachine(State state) : state_(state) {} in HgmStateMachine() argument
44 void ChangeState(State state);
47 int32_t RegisterEnterStateCallback(State state, const StateChangeCallback& callback);
48 void UnRegisterEnterStateCallback(State state, int32_t callbackId);
49 int32_t RegisterExitStateCallback(State state, const StateChangeCallback& callback);
50 void UnRegisterExitStateCallback(State state, int32_t callbackId);
56 virtual std::string State2String(State state) const { return std::to_string(state); } in State2String()
81 ChangeState(State state) ChangeState() argument
126 RegisterEnterStateCallback(State state, const StateChangeCallback& callback) RegisterEnterStateCallback() argument
132 UnRegisterEnterStateCallback(State state, int32_t callbackId) UnRegisterEnterStateCallback() argument
138 RegisterExitStateCallback(State state, const StateChangeCallback& callback) RegisterExitStateCallback() argument
144 UnRegisterExitStateCallback(State state, int32_t callbackId) UnRegisterExitStateCallback() argument
164 RegisterStateChangeCallback( StateChangeCallbacksType& callbacks, State state, const StateChangeCallback& callback) RegisterStateChangeCallback() argument
173 UnRegisterStateChangeCallback( StateChangeCallbacksType& callbacks, State state, int32_t callbackId) UnRegisterStateChangeCallback() argument
[all...]
/foundation/communication/dsoftbus/tests/sdk/discovery/benchmarktest/
H A Ddiscovery_test.cpp62 void SetUp(const ::benchmark::State &state) override
66 void TearDown(const ::benchmark::State &state) override
138 BENCHMARK_F(DiscoveryTest, PublishLNNTestCase)(benchmark::State &state) in BENCHMARK_F()
140 while (state.KeepRunning()) { in BENCHMARK_F()
142 state.ResumeTiming(); in BENCHMARK_F()
145 state.SkipWithError("PublishLNNTestCase failed."); in BENCHMARK_F()
147 state.PauseTiming(); in BENCHMARK_F()
150 state.SkipWithError("StopPublishLNNTestCase failed."); in BENCHMARK_F()
162 BENCHMARK_F(DiscoveryTest, StopPublishLNNTestCase)(benchmark::State &state) in BENCHMARK_F()
164 while (state in BENCHMARK_F()
[all...]
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
H A Dnotification_service_test.cpp105 void SetUp(const ::benchmark::State &state) override
112 void TearDown(const ::benchmark::State &state) override
131 BENCHMARK_F(BenchmarkNotificationService, AddSlotTestCase)(benchmark::State &state) in BENCHMARK_F()
136 while (state.KeepRunning()) { in BENCHMARK_F()
139 state.SkipWithError("AddSlotTestCase failed."); in BENCHMARK_F()
150 BENCHMARK_F(BenchmarkNotificationService, RemoveSlotByTypeTestCase)(benchmark::State &state) in BENCHMARK_F()
155 while (state.KeepRunning()) { in BENCHMARK_F()
158 state.SkipWithError("RemoveSlotByTypeTestCase add failed."); in BENCHMARK_F()
163 state.SkipWithError("RemoveSlotByTypeTestCase remove failed."); in BENCHMARK_F()
174 BENCHMARK_F(BenchmarkNotificationService, SubscribeTestCase)(benchmark::State &state) in BENCHMARK_F()
[all...]
/foundation/distributedhardware/device_manager/test/benchmarktest/device_manager_fa_test/
H A Ddevice_manager_fa_test.cpp89 void SetUp(const ::benchmark::State &state) override
95 void TearDown(const ::benchmark::State &state) override
113 void SetUp(const ::benchmark::State &state) override
116 void TearDown(const ::benchmark::State &state) override
123 void SetUp(const ::benchmark::State &state) override
126 void TearDown(const ::benchmark::State &state) override
133 void SetUp(const ::benchmark::State &state) override
158 void TearDown(const ::benchmark::State &state) override
165 void TearDown(const ::benchmark::State &state) override
174 void SetUp(const ::benchmark::State &state) overrid
[all...]
/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_parcel_test/mock/
H A Dparcel.cpp36 void MockWriteUint32(bool state) in MockWriteUint32() argument
38 g_mockWriteUint32 = state; in MockWriteUint32()
41 void MockWriteInt32(bool state) in MockWriteInt32() argument
43 g_mockWriteInt32 = state; in MockWriteInt32()
46 void MockReadUint32(int state) in MockReadUint32() argument
48 g_mockReadUint32 = state; in MockReadUint32()
51 void MockReadInt32(bool state) in MockReadInt32() argument
53 g_mockReadInt32 = state; in MockReadInt32()
56 void MockWriteString(bool state, uint8_t count) in MockWriteString() argument
58 g_mockWriteString = state; in MockWriteString()
62 MockReadString(bool state, uint8_t count) MockReadString() argument
68 MockWriteParcelable(bool state) MockWriteParcelable() argument
73 MockReadParcelable(bool state) MockReadParcelable() argument
[all...]
/foundation/communication/bluetooth/frameworks/js/napi/src/access/
H A Dnapi_bluetooth_access_observer.cpp33 BluetoothState state = BluetoothState::STATE_OFF; in OnStateChanged() local
34 if (!DealStateChange(transport, status, state)) { in OnStateChanged()
39 HILOGD("state is %{public}d", state); in OnStateChanged()
40 auto nativeObject = std::make_shared<NapiNativeInt>(static_cast<int>(state)); in OnStateChanged()
64 bool NapiBluetoothAccessObserver::DealStateChange(const int transport, const int status, BluetoothState &state) in DealStateChange() argument
69 GetBrStateByStatus(status, state, isCallback); in DealStateChange()
71 GetBleStateByStatus(status, state); in DealStateChange()
76 void NapiBluetoothAccessObserver::GetBrStateByStatus(const int status, BluetoothState &state, bool &isCallback) in GetBrStateByStatus() argument
81 state in GetBrStateByStatus()
100 GetBleStateByStatus(const int status, BluetoothState &state) GetBleStateByStatus() argument
[all...]
/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp33 static void BenchmarkTestForCustomizeDataToJson(benchmark::State &state) in BenchmarkTestForCustomizeDataToJson() argument
40 for (auto _ : state) { in BenchmarkTestForCustomizeDataToJson()
52 static void BenchmarkTestForCustomizeDataFromJson(benchmark::State &state) in BenchmarkTestForCustomizeDataFromJson() argument
59 for (auto _ : state) { in BenchmarkTestForCustomizeDataFromJson()
71 static void BenchmarkTestForMetadataToJson(benchmark::State &state) in BenchmarkTestForMetadataToJson() argument
78 for (auto _ : state) { in BenchmarkTestForMetadataToJson()
90 static void BenchmarkTestForMetadataFromJson(benchmark::State &state) in BenchmarkTestForMetadataFromJson() argument
97 for (auto _ : state) { in BenchmarkTestForMetadataFromJson()
109 static void BenchmarkTestForAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForAbilityInfoToJson() argument
116 for (auto _ : state) { in BenchmarkTestForAbilityInfoToJson()
128 BenchmarkTestForAbilityInfoFromJson(benchmark::State &state) BenchmarkTestForAbilityInfoFromJson() argument
147 BenchmarkTestForExtensionAbilityInfoToJson(benchmark::State &state) BenchmarkTestForExtensionAbilityInfoToJson() argument
166 BenchmarkTestForExtensionAbilityInfoFromJson(benchmark::State &state) BenchmarkTestForExtensionAbilityInfoFromJson() argument
185 BenchmarkTestForApplicationInfoToJson(benchmark::State &state) BenchmarkTestForApplicationInfoToJson() argument
204 BenchmarkTestForApplicationInfoFromJson(benchmark::State &state) BenchmarkTestForApplicationInfoFromJson() argument
223 BenchmarkTestForBundleInfoToJson(benchmark::State &state) BenchmarkTestForBundleInfoToJson() argument
242 BenchmarkTestForBundleInfoFromJson(benchmark::State &state) BenchmarkTestForBundleInfoFromJson() argument
261 BenchmarkTestForModuleInfoToJson(benchmark::State &state) BenchmarkTestForModuleInfoToJson() argument
279 BenchmarkTestForModuleInfoFromJson(benchmark::State &state) BenchmarkTestForModuleInfoFromJson() argument
297 BenchmarkTestForFormInfoToJson(benchmark::State &state) BenchmarkTestForFormInfoToJson() argument
316 BenchmarkTestForFormInfoFromJson(benchmark::State &state) BenchmarkTestForFormInfoFromJson() argument
338 BenchmarkTestForShortcutInfoToJson(benchmark::State &state) BenchmarkTestForShortcutInfoToJson() argument
357 BenchmarkTestForShortcutInfoFromJson(benchmark::State &state) BenchmarkTestForShortcutInfoFromJson() argument
376 BenchmarkTestForCommonEventInfoToJson(benchmark::State &state) BenchmarkTestForCommonEventInfoToJson() argument
395 BenchmarkTestForCommonEventInfoFromJson(benchmark::State &state) BenchmarkTestForCommonEventInfoFromJson() argument
421 BenchmarkTestForHapModuleInfoToJson(benchmark::State &state) BenchmarkTestForHapModuleInfoToJson() argument
440 BenchmarkTestForHapModuleInfoFromJson(benchmark::State &state) BenchmarkTestForHapModuleInfoFromJson() argument
459 BenchmarkTestForBundleUserInfoToJson(benchmark::State &state) BenchmarkTestForBundleUserInfoToJson() argument
476 BenchmarkTestForBundleUserInfoFromJson(benchmark::State &state) BenchmarkTestForBundleUserInfoFromJson() argument
494 BenchmarkTestForShortcutWantFromJson(benchmark::State &state) BenchmarkTestForShortcutWantFromJson() argument
512 BenchmarkTestForShortcutFromJson(benchmark::State &state) BenchmarkTestForShortcutFromJson() argument
531 BenchmarkTestForShortcutJsonFromJson(benchmark::State &state) BenchmarkTestForShortcutJsonFromJson() argument
548 BenchmarkTestForReqPermissionUsedSceToJson(benchmark::State &state) BenchmarkTestForReqPermissionUsedSceToJson() argument
566 BenchmarkTestForReqPermissionUsedSceFromJson(benchmark::State &state) BenchmarkTestForReqPermissionUsedSceFromJson() argument
584 BenchmarkTestForRequestPermissionToJson(benchmark::State &state) BenchmarkTestForRequestPermissionToJson() argument
602 BenchmarkTestForRequestPermissionFromJson(benchmark::State &state) BenchmarkTestForRequestPermissionFromJson() argument
[all...]
/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_settings.h32 RetError SetScreenMagnificationState(const bool state);
33 RetError SetShortKeyState(const bool state);
34 RetError SetMouseKeyState(const bool state);
38 RetError SetHighContrastTextState(const bool state);
39 RetError SetInvertColorState(const bool state);
40 RetError SetAnimationOffState(const bool state);
41 RetError SetAudioMonoState(const bool state);
42 RetError SetDaltonizationState(const bool state);
48 RetError SetIgnoreRepeatClickState(const bool state);
51 RetError GetScreenMagnificationState(bool &state);
[all...]
/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dlocale_info_test.cpp174 RState state = SUCCESS; in HWTEST_F() local
175 Locale *localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
199 RState state = SUCCESS; in HWTEST_F() local
200 Locale *localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
215 localeInfo = BuildFromString("en-US", '-', state); in HWTEST_F()
226 localeInfo = BuildFromString("en-Qaag-US", '-', state); in HWTEST_F()
252 RState state = SUCCESS; in HWTEST_F() local
253 Locale *localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
270 RState state = SUCCESS; in HWTEST_F() local
271 Locale *localeInfo = BuildFromString("zh-CN", '-', state); in HWTEST_F()
288 RState state = SUCCESS; HWTEST_F() local
306 RState state = SUCCESS; HWTEST_F() local
327 RState state = SUCCESS; HWTEST_F() local
342 RState state = SUCCESS; HWTEST_F() local
357 RState state = SUCCESS; HWTEST_F() local
372 RState state = SUCCESS; HWTEST_F() local
387 RState state = SUCCESS; HWTEST_F() local
408 RState state = SUCCESS; HWTEST_F() local
429 RState state = SUCCESS; HWTEST_F() local
444 RState state = SUCCESS; HWTEST_F() local
459 RState state = SUCCESS; HWTEST_F() local
480 RState state = SUCCESS; HWTEST_F() local
501 RState state = SUCCESS; HWTEST_F() local
516 RState state = SUCCESS; HWTEST_F() local
537 RState state = SUCCESS; HWTEST_F() local
552 RState state = SUCCESS; HWTEST_F() local
567 RState state = SUCCESS; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/text/
H A Dtext_emoji_processor.cpp404 void TextEmojiProcessor::OnBeginState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) in OnBeginState() argument
408 state = STATE_LF; in OnBeginState()
410 state = STATE_VS; in OnBeginState()
412 state = STATE_CR; in OnBeginState()
414 state = isBackward ? STATE_ODD_RIS : STATE_EVEN_RIS; in OnBeginState()
416 state = STATE_EM; in OnBeginState()
418 state = STATE_KEYCAP; in OnBeginState()
420 state = STATE_EMOJI; in OnBeginState()
422 state = STATE_IN_TAG_QUEUE; in OnBeginState()
424 state in OnBeginState()
428 OnRISState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnRISState() argument
463 OnCRLFState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnCRLFState() argument
485 OnZWJState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnZWJState() argument
524 OnVSState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnVSState() argument
551 OnKeyCapState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnKeyCapState() argument
579 OnEMState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, int32_t& lastVSCount, bool isBackward) OnEMState() argument
621 OnEmojiState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnEmojiState() argument
648 OnForwardSecondState(uint32_t codePoint, int32_t& state, int32_t& deleteCount) OnForwardSecondState() argument
661 OnTagQueueState(uint32_t codePoint, int32_t& state, int32_t& deleteCount, bool isBackward) OnTagQueueState() argument
687 int32_t state = STATE_BEGIN; GetEmojiLengthAtEnd() local
744 int32_t state = STATE_BEGIN; GetEmojiLengthAtFront() local
[all...]

Completed in 218 milliseconds

12345678910>>...152