Home
last modified time | relevance | path

Searched defs:env (Results 1 – 19 of 19) 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
DDataLoaderConnector.cpp200 JavaVM* getJavaVM(JNIEnv* env) { in getJavaVM()
208 const JniIds& jniIds(JNIEnv* env) { in jniIds()
213 bool checkAndClearJavaException(JNIEnv* env, std::string_view method) { in checkAndClearJavaException()
224 bool reportStatusViaCallback(JNIEnv* env, jobject listener, jint storageId, jint status) { in reportStatusViaCallback()
307 DataLoaderConnector(JNIEnv* env, jobject service, jint storageId, UniqueControl control, in DataLoaderConnector()
327 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in ~DataLoaderConnector() local
493 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in writeData() local
513 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in setParams() local
528 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in reportStatus() local
548 JNIEnv* env = GetOrAttachJNIEnvironment(mJvm); in checkAndClearJavaException() local
[all …]
DManagedDataLoader.cpp87 const JniIds& jniIds(JNIEnv* env) { in jniIds()
119 JNIEnv* env = GetJNIEnvironment(jvm); in create() local
144 JNIEnv* env = GetJNIEnvironment(mJvm); in onDestroy() local
150 static jobject toJavaArrayList(JNIEnv* env, const JniIds& jni, in toJavaArrayList()
175 auto env = GetOrAttachJNIEnvironment(mJvm); in onPrepareImage() local
/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/main/cpp/
Dnative-lib.cpp10 JNIEnv* env, in Java_simpleperf_example_cpp_MainActivity_stringFromJNI()
16 static void ThrowErrnoException(JNIEnv* env, const char* function_name, int err) { in ThrowErrnoException()
51 JNIEnv *env, in Java_simpleperf_example_cpp_MainActivity_createBusyThreadFromJNI()
99 JNIEnv *env, in Java_simpleperf_example_cpp_SleepActivity_createSleepThreadFromJNI()
112 JNIEnv *env, in Java_simpleperf_example_cpp_MixActivity_callFunction()
/system/apex/tests/app/jni/
Dcom_android_tests_apex_app_ApkInApexTests.cpp35 int register_android_native_code_test_data(JNIEnv *env) { in register_android_native_code_test_data()
42 JNIEnv *env = nullptr; in JNI_OnLoad() local
/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/core/libusbhost/
Dusbhost_jni.cpp25 jbyteArray usb_jni_read_descriptors(JNIEnv* env, int fd) { in usb_jni_read_descriptors()
/system/extras/ext4_utils/
Dmkuserimg_mke2fs.py26 def RunCommand(cmd, env): argument
/system/apex/tools/
Dapex_compression_tool.py48 def RunCommand(cmd, verbose=False, env=None, expected_return_values=None): argument
/system/update_engine/common/
Dsubprocess.cc48 bool SetupChild(const std::map<string, string>& env, uint32_t flags) { in SetupChild() argument
84 std::map<string, string> env; in LaunchProcess() local
/system/update_engine/payload_consumer/
Ddelta_performer_fuzzer.cc102 static Environment env; in LLVMFuzzerTestOneInput() local
/system/keymint/hal/src/
Dlib.rs27 pub mod env; module
/system/testing/gtest_extras/
DOptions.cpp341 char* env = getenv(variable.c_str()); in Process() local
/system/apex/apexer/
Dapexer.py213 def RunCommand(cmd, verbose=False, env=None, expected_return_values={0}): argument
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp240 RepackVendorBootImgTestEnv* env = nullptr; variable
/system/chre/test/simulation/
Drpc_test.cc310 Env *env = EnvSingleton::get(); in TEST_F() local
/system/core/init/
Dbuiltins.cpp300 auto env = Split(line, " "); in do_load_exports() local
/system/core/debuggerd/
Ddebuggerd_test.cpp1617 const char* env[] = {"GWP_ASAN_SAMPLE_RATE=1", "GWP_ASAN_PROCESS_SAMPLING=1", in TEST_P() local