Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 33) sorted by relevance

12

/system/core/libnativeloader/
Dnative_loader.cpp58 android_namespace_t* Create(JNIEnv* env, in Create() argument
66 ScopedUtfChars library_path_utf_chars(env, java_library_path); in Create()
79 ScopedUtfChars path(env, java_permitted_path); in Create()
89 android_namespace_t* ns = FindNamespaceByClassLoader(env, class_loader); in Create()
99 android_namespace_t* parent_ns = FindParentNamespaceByClassLoader(env, class_loader); in Create()
109 namespaces_.push_back(std::make_pair(env->NewWeakGlobalRef(class_loader), ns)); in Create()
115 android_namespace_t* FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader) { in FindNamespaceByClassLoader() argument
118 return env->IsSameObject(value.first, class_loader); in FindNamespaceByClassLoader()
200 jobject GetParentClassLoader(JNIEnv* env, jobject class_loader) { in GetParentClassLoader() argument
201 jclass class_loader_class = env->FindClass("java/lang/ClassLoader"); in GetParentClassLoader()
[all …]
/system/core/libnativebridge/
Dnative_bridge.cc325 static void SetCpuAbi(JNIEnv* env, jclass build_class, const char* field, const char* value) { in SetCpuAbi() argument
327 jfieldID field_id = env->GetStaticFieldID(build_class, field, "Ljava/lang/String;"); in SetCpuAbi()
329 env->ExceptionClear(); in SetCpuAbi()
334 jstring str = env->NewStringUTF(value); in SetCpuAbi()
336 env->ExceptionClear(); in SetCpuAbi()
341 env->SetStaticObjectField(build_class, field_id, str); in SetCpuAbi()
346 static void SetupEnvironment(const NativeBridgeCallbacks* callbacks, JNIEnv* env, const char* isa) { in SetupEnvironment() argument
348 if (env == nullptr) { in SetupEnvironment()
360 jint success = env->PushLocalFrame(16); // That should be small and large enough. in SetupEnvironment()
364 env->ExceptionClear(); in SetupEnvironment()
[all …]
/system/connectivity/shill/
Drpc_task.cc55 map<string, string> env; in GetEnvironment() local
56 env.emplace(kRPCTaskServiceVariable, adaptor_->GetRpcConnectionIdentifier()); in GetEnvironment()
57 env.emplace(kRPCTaskPathVariable, adaptor_->GetRpcIdentifier()); in GetEnvironment()
58 return env; in GetEnvironment()
Drpc_task_unittest.cc67 map<string, string> env = task_.GetEnvironment(); in TEST_F() local
68 ASSERT_EQ(2, env.size()); in TEST_F()
69 EXPECT_EQ(env[kRPCTaskServiceVariable], RPCTaskMockAdaptor::kRpcConnId); in TEST_F()
70 EXPECT_EQ(env[kRPCTaskPathVariable], RPCTaskMockAdaptor::kRpcId); in TEST_F()
Dexternal_task.cc65 map<string, string> env = local_rpc_task->GetEnvironment(); in Start() local
66 env.insert(environment.begin(), environment.end()); in Start()
72 env, in Start()
Dmock_process_manager.h42 const std::map<std::string, std::string>& env,
Dprocess_manager.cc49 bool SetupChild(const map<string, string>& env, bool terminate_with_parent) { in SetupChild() argument
52 for (const auto& key_value : env) { in SetupChild()
/system/core/include/nativebridge/
Dnative_bridge.h51 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
183 const char* (*getMethodShorty)(JNIEnv* env, jmethodID mid);
192 uint32_t (*getNativeMethodCount)(JNIEnv* env, jclass clazz);
204 uint32_t (*getNativeMethods)(JNIEnv* env, jclass clazz, JNINativeMethod* methods,
/system/webservd/webservd/etc/init/
Dwebservd.conf22 env WEBSERVD_LOG_LEVEL=0
23 env WEBSERVD_DEBUG=false
24 env WEBSERVD_CONFIG_PATH=
/system/core/libnativeloader/include/nativeloader/
Dnative_loader.h32 jstring CreateClassLoaderNamespace(JNIEnv* env,
40 void* OpenNativeLibrary(JNIEnv* env,
53 android_namespace_t* FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader);
/system/connectivity/shill/init/
Dshill.conf.in33 env SHILL_LOG_LEVEL=0
34 env SHILL_LOG_SCOPES=
35 env SHILL_PASSIVE_MODE=
36 env SHILL_PREPEND_DNS_SERVERS=
37 env SHILL_ACCEPT_HOSTNAME_FROM=
38 env SHILL_MINIMUM_MTU=
39 env BLACKLISTED_DEVICES=
40 env DHCPV6_ENABLED_DEVICES=
41 env IGNORE_UNKNOWN_ETHERNET=
44 env SHILL_TEST_DEVICES=""
/system/connectivity/shill/shims/
Denvironment.cc51 map<string, string> env; in AsMap() local
56 env[v.substr(0, assign)] = v.substr(assign + 1); in AsMap()
59 return env; in AsMap()
Denvironment_unittest.cc68 map<string, string> env = environment_->AsMap(); in TEST_F() local
70 EXPECT_TRUE(ContainsKey(env, kVarNames[i])) << kVarNames[i]; in TEST_F()
71 EXPECT_EQ(kVarValues[i], env[kVarNames[i]]) << kVarNames[i]; in TEST_F()
Dopenvpn_script.cc55 map<string, string> env = environment->AsMap(); in main() local
56 proxy.Notify(reason, env); in main()
/system/connectivity/shill/dbus/
Dchromeos_upstart_proxy.cc36 const string& name, const vector<string>& env, bool wait) { in EmitEvent() argument
39 env, in EmitEvent()
Dchromeos_upstart_proxy.h39 const std::vector<std::string>& env,
/system/update_engine/common/
Dsubprocess.cc47 bool SetupChild(const std::map<string, string>& env, uint32_t flags) { in SetupChild() argument
50 for (const auto& key_value : env) { in SetupChild()
83 std::map<string, string> env; in LaunchProcess() local
87 env.emplace(key, value); in LaunchProcess()
95 proc->SetPreExecCallback(base::Bind(&SetupChild, env, flags)); in LaunchProcess()
/system/core/adb/
Dshell_service.cpp249 std::unordered_map<std::string, std::string> env; in ForkAndExec() local
259 env[env_string.c_str()] = delimiter; in ForkAndExec()
266 env["HOME"] = pw->pw_dir; in ForkAndExec()
267 env["LOGNAME"] = pw->pw_name; in ForkAndExec()
268 env["USER"] = pw->pw_name; in ForkAndExec()
269 env["SHELL"] = pw->pw_shell; in ForkAndExec()
273 env["TERM"] = terminal_type_; in ForkAndExec()
277 for (auto it : env) { in ForkAndExec()
/system/connectivity/shill/upstart/
Dupstart_proxy_interface.h34 const std::vector<std::string>& env,
Dmock_upstart_proxy.h37 const std::vector<std::string>& env,
Dupstart_proxy_stub.h37 const std::vector<std::string>& env,
/system/connectivity/apmanager/init/
Dapmanager.conf23 env APMANAGER_LOG_LEVEL=0
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
Dheader.h115 struct perf_session_env env; member
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
Dheader.h99 struct perf_session_env env; member
/system/core/libpixelflinger/
Dpicker.cpp139 t |= GGL_BUILD_NEEDS(ggl_env_to_needs(tx.env), T_ENV); in ggl_pick()

12