/foundation/multimedia/player_framework/frameworks/js/common/ |
H A D | common_napi.cpp | 63 bool CommonNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result) in GetPropertyInt32() argument 67 napi_status napiStatus = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyInt32() 69 CHECK_AND_RETURN_RET_LOG(napi_get_named_property(env, configObj, type.c_str(), &item) == napi_ok, false, in GetPropertyInt32() 76 bool CommonNapi::GetPropertyUint32(napi_env env, napi_value configObj, const std::string &type, uint32_t &result) in GetPropertyUint32() argument 80 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyUint32() 82 CHECK_AND_RETURN_RET_LOG(napi_get_named_property(env, configObj, type.c_str(), &item) == napi_ok, false, in GetPropertyUint32() 90 bool CommonNapi::GetPropertyInt64(napi_env env, napi_value configObj, const std::string &type, int64_t &result) in GetPropertyInt64() argument 94 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyInt64() 100 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetPropertyInt64() 112 bool CommonNapi::GetPropertyDouble(napi_env env, napi_value configObj, cons argument 134 GetPropertyString(napi_env env, napi_value configObj, const std::string &type) GetPropertyString() argument 153 GetPropertyRecord(napi_env env, napi_value configObj, Meta &meta, std::string type) GetPropertyRecord() argument 856 GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result) GetPropertyBool() argument [all...] |
H A D | common_napi.h | 53 static bool GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result); 54 static bool GetPropertyUint32(napi_env env, napi_value configObj, const std::string &type, uint32_t &result); 55 static bool GetPropertyInt64(napi_env env, napi_value configObj, const std::string &type, int64_t &result); 56 static bool GetPropertyDouble(napi_env env, napi_value configObj, const std::string &type, double &result); 57 static std::string GetPropertyString(napi_env env, napi_value configObj, const std::string &type); 82 static bool GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result);
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/include/ |
H A D | soundpool_napi.h | 141 bool GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result);
|
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.h | 122 static int32_t GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result);
|
H A D | avscreen_capture_napi.cpp | 922 int32_t AVScreenCaptureNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, 927 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); 933 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) {
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_file_asset_napi.cpp | 666 static bool GetInt32InfoFromNapiObject(napi_env env, napi_value configObj, std::string type, int32_t &result) in GetInt32InfoFromNapiObject() argument 670 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetInt32InfoFromNapiObject() 676 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetInt32InfoFromNapiObject() 689 static bool GetNapiObjectFromNapiObject(napi_env env, napi_value configObj, std::string type, napi_value *object) in GetNapiObjectFromNapiObject() argument 692 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetNapiObjectFromNapiObject() 698 if (napi_get_named_property(env, configObj, type.c_str(), object) != napi_ok) { in GetNapiObjectFromNapiObject()
|
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A D | avrecorder_napi.h | 341 static int32_t GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result, 343 static int32_t GetPropertyInt32Vec(napi_env env, napi_value configObj, const std::string &type,
|
H A D | avrecorder_napi.cpp | 2281 int32_t AVRecorderNapi::GetPropertyInt32(napi_env env, napi_value configObj, const std::string &type, int32_t &result, 2287 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); 2293 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { 2314 int32_t AVRecorderNapi::GetPropertyInt32Vec(napi_env env, napi_value configObj, const std::string &type, 2320 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); 2326 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) {
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 847 bool SoundPoolNapi::GetPropertyBool(napi_env env, napi_value configObj, const std::string &type, bool &result) in GetPropertyBool() argument 851 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetPropertyBool() 857 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetPropertyBool()
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | file_asset_napi.cpp | 1789 static bool GetInt32InfoFromNapiObject(napi_env env, napi_value configObj, std::string type, int32_t &result) in GetInt32InfoFromNapiObject() argument 1793 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetInt32InfoFromNapiObject() 1799 if (napi_get_named_property(env, configObj, type.c_str(), &item) != napi_ok) { in GetInt32InfoFromNapiObject() 1812 static bool GetNapiObjectFromNapiObject(napi_env env, napi_value configObj, std::string type, napi_value *object) in GetNapiObjectFromNapiObject() argument 1815 napi_status status = napi_has_named_property(env, configObj, type.c_str(), &exist); in GetNapiObjectFromNapiObject() 1821 if (napi_get_named_property(env, configObj, type.c_str(), object) != napi_ok) { in GetNapiObjectFromNapiObject()
|