Home
last modified time | relevance | path

Searched refs:ParseInt (Results 1 – 8 of 8) sorted by relevance

/base/powermgr/battery_manager/charger/include/
Dpower_supply_provider.h58 static inline int32_t ParseInt(const char* str);
/base/powermgr/battery_manager/charger/src/
Dpower_supply_provider.cpp54 inline int32_t PowerSupplyProvider::ParseInt(const char* str) in ParseInt() function in OHOS::PowerMgr::PowerSupplyProvider
292 int32_t value = ParseInt(buf); in ParseCapacity()
306 int32_t value = ParseInt(buf); in ParseTemperature()
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/
Dbundle_manager_addon.cpp226 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in CheckAndParseUninstallParamType()
236 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in CheckAndParseUninstallParamType()
244 if (!ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO])) { in CheckAndParseUninstallParamType()
250 if (!ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO])) { in CheckAndParseUninstallParamType()
334 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_ONE]), in GetAllowedOrDisallowedInstallBundles()
478 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in AddOrRemoveInstallBundles()
/base/customization/enterprise_device_management/interfaces/kits/application_manager/src/
Dapplication_manager_addon.cpp60 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_ONE]), in GetDisallowedRunningBundles()
190 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in AddOrRemovellowedRunningBundles()
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
Dusb_manager_addon.cpp76 ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->policy, argv[ARR_INDEX_ONE]), in SetUsbPolicy()
/base/customization/enterprise_device_management/interfaces/kits/common/include/
Dnapi_edm_common.h68 bool ParseInt(napi_env env, int32_t &param, napi_value args);
/base/customization/enterprise_device_management/interfaces/kits/admin_manager/src/
Dadmin_manager_addon.cpp50 …ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->adminType, argv[ARR_INDEX_TWO]), in EnableAdmin()
59 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_THREE]), in EnableAdmin()
170 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_ONE]), in DisableAdmin()
456 … ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_ONE]), in IsAdminEnabled()
/base/customization/enterprise_device_management/interfaces/kits/common/src/
Dnapi_edm_common.cpp70 bool ParseInt(napi_env env, int32_t &param, napi_value args) in ParseInt() function
213 …return napi_get_named_property(env, object, filedStr, &prop) == napi_ok && ParseInt(env, result, p… in JsObjectToInt()