/frameworks/base/core/jni/ |
android_net_wifi_Wifi.cpp | 87 static jstring doStringCommand(JNIEnv* env, const char *ifname, const char* fmt, ...) { 102 return env->NewString((const jchar *)str.string(), str.size()); 105 static jboolean android_net_wifi_isDriverLoaded(JNIEnv* env, jobject) 110 static jboolean android_net_wifi_loadDriver(JNIEnv* env, jobject) 115 static jboolean android_net_wifi_unloadDriver(JNIEnv* env, jobject) 120 static jboolean android_net_wifi_startSupplicant(JNIEnv* env, jobject, jboolean p2pSupported) 125 static jboolean android_net_wifi_killSupplicant(JNIEnv* env, jobject, jboolean p2pSupported) 130 static jboolean android_net_wifi_connectToSupplicant(JNIEnv* env, jobject, jstring jIface) 132 ScopedUtfChars ifname(env, jIface); 136 static void android_net_wifi_closeSupplicantConnection(JNIEnv* env, jobject, jstring jIface [all...] |
android_view_KeyCharacterMap.h | 27 extern jobject android_view_KeyCharacterMap_create(JNIEnv* env, int32_t deviceId,
|
/libcore/luni/src/main/native/ |
java_math_NativeBN.cpp | 42 static int isValidHandle (JNIEnv* env, void* handle, const char* message) { 44 jniThrowNullPointerException(env, message); 50 static int oneValidHandle (JNIEnv* env, void* a) 52 return isValidHandle(env, a, "Mandatory handle (first) passed as null"); 55 static int twoValidHandles (JNIEnv* env, void* a, void* b) 57 if (!oneValidHandle(env, a)) return JNI_FALSE; 58 return isValidHandle(env, b, "Mandatory handle (second) passed as null"); 61 static int threeValidHandles (JNIEnv* env, void* a, void* b, void* c) 63 if (!twoValidHandles(env, a, b)) return JNI_FALSE; 64 return isValidHandle(env, c, "Mandatory handle (third) passed as null") [all...] |
java_util_zip_Inflater.cpp | 25 static jlong Inflater_createStream(JNIEnv* env, jobject, jboolean noHeader) { 28 jniThrowOutOfMemoryError(env, NULL); 43 throwExceptionForZlibError(env, "java/lang/IllegalArgumentException", err); 49 static void Inflater_setInputImpl(JNIEnv* env, jobject, jbyteArray buf, jint off, jint len, jlong handle) { 50 toNativeZipStream(handle)->setInput(env, buf, off, len); 53 static jint Inflater_setFileInputImpl(JNIEnv* env, jobject, jobject javaFileDescriptor, jlong off, jint len, jlong handle) { 59 stream->setInput(env, NULL, 0, len); 68 int fd = jniGetFDFromFileDescriptor(env, javaFileDescriptor); 71 jniThrowIOException(env, errno); 83 jniThrowIOException(env, errno) [all...] |
libcore_icu_NativeConverter.cpp | 71 static jlong NativeConverter_openConverter(JNIEnv* env, jclass, jstring converterName) { 72 ScopedUtfChars converterNameChars(env, converterName); 78 maybeThrowIcuException(env, "ucnv_open", status); 94 static jint NativeConverter_encode(JNIEnv* env, jclass, jlong address, 100 maybeThrowIcuException(env, "toUConverter", U_ILLEGAL_ARGUMENT_ERROR); 103 ScopedCharArrayRO uSource(env, source); 105 maybeThrowIcuException(env, "uSource", U_ILLEGAL_ARGUMENT_ERROR); 108 ScopedByteArrayRW uTarget(env, target); 110 maybeThrowIcuException(env, "uTarget", U_ILLEGAL_ARGUMENT_ERROR); 113 ScopedIntArrayRW myData(env, data) [all...] |
java_text_Bidi.cpp | 76 static void Bidi_ubidi_setPara(JNIEnv* env, jclass, jlong ptr, jcharArray text, jint length, jint paraLevel, jbyteArray newEmbeddingLevels) { 82 env->GetByteArrayRegion(newEmbeddingLevels, 0, length, dst); 86 ScopedCharArrayRO chars(env, text); 92 maybeThrowIcuException(env, "ubidi_setPara", err); 95 static jlong Bidi_ubidi_setLine(JNIEnv* env, jclass, jlong ptr, jint start, jint limit) { 98 if (maybeThrowIcuException(env, "ubidi_openSized", status)) { 103 maybeThrowIcuException(env, "ubidi_setLine", status); 119 static jbyteArray Bidi_ubidi_getLevels(JNIEnv* env, jclass, jlong ptr) { 122 if (maybeThrowIcuException(env, "ubidi_getLevels", status)) { 126 jbyteArray result = env->NewByteArray(len) [all...] |
java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray); 43 void register_java_util_zip_Adler32(JNIEnv* env) { 44 jniRegisterNativeMethods(env, "java/util/zip/Adler32", gMethods, NELEM(gMethods));
|
java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray); 43 void register_java_util_zip_CRC32(JNIEnv* env) { 44 jniRegisterNativeMethods(env, "java/util/zip/CRC32", gMethods, NELEM(gMethods));
|
/external/qemu/target-mips/ |
cpu.h | 42 int (*map_address) (struct CPUMIPSState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type); 88 #define SET_FP_COND(num,env) do { ((env).fcr31) |= ((num) ? (1 << ((num) + 24)) : (1 << 23)); } while(0) 89 #define CLEAR_FP_COND(num,env) do { ((env).fcr31) &= ~((num) ? (1 << ((num) + 24)) : (1 << 23)); } while(0) 90 #define GET_FP_COND(env) ((((env).fcr31 >> 24) & 0xfe) | (((env).fcr31 >> 23) & 0x1)) 468 int no_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot, 470 int fixed_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot [all...] |
/hardware/ti/wpan/tools/FM/service/src/jni/ |
JFmRxNative.cpp | 333 static int nativeJFmRx_Create(JNIEnv *env,jobject obj,jobject jContextValue) 344 jniThrowIOException(env, errno); 362 static int nativeJFmRx_Destroy(JNIEnv *env, jobject obj,jlong jContextValue) 373 static int nativeJFmRx_Enable(JNIEnv *env, jobject obj, jlong jContextValue) 402 static int nativeJFmRx_Disable(JNIEnv *env, jobject obj, jlong jContextValue) 419 static int nativeJFmRx_SetBand(JNIEnv *env, jobject obj,jlong jContextValue, jint jFmBand) 458 static int nativeJFmRx_GetBand(JNIEnv *env, jobject obj,jlong jContextValue) 472 static int nativeJFmRx_Tune(JNIEnv *env, jobject obj,jlong jContextValue,jint user_freq) 513 static int nativeJFmRx_GetTunedFrequency(JNIEnv *env, jobject obj,jlong jContextValue) 536 static int nativeJFmRx_SetMonoStereoMode(JNIEnv *env, jobject obj,jlong jContextValue,jint jFmMode 1230 JNIEnv* env = NULL; local 1328 JNIEnv* env = NULL; local 1421 JNIEnv* env = NULL; local 2224 JNIEnv* env = NULL; local [all...] |
/development/ndk/platforms/android-9/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/external/webkit/Source/WebCore/bridge/jni/v8/ |
JavaStringV8.h | 43 void init(JNIEnv* env, jstring string) 45 int size = env->GetStringLength(string); 46 const jchar* jChars = getUCharactersFromJStringInEnv(env, string); 48 releaseUCharactersForJStringInEnv(env, string, jChars);
|
/frameworks/base/include/android_runtime/ |
android_content_res_Configuration.h | 31 JNIEnv* env, jobject clazz, struct AConfiguration* out);
|
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/ |
jni_multiclass_pa.h | 27 Java_android_bordeaux_learning_MulticlassPA_initNativeClassifier(JNIEnv* env, 35 Java_android_bordeaux_learning_MulticlassPA_deleteNativeClassifier(JNIEnv* env, 40 Java_android_bordeaux_learning_MulticlassPA_nativeSparseTrainOneExample(JNIEnv* env, 48 Java_android_bordeaux_learning_MulticlassPA_nativeSparseGetClass(JNIEnv* env,
|
/frameworks/native/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/libcore/include/ |
ScopedJavaUnicodeString.h | 28 ScopedJavaUnicodeString(JNIEnv* env, jstring s) : mEnv(env), mString(s) { 32 mChars = env->GetStringChars(mString, NULL); 33 const int32_t charCount = env->GetStringLength(mString);
|
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|
native_window_jni.h | 34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
|
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/ |
asset_manager_jni.h | 34 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
|