Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 1932) sorted by relevance

12345678910>>...78

/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessibility_settings_config_test.cpp109 bool state = true; variable
124 bool state = true; variable
138 bool state = true; variable
153 bool state = true; variable
167 bool state = true; variable
182 bool state = true; variable
197 bool state = true; variable
213 bool state = true; variable
258 bool state = true; variable
273 bool state = true; variable
[all …]
H A Daccessible_ability_manager_service_test.cpp343 bool state = true; variable
359 bool state = true; variable
375 bool state = true; variable
423 bool state = true; variable
438 bool state = true; variable
455 bool state = true; variable
471 bool state = true; variable
486 bool state = true; variable
620 bool state = true; variable
1084 bool state = true; variable
[all …]
/ohos5.0/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dresource_manager_test.cpp218 RState state; variable
239 RState state; variable
258 RState state; variable
280 RState state; variable
320 RState state; variable
356 RState state; variable
549 RState state; variable
573 RState state; variable
591 RState state; variable
609 RState state; variable
[all …]
H A Dlocale_info_test.cpp174 RState state = SUCCESS; variable
200 RState state = SUCCESS; variable
253 RState state = SUCCESS; variable
271 RState state = SUCCESS; variable
289 RState state = SUCCESS; variable
307 RState state = SUCCESS; variable
328 RState state = SUCCESS; variable
343 RState state = SUCCESS; variable
358 RState state = SUCCESS; variable
373 RState state = SUCCESS; variable
[all …]
/ohos5.0/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dlocale_info_test.cpp174 RState state = SUCCESS; variable
199 RState state = SUCCESS; variable
252 RState state = SUCCESS; variable
270 RState state = SUCCESS; variable
288 RState state = SUCCESS; variable
306 RState state = SUCCESS; variable
327 RState state = SUCCESS; variable
342 RState state = SUCCESS; variable
357 RState state = SUCCESS; variable
372 RState state = SUCCESS; variable
[all …]
H A Dresource_manager_test.cpp163 RState state; variable
184 RState state; variable
203 RState state; variable
225 RState state; variable
278 RState state; variable
346 RState state; variable
398 RState state; variable
418 RState state; variable
437 RState state; variable
466 RState state; variable
[all …]
H A Dresource_manager_test_media.cpp90 RState state; variable
136 RState state; variable
172 RState state; variable
208 RState state; variable
244 RState state; variable
280 RState state; variable
364 RState state; variable
400 RState state; variable
436 RState state; variable
472 RState state; variable
[all …]
H A Dresource_manager_test_hap.cpp596 RState state; variable
614 RState state; variable
634 RState state; variable
652 RState state; variable
680 RState state; variable
718 RState state; variable
754 RState state; variable
788 RState state; variable
808 RState state; variable
834 RState state; variable
[all …]
H A Dresource_manager_test_common.cpp182 RState state; in TestGetProfileById() local
211 RState state = rm->GetMediaById(id, outValue); in TestGetMediaById() local
249 RState state = rm->GetMediaByName("icon1", outValue); in TestGetMediaByName() local
382 RState state = rm->GetStringArrayById(id, outValue); in TestGetStringArrayById() local
453 RState state = rm->GetPatternById(id, outValue); in TestGetPatternById() local
462 RState state = rm->GetPatternByName(name, outValue); in TestGetPatternByName() local
473 RState state = rm->GetThemeById(id, outValue); in TestGetThemeById() local
493 RState state = rm->GetBooleanById(id, outValue); in TestGetBooleanById() local
521 RState state = rm->GetIntegerById(id, outValue); in TestGetIntegerById() local
549 RState state = rm->GetFloatById(id, outValue); in TestGetFloatById() local
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/
H A Djson_serializer_test.cpp33 static void BenchmarkTestForCustomizeDataToJson(benchmark::State &state) in BenchmarkTestForCustomizeDataToJson()
52 static void BenchmarkTestForCustomizeDataFromJson(benchmark::State &state) in BenchmarkTestForCustomizeDataFromJson()
71 static void BenchmarkTestForMetadataToJson(benchmark::State &state) in BenchmarkTestForMetadataToJson()
90 static void BenchmarkTestForMetadataFromJson(benchmark::State &state) in BenchmarkTestForMetadataFromJson()
109 static void BenchmarkTestForAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForAbilityInfoToJson()
128 static void BenchmarkTestForAbilityInfoFromJson(benchmark::State &state) in BenchmarkTestForAbilityInfoFromJson()
223 static void BenchmarkTestForBundleInfoToJson(benchmark::State &state) in BenchmarkTestForBundleInfoToJson()
261 static void BenchmarkTestForModuleInfoToJson(benchmark::State &state) in BenchmarkTestForModuleInfoToJson()
297 static void BenchmarkTestForFormInfoToJson(benchmark::State &state) in BenchmarkTestForFormInfoToJson()
316 static void BenchmarkTestForFormInfoFromJson(benchmark::State &state) in BenchmarkTestForFormInfoFromJson()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/
H A Dbundlemgr_proxy_test.cpp282 static void BenchmarkTestGetUidByBundleName(benchmark::State &state) in BenchmarkTestGetUidByBundleName()
318 static void BenchmarkTestGetBundlesForUid(benchmark::State &state) in BenchmarkTestGetBundlesForUid()
338 static void BenchmarkTestGetNameForUid(benchmark::State &state) in BenchmarkTestGetNameForUid()
358 static void BenchmarkTestGetAppType(benchmark::State &state) in BenchmarkTestGetAppType()
417 static void BenchmarkTestQueryAbilityInfo(benchmark::State &state) in BenchmarkTestQueryAbilityInfo()
467 static void BenchmarkTestQueryAbilityInfos(benchmark::State &state) in BenchmarkTestQueryAbilityInfos()
634 static void BenchmarkTestGetAbilityLabel(benchmark::State &state) in BenchmarkTestGetAbilityLabel()
713 static void BenchmarkTestGetPermissionDef(benchmark::State &state) in BenchmarkTestGetPermissionDef()
815 static void BenchmarkTestDumpInfos(benchmark::State &state) in BenchmarkTestDumpInfos()
957 static void BenchmarkTestGetAllFormsInfo(benchmark::State &state) in BenchmarkTestGetAllFormsInfo()
[all …]
/ohos5.0/base/global/resource_management/interfaces/cj/src/
H A Dresource_manager_impl.cpp48 RState state = resMgr_->CloseRawFileDescriptor(name); in CloseRawFd() local
95 RState state = resMgr_->GetColorByName(name, outValue); in GetColorByName() local
106 RState state = resMgr_->GetColorById(id, outValue); in GetColorById() local
150 RState state = resMgr_->GetStringById(resId, outValue); in GetString() local
183 bool state = resMgr_->AddAppOverlay(path); in AddResource() local
192 bool state = resMgr_->RemoveAppOverlay(path); in RemoveResource() local
201 RState state = resMgr_->GetBooleanById(id, outValue); in GetBooleanById() local
223 RState state = resMgr_->GetIntegerById(id, outValue); in GetIntegerById() local
245 RState state = resMgr_->GetFloatById(id, outValue); in GetFloatById() local
340 RState state = SUCCESS; in GetDrawableDescriptor() local
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/
H A Dbenchmark_assert.h22 void AssertEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertEqual()
30 void AssertUnequal(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertUnequal()
38 void AssertFalse(const T &t, const char* printInfo, benchmark::State& state) in AssertFalse()
46 void AssertTrue(const T &t, const char* printInfo, benchmark::State& state) in AssertTrue()
54 void AssertLessThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertLessThan()
62 …d AssertLessThanOrEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertLessThanOrEqual()
70 void AssertGreaterThan(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertGreaterThan()
78 …ssertGreaterThanOrEqual(const T1 &t1, const T2 &t2, const char* printInfo, benchmark::State& state) in AssertGreaterThanOrEqual()
85 …sertStringEqual(const char* str1, const char* str2, const char* printInfo, benchmark::State& state) in AssertStringEqual()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_settings_config.cpp27 RetError AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled()
34 RetError AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState()
41 RetError AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState()
55 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState()
76 RetError AccessibilitySettingsConfig::SetShortKeyState(const bool state) in SetShortKeyState()
97 RetError AccessibilitySettingsConfig::SetMouseKeyState(const bool state) in SetMouseKeyState()
152 RetError AccessibilitySettingsConfig::SetInvertColorState(const bool state) in SetInvertColorState()
159 RetError AccessibilitySettingsConfig::SetAnimationOffState(const bool state) in SetAnimationOffState()
166 RetError AccessibilitySettingsConfig::SetAudioMonoState(const bool state) in SetAudioMonoState()
194 RetError SetStartToHosState(const bool state) in SetStartToHosState()
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dstate_pattern_naive.h27 #define STATE_PATTERN_NAIVE_STATE_SET_AND_RETURN(state, returnVal) \ argument
33 #define STATE_PATTERN_NAIVE_ACCEPT(state, returnVal) \ argument
40 #define STATE_PATTERN_NAIVE_REJECT(state, returnVal) \ argument
48 #define STATE_PATTERN_NAIVE_ACCEPT_LOG(state, returnVal, ...) \ argument
56 #define STATE_PATTERN_NAIVE_REJECT_LOG(state, returnVal, ...) \ argument
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_lifecycle_executor_test.cpp64 AbilityLifecycleExecutor::LifecycleState state = variable
84 AbilityLifecycleExecutor::LifecycleState state = variable
104 AbilityLifecycleExecutor::LifecycleState state = variable
124 AbilityLifecycleExecutor::LifecycleState state = variable
144 AbilityLifecycleExecutor::LifecycleState state = variable
164 AbilityLifecycleExecutor::LifecycleState state = variable
/ohos5.0/base/msdp/device_status/utils/common/include/
H A Dutil_napi.h33 #define CHKRV(state, desc) \ argument
41 #define CHKRP(state, desc) \ argument
49 #define CHKRF(state, desc) \ argument
57 #define CHKRV_SCOPE(env, state, desc, scope) \ argument
66 #define CHKRF_SCOPE(env, state, desc, scope) \ argument
75 #define CHKRP_SCOPE(env, state, desc, scope) \ argument
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/
H A Dhgm_state_machine.h40 explicit HgmStateMachine(State state) : state_(state) {} in HgmStateMachine()
56 virtual std::string State2String(State state) const { return std::to_string(state); } in State2String()
81 void HgmStateMachine<State, Event>::ChangeState(State state) in ChangeState()
126 int32_t HgmStateMachine<State, Event>::RegisterEnterStateCallback(State state, const StateChangeCal… in RegisterEnterStateCallback()
132 void HgmStateMachine<State, Event>::UnRegisterEnterStateCallback(State state, int32_t callbackId) in UnRegisterEnterStateCallback()
138 int32_t HgmStateMachine<State, Event>::RegisterExitStateCallback(State state, const StateChangeCall… in RegisterExitStateCallback()
144 void HgmStateMachine<State, Event>::UnRegisterExitStateCallback(State state, int32_t callbackId) in UnRegisterExitStateCallback()
165 StateChangeCallbacksType& callbacks, State state, const StateChangeCallback& callback) in RegisterStateChangeCallback()
174 StateChangeCallbacksType& callbacks, State state, int32_t callbackId) in UnRegisterStateChangeCallback()
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/utils/
H A Dstate_utils.cpp20 std::string StateUtils::StateToStrMap(const AbilityState &state) in StateToStrMap()
42 std::string StateUtils::AppStateToStrMap(const AppState &state) in AppStateToStrMap()
57 int StateUtils::ConvertStateMap(const AbilityLifeCycleState &state) in ConvertStateMap()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/distributed_bundle_info_test/
H A Ddistributed_bundle_info_test.cpp31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel()
51 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling()
70 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
90 static void BenchmarkTestForToString(benchmark::State &state) in BenchmarkTestForToString()
108 static void BenchmarkTestForFromJsonString(benchmark::State &state) in BenchmarkTestForFromJsonString()
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_parcel_test/mock/
H A Dparcel.cpp36 void MockWriteUint32(bool state) in MockWriteUint32()
41 void MockWriteInt32(bool state) in MockWriteInt32()
46 void MockReadUint32(int state) in MockReadUint32()
51 void MockReadInt32(bool state) in MockReadInt32()
56 void MockWriteString(bool state, uint8_t count) in MockWriteString()
62 void MockReadString(bool state, uint8_t count) in MockReadString()
68 void MockWriteParcelable(bool state) in MockWriteParcelable()
73 void MockReadParcelable(bool state) in MockReadParcelable()
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_accessible_ability_manager_service_stub.cpp71 RetError MockAccessibleAbilityManagerServiceStub::SetCaptionState(const bool state) in SetCaptionState()
143 RetError MockAccessibleAbilityManagerServiceStub::GetCaptionState(bool &state) in GetCaptionState()
210 RetError MockAccessibleAbilityManagerServiceStub::SetShortKeyState(const bool state) in SetShortKeyState()
216 RetError MockAccessibleAbilityManagerServiceStub::SetMouseKeyState(const bool state) in SetMouseKeyState()
258 RetError MockAccessibleAbilityManagerServiceStub::SetAudioMonoState(const bool state) in SetAudioMonoState()
332 RetError MockAccessibleAbilityManagerServiceStub::GetShortKeyState(bool &state) in GetShortKeyState()
338 RetError MockAccessibleAbilityManagerServiceStub::GetMouseKeyState(bool &state) in GetMouseKeyState()
368 RetError MockAccessibleAbilityManagerServiceStub::GetInvertColorState(bool &state) in GetInvertColorState()
374 RetError MockAccessibleAbilityManagerServiceStub::GetAnimationOffState(bool &state) in GetAnimationOffState()
380 RetError MockAccessibleAbilityManagerServiceStub::GetAudioMonoState(bool &state) in GetAudioMonoState()
[all …]
/ohos5.0/foundation/multimodalinput/input/util/napi/include/
H A Dutil_napi.h25 #define CHKRV(state, desc) \ argument
33 #define CHKRP(state, desc) \ argument
41 #define CHKRF(state, desc) \ argument
49 #define CHKRR(state, desc, ret) \ argument
65 #define CHKRV_SCOPE(env, state, desc, scope) \ argument
74 #define CHKRV_SCOPE_DEL(env, state, desc, scope) \ argument
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dresource_adapter_impl_standard.cpp217 auto state = resourceManager_->GetColorById(resId, result); in GetColor() local
231 auto state = resourceManager_->GetColorByName(actualResName.c_str(), result); in GetColorByName() local
244 auto state = resourceManager_->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local
271 auto state = resourceManager_->GetStringById(resId, strResult); in GetString() local
323 auto state = resourceManager_->GetStringArrayById(resId, strResults); in GetStringArray() local
349 auto state = resourceManager_->GetFloatById(resId, result); in GetDouble() local
362 auto state = resourceManager_->GetFloatByName(actualResName.c_str(), result); in GetDoubleByName() local
375 auto state = resourceManager_->GetIntegerById(resId, result); in GetInt() local
401 auto state = resourceManager_->GetIntArrayById(resId, intVectorResult); in GetIntArray() local
434 auto state = resourceManager_->GetBooleanById(resId, result); in GetBoolean() local
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/pbap/
H A Dpbap_client_test.cpp33 void OnServiceConnectionStateChanged(const BluetoothRemoteDevice &device, int state) {} in OnServiceConnectionStateChanged()
181 int state = profile_->GetDeviceState(device); variable
212 int state = profile_->GetConnectionStrategy(device); variable
229 int state = profile_->SetDevicePassword(device, password, userId); variable
245 int state = profile_->PullPhoneBook(device, param); variable
262 int state = profile_->SetPhoneBook(device, name, flag); variable
278 int state = profile_->PullvCardListing(device, param); variable
294 int state = profile_->PullvCardEntry(device, param); variable
324 int state = profile_->AbortDownloading(device); variable

12345678910>>...78