Home
last modified time | relevance | path

Searched refs:appearance (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gas/
H A Dgeneric_access_service.cpp257 int appearance = DEFAULT_APPEARANCE; in GetAppearance() local
258 AdapterDeviceConfig::GetInstance()->GetValue(SECTION_HOST, PROPERTY_BLE_APPEARANCE, appearance); in GetAppearance()
261 if (memcpy_s(result.get(), APPEARANCE_DATE_LENGTH, &appearance, APPEARANCE_DATE_LENGTH) != EOK) { in GetAppearance()
/foundation/communication/bluetooth/frameworks/inner/ipc/common/
H A Dble_service_data.cpp608 * @brief Set device appearance.
610 * @param appearance Device appearance.
613 void BleAdvertiserDataImpl::SetAppearance(uint16_t appearance) in SetAppearance() argument
619 std::string(reinterpret_cast<char *>(&appearance), BLE_ADV_DATA_FIELD_TYPE_AND_LEN)); in SetAppearance()
832 * @brief Get device appearance.
834 * @return Returns the device appearance.
1471 * @brief Set device appearance.
1476 void BlePeripheralDevice::SetAppearance(uint16_t appearance) in SetAppearance() argument
1478 appearance_ = appearance; in SetAppearance()
[all...]
H A Dble_service_data.h555 * @brief Set device appearance.
557 * @param appearance Device appearance.
560 void SetAppearance(uint16_t appearance);
1134 * @brief Set appearance.
1136 * @param appearance Appearance.
1139 void SetAppearance(uint16_t appearance);
1164 /// include appearance?
1186 /// appearance
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_config.cpp295 int appearance = 0; in GetAppearance() local
296 bool ret = config_->GetValue(SECTION_HOST, PROPERTY_BLE_APPEARANCE, appearance); in GetAppearance()
298 LOG_ERROR("[BleConfig] %{public}s:%{public}s", __func__, "Get ble appearance failed!"); in GetAppearance()
300 return appearance; in GetAppearance()

Completed in 7 milliseconds