Home
last modified time | relevance | path

Searched refs:GetMode (Results 1 – 25 of 150) sorted by relevance

123456

/ohos5.0/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_mode_support_info_test.cpp107 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
110 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
113 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
116 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
136 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
139 ASSERT_EQ(WindowMode::WINDOW_MODE_FLOATING, window->GetMode());
142 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
145 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
148 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, window->GetMode());
194 ASSERT_EQ(WindowMode::WINDOW_MODE_FLOATING, window2->GetMode());
[all …]
H A Dwindow_split_test.cpp115 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_PRIMARY, priWindow->GetMode());
116 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_SECONDARY, fullWindow->GetMode());
120 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
156 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_SECONDARY, secWindow->GetMode());
157 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_PRIMARY, fullWindow->GetMode());
161 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, secWindow->GetMode());
H A Dwindow_rotation_test.cpp148 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
185 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
226 ASSERT_EQ(WindowMode::WINDOW_MODE_FLOATING, fullWindow->GetMode());
264 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
307 ASSERT_EQ(WindowMode::WINDOW_MODE_FULLSCREEN, fullWindow->GetMode());
H A Dwindow_split_immersive_test.cpp115 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_PRIMARY, priWindow->GetMode());
116 ASSERT_EQ(WindowMode::WINDOW_MODE_SPLIT_SECONDARY, fullWindow->GetMode());
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/
H A Dark_web_screen_capture_config_wrapper.cpp27 int32_t ArkWebScreenCaptureConfigWrapper::GetMode() in GetMode() function in OHOS::ArkWeb::ArkWebScreenCaptureConfigWrapper
29 return ark_web_screen_capture_config_->GetMode(); in GetMode()
H A Dark_web_doh_config_wrapper.cpp26 int32_t ArkWebDohConfigWrapper::GetMode() in GetMode() function in OHOS::ArkWeb::ArkWebDohConfigWrapper
28 return ark_web_doh_config_->GetMode(); in GetMode()
H A Dark_web_screen_capture_config_wrapper.h32 int32_t GetMode() override;
H A Dark_web_doh_config_wrapper.h30 int32_t GetMode() override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H A Dark_web_screen_capture_config_impl.cpp27 int32_t ArkWebScreenCaptureConfigImpl::GetMode() in GetMode() function in OHOS::ArkWeb::ArkWebScreenCaptureConfigImpl
29 return nweb_screen_capture_config_->GetMode(); in GetMode()
H A Dark_web_doh_config_impl.cpp26 int32_t ArkWebDohConfigImpl::GetMode() in GetMode() function in OHOS::ArkWeb::ArkWebDohConfigImpl
28 return nweb_doh_config_->GetMode(); in GetMode()
H A Dark_web_doh_config_impl.h32 int32_t GetMode() override;
H A Dark_web_screen_capture_config_impl.h32 int32_t GetMode() override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_sync_state_machine.cpp376 switch (context_->GetMode()) { in DoInitiactiveDataSyncWithSlidingWindow()
380 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
385 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
389 errCode = dataSync_->SyncStart(context_->GetMode(), context_); in DoInitiactiveDataSyncWithSlidingWindow()
507 return GetEventAfterTimeSync(context_->GetMode()); in DoAbilitySync()
510 return GetEventAfterTimeSync(context_->GetMode()); in DoAbilitySync()
551 if (context_->GetMode() == SyncModeType::SUBSCRIBE_QUERY) { in DoTimeout()
567 if (context_->GetMode() == SyncModeType::SUBSCRIBE_QUERY) { in DoInnerErr()
607 JumpStatusAfterAbilitySync(context_->GetMode()); in AbilitySyncResponseRecv()
616 JumpStatusAfterAbilitySync(context_->GetMode()); in AbilitySyncResponseRecv()
[all …]
H A Dsingle_ver_data_sync_utils.cpp98 if (SyncOperation::GetSyncType(packet->GetMode()) != SyncType::QUERY_SYNC_TYPE) { in RequestQueryCheck()
203 int mode = SyncOperation::TransferSyncMode(packet->GetMode()); in RunPermissionCheck()
288 int mode = SyncOperation::TransferSyncMode(context->GetMode()); in PushAndPullKeyRevokHandle()
316 if (context->GetMode() == SyncModeType::SUBSCRIBE_QUERY && context->IsAutoSubscribe()) { in FillControlRequestPacket()
319 packet->SetPacketHead(E_OK, version, GetControlCmdType(context->GetMode()), flag); in FillControlRequestPacket()
371 if (context->GetMode() == SyncModeType::SUBSCRIBE_QUERY) { in ControlAckErrorHandle()
H A Dsingle_ver_data_sync.cpp780 return RequestStart(context, context->GetMode()); in PushPullStart()
814 packet->SetBasicInfo(E_OK, version, context->GetMode()); in PullRequestStart()
995 SyncType curType = SyncOperation::GetSyncType(packet->GetMode()); in DataRequestRecv()
1275 int mode = SyncOperation::TransferSyncMode(packet->GetMode()); in GetPullEndWatermark()
1321 int mode = SyncOperation::TransferSyncMode(packet->GetMode()); in RunPermissionCheck()
1623 int mode = SyncOperation::TransferSyncMode(context->GetMode()); in GetReSendData()
1727 context->GetMode() == SyncModeType::RESPONSE_PULL) { in FillRequestReSendPacket()
1799 if (context->GetMode() == SyncModeType::SUBSCRIBE_QUERY) { in ControlCmdStart()
1874 if ((context->GetMode() != SyncModeType::SUBSCRIBE_QUERY) && in ControlCmdStartCheck()
1875 (context->GetMode() != SyncModeType::UNSUBSCRIBE_QUERY)) { in ControlCmdStartCheck()
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_target.cpp51 int SyncTarget::GetMode() const in GetMode() function in DistributedDB::SyncTarget
60 mode_ = operation->GetMode(); in SetSyncOperation()
/ohos5.0/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
H A Dasync_lock.cpp126 lockStatus_ = lockRequest->GetMode(); in ProcessPendingLockRequestUnsafe()
138 } while (lockRequest->GetMode() == LOCK_MODE_SHARED); in ProcessPendingLockRequestUnsafe()
149 if (lockRequest->GetMode() == LOCK_MODE_SHARED && lockStatus_ == LOCK_MODE_SHARED) { in CanAcquireLock()
203 NAPI_CALL(env, napi_create_int32(env, rq->GetMode(), &mode)); in CreateLockInfo()
/ohos5.0/base/powermgr/display_manager/state_manager/frameworks/napi/
H A Dbrightness_module.cpp116 static napi_value GetMode(napi_env env, napi_callback_info info) in GetMode() function
126 asyncBrightness->GetMode(); in GetMode()
193 DECLARE_NAPI_FUNCTION("getMode", GetMode), in Init()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_mapped_file_test.cpp322 ASSERT_EQ(MapMode::DEFAULT, mf.GetMode());
1236 ASSERT_FALSE(mf.ChangeMode(mf.GetMode()));
1359 MapMode mode = mf.GetMode();
1371 EXPECT_EQ(mf.GetMode(), MapMode::DEFAULT);
1380 EXPECT_EQ(mfNew.GetMode(), mode);
1407 MapMode mode = mf.GetMode();
1429 EXPECT_EQ(mfNew.GetMode(), mode);
1464 MapMode mode = mf1.GetMode();
1477 EXPECT_EQ(mf.GetMode(), mode);
1509 MapMode mode = mf1.GetMode();
[all …]
/ohos5.0/base/update/updater/services/
H A Dupdater_ui.cpp49 …if (GetFacade().GetMode() != UPDATERMODE_FACTORYRST && GetFacade().GetMode() != UPDATERMODE_REBOOT… in DoProgress()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/
H A Dmapped_benchmark_test.cpp241 AssertEqual((MapMode::DEFAULT | MapMode::CREATE_IF_ABSENT), mf.GetMode(), in BENCHMARK_F()
1344 AssertFalse((mf.ChangeMode(mf.GetMode())), in BENCHMARK_F()
1381 AssertEqual((MapMode::PRIVATE | MapMode::READ_ONLY), mf.GetMode(), in BENCHMARK_F()
1487 MapMode mode = mf.GetMode(); in BENCHMARK_F()
1501 AssertEqual(mf.GetMode(), MapMode::DEFAULT, in BENCHMARK_F()
1549 MapMode mode = mf.GetMode(); in BENCHMARK_F()
1565 AssertEqual(mf.GetMode(), MapMode::DEFAULT, in BENCHMARK_F()
1622 MapMode mode = mf1.GetMode(); in BENCHMARK_F()
1635 AssertEqual(mf.GetMode(), mode, "mf.GetMode() did not equal mode as expected.", state); in BENCHMARK_F()
1680 MapMode mode = mf1.GetMode(); in BENCHMARK_F()
[all …]
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/include/
H A Dark_web_doh_config.h29 virtual int32_t GetMode() = 0;
H A Dark_web_screen_capture_config.h28 virtual int32_t GetMode() = 0;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dphoto_output.cpp217 switch (session->GetMode()) { in OnCaptureStarted()
712 SceneMode currentSceneMode = session->GetMode(); in IsMirrorSupported()
765 if ((session->GetMode() == nightMode && (cameraObj->GetPosition() != CAMERA_POSITION_FRONT)) || in IsQuickThumbnailSupported()
766 session->GetMode() == LIGHT_PAINTING) { in IsQuickThumbnailSupported()
779 if ((session->GetMode() == professionalPhotoMode)) { in IsRawDeliverySupported()
821 int32_t curMode = session->GetMode(); in IsDeferredImageDeliverySupported()
871 SceneMode currentSceneMode = session->GetMode(); in IsAutoHighQualityPhotoSupported()
1019 SceneMode currentSceneMode = session->GetMode(); in IsAutoCloudImageEnhancementSupported()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_download_manager.h29 virtual int GetMode() = 0;

123456