Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 29) sorted by relevance

12

/device/sample/frameworks/PlatformLibrary/jni/
DPlatformLibrary.cpp50 static void throwException(JNIEnv* env, const char* ex, const char* fmt, in throwException() argument
53 if (jclass cls = env->FindClass(ex)) { in throwException()
57 env->ThrowNew(cls, msg); in throwException()
59 env->ThrowNew(cls, NULL); in throwException()
68 env->DeleteLocalRef(cls); in throwException()
78 static jint PlatformLibrary_getJniInt(JNIEnv* env, jobject thiz, jboolean bad) { in PlatformLibrary_getJniInt() argument
80 throwException(env, "java/lang/IllegalStateException", in PlatformLibrary_getJniInt()
84 env->SetIntField(thiz, gCachedState.jniInt, 42); in PlatformLibrary_getJniInt()
99 static jstring PlatformLibrary_reverseString(JNIEnv* env, jclass clazz, in PlatformLibrary_reverseString() argument
103 throwException(env, "java/lang/NullPointerException", NULL, 0); in PlatformLibrary_reverseString()
[all …]
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_config.cc37 std::ostringstream env; in WriteEnvironment() local
39 env << "bootargs=" << android::base::Join(kernel_args, " ") << '\0'; in WriteEnvironment()
41 env << "android_slot_suffix=_" << config.boot_slot() << '\0'; in WriteEnvironment()
43 env << "bootdevice=0:1" << '\0'; in WriteEnvironment()
44 env << "bootdelay=0" << '\0'; in WriteEnvironment()
45 env << "bootcmd=boot_android virtio -" << '\0'; in WriteEnvironment()
46 env << '\0'; in WriteEnvironment()
47 std::string env_str = env.str(); in WriteEnvironment()
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp93 static jobject nativeCreateSurface(JNIEnv *env, jobject obj, jint id, jint width, jint height) in nativeCreateSurface() argument
105 return android_view_Surface_createFromIGraphicBufferProducer(env, producer); in nativeCreateSurface()
108 static jint nativeOpen(JNIEnv* env, jobject obj) { in nativeOpen() argument
122 static bool nativeReadPipe(JNIEnv* env, jobject obj, jintArray arr) { in nativeReadPipe() argument
123 int* arrp = env->GetIntArrayElements(arr, 0); in nativeReadPipe()
135 env->ReleaseIntArrayElements(arr, arrp, JNI_COMMIT); in nativeReadPipe()
142 env->ReleaseIntArrayElements(arr, arrp, JNI_COMMIT); in nativeReadPipe()
153 static bool nativeReleaseListener(JNIEnv* env, jobject obj, jint id) { in nativeReleaseListener() argument
162 static bool nativeResizeListener(JNIEnv* env, jobject obj, jint id, jint w, jint h) { in nativeResizeListener() argument
183 JNIEnv *env; in JNI_OnLoad() local
[all …]
/device/google/coral/vibrator/
DHardware.cpp34 static void fileFromEnv(const char *env, T *outStream, std::string *outName = nullptr) { in fileFromEnv() argument
35 auto file = std::getenv(env); in fileFromEnv()
39 ALOGE("Failed get env %s", env); in fileFromEnv()
50 ALOGE("Failed to open %s:%s (%d): %s", env, file, errno, strerror(errno)); in fileFromEnv()
54 static auto pathsFromEnv(const char *env) { in pathsFromEnv() argument
56 auto value = std::getenv(env); in pathsFromEnv()
/device/google/contexthub/firmware/build/
Dconfig.mk50 define nano-reset-built-env
198 $(call aux-variant-load-env,$(_fev_variant)) \
202 $(call nano-reset-built-env,) \
205 $(call aux-variant-load-env,) \
206 $(call nano-reset-built-env,$(LOCAL_MODULE)-module-is-poisoned) \
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h168 void SetEnvironment(const std::vector<std::string>& env) { in SetEnvironment() argument
170 env_ = env; in SetEnvironment()
234 const std::vector<std::string>& env);
Dsubprocess.cpp418 const std::vector<std::string>& env) { in execute() argument
423 cmd.SetEnvironment(env); in execute()
/device/google/cuttlefish/tools/
Dmake_manifest.sh21 DEFINE_string env \
Dcreate_base_image_arm.sh143 scan_for_boot_part=part list mmc ${devnum} -bootable devplist; env exists devplist || setenv devpli…
464 sgdisk -a1 -n:2:8128:8191 -t:2:8301 -c:2:env /dev/${dest_dev}
604 sgdisk -a1 -n:2:8128:8191 -t:2:8301 -c:2:env ${device}
654 sgdisk -a1 -n:2:8128:8191 -t:2:8301 -c:2:env ${tmpimg}
/device/google/cuttlefish/host/commands/run_cvd/
Dmain.cc158 auto env = cuttlefish::SharedFD::Open(config.cuttlefish_env_path().c_str(), in WriteCuttlefishEnvironment() local
160 if (!env->IsOpen()) { in WriteCuttlefishEnvironment()
168 env->Write(config_env.c_str(), config_env.size()); in WriteCuttlefishEnvironment()
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Dgles.cpp121 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params) in glGetTexEnvfv() argument
123 getDispatch()->glGetTexEnvfv(env, pname, params); in glGetTexEnvfv()
501 void glGetTexEnviv(GLenum env, GLenum pname, GLint *params) in glGetTexEnviv() argument
503 getDispatch()->glGetTexEnviv(env, pname, params); in glGetTexEnviv()
506 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params) in glGetTexEnvxv() argument
508 getDispatch()->glGetTexEnvxv(env, pname, params); in glGetTexEnvxv()
911 void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params) in glGetTexEnvxvOES() argument
913 getDispatch()->glGetTexEnvxvOES(env, pname, params); in glGetTexEnvxvOES()
/device/amlogic/yukawa/bootloader/scripts/
Dgenerate-bins-new.sh72 …/usr/bin/env python2 ${FIPDIR}/acs_tool.pyc ${FIPDIR}/bl2.bin ${TMP}/bl2_acs.bin ${FIPDIR}/acs.bin…
87 …/usr/bin/env python2 ${FIPDIR}/acs_tool.pyc ${FIPDIR}/bl2.bin ${TMP}/bl2_acs.bin ${FIPDIR}/acs.bin…
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles1_core.entries21 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params);
97 void glGetTexEnviv(GLenum env, GLenum pname, GLint *params);
98 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params);
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_entry.cpp21 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params);
96 void glGetTexEnviv(GLenum env, GLenum pname, GLint* params);
97 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params);
198 void glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed* params);
387 void glGetTexEnvfv(GLenum env, GLenum pname, GLfloat* params) in glGetTexEnvfv() argument
390 ctx->glGetTexEnvfv(ctx, env, pname, params); in glGetTexEnvfv()
841 void glGetTexEnviv(GLenum env, GLenum pname, GLint* params) in glGetTexEnviv() argument
844 ctx->glGetTexEnviv(ctx, env, pname, params); in glGetTexEnviv()
847 void glGetTexEnvxv(GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxv() argument
850 ctx->glGetTexEnvxv(ctx, env, pname, params); in glGetTexEnvxv()
[all …]
Dgl_enc.cpp425 void glGetTexEnvfv_enc(void *self , GLenum env, GLenum pname, GLfloat* params) in glGetTexEnvfv_enc() argument
444 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvfv_enc()
2492 void glGetTexEnviv_enc(void *self , GLenum env, GLenum pname, GLint* params) in glGetTexEnviv_enc() argument
2511 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnviv_enc()
2532 void glGetTexEnvxv_enc(void *self , GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxv_enc() argument
2551 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvxv_enc()
5398 void glGetTexEnvxvOES_enc(void *self , GLenum env, GLenum pname, GLfixed* params) in glGetTexEnvxvOES_enc() argument
5417 memcpy(ptr, &env, 4); ptr += 4; in glGetTexEnvxvOES_enc()
/device/generic/goldfish-opengl/system/include/GLES/
Dgl.h606 GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params);
684 GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params);
685 GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params);
Dglext.h680 GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params);
720 typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params);
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.in14 GL_ENTRY(void, glGetTexEnvfv, GLenum env, GLenum pname, GLfloat *params)
89 GL_ENTRY(void, glGetTexEnviv, GLenum env, GLenum pname, GLint *params)
90 GL_ENTRY(void, glGetTexEnvxv, GLenum env, GLenum pname, GLfixed *params)
198 GL_ENTRY(void, glGetTexEnvxvOES, GLenum env, GLenum pname, GLfixed *params)
/device/google/cuttlefish_vmm/
Drebuild-internal.sh42 source $HOME/.cargo/env
/device/generic/goldfish/radio/ril/
Dril.h7282 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv);
7298 const RIL_RadioFunctions *RIL_SAP_Init(const struct RIL_Env *env, int argc, char **argv);
/device/generic/goldfish/radio/include/telephony/
Dril.h7278 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv);
7294 const RIL_RadioFunctions *RIL_SAP_Init(const struct RIL_Env *env, int argc, char **argv);
/device/google/cuttlefish/guest/hals/ril/libril/
Dril.h7671 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv);
7687 const RIL_RadioFunctions *RIL_SAP_Init(const struct RIL_Env *env, int argc, char **argv);
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril.h8101 const RIL_RadioFunctions *RIL_Init(const struct RIL_Env *env, int argc, char **argv);
8117 const RIL_RadioFunctions *RIL_SAP_Init(const struct RIL_Env *env, int argc, char **argv);
/device/google/wahoo/sepolicy/vendor/
Dproperty_contexts133 persist.env.spec u:object_r:vendor_default_prop:s0
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp2608 const RIL_RadioFunctions* RIL_Init(const struct RIL_Env* env, int /*argc*/, in RIL_Init() argument
2611 gce_ril_env = env; in RIL_Init()

12