| /foundation/barrierfree/accessibility/services/aams/test/unittest/ |
| D | accessibility_settings_config_test.cpp | 90 bool state = true; variable 105 bool state = true; variable 119 bool state = true; variable 134 bool state = true; variable 148 bool state = true; variable 163 bool state = true; variable 178 bool state = true; variable 194 bool state = true; variable 239 bool state = true; variable 254 bool state = true; variable [all …]
|
| D | accessible_ability_manager_service_test.cpp | 135 …sptr<IAccessibleAbilityManagerStateObserver> state = new MockAccessibleAbilityManagerStateObserver… variable 342 bool state = true; variable 358 bool state = true; variable 374 bool state = true; variable 422 bool state = true; variable 438 bool state = true; variable 454 bool state = true; variable 469 bool state = true; variable 561 bool state = true; variable 791 …sptr<IAccessibleAbilityManagerCaptionObserver> state = new MockAccessibleAbilityManagerCaptionObse… variable [all …]
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/json_serializer_test/ |
| D | json_serializer_test.cpp | 33 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() 147 static void BenchmarkTestForExtensionAbilityInfoToJson(benchmark::State &state) in BenchmarkTestForExtensionAbilityInfoToJson() 166 static void BenchmarkTestForExtensionAbilityInfoFromJson(benchmark::State &state) in BenchmarkTestForExtensionAbilityInfoFromJson() 185 static void BenchmarkTestForApplicationInfoToJson(benchmark::State &state) in BenchmarkTestForApplicationInfoToJson() 204 static void BenchmarkTestForApplicationInfoFromJson(benchmark::State &state) in BenchmarkTestForApplicationInfoFromJson() [all …]
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/bundlemgr_proxy_test/ |
| D | bundlemgr_proxy_test.cpp | 110 static void BenchmarkTestGetApplicationInfoByFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfoByFlag() 131 static void BenchmarkTestGetApplicationInfoByUserId(benchmark::State &state) in BenchmarkTestGetApplicationInfoByUserId() 153 static void BenchmarkTestGetApplicationInfosByApplicationFlag(benchmark::State &state) in BenchmarkTestGetApplicationInfosByApplicationFlag() 175 static void BenchmarkTestGetApplicationInfosByFlags(benchmark::State &state) in BenchmarkTestGetApplicationInfosByFlags() 197 static void BenchmarkTestGetBundleInfoByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfoByBundleFlag() 217 static void BenchmarkTestGetBundleInfoByFlags(benchmark::State &state) in BenchmarkTestGetBundleInfoByFlags() 239 static void BenchmarkTestGetBundleInfosByBundleFlag(benchmark::State &state) in BenchmarkTestGetBundleInfosByBundleFlag() 260 static void BenchmarkTestGetBundleInfosByFlags(benchmark::State &state) in BenchmarkTestGetBundleInfosByFlags() 282 static void BenchmarkTestGetUidByBundleName(benchmark::State &state) in BenchmarkTestGetUidByBundleName() 300 static void BenchmarkTestGetAppIdByBundleName(benchmark::State &state) in BenchmarkTestGetAppIdByBundleName() [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
| D | state_style_manager.h | 43 bool HasStateStyle(UIState state) const in HasStateStyle() 53 void AddSupportedState(UIState state) in AddSupportedState() 58 void SetSupportedStates(UIState state) in SetSupportedStates() 63 bool IsCurrentStateOn(UIState state) const in IsCurrentStateOn() 71 void SetCurrentUIState(UIState state, bool flag) in SetCurrentUIState() 80 void UpdateCurrentUIState(UIState state) in UpdateCurrentUIState() 92 void ResetCurrentUIState(UIState state) in ResetCurrentUIState()
|
| D | event_hub.cpp | 33 void EventHub::AddSupportedState(UIState state) in AddSupportedState() 41 void EventHub::SetSupportedStates(UIState state) in SetSupportedStates() 49 void EventHub::SetCurrentUIState(UIState state, bool flag) in SetCurrentUIState() 57 bool EventHub::IsCurrentStateOn(UIState state) in IsCurrentStateOn()
|
| /foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
| D | ability_lifecycle_executor_test.cpp | 64 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
|
| /foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
| D | mock_accessibility_settings_config.cpp | 27 bool AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() 34 bool AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() 41 bool AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() 48 bool AccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() 56 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() 63 RetError AccessibilitySettingsConfig::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() 70 RetError AccessibilitySettingsConfig::SetShortKeyState(const bool state) in SetShortKeyState() 77 RetError AccessibilitySettingsConfig::SetMouseKeyState(const bool state) in SetMouseKeyState() 98 RetError AccessibilitySettingsConfig::SetHighContrastTextState(const bool state) in SetHighContrastTextState() 105 RetError AccessibilitySettingsConfig::SetInvertColorState(const bool state) in SetInvertColorState() [all …]
|
| D | mock_accessible_ability_manager_service.cpp | 169 RetError AccessibleAbilityManagerService::SetCaptionState(const bool state) in SetCaptionState() 180 RetError AccessibleAbilityManagerService::GetCaptionState(bool &state) in GetCaptionState() 243 RetError AccessibleAbilityManagerService::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() 249 RetError AccessibleAbilityManagerService::SetShortKeyState(const bool state) in SetShortKeyState() 255 RetError AccessibleAbilityManagerService::SetMouseKeyState(const bool state) in SetMouseKeyState() 273 RetError AccessibleAbilityManagerService::SetHighContrastTextState(const bool state) in SetHighContrastTextState() 279 RetError AccessibleAbilityManagerService::SetInvertColorState(const bool state) in SetInvertColorState() 285 RetError AccessibleAbilityManagerService::SetAnimationOffState(const bool state) in SetAnimationOffState() 291 RetError AccessibleAbilityManagerService::SetAudioMonoState(const bool state) in SetAudioMonoState() 321 RetError AccessibleAbilityManagerService::GetScreenMagnificationState(bool &state) in GetScreenMagnificationState() [all …]
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/distributed_bundle_info_test/ |
| D | distributed_bundle_info_test.cpp | 31 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()
|
| /foundation/barrierfree/accessibility/services/test/mock/ |
| D | mock_accessible_ability_manager_service_stub.cpp | 70 RetError MockAccessibleAbilityManagerServiceStub::SetCaptionState(const bool state) in SetCaptionState() 124 RetError MockAccessibleAbilityManagerServiceStub::GetCaptionState(bool &state) in GetCaptionState() 185 RetError MockAccessibleAbilityManagerServiceStub::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() 191 RetError MockAccessibleAbilityManagerServiceStub::SetShortKeyState(const bool state) in SetShortKeyState() 197 RetError MockAccessibleAbilityManagerServiceStub::SetMouseKeyState(const bool state) in SetMouseKeyState() 215 RetError MockAccessibleAbilityManagerServiceStub::SetHighContrastTextState(const bool state) in SetHighContrastTextState() 221 RetError MockAccessibleAbilityManagerServiceStub::SetInvertColorState(const bool state) in SetInvertColorState() 227 RetError MockAccessibleAbilityManagerServiceStub::SetAnimationOffState(const bool state) in SetAnimationOffState() 233 RetError MockAccessibleAbilityManagerServiceStub::SetAudioMonoState(const bool state) in SetAudioMonoState() 277 RetError MockAccessibleAbilityManagerServiceStub::GetScreenMagnificationState(bool &state) in GetScreenMagnificationState() [all …]
|
| /foundation/arkui/ace_engine/adapter/ohos/osal/ |
| D | resource_adapter_impl.cpp | 208 auto state = manager->GetColorById(resId, result); in GetColor() local 221 auto state = manager->GetColorByName(actualResName.c_str(), result); in GetColorByName() local 235 auto state = manager->GetFloatById(resId, dimensionFloat, unit); in GetDimension() local 247 auto state = manager->GetFloatById(resId, dimensionFloat); in GetDimension() local 261 auto state = manager->GetFloatByName(actualResName.c_str(), dimensionFloat, unit); in GetDimensionByName() local 273 auto state = manager->GetStringById(resId, strResult); in GetString() local 286 auto state = manager->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() local 298 auto state = manager->GetPluralStringById(resId, quantity, strResult); in GetPluralString() local 311 auto state = manager->GetPluralStringByName(actualResName.c_str(), quantity, strResult); in GetPluralStringByName() local 323 auto state = manager->GetStringArrayById(resId, strResults); in GetStringArray() local [all …]
|
| /foundation/multimodalinput/input/util/common/include/ |
| D | util_napi.h | 24 #define CHKRV(state, desc) \ argument 32 #define CHKRP(state, desc) \ argument 40 #define CHKRF(state, desc) \ argument 48 #define CHKRR(state, desc, ret) \ argument 64 #define CHKRV_SCOPE(env, state, desc, scope) \ argument 73 #define CHECK_SCOPE_BEFORE_BREAK(env, state, desc, scope, pointerEvent) \ argument
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/form_info_test/ |
| D | form_info_test.cpp | 31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel() 53 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling() 74 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling() 96 static void BenchmarkTestForIsValid(benchmark::State &state) in BenchmarkTestForIsValid()
|
| /foundation/communication/bluetooth_service/test/unittest/pbap/ |
| D | pbap_client_test.cpp | 33 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
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/ |
| D | application_info_test.cpp | 31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel() 60 static void BenchmarkTestForReadMetaDataFromParcel(benchmark::State &state) in BenchmarkTestForReadMetaDataFromParcel() 89 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling() 117 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
|
| /foundation/barrierfree/accessibility/frameworks/acfwk/test/unittest/ |
| D | accessibility_config_impl_test.cpp | 101 bool state = true; variable 120 bool state = true; variable 138 bool state = true; variable 156 bool state = true; variable 214 bool state = true; variable 233 bool state = true; variable 291 bool state = true; variable 328 bool state = true; variable 400 bool state = true; variable 419 bool state = true; variable [all …]
|
| /foundation/barrierfree/accessibility/services/aams/src/ |
| D | accessibility_settings_config.cpp | 32 bool AccessibilitySettingsConfig::SetEnabled(const bool state) in SetEnabled() 39 bool AccessibilitySettingsConfig::SetTouchGuideState(const bool state) in SetTouchGuideState() 46 bool AccessibilitySettingsConfig::SetGestureState(const bool state) in SetGestureState() 53 bool AccessibilitySettingsConfig::SetKeyEventObserverState(const bool state) in SetKeyEventObserverState() 61 RetError AccessibilitySettingsConfig::SetCaptionState(const bool state) in SetCaptionState() 68 RetError AccessibilitySettingsConfig::SetScreenMagnificationState(const bool state) in SetScreenMagnificationState() 75 RetError AccessibilitySettingsConfig::SetShortKeyState(const bool state) in SetShortKeyState() 82 RetError AccessibilitySettingsConfig::SetMouseKeyState(const bool state) in SetMouseKeyState() 117 RetError AccessibilitySettingsConfig::SetHighContrastTextState(const bool state) in SetHighContrastTextState() 124 RetError AccessibilitySettingsConfig::SetInvertColorState(const bool state) in SetInvertColorState() [all …]
|
| /foundation/communication/wifi/wifi/frameworks/native/src/ |
| D | wifi_device_callback_stub_lite.cpp | 116 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiStateChanged(int state) in OnWifiStateChanged() 125 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiConnectionChanged(int state, const WifiLinked… in OnWifiConnectionChanged() 141 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnWifiWpsStateChanged(int state, const std::string … in OnWifiWpsStateChanged() 157 NO_SANITIZE("cfi") void WifiDeviceCallBackStub::OnDeviceConfigChanged(ConfigChange state) in OnDeviceConfigChanged() 168 int state = 0; in RemoteOnWifiStateChanged() local 178 int state = 0; in RemoteOnWifiConnectionChanged() local 236 int state = 0; in RemoteOnWifiWpsStateChanged() local 255 int state = 0; in RemoteOnDeviceConfigChanged() local
|
| /foundation/barrierfree/accessibility/interfaces/innerkits/test/benchmarktest/accessibility_config_test/ |
| D | accessibility_config_test.cpp | 75 static void BenchmarkTestForSetScreenMagnificationState(benchmark::State &state) in BenchmarkTestForSetScreenMagnificationState() 104 static void BenchmarkTestForGetScreenMagnificationState(benchmark::State &state) in BenchmarkTestForGetScreenMagnificationState() 122 static void BenchmarkTestForSetShortkeyTarget(benchmark::State &state) in BenchmarkTestForSetShortkeyTarget() 154 static void BenchmarkTestForGetShortkeyTarget(benchmark::State &state) in BenchmarkTestForGetShortkeyTarget() 172 static void BenchmarkTestForSetContentTimeout(benchmark::State &state) in BenchmarkTestForSetContentTimeout() 201 static void BenchmarkTestForGetContentTimeout(benchmark::State &state) in BenchmarkTestForGetContentTimeout() 219 static void BenchmarkTestForSubscribeConfigObserver(benchmark::State &state) in BenchmarkTestForSubscribeConfigObserver()
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/bundle_mgr_client_test/ |
| D | bundle_mgr_client_test.cpp | 31 static void BenchmarkTestForGetBundleNameForUid(benchmark::State &state) in BenchmarkTestForGetBundleNameForUid() 48 static void BenchmarkTestForGetBundleInfo(benchmark::State &state) in BenchmarkTestForGetBundleInfo() 67 static void BenchmarkTestForGetHapModuleInfo(benchmark::State &state) in BenchmarkTestForGetHapModuleInfo() 87 static void BenchmarkTestForGetResConfigFile1(benchmark::State &state) in BenchmarkTestForGetResConfigFile1() 107 static void BenchmarkTestForGetResConfigFile2(benchmark::State &state) in BenchmarkTestForGetResConfigFile2() 127 static void BenchmarkTestForGetResConfigFile3(benchmark::State &state) in BenchmarkTestForGetResConfigFile3()
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/ability_info_test/ |
| D | ability_info_test.cpp | 31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel() 69 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling() 106 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
|
| /foundation/barrierfree/accessibility/interfaces/innerkits/test/benchmarktest/accessibility_system_ability_client_test/ |
| D | accessibility_system_ability_client_test.cpp | 27 static void BenchmarkTestForIsEnabled(benchmark::State &state) in BenchmarkTestForIsEnabled() 46 static void BenchmarkTestForGetEnabledAbilities(benchmark::State &state) in BenchmarkTestForGetEnabledAbilities() 65 static void BenchmarkTestForSendEvent(benchmark::State &state) in BenchmarkTestForSendEvent()
|
| /foundation/bundlemanager/bundle_framework/test/benchmarktest/permission_def_test/ |
| D | permission_def_test.cpp | 31 static void BenchmarkTestForReadFromParcel(benchmark::State &state) in BenchmarkTestForReadFromParcel() 50 static void BenchmarkTestForMarshalling(benchmark::State &state) in BenchmarkTestForMarshalling() 68 static void BenchmarkTestForUnmarshalling(benchmark::State &state) in BenchmarkTestForUnmarshalling()
|
| /foundation/filemanagement/app_file_service/tests/mock/utils_mock/src/ |
| D | utils_mock_global_variable.cpp | 25 void SetMockGetInstance(bool state) in SetMockGetInstance() 30 void SetMockInitBackupOrRestoreSession(bool state) in SetMockInitBackupOrRestoreSession() 45 void SetMockLoadSystemAbility(bool state) in SetMockLoadSystemAbility()
|