Searched refs:mode1 (Results 1 - 5 of 5) sorted by relevance
/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 }; in HWTEST_F() local 92 int32_t ret = ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, &mode1); in HWTEST_F() 94 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, networkId1, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F() 95 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, networkId2, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F() 96 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, &mode1), SOFTBUS_OK); in HWTEST_F() 97 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME2, callerId1, NULL, &mode1), SOFTBUS_OK); in HWTEST_F() 98 EXPECT_EQ(ShiftLNNGear(NULL, callerId1, NULL, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | store_test.cpp | 91 auto mode1 = OHOS::DistributedRdb::TIME_FIRST; in HWTEST_F() local 94 auto mixMode = GeneralStore::MixMode(mode1, mode2); in HWTEST_F() 95 EXPECT_EQ(mixMode, mode1 | mode2); in HWTEST_F()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | abstract_screen_test.cpp | 76 sptr<SupportedScreenModes> mode1 = new SupportedScreenModes(); in HWTEST_F() local 77 absScreen_->modes_ = {mode0, mode1}; in HWTEST_F() 86 ASSERT_EQ(mode1, absScreen_->GetActiveScreenMode()); in HWTEST_F() 89 ASSERT_EQ(mode1, (absScreen_->GetAbstractScreenModes())[1]); in HWTEST_F() 657 sptr<SupportedScreenModes> mode1 = new SupportedScreenModes(); in HWTEST_F() local 658 absScreen_->modes_ = {mode0, mode1}; in HWTEST_F() 667 ASSERT_EQ(mode1, absScreen_->GetActiveScreenMode()); in HWTEST_F() 670 ASSERT_EQ(mode1, (absScreen_->GetAbstractScreenModes())[1]); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_test.cpp | 1125 sptr<SupportedScreenModes> mode1 = session->GetActiveScreenMode(); in HWTEST_F() local 1127 ASSERT_EQ(mode1, nullptr); in HWTEST_F()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 5301 TorchMode mode1 = TorchMode::TORCH_MODE_OFF; in HWTEST_F() local 5303 cameraManager->torchMode_ = mode1; in HWTEST_F() 5304 cameraManager->UpdateTorchMode(mode1); in HWTEST_F()
|
Completed in 17 milliseconds