/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/ |
H A D | btm_pm.c | 53 uint8_t currentMode; member 80 static BtmConnectionMode *BtmAllocConnectionMode(uint16_t connectionHandle, uint8_t currentMode) in BtmAllocConnectionMode() argument 85 connectionMode->currentMode = currentMode; in BtmAllocConnectionMode() 166 uint8_t currentMode = BTM_PM_ACTIVE_MODE; in BtmGetConnectionModeByConnectionHandle() local 172 currentMode = connectionMode->currentMode; in BtmGetConnectionModeByConnectionHandle() 177 return currentMode; in BtmGetConnectionModeByConnectionHandle() 196 uint8_t currentMode = BtmGetConnectionModeByConnectionHandle(connectionHandle); in BTM_EnterSniffMode() local 197 if (currentMode ! in BTM_EnterSniffMode() 228 uint8_t currentMode = BtmGetConnectionModeByConnectionHandle(connectionHandle); BTM_ExitSniffMode() local 266 BtmUpdateConnectionMode(uint16_t connectionHandle, uint8_t currentMode) BtmUpdateConnectionMode() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navdestination_base_test_ng.cpp | 134 NavigationTitleMode currentMode = NavigationTitleMode::MINI; in HWTEST_F() local 135 auto navigationNode = CreateNavigationWithTitle(mockNavPathStack, options, currentMode, "navigation"); in HWTEST_F() 147 currentMode = NavigationTitleMode::FULL; in HWTEST_F() 148 navigationNode = CreateNavigationWithTitle(mockNavPathStack, options, currentMode, "navigation"); in HWTEST_F() 155 currentMode = NavigationTitleMode::FREE; in HWTEST_F() 156 navigationNode = CreateNavigationWithTitle(mockNavPathStack, options, currentMode, "navigation"); in HWTEST_F() 175 NavigationTitleMode currentMode = NavigationTitleMode::MINI; in HWTEST_F() local 176 auto navigationNode = CreateNavigationWithTitle(mockNavPathStack, options, currentMode, "navigation", "subtitle"); in HWTEST_F() 184 currentMode = NavigationTitleMode::FULL; in HWTEST_F() 185 navigationNode = CreateNavigationWithTitle(mockNavPathStack, options, currentMode, "navigatio in HWTEST_F() 237 NavigationTitleMode currentMode = NavigationTitleMode::MINI; HWTEST_F() local [all...] |
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/features/ |
H A D | moon_capture_boost_feature.cpp | 40 uint32_t currentMode = INVALID_MODE; in MoonCaptureBoostFeature() local 44 if (currentMode == INVALID_MODE) { in MoonCaptureBoostFeature() 45 currentMode = static_cast<SceneMode>(item.data.ui32[i]); in MoonCaptureBoostFeature() 65 currentMode, fovRange.zoomMin, fovRange.zoomMax, fovRange.referenceValue); in MoonCaptureBoostFeature() 67 if (currentMode == static_cast<uint32_t>(relatedMode_)) { in MoonCaptureBoostFeature() 72 currentMode = INVALID_MODE; in MoonCaptureBoostFeature()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | sketch_wrapper.cpp | 269 float currentMode = INVALID_MODE_FLOAT; in UpdateSketchReferenceFovRatio() local 274 if (currentMode == INVALID_MODE_FLOAT) { in UpdateSketchReferenceFovRatio() 275 currentMode = metadataItem.data.f[i]; in UpdateSketchReferenceFovRatio() 295 currentMode, fovRange.zoomMin, fovRange.zoomMax, fovRange.referenceValue); in UpdateSketchReferenceFovRatio() 297 currentMode = INVALID_MODE_FLOAT; in UpdateSketchReferenceFovRatio() 325 uint32_t currentMode = INVALID_MODE; in UpdateSketchConfigFromMoonCaptureBoostConfig() local 330 if (currentMode == INVALID_MODE) { in UpdateSketchConfigFromMoonCaptureBoostConfig() 331 currentMode = static_cast<SceneMode>(item.data.ui32[i]); in UpdateSketchConfigFromMoonCaptureBoostConfig() 333 SceneFeaturesMode(static_cast<SceneMode>(currentMode), { FEATURE_MOON_CAPTURE_BOOST }); in UpdateSketchConfigFromMoonCaptureBoostConfig() 352 currentMode, fovRang in UpdateSketchConfigFromMoonCaptureBoostConfig() [all...] |
H A D | preview_output.cpp | 268 auto currentMode = session->GetFeaturesMode(); in GetSketchRatio() local 270 float ratio = SketchWrapper::GetSketchEnableRatio(currentMode); in GetSketchRatio() 272 MEDIA_WARNING_LOG("PreviewOutput::GetSketchRatio mode:%{public}s", currentMode.Dump().c_str()); in GetSketchRatio()
|
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_config_test.cpp | 250 std::string currentMode; in HWTEST_F() local 251 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode"); in HWTEST_F() 253 EXPECT_EQ(currentMode, "wal"); in HWTEST_F() 274 std::string currentMode; in HWTEST_F() local 275 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode"); in HWTEST_F() 277 EXPECT_EQ(currentMode, "delete"); in HWTEST_F() 298 std::string currentMode; in HWTEST_F() local 299 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode"); in HWTEST_F() 301 EXPECT_EQ(currentMode, "truncate"); in HWTEST_F() 322 std::string currentMode; in HWTEST_F() local 346 std::string currentMode; HWTEST_F() local 369 std::string currentMode; HWTEST_F() local 393 std::string currentMode; HWTEST_F() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_manager.cpp | 86 void ModeChangeCallBackProcess(uint8_t status, const RawAddress rawAddr, uint8_t currentMode, uint16_t interval); 88 uint8_t status, const BtAddr *btAddr, uint8_t currentMode, uint16_t interval, void *context); 191 uint8_t status, const RawAddress rawAddr, uint8_t currentMode, uint16_t interval) in ModeChangeCallBackProcess() 193 LOG_DEBUG("PM_: %{public}s start, status: %u, currentMode: %u, interval: %u, line: %{public}d\n", in ModeChangeCallBackProcess() 196 currentMode, in ModeChangeCallBackProcess() 209 powerDevices_[rawAddr]->ModeChangeCallBack(status, currentMode, interval); in ModeChangeCallBackProcess() 213 uint8_t status, const BtAddr *btAddr, uint8_t currentMode, uint16_t interval, void *context) in ModeChangeCallBack() 221 currentMode, in ModeChangeCallBack() 190 ModeChangeCallBackProcess( uint8_t status, const RawAddress rawAddr, uint8_t currentMode, uint16_t interval) ModeChangeCallBackProcess() argument 212 ModeChangeCallBack( uint8_t status, const BtAddr *btAddr, uint8_t currentMode, uint16_t interval, void *context) ModeChangeCallBack() argument
|
H A D | power_device.cpp | 138 void PowerDevice::ModeChangeCallBack(uint8_t status, uint8_t currentMode, uint16_t interval) in ModeChangeCallBack() argument 141 LOG_DEBUG("PM_: %{public}s, status: %{public}d, currentMode: %{public}d, interval: %{public}d\n", __FUNCTION__, status, currentMode, interval); in ModeChangeCallBack() 143 if (currentMode == BTM_PM_ACTIVE_MODE) { // current Mode Active in ModeChangeCallBack() 148 } else if (currentMode == BTM_PM_SNIFF_MODE) { // current Mode Sniff in ModeChangeCallBack()
|
H A D | power_device.h | 97 * @param currentMode Current acl link road power mode. 101 void ModeChangeCallBack(uint8_t status, uint8_t currentMode, uint16_t interval);
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | metadata_common_utils.cpp | 249 float currentMode = static_cast<float>(modeName); in ParsePhysicalApertureRangeByMode() local 251 [currentMode](auto value) -> bool { in ParsePhysicalApertureRangeByMode() 252 return currentMode == value[0]; in ParsePhysicalApertureRangeByMode()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/ |
H A D | container_modal_pattern_enhance.cpp | 611 auto currentMode = windowManager->GetCurrentWindowMaximizeMode(); in OnMaxButtonClick() local 612 if (mode == WindowMode::WINDOW_MODE_FULLSCREEN || currentMode == MaximizeMode::MODE_AVOID_SYSTEM_BAR || in OnMaxButtonClick()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | btm.h | 662 void (*modeChange)(uint8_t status, const BtAddr *addr, uint8_t currentMode, uint16_t interval, void *context);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/ |
H A D | hci_def_evt.h | 238 uint8_t currentMode; member
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_connection.cpp | 718 std::string currentMode = SqliteUtils::StrToUpper(static_cast<std::string>(object)); in SetJournalMode() local 719 if (currentMode != config.GetJournalMode()) { in SetJournalMode()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 4091 auto currentMode = GetMode(); in GetMoonCaptureBoostFeature() local 4094 if (moonCaptureBoostFeature_ == nullptr || moonCaptureBoostFeature_->GetRelatedMode() != currentMode) { in GetMoonCaptureBoostFeature() 4095 moonCaptureBoostFeature_ = std::make_shared<MoonCaptureBoostFeature>(currentMode, deviceAbility); in GetMoonCaptureBoostFeature()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/ |
H A D | camera_framework_moduletest.cpp | 3686 WhiteBalanceMode currentMode; in HWTEST_F() local 3687 session->GetWhiteBalanceMode(currentMode); in HWTEST_F() 3688 ASSERT_EQ(currentMode, supportedWhiteBalanceModes[0]); in HWTEST_F()
|