/foundation/communication/dsoftbus/adapter/common/range/ |
H A D | softbus_adapter_range.c | 36 int SoftBusGetBlePower(int8_t *power) in SoftBusGetBlePower() argument 38 if (power == NULL) { in SoftBusGetBlePower() 42 *power = MOCK_POWER; in SoftBusGetBlePower()
|
/foundation/communication/dsoftbus/tests/adapter/unittest/ |
H A D | softbus_adapter_range_test.cpp | 55 .power = 1, in HWTEST_F() 76 int8_t power = 0; in HWTEST_F() local 79 ret = SoftBusGetBlePower(&power); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | spring_model.cpp | 110 const double power = exp(r_ * time); in Velocity() local 111 return r_ * (c1_ + c2_ * time) * power + c2_ * power; in Velocity() 169 double power = exp(r_ * time); in Velocity() local 172 return power * (c2_ * w_ * cosine - c1_ * w_ * sine) + r_ * power * (c2_ * sine + c1_ * cosine); in Velocity()
|
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/ |
H A D | routing_manager.cpp | 41 // power state masks 165 // currently set tech F default to ese with power 0x3B in ComputeRoutingParams() 204 int aidInfo, int power) in AddAidRouting() 209 tNFA_STATUS status = NFA_EeAddAidRouting(route, aidLen, static_cast<uint8_t*>(aidBytes.data()), power, aidInfo); in AddAidRouting() 233 bool RoutingManager::SetRoutingEntry(uint32_t type, uint32_t value, uint32_t route, uint32_t power) in SetRoutingEntry() argument 235 InfoLog("SetRoutingEntry: type:0x%{public}X, value:0x%{public}X, route:0x%{public}X, power:0x%{public}X", in SetRoutingEntry() 236 type, value, route, power); in SetRoutingEntry() 249 // validate power state value in SetRoutingEntry() 250 power &= PWR_STA_MASK; in SetRoutingEntry() 252 power in SetRoutingEntry() 203 AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power) AddAidRouting() argument 298 uint32_t power = defaultRouteAndPower & PWR_STA_MASK; SetDefaultAidRoute() local [all...] |
H A D | nci_ce_impl_default.cpp | 51 int aidInfo, int power) in AddAidRouting() 54 power); in AddAidRouting() 50 AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power) AddAidRouting() argument
|
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_range.h | 30 // valid value of power is [-128, 10], 11 is considered to be illegal. 37 int8_t power; member 46 int SoftBusGetBlePower(int8_t *power);
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_post_process_common.h | 26 float getVignetteCoeff(const vec2 uv, CORE_RELAXEDP const float coeff, CORE_RELAXEDP const float power) in getVignetteCoeff() argument 30 vignette = pow(vignette, power); in getVignetteCoeff()
|
/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusadapterrange_fuzzer/ |
H A D | softbusadapterrange_fuzzer.cpp | 41 int8_t power = 0; in SoftBusAdapterRangeFuzzTest() local 42 SoftBusGetBlePower(&power); in SoftBusAdapterRangeFuzzTest()
|
/foundation/communication/nfc/services/src/nci_adapter/ |
H A D | nci_ce_proxy.cpp | 76 int power) in AddAidRouting() 79 return nciCeInterface_->AddAidRouting(aidStr, route, aidInfo, power); in AddAidRouting() 75 AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power) AddAidRouting() argument
|
H A D | nci_ce_proxy.h | 56 * @param power: power state 60 int power) override;
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/utils/ |
H A D | dp_power_manager.cpp | 48 auto& power = PowerMgr::PowerMgrClient::GetInstance(); in Initialize() local 49 wakeLock_ = power.CreateRunningLock(DEFERRED_LOCK_NAME, PowerMgr::RunningLockType::RUNNINGLOCK_BACKGROUND); in Initialize()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/ |
H A D | events_info.cpp | 56 auto& power = PowerMgr::PowerMgrClient::GetInstance(); in GetScreenState() local 57 if (power.IsScreenOn()) { in GetScreenState()
|
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_vendor_interface.c | 82 HalVendorError WifiSetWifiTxPower(int32_t power) in WifiSetWifiTxPower() argument 84 LOGD("WifiSetWifiTxPower power %{public}d", power); in WifiSetWifiTxPower()
|
H A D | wifi_hal_vendor_interface.h | 47 HalVendorError (*wifiSetWifiTxPower)(int32_t power);
|
/foundation/communication/nfc/services/src/card_emulation/ |
H A D | ce_service.h | 43 int power; member 46 return aid == other.aid && route == other.route && aidInfo == other.aidInfo && power == other.power; in operator ==()
|
H A D | ce_service.cpp | 138 int power = entry.power; in InitConfigAidRouting() local 141 "0x%{public}x, route=0x%{public}x, power=0x%{public}x", in InitConfigAidRouting() 142 aid.c_str(), aidInfo, route, power); in InitConfigAidRouting() 143 bool addResult = nciCeProxy_.lock()->AddAidRouting(aid, route, aidInfo, power); in InitConfigAidRouting() 197 aidEntry.power = DEFAULT_PWR_STA_HOST; in BuildAidEntries() 207 aidEntry.power = DEFAULT_PWR_STA_HOST; in BuildAidEntries()
|
/foundation/communication/wifi_lite/interfaces/wifiservice/ |
H A D | wifi_hotspot.h | 135 * @brief Adds the hotspot transmit power to the beacon.
137 * After the transmit power is added, the beacon must contain specified IEs. If the minimum transmit power
139 * The transmit power is added to the <b>ie</b> field only, exerting no impacts on the transmit power. \n
140 * @param power Indicates the transmit power to add.
145 WifiErrorCode AddTxPowerInfo(int power);
|
/foundation/communication/wifi/wifi/interfaces/kits/c/ |
H A D | wifi_hotspot.h | 135 * @brief Adds the hotspot transmit power to the beacon. 137 * After the transmit power is added, the beacon must contain specified IEs. If the minimum transmit power 139 * The transmit power is added to the <b>ie</b> field only, exerting no impacts on the transmit power. \n 140 * @param power Indicates the transmit power to add. 145 WifiErrorCode AddTxPowerInfo(int power);
|
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/include/ |
H A D | routing_manager.h | 39 bool AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power); 55 bool SetRoutingEntry(uint32_t type, uint32_t value, uint32_t route, uint32_t power);
|
H A D | nci_ce_impl_default.h | 31 bool AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power) override;
|
/foundation/communication/nfc/test/unittest/services/nci_ce_proxy_test/ |
H A D | nci_ce_proxy_test.cpp | 115 int power = 0; in HWTEST_F() local 117 bool addAidRouting = nciCeProxy->AddAidRouting(aidStr, route, aidInfo, power); in HWTEST_F()
|
/foundation/communication/wifi/wifi/test/wifi_standard/native/ |
H A D | wifi_c_hotspot_test.cpp | 82 int power = 0; in AddTxPowerInfoTests() local 83 AddTxPowerInfo(power); in AddTxPowerInfoTests()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_remote_device.cpp | 305 void ClassicRemoteDevice::SetTxPower(uint8_t power) in SetTxPower() argument 307 LOG_DEBUG("[ClassicRemoteDevice]::%{public}s txPower = %u", __func__, power); in SetTxPower() 309 txPower_ = power; in SetTxPower()
|
/foundation/communication/wifi_aware/hals/ |
H A D | hal_wifiaware.h | 47 int HalWifiSdpAdjustTxPower(const char *ifname, signed char power);
|
/foundation/communication/nfc/interfaces/inner_api/common/ |
H A D | inci_ce_interface.h | 89 * @param power: power state
92 virtual bool AddAidRouting(const std::string &aidStr, int route, int aidInfo, int power) = 0;
|