Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/foundation/communication/ipc/ipc/native/src/napi/src/
Dnapi_ipc_skeleton.cpp57 napi_value global = nullptr; in NAPI_IPCSkeleton_getCallingTokenId() local
58 napi_get_global(env, &global); in NAPI_IPCSkeleton_getCallingTokenId()
60 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingTokenId()
66 napi_get_named_property(env, global, "callingTokenId_", &callingTokenId); in NAPI_IPCSkeleton_getCallingTokenId()
78 napi_value global = nullptr; in NAPI_IPCSkeleton_getCallingDeviceID() local
79 napi_get_global(env, &global); in NAPI_IPCSkeleton_getCallingDeviceID()
81 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_IPCSkeleton_getCallingDeviceID()
87 napi_get_named_property(env, global, "callingDeviceID_", &callingDeviceID); in NAPI_IPCSkeleton_getCallingDeviceID()
98 napi_value global = nullptr; in NAPI_IPCSkeleton_getLocalDeviceID() local
99 napi_get_global(env, &global); in NAPI_IPCSkeleton_getLocalDeviceID()
[all …]
/foundation/communication/ipc/ipc/native/src/napi_common/source/
Dnapi_process_skeleton.cpp23 napi_value global = nullptr; in NAPI_getCallingPid() local
24 napi_get_global(env, &global); in NAPI_getCallingPid()
26 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingPid()
32 napi_get_named_property(env, global, "callingPid_", &callingPid); in NAPI_getCallingPid()
44 napi_value global = nullptr; in NAPI_getCallingUid() local
45 napi_get_global(env, &global); in NAPI_getCallingUid()
47 napi_get_named_property(env, global, "activeStatus_", &napiActiveStatus); in NAPI_getCallingUid()
53 napi_get_named_property(env, global, "callingUid_", &callingUid); in NAPI_getCallingUid()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/src/
Dbootstrap.cpp36 auto *global = ConfigFactory::GetInstance().GetGlobalConfig(); in GetProcessLabel() local
37 if (global == nullptr || global->processLabel.empty()) { in GetProcessLabel()
40 return global->processLabel; in GetProcessLabel()
45 auto *global = ConfigFactory::GetInstance().GetGlobalConfig(); in GetMetaDBName() local
46 if (global == nullptr || global->metaData.empty()) { in GetMetaDBName()
49 return global->metaData; in GetMetaDBName()
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/
Dability_helper.cpp30 napi_value global = nullptr; in GetJsAbility() local
32 napi_status status = napi_get_global(env, &global); in GetJsAbility()
33 if (status != napi_ok || global == nullptr) { in GetJsAbility()
38 status = napi_get_named_property(env, global, "ability", &abilityContext); in GetJsAbility()
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/common/
Dability_helper.cpp30 napi_value global = nullptr; in GetJsAbility() local
33 napi_status status = napi_get_global(env, &global); in GetJsAbility()
34 if (status != napi_ok || global == nullptr) { in GetJsAbility()
39 status = napi_get_named_property(env, global, "ability", &abilityContext); in GetJsAbility()
/foundation/distributeddatamgr/distributedfile/interfaces/kits/napi/common/
Dability_helper.cpp30 napi_value global = nullptr; in GetJsAbility() local
33 napi_status status = napi_get_global(env, &global); in GetJsAbility()
34 if (status != napi_ok || global == nullptr) { in GetJsAbility()
39 status = napi_get_named_property(env, global, "ability", &abilityContext); in GetJsAbility()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
Dconfig_factory_test.cpp44 auto *global = ConfigFactory::GetInstance().GetGlobalConfig(); variable
45 ASSERT_NE(global, nullptr);
46 ASSERT_EQ(global->processLabel, "distributeddata");
47 ASSERT_EQ(global->metaData, "service_meta");
48 ASSERT_EQ(global->version, "000.000.001");
50 ASSERT_EQ(global->features, features);
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
Ddft_impl.cpp77 jerry_value_t global = jerry_get_global_object(); in CallbackPageReplaced() local
78 if (jerryx_has_property_str(global, ROUTER_PAGE)) { in CallbackPageReplaced()
79 jerry_value_t param = jerryx_get_property_str(global, ROUTER_PAGE); in CallbackPageReplaced()
84 jerry_release_value(global); in CallbackPageReplaced()
/foundation/arkui/ace_engine_lite/frameworks/src/core/wrapper/
Djs.cpp236 JSValue global = JSGlobal::Get(); in Get() local
237 JSValue result = JSObject::Get(global, prop); in Get()
238 JSRelease(global); in Get()
244 JSValue global = JSGlobal::Get(); in Set() local
245 JSObject::Set(global, prop, value); in Set()
246 JSRelease(global); in Set()
251 JSValue global = JSGlobal::Get(); in Del() local
252 JSObject::Del(global, props); in Del()
253 JSRelease(global); in Del()
257 JSValue global = JSGlobal::Get(); in Call() local
[all …]
/foundation/multimodalinput/input/frameworks/napi/short_key/src/
Djs_short_key_context.cpp33 napi_value global = nullptr; in CreateInstance() local
34 CHKRP(napi_get_global(env, &global), GET_GLOBAL); in CreateInstance()
43 status = napi_set_named_property(env, global, SHORT_KEY_CLASS, jsClass); in CreateInstance()
48 CHKRP(napi_set_named_property(env, global, SHORT_KEY_INSTANCE, jsInstance), SET_NAMED_PROPERTY); in CreateInstance()
88 napi_value global = nullptr; in GetInstance() local
89 CHKRP(napi_get_global(env, &global), GET_GLOBAL); in GetInstance()
92 CHKRP(napi_has_named_property(env, global, SHORT_KEY_INSTANCE, &result), HAS_NAMED_PROPERTY); in GetInstance()
99 CHKRP(napi_get_named_property(env, global, SHORT_KEY_INSTANCE, &object), SET_NAMED_PROPERTY); in GetInstance()
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/jsBundle/jsThirdBundle/bmsThirdBundle6/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/bmsThirdBundle26/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/versionTest1/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/bmsThirdBundle17/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/rightTest1/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/testOverlay/target_module_entry_lower_version_fa/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/fifteenth_right/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/bmsThirdBundle3/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/test_bundle/bmsAccessTokentest1/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/unittest/permission_bundle/bmsGrantPermission4/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/bmsThirdBundle41/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stSystemBundle/bmsSystemBundle1/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/e6Test/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/e5Test/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global
/foundation/bundlemanager/bundle_framework/test/sceneProject/systemtest/stThirdBundle/bmsThirdBundle6/src/main/js/default/pages/index/
Dindex.js15 const injectRef = Object.getPrototypeOf(global) || global

12345678910>>...12