Home
last modified time | relevance | path

Searched defs:env (Results 1 – 18 of 18) sorted by relevance

/system/incremental_delivery/libdataloader/
DJNIHelpers.h22 static inline jclass FindClassOrDie(JNIEnv* env, const char* class_name) { in FindClassOrDie()
28 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie()
35 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie()
42 static inline jfieldID GetFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetFieldIDOrDie()
49 static inline jfieldID GetStaticFieldIDOrDie(JNIEnv* env, jclass clazz, const char* field_name, in GetStaticFieldIDOrDie()
56 static inline jint GetStaticIntFieldValueOrDie(JNIEnv* env, jclass clazz, const char* fieldName) { in GetStaticIntFieldValueOrDie()
62 static inline jstring GetStringField(JNIEnv* env, jobject obj, jfieldID field) { in GetStringField()
66 static inline jbyteArray GetByteArrayField(JNIEnv* env, jobject obj, jfieldID field) { in GetByteArrayField()
71 JNIEnv* env; in GetJNIEnvironment() local
79 JNIEnv* env = GetJNIEnvironment(jvm); in GetOrAttachJNIEnvironment() local
DManagedDataLoader.cpp87 const JniIds& jniIds(JNIEnv* env) { in jniIds()
105 JNIEnv* env = GetJNIEnvironment(mJvm); in onCreate() local
128 JNIEnv* env = GetJNIEnvironment(mJvm); in onDestroy() local
134 static jobject toJavaArrayList(JNIEnv* env, const JniIds& jni, in toJavaArrayList()
159 auto env = GetOrAttachJNIEnvironment(mJvm); in onPrepareImage() local
DDataLoaderConnector.cpp196 JavaVM* getJavaVM(JNIEnv* env) { in getJavaVM()
204 const JniIds& jniIds(JNIEnv* env) { in jniIds()
209 bool reportStatusViaCallback(JNIEnv* env, jobject listener, jint storageId, jint status) { in reportStatusViaCallback()
291 DataLoaderConnector(JNIEnv* env, jobject service, jint storageId, UniqueControl control, in DataLoaderConnector()
305 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in ~DataLoaderConnector() local
409 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in writeData() local
429 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in setParams() local
448 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in reportStatus() local
453 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in checkAndClearJavaException() local
503 static int createFdFromManaged(JNIEnv* env, jobject pfd) { in createFdFromManaged()
[all …]
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp13 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MainActivity_stringFromJNI()
19 static void ThrowErrnoException(JNIEnv* env, const char* function_name, int err) { in ThrowErrnoException()
54 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MainActivity_createBusyThreadFromJNI()
102 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_SleepActivity_createSleepThreadFromJNI()
115 JNIEnv *env, in Java_com_example_simpleperf_simpleperfexamplewithnative_MixActivity_callFunction()
/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp78 JArray(JNIEnv* env, array_type jarray) : env_(env), jarray_(jarray), buffer_(nullptr) { in JArray()
135 JNIEnv* env, jclass, jobject jDeviceInfo, jboolean magnified, jboolean inverted, in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
169 JNIEnv* env, jclass, jint x, jint y, jint width, jint height, jint lineStride, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer()
186 Java_com_android_framebufferizer_NativeRenderer_setLanguage(JNIEnv* env, jclass, jstring jlang_id) { in Java_com_android_framebufferizer_NativeRenderer_setLanguage()
196 Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList(JNIEnv* env, jclass) { in Java_com_android_framebufferizer_NativeRenderer_getLanguageIdList()
217 Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts(JNIEnv* env, jclass) { in Java_com_android_framebufferizer_NativeRenderer_getAvailableLayouts()
239 JNIEnv* env, jclass, jstring jConfirmationMessage) { in Java_com_android_framebufferizer_NativeRenderer_setConfimationMessage()
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/
Dnative-lib.cpp82 JNIEnv *env, in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
101 JNIEnv *env, in Java_simpleperf_demo_cpp_1api_MainActivity_getBusyThreadCount()
/system/extras/ext4_utils/
Dmkuserimg_mke2fs.py26 def RunCommand(cmd, env): argument
/system/update_engine/
Domaha_request_action_fuzzer.cc30 static Environment env; in LLVMFuzzerTestOneInput() local
/system/update_engine/common/
Dsubprocess.cc49 bool SetupChild(const std::map<string, string>& env, uint32_t flags) { in SetupChild() argument
85 std::map<string, string> env; in LaunchProcess() local
/system/update_engine/payload_consumer/
Ddelta_performer_fuzzer.cc102 static Environment env; in LLVMFuzzerTestOneInput() local
/system/core/adb/tools/
Dadb_usbreset.cpp92 const char* env = getenv("ANDROID_SERIAL"); in main() local
/system/apex/apexer/
Dapexer.py185 def RunCommand(cmd, verbose=False, env=None): argument
/system/extras/simpleperf/scripts/
Dtest_monitor.py154 def _is_device_available(self, env): argument
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp216 static SnapshotFuzzEnv env; in GetSnapshotFuzzEnv() local
223 auto env = GetSnapshotFuzzEnv(); in SetUpTest() local
/system/testing/gtest_extras/
DOptions.cpp338 char* env = getenv(variable.c_str()); in Process() local
/system/core/adb/daemon/
Dshell_service.cpp257 std::unordered_map<std::string, std::string> env; in ForkAndExec() local
/system/core/libpixelflinger/codeflinger/
DGGLAssembler.h327 int env; member
/system/core/adb/
Dsysdeps_win32.cpp2751 for (wchar_t** env = _wenviron; *env != nullptr; ++env) { in _init_env() local