Home
last modified time | relevance | path

Searched refs:getenv (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRendererObserver.cpp31 static JNIEnv* getenv(JavaVM* vm) { in getenv() function
42 mObserver = getenv(mVm)->NewGlobalRef(observer); in HardwareRendererObserver()
47 JNIEnv* env = getenv(mVm); in ~HardwareRendererObserver()
81 JNIEnv* env = getenv(mVm); in notify()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg30 lit.load_config(config, os.path.join(os.getenv('ANDROID_BUILD_TOP',
37 + os.getenv('TARGET_BUILD_VARIANT') + '.' \
38 + os.getenv('USER') + '_linux-x86')
49 if os.getenv('TARGET_BUILD_TYPE', None) == 'debug':
73 config.environment['ANDROID_PRODUCT_OUT'] = os.getenv('ANDROID_PRODUCT_OUT')
74 config.environment['ANDROID_BUILD_TOP'] = os.getenv('ANDROID_BUILD_TOP')
/frameworks/native/cmds/installd/
Dglobals.cpp64 const char* data_path = getenv("ANDROID_DATA"); in init_globals_from_data_and_root()
69 const char* root_path = getenv("ANDROID_ROOT"); in init_globals_from_data_and_root()
105 android_asec_dir = ensure_trailing_slash(getenv(ASEC_MOUNTPOINT_ENV_NAME)); in init_globals_from_data_and_root()
/frameworks/base/core/jni/
Dandroid_graphics_BLASTBufferQueue.cpp42 static JNIEnv* getenv(JavaVM* vm) { in getenv() function
69 getenv(mVm)->DeleteGlobalRef(mTransactionHangObject); in ~TransactionHangCallbackWrapper()
78 JNIEnv* env = getenv(mVm); in onTransactionHang()
80 getenv(mVm)->CallVoidMethod(mTransactionHangObject, in onTransactionHang()
115 getenv(mVm)->DeleteGlobalRef(mObject); in ~JGlobalRefHolder()
141 JNIEnv* env = getenv(globalCallbackRef->vm()); in nativeSyncNextTransaction()
Dandroid_window_ScreenCapture.cpp88 getenv()->DeleteWeakGlobalRef(mConsumerWeak); in ~ScreenCaptureListenerWrapper()
95 JNIEnv* env = getenv(); in onScreenCaptureCompleted()
132 JNIEnv* getenv() { in getenv() function in android::ScreenCaptureListenerWrapper
/frameworks/base/core/java/android/security/net/config/
DSystemCertificateSource.java44 return new File(System.getenv("ANDROID_ROOT") + "/etc/security/cacerts"); in getDirectory()
51 return new File(System.getenv("ANDROID_ROOT") + "/etc/security/cacerts"); in getDirectory()
/frameworks/base/cmds/gpu_counter_producer/
Dmain.cpp136 if (getenv("LD_LIBRARY_PATH") == nullptr) { in main()
138 LOG_INFO("execv with: LD_LIBRARY_PATH=%s", getenv("LD_LIBRARY_PATH")); in main()
155 LOG_ERR("LD_LIBRARY_PATH=%s", getenv("LD_LIBRARY_PATH")); in main()
/frameworks/compile/slang/lit-tests/
Dlit.cfg16 config.base_path = os.getenv('ANDROID_BUILD_TOP')
31 tool = os.getenv(env_var)
47 config.slang = inferTool('llvm-rs-cc', 'SLANG', os.path.join(os.getenv('ANDROID_HOST_OUT'), 'bin'))…
48 config.llvm_rs_as = inferTool('llvm-rs-as', 'LLVM_RS_AS', os.path.join(os.getenv('ANDROID_HOST_OUT'…
/frameworks/base/tools/hoststubgen/hoststubgen/helper-runtime-src/com/android/hoststubgen/hosthelper/
DHostTestUtils.java44 private static final boolean SKIP_METHOD_LOG = "1".equals(System.getenv(
48 private static final boolean SKIP_CLASS_LOG = "1".equals(System.getenv(
52 private static final boolean SKIP_NON_STUB_METHOD_CHECK = "1".equals(System.getenv(
DHostTestSuite.java41 final var filterRegex = System.getenv(CLASS_NAME_REGEX_ENV); in suite()
/frameworks/opt/car/services/tools/repohookScript/
Dannotation_classlist_repohook.py41 rootDir = os.getenv("ANDROID_BUILD_TOP")
46 javaHomeDir = os.getenv("JAVA_HOME")
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/runtimehelper/
DClassLoadHook.java37 private static final boolean SKIP_LOADING_LIBANDROID = "1".equals(System.getenv(
116 if ("1".equals(System.getenv("RAVENWOOD_DUMP_PROPERTIES"))) { in loadFrameworkNativeCode()
/frameworks/base/ravenwood/junit-src/android/platform/test/ravenwood/
DRavenwoodRule.java69 System.getenv("RAVENWOOD_RUN_DISABLED_TESTS"));
94 Objects.requireNonNullElse(System.getenv("RAVENWOOD_REALLY_DISABLE"), ""));
103 System.getenv("RAVENWOOD_OPTIONAL_VALIDATION"));
/frameworks/compile/libbcc/tests/debuginfo/
Dllvm-lit9 android_source_root = os.getenv('ANDROID_BUILD_TOP', ".")
Dlit.site.cfg27 tool = os.getenv(env_var)
43 config.build_top = os.getenv('ANDROID_BUILD_TOP')
/frameworks/compile/libbcc/tests/libbcc/
Dlit.cfg18 ANDROID_HOST_OUT = os.getenv("ANDROID_HOST_OUT")
19 ANDROID_PRODUCT_OUT = os.getenv("ANDROID_PRODUCT_OUT")
/frameworks/native/libs/binder/tests/unit_fuzzers/
DBpBinderFuzz.cpp38 std::string addr = std::string(getenv("TMPDIR") ?: "/tmp") + "/binderRpcBenchmark"; in LLVMFuzzerTestOneInput()
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp41 char* externalStorage = getenv("EXTERNAL_STORAGE"); in SetUp()
/frameworks/native/libs/binder/tests/
DbinderAllocationLimits.cpp228 std::string tmp = getenv("TMPDIR") ?: "/tmp"; in TEST()
258 if (getenv("LIBC_HOOKS_ENABLE") == nullptr) { in main()
/frameworks/libs/binary_translation/base/
Dconfig_globals.cc79 if (auto env = getenv(env_name)) { in TryReadConfig()
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py37 local_symbols_library_directory = os.path.join(os.getenv('ANDROID_PRODUCT_OUT', 'out'),
39 local_library_directory = os.path.join(os.getenv('ANDROID_PRODUCT_OUT', 'out'),
107 self.android_build_top = os.getenv('ANDROID_BUILD_TOP', None)
478 gdbserver_local_path = os.path.join(os.getenv('ANDROID_BUILD_TOP'),
632 script_root = os.path.join(os.getenv('ANDROID_BUILD_TOP'), \
/frameworks/native/libs/input/
DInputDevice.cpp111 if (auto android_root = getenv("ANDROID_ROOT"); android_root != nullptr) { in getInputDeviceConfigurationFilePathByName()
132 char *androidData = getenv("ANDROID_DATA"); in getInputDeviceConfigurationFilePathByName()
/frameworks/base/services/core/java/com/android/server/
DCertBlacklister.java41 private static final String DENYLIST_ROOT = System.getenv("ANDROID_DATA") + "/misc/keychain/";
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java49 private static final String TARGET_PATH = System.getenv("ANDROID_ROOT") + "/usr/share/zoneinfo";
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java450 final String systemServerClasspath = Os.getenv("SYSTEMSERVERCLASSPATH"); in handleSystemServerProcess()
458 Os.getenv("STANDALONE_SYSTEMSERVER_JARS"); in handleSystemServerProcess()
511 final String systemServerClasspath = Os.getenv("SYSTEMSERVERCLASSPATH"); in getOrCreateSystemServerClassLoader()
532 String envStr = Os.getenv("STANDALONE_SYSTEMSERVER_JARS"); in prefetchStandaloneSystemServerJars()

123