Home
last modified time | relevance | path

Searched refs:present (Results 1 – 25 of 235) sorted by relevance

12345678910

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/battery/
H A D_battery_info_v10.md33 | byte [present](#present) | 表示是否支持电池或者电池是否在位。 |
130 ### present subsection
133 byte BatteryInfo::present
H A D_battery_info_v11.md33 | byte [present](#present) | 表示是否支持电池或者电池是否在位。 |
130 ### present subsection
133 byte BatteryInfo::present
H A D_battery_info_v12.md33 | byte [present](#present) | 表示是否支持电池或者电池是否在位。 |
130 ### present subsection
133 byte BatteryInfo::present
H A D_battery_info_v20.md33 | byte [present](#present) | 表示是否支持电池或者电池是否在位。 |
131 ### present subsection
134 byte BatteryInfo::present
H A Dinterface_i_battery_interface_v10.md31 | [GetPresent](#getpresent) ([out] boolean present) | 获取是否支持电池或者电池是否在位。 |
262 IBatteryInterface::GetPresent ([out] boolean present)
275 | present | 输出参数,表示是否支持电池或者电池是否在位。true表示支持或在位,false表示不支持或不在位。 |
H A Dinterface_i_battery_interface_v11.md29 | [GetPresent](#getpresent) ([out] boolean present) | 获取是否支持电池或者电池是否在位。 |
261 IBatteryInterface::GetPresent ([out] boolean present)
274 | present | 输出参数,表示是否支持电池或者电池是否在位。true表示支持或在位,false表示不支持或不在位。 |
H A Dinterface_i_battery_interface_v12.md29 | [GetPresent](#getpresent) ([out] boolean present) | 获取是否支持电池或者电池是否在位。 |
316 IBatteryInterface::GetPresent ([out] boolean present)
329 | present | 输出参数,表示是否支持电池或者电池是否在位。true表示支持或在位,false表示不支持或不在位。 |
H A Dinterface_i_battery_interface_v20.md29 | [GetPresent](#getpresent) ([out] boolean present) | 获取是否支持电池或者电池是否在位。 |
316 IBatteryInterface::GetPresent ([out] boolean present)
329 | present | 输出参数,表示是否支持电池或者电池是否在位。true表示支持或在位,false表示不支持或不在位。 |
/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_sttest.cpp470 auto present = BatterySrvClient.GetPresent(); variable
471 GTEST_LOG_(INFO) << "BatteryST013 executing, present=" << present;
473 EXPECT_TRUE(present);
477 auto present = BatterySrvClient.GetPresent(); variable
479 GTEST_LOG_(INFO) << "BatteryST013 executing, present=" << present;
480 EXPECT_TRUE(present);
499 auto present = BatterySrvClient.GetPresent(); variable
500 GTEST_LOG_(INFO) << "BatteryST014 executing, present=" << present;
502 EXPECT_FALSE(present);
506 auto present = BatterySrvClient.GetPresent(); variable
[all …]
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_service_test.cpp123 auto present = g_service->GetPresent(); variable
124 BATTERY_HILOGI(LABEL_TEST, "BatteryService005::present=%{public}d", present);
125 GTEST_LOG_(INFO) << "BatteryService005 executing, present=" << present;
126 EXPECT_FALSE(present);
129 auto present = g_service->GetPresent(); variable
130 BATTERY_HILOGI(LABEL_TEST, "BatteryService005::present=%{public}d", present);
131 GTEST_LOG_(INFO) << "BatteryService005 executing, present=" << present;
132 EXPECT_TRUE(present);
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_if.c80 uint8_t present = 0; in MmcDevPresent() local
101 if (HdfSbufReadUint8(reply, &present) == false) { in MmcDevPresent()
107 return (present != 0); in MmcDevPresent()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/secureelement/
H A Dinterface_i_secure_element_interface.md22 | [isSecureElementPresent](#issecureelementpresent) ([out] boolean present) | 检查当前的安全单元是否可用。 |
95 ISecureElementInterface::isSecureElementPresent ([out] boolean present)
108 | present | 如果安全单元可用,则present等于True,否则为false。 |
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v1_0/foo/battery/v1_0/
H A DIBatteryInterface.idl154 * @brief Checks whether the battery is supported or present.
156 …* @param present Whether battery is supported or present. The value **true** indicates that the ba…
157 * supported or present, and the value **false** indicates the opposite.
163 GetPresent([out] boolean present);
/ohos5.0/drivers/interface/battery/v1_0/
H A DIBatteryInterface.idl154 * @brief Checks whether the battery is supported or present.
156 …* @param present Whether battery is supported or present. The value **true** indicates that the ba…
157 * supported or present, and the value **false** indicates the opposite.
163 GetPresent([out] boolean present);
/ohos5.0/base/powermgr/battery_manager/frameworks/napi/src/
H A Dbattery_info.cpp123 bool present = g_battClient.GetPresent(); in GetBatteryPresent() local
125 NAPI_CALL(env, napi_get_boolean(env, present, &napiValue)); in GetBatteryPresent()
127 BATTERY_HILOGD(FEATURE_BATT_INFO, "present %{public}d", present); in GetBatteryPresent()
473 napi_value present = nullptr; in CreateEventBatteryChangedKey() local
483 napi_create_string_utf8(env, BatteryInfo::COMMON_EVENT_KEY_PRESENT, NAPI_AUTO_LENGTH, &present); in CreateEventBatteryChangedKey()
494 DECLARE_NAPI_STATIC_PROPERTY("EXTRA_PRESENT", present), in CreateEventBatteryChangedKey()
518 napi_value present = nullptr; in CreateEventBatteryChangedCode() local
531 napi_create_int32(env, (int32_t)BatteryInfo::COMMON_EVENT_CODE_PRESENT, &present); in CreateEventBatteryChangedCode()
545 DECLARE_NAPI_STATIC_PROPERTY("EXTRA_PRESENT", present), in CreateEventBatteryChangedCode()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v1_1/foo/battery/v1_1/
H A DIBatteryInterface.idl154 * @brief Checks whether the battery is supported or present.
156 …* @param present Whether battery is supported or present. The value **true** indicates that the ba…
157 * supported or present, and the value **false** indicates the opposite.
163 GetPresent([out] boolean present);
/ohos5.0/drivers/interface/battery/v1_1/
H A DIBatteryInterface.idl154 * @brief Checks whether the battery is supported or present.
156 …* @param present Whether battery is supported or present. The value **true** indicates that the ba…
157 * supported or present, and the value **false** indicates the opposite.
163 GetPresent([out] boolean present);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/model/storage/src/mmc/
H A Dmmc_block_lite.c50 bool present = false; in DiskMmcStatus() local
65 present = (MmcDeviceIsPresent(mb->mmc)) ? true : false; in DiskMmcStatus()
66 if (!present) { in DiskMmcStatus()
/ohos5.0/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp136 bool present = g_batterySrvClient.GetPresent(); in BENCHMARK_F() local
137 ASSERT_TRUE(present || !present); in BENCHMARK_F()
/ohos5.0/drivers/peripheral/secure_element/hdi_service/
H A Dse_impl.cpp53 int32_t SeImpl::isSecureElementPresent(bool& present) in isSecureElementPresent() argument
55 return adaptor_.isSecureElementPresent(present); in isSecureElementPresent()
/ohos5.0/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
H A Dbattery_client_test.cpp198 auto present = BatterySrvClient.GetPresent(); variable
199 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::present=%{public}d", present);
200 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient004 executing, present=" << present;
201 ASSERT_FALSE(present);
205 auto present = BatterySrvClient.GetPresent(); variable
206 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::present=%{public}d", present);
207 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient004 executing, present=" << present;
208 ASSERT_TRUE(present);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v1_0/cpp_target/battery/v1_0/
H A Dtypes.cpp.txt95 if (!data.WriteInt8(dataBlock.present)) {
96 HDF_LOGE("%{public}s: write dataBlock.present failed!", __func__);
174 if (!data.ReadInt8(dataBlock.present)) {
175 HDF_LOGE("%{public}s: read dataBlock.present failed!", __func__);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/secure_element_v1_0/foo/secure_element/v1_0/
H A DISecureElementInterface.idl49 * Checks if a SE is present in this reader.
51 * @param present True if the SE is present, false otherwise.
53 isSecureElementPresent([out] boolean present);
/ohos5.0/drivers/interface/secure_element/sim_secure_element/v1_0/
H A DISecureElementInterface.idl49 * Checks if a SE is present in this reader.
51 * @param present True if the SE is present, false otherwise.
55 isSecureElementPresent([out] boolean present);
/ohos5.0/drivers/interface/secure_element/v1_0/
H A DISecureElementInterface.idl49 * Checks if a SE is present in this reader.
51 * @param present True if the SE is present, false otherwise.
53 isSecureElementPresent([out] boolean present);

12345678910