/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_HardwareRendererObserver.cpp | 31 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()
|
H A D | android_graphics_HardwareRenderer.cpp | 97 static JNIEnv* getenv(JavaVM* vm) { in getenv() function 121 getenv(mVm)->CallVoidMethod(mObject, gFrameCommitCallback.onFrameCommit, in onFrameCommit() 133 getenv(mVm)->DeleteGlobalRef(mObject); in releaseObject()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_graphics_BLASTBufferQueue.cpp | 42 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()
|
H A D | android_window_ScreenCapture.cpp | 89 getenv()->DeleteWeakGlobalRef(mConsumerWeak); in ~ScreenCaptureListenerWrapper() 96 JNIEnv* env = getenv(); in onScreenCaptureCompleted() 131 JNIEnv* getenv() { in getenv() function in android::ScreenCaptureListenerWrapper
|
H A D | AndroidRuntime.cpp | 1205 const char* rootDir = getenv("ANDROID_ROOT"); in start() 1215 const char* artRootDir = getenv("ANDROID_ART_ROOT"); in start() 1221 const char* i18nRootDir = getenv("ANDROID_I18N_ROOT"); in start() 1227 const char* tzdataRootDir = getenv("ANDROID_TZDATA_ROOT"); in start()
|
H A D | android_view_SurfaceControl.cpp | 289 getenv()->DeleteGlobalRef(mTransactionCommittedListenerObject); in ~TransactionCommittedListenerWrapper() 293 JNIEnv* env = getenv(); in callback() 312 JNIEnv* getenv() { in getenv() function in android::TransactionCommittedListenerWrapper 329 getenv()->DeleteGlobalRef(mListener); in ~WindowInfosReportedListenerWrapper() 335 JNIEnv* env = getenv(); in onWindowInfosReported() 345 JNIEnv* getenv() { in getenv() function in android::WindowInfosReportedListenerWrapper 361 getenv()->DeleteGlobalRef(mTrustedPresentationCallback); in ~TrustedPresentationCallbackWrapper() 365 JNIEnv* env = getenv(); in onTrustedPresentationChanged() 387 JNIEnv* getenv() { in getenv() function in android::TrustedPresentationCallbackWrapper
|
/aosp14/frameworks/base/core/java/android/security/net/config/ |
H A D | SystemCertificateSource.java | 44 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()
|
/aosp14/system/core/init/ |
H A D | firmware_handler_test.cpp | 65 if (getenv("DEVPATH") != "/devices/led/firmware/test_firmware001.bin"s) { in HandleChange() 69 if (getenv("FIRMWARE") != "test_firmware001.bin"s) { in HandleChange()
|
H A D | snapuserd_transition.cpp | 123 const char* pid_str = getenv(kSnapuserdFirstStagePidVar); in GetSnapuserdFirstStagePid() 158 const char* fd_str = getenv(kSnapuserdFirstStageFdVar); in GetRamdiskSnapuserdFd() 440 const char* pid_str = getenv(kSnapuserdFirstStageInfoVar); in GetSnapuserdFirstStageInfo()
|
H A D | init.cpp | 843 if (auto first_stage_start_time_str = getenv(kEnvFirstStageStartedAt); in RecordStageBoottimes() 851 if (auto selinux_start_time_str = getenv(kEnvSelinuxStartedAt); selinux_start_time_str) { in RecordStageBoottimes() 864 if (auto init_module_time_str = getenv(kEnvInitModuleDurationMs); init_module_time_str) { in RecordStageBoottimes() 964 const char* force_debuggable_env = getenv("INIT_FORCE_DEBUGGABLE"); in SecondStageMain() 1012 if (const char* avb_version = getenv("INIT_AVB_VERSION"); avb_version != nullptr) { in SecondStageMain()
|
/aosp14/system/core/libcutils/ |
H A D | android_get_control_file.cpp | 62 const char* val = getenv(key); in __android_get_control_from_env()
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | ObbFile_test.cpp | 41 char* externalStorage = getenv("EXTERNAL_STORAGE"); in SetUp()
|
/aosp14/system/core/fastboot/ |
H A D | filesystem.cpp | 66 if (const char* const home = getenv("HOME")) { in GetHomeDirPath()
|
/aosp14/frameworks/base/cmds/gpu_counter_producer/ |
H A D | main.cpp | 149 LOG_ERR("LD_LIBRARY_PATH=%s", getenv("LD_LIBRARY_PATH")); in main()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | CertBlacklister.java | 41 private static final String BLACKLIST_ROOT = System.getenv("ANDROID_DATA") + "/misc/keychain/";
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 535 final String systemServerClasspath = Os.getenv("SYSTEMSERVERCLASSPATH"); in handleSystemServerProcess() 543 Os.getenv("STANDALONE_SYSTEMSERVER_JARS"); in handleSystemServerProcess() 596 final String systemServerClasspath = Os.getenv("SYSTEMSERVERCLASSPATH"); in getOrCreateSystemServerClassLoader() 617 String envStr = Os.getenv("STANDALONE_SYSTEMSERVER_JARS"); in prefetchStandaloneSystemServerJars()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | CertBlacklisterTest.java | 37 private static final String BLACKLIST_ROOT = System.getenv("ANDROID_DATA") + "/misc/keychain/";
|
/aosp14/frameworks/base/tools/bit/ |
H A D | command.cpp | 195 const char* pathEnvRaw = getenv("PATH"); in exec_with_path_search()
|
H A D | main.cpp | 619 const char* value = getenv(name); in get_required_env() 639 const char* out_dir = getenv("OUT_DIR"); in get_out_dir() 641 const char* common_base = getenv("OUT_DIR_COMMON_BASE"); in get_out_dir()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | ArtManagerService.java | 389 ":", Os.getenv("BOOTCLASSPATH"), Os.getenv("SYSTEMSERVERCLASSPATH")); in snapshotBootImageProfile() 391 final String standaloneSystemServerJars = Os.getenv("STANDALONE_SYSTEMSERVER_JARS"); in snapshotBootImageProfile()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | Environment.java | 787 return new File(System.getenv(ENV_EXTERNAL_STORAGE)); in getLegacyExternalStorageDirectory() 1525 String path = System.getenv(variableName); in getDirectory() 1531 String path = System.getenv(variableName); in getDirectoryPath()
|
/aosp14/frameworks/base/cmds/app_process/ |
H A D | app_main.cpp | 141 const char* androidRoot = getenv("ANDROID_DATA"); in maybeCreateDalvikCache()
|
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | FileInfo.kt | 46 System.getenv("ANDROID_BUILD_TOP"), "\$ANDROID_BUILD_TOP")
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | DebugUtils.java | 78 String s = System.getenv("ANDROID_OBJECT_FILTER"); in isObjectSelected()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 55 private static final String PINLIST_ROOT = System.getenv("ANDROID_DATA") + "/misc/keychain/";
|