Home
last modified time | relevance | path

Searched refs:matchMode (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/bluetooth/frameworks/js/napi/src/
H A Dnapi_bluetooth_host.cpp117 napi_value matchMode = nullptr; in MatchModeInit() local
118 napi_create_object(env, &matchMode); in MatchModeInit()
120 env, matchMode, static_cast<int>(MatchMode::MATCH_MODE_AGGRESSIVE), "MATCH_MODE_AGGRESSIVE"); in MatchModeInit()
121 SetNamedPropertyByInteger(env, matchMode, static_cast<int>(MatchMode::MATCH_MODE_STICKY), "MATCH_MODE_STICKY"); in MatchModeInit()
122 return matchMode; in MatchModeInit()
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble.cpp346 static void ConvertMatchMode(ScanOptions &params, int32_t matchMode) in ConvertMatchMode() argument
348 switch (matchMode) { in ConvertMatchMode()
350 params.matchMode = MatchMode::MATCH_MODE_AGGRESSIVE; in ConvertMatchMode()
353 params.matchMode = MatchMode::MATCH_MODE_STICKY; in ConvertMatchMode()
401 NAPI_BT_CALL_RETURN(NapiCheckObjectPropertiesName(env, scanArg, {"interval", "dutyMode", "matchMode", "phyType"})); in ParseScanParameters()
418 int32_t matchMode = 0; in ParseScanParameters() local
419 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "matchMode", exist, matchMode)); in ParseScanParameters()
421 HILOGI("Scan matchMode is %{public}d", matchMode); in ParseScanParameters()
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dble_service_data.cpp100 void BleScanSettingsImpl::SetMatchMode(uint8_t matchMode) in SetMatchMode() argument
102 matchMode_ = matchMode; in SetMatchMode()
H A Dble_service_data.h172 * @param matchMode match mode value.
175 void SetMatchMode(uint8_t matchMode);
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_utils.h213 MatchMode matchMode = MatchMode::MATCH_MODE_AGGRESSIVE; // Match mode for Bluetooth LE scan filters hardware match member
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp2921 SceneMode matchMode = SceneMode::NORMAL; in VerifyAbility() local
2925 matchMode = *mode; in VerifyAbility()
2936 ProcessProfilesAbilityId(matchMode); in VerifyAbility()

Completed in 16 milliseconds