/system/core/libnativeloader/ |
D | native_loader.cpp | 58 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/ |
D | native_bridge.cc | 325 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/ |
D | rpc_task.cc | 55 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()
|
D | rpc_task_unittest.cc | 67 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()
|
D | external_task.cc | 65 map<string, string> env = local_rpc_task->GetEnvironment(); in Start() local 66 env.insert(environment.begin(), environment.end()); in Start() 72 env, in Start()
|
D | mock_process_manager.h | 42 const std::map<std::string, std::string>& env,
|
D | process_manager.cc | 49 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/ |
D | native_bridge.h | 51 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/ |
D | webservd.conf | 22 env WEBSERVD_LOG_LEVEL=0 23 env WEBSERVD_DEBUG=false 24 env WEBSERVD_CONFIG_PATH=
|
/system/core/libnativeloader/include/nativeloader/ |
D | native_loader.h | 32 jstring CreateClassLoaderNamespace(JNIEnv* env, 40 void* OpenNativeLibrary(JNIEnv* env, 53 android_namespace_t* FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader);
|
/system/connectivity/shill/init/ |
D | shill.conf.in | 33 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/ |
D | environment.cc | 51 map<string, string> env; in AsMap() local 56 env[v.substr(0, assign)] = v.substr(assign + 1); in AsMap() 59 return env; in AsMap()
|
D | environment_unittest.cc | 68 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()
|
D | openvpn_script.cc | 55 map<string, string> env = environment->AsMap(); in main() local 56 proxy.Notify(reason, env); in main()
|
/system/connectivity/shill/dbus/ |
D | chromeos_upstart_proxy.cc | 36 const string& name, const vector<string>& env, bool wait) { in EmitEvent() argument 39 env, in EmitEvent()
|
D | chromeos_upstart_proxy.h | 39 const std::vector<std::string>& env,
|
/system/update_engine/common/ |
D | subprocess.cc | 47 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/ |
D | shell_service.cpp | 249 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/ |
D | upstart_proxy_interface.h | 34 const std::vector<std::string>& env,
|
D | mock_upstart_proxy.h | 37 const std::vector<std::string>& env,
|
D | upstart_proxy_stub.h | 37 const std::vector<std::string>& env,
|
/system/connectivity/apmanager/init/ |
D | apmanager.conf | 23 env APMANAGER_LOG_LEVEL=0
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | header.h | 115 struct perf_session_env env; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 99 struct perf_session_env env; member
|
/system/core/libpixelflinger/ |
D | picker.cpp | 139 t |= GGL_BUILD_NEEDS(ggl_env_to_needs(tx.env), T_ENV); in ggl_pick()
|