/frameworks/base/core/jni/android/graphics/ |
CanvasProperty.cpp | 29 static jlong createFloat(JNIEnv* env, jobject clazz, jfloat initialValue) { 30 return reinterpret_cast<jlong>(new CanvasPropertyPrimitive(initialValue)); 33 static jlong createPaint(JNIEnv* env, jobject clazz, jlong paintPtr) { 35 return reinterpret_cast<jlong>(new CanvasPropertyPaint(*paint));
|
FontFamily.cpp | 54 static jlong FontFamily_initBuilder(JNIEnv* env, jobject clazz, jstring lang, jint variant) { 63 return reinterpret_cast<jlong>(builder); 66 static jlong FontFamily_create(jlong builderPtr) { 77 return reinterpret_cast<jlong>(new FontFamilyWrapper(std::move(family))); 80 static void FontFamily_allowUnsupportedFont(jlong builderPtr) { 88 static void FontFamily_abort(jlong builderPtr) { 93 static void FontFamily_unref(jlong familyPtr) { 170 static jboolean FontFamily_addFont(JNIEnv* env, jobject clazz, jlong builderPtr, jobject bytebuf, 180 jlong fontSize = env->GetDirectBufferCapacity(bytebuf) [all...] |
NinePatch.cpp | 66 static jlong validateNinePatchChunk(JNIEnv* env, jobject, jbyteArray obj) { 77 return reinterpret_cast<jlong>(Res_png_9patch::deserialize(storage)); 80 static void finalize(JNIEnv* env, jobject, jlong patchHandle) { 90 static jlong getTransparentRegion(JNIEnv* env, jobject, jobject jbitmap, 91 jlong chunkHandle, jobject dstRect) { 125 return reinterpret_cast<jlong>(region);
|
/frameworks/base/core/jni/ |
android_os_SystemClock.cpp | 39 static_assert(std::is_same<int64_t, jlong>::value, "jlong isn't an int64_t"); 50 static jlong android_os_SystemClock_currentThreadTimeMillis() 62 static jlong android_os_SystemClock_currentThreadTimeMicro() 74 static jlong android_os_SystemClock_currentTimeMicro()
|
android_backup_BackupDataInput.cpp | 34 static jlong 39 return (jlong)NULL; 42 return (jlong)new BackupDataReader(fd); 46 dtor_native(JNIEnv* env, jobject clazz, jlong r) 52 readNextHeader_native(JNIEnv* env, jobject clazz, jlong r, jobject entity) 94 readEntityData_native(JNIEnv* env, jobject clazz, jlong r, jbyteArray data, jint offset, jint size) 117 skipEntityData_native(JNIEnv* env, jobject clazz, jlong r)
|
android_backup_FileBackupHelperBase.cpp | 28 static jlong 31 return (jlong)new RestoreHelperBase(); 35 dtor(JNIEnv* env, jobject clazz, jlong ptr) 41 performBackup_native(JNIEnv* env, jobject clazz, jobject oldState, jlong data, 80 writeFile_native(JNIEnv* env, jobject clazz, jlong ptr, jstring filenameObj, jlong backupReaderPtr) 97 writeSnapshot_native(JNIEnv* env, jobject clazz, jlong ptr, jobject fileDescriptor)
|
android_view_HardwareLayer.cpp | 44 jlong layerUpdaterPtr, jint width, jint height, jboolean isOpaque) { 53 jlong layerUpdaterPtr, jlong paintPtr) { 62 jlong layerUpdaterPtr, jlong matrixPtr) { 69 jlong layerUpdaterPtr, jobject surface) { 76 jlong layerUpdaterPtr) {
|
android_view_ThreadedRenderer.cpp | 594 jlong proxyPtr) { 599 static jlong android_view_ThreadedRenderer_createRootRenderNode(JNIEnv* env, jobject clazz) { 603 return reinterpret_cast<jlong>(node); 606 static jlong android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, 607 jboolean translucent, jlong rootRenderNodePtr) { 610 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory); 614 jlong proxyPtr) { 620 jlong proxyPtr) { 626 jlong proxyPtr, jstring jname) { 634 jlong proxyPtr, jobject jsurface) [all...] |
android_database_CursorWindow.cpp | 86 static jlong nativeCreate(JNIEnv* env, jclass clazz, jstring nameObj, jint cursorWindowSize) { 101 return reinterpret_cast<jlong>(window); 104 static jlong nativeCreateFromParcel(JNIEnv* env, jclass clazz, jobject parcelObj) { 117 return reinterpret_cast<jlong>(window); 120 static void nativeDispose(JNIEnv* env, jclass clazz, jlong windowPtr) { 128 static jstring nativeGetName(JNIEnv* env, jclass clazz, jlong windowPtr) { 133 static void nativeWriteToParcel(JNIEnv * env, jclass clazz, jlong windowPtr, 146 static void nativeClear(JNIEnv * env, jclass clazz, jlong windowPtr) { 155 static jint nativeGetNumRows(JNIEnv* env, jclass clazz, jlong windowPtr) { 160 static jboolean nativeSetNumColumns(JNIEnv* env, jclass clazz, jlong windowPtr [all...] |
android_view_InputQueue.cpp | 156 reinterpret_cast<jlong>(event), handled); 198 static jlong nativeInit(JNIEnv* env, jobject clazz, jobject queueWeak, jobject jMsgQueue) { 210 return reinterpret_cast<jlong>(queue.get()); 213 static void nativeDispose(JNIEnv* env, jobject clazz, jlong ptr) { 219 static jlong nativeSendKeyEvent(JNIEnv* env, jobject clazz, jlong ptr, jobject eventObj, 235 return reinterpret_cast<jlong>(event); 238 static jlong nativeSendMotionEvent(JNIEnv* env, jobject clazz, jlong ptr, jobject eventObj) { 248 return reinterpret_cast<jlong>(event) [all...] |
android_view_VelocityTracker.cpp | 142 static jlong android_view_VelocityTracker_nativeInitialize(JNIEnv* env, jclass clazz, 146 return reinterpret_cast<jlong>(new VelocityTrackerState(strategy.c_str())); 148 return reinterpret_cast<jlong>(new VelocityTrackerState(NULL)); 151 static void android_view_VelocityTracker_nativeDispose(JNIEnv* env, jclass clazz, jlong ptr) { 156 static void android_view_VelocityTracker_nativeClear(JNIEnv* env, jclass clazz, jlong ptr) { 161 static void android_view_VelocityTracker_nativeAddMovement(JNIEnv* env, jclass clazz, jlong ptr, 174 jlong ptr, jint units, jfloat maxVelocity) { 180 jlong ptr, jint id) { 188 jlong ptr, jint id) { 196 jlong ptr, jint id, jobject outEstimatorObj) [all...] |
android_view_Surface.cpp | 106 gSurfaceClassInfo.ctor, (jlong)surface.get()); 246 static jlong nativeCreateFromSurfaceTexture(JNIEnv* env, jclass clazz, 262 return jlong(surface.get()); 265 static void nativeRelease(JNIEnv* env, jclass clazz, jlong nativeObject) { 270 static jboolean nativeIsValid(JNIEnv* env, jclass clazz, jlong nativeObject) { 275 static jboolean nativeIsConsumerRunningBehind(JNIEnv* env, jclass clazz, jlong nativeObject) { 302 static jlong nativeLockCanvas(JNIEnv* env, jclass clazz, 303 jlong nativeObject, jobject canvasObj, jobject dirtyRectObj) { 368 return (jlong) lockedSurface.get(); 372 jlong nativeObject, jobject canvasObj) [all...] |
android_os_Trace.cpp | 44 static jlong android_os_Trace_nativeGetEnabledTags(JNIEnv* env, jclass clazz) { 49 jlong tag, jstring nameStr, jint value) { 57 jlong tag, jstring nameStr) { 67 jlong tag) { 74 jlong tag, jstring nameStr, jint cookie) { 84 jlong tag, jstring nameStr, jint cookie) {
|
/libcore/ojluni/src/main/native/ |
Double.c | 28 #include "jlong.h" 41 Double_longBitsToDouble(JNIEnv *env, jclass unused, jlong v) 44 jlong l; 55 JNIEXPORT jlong JNICALL 59 jlong l;
|
zip_util.h | 68 #define LL(b, n) (((jlong)LG(b, n)) | (((jlong)LG(b, n+4)) << 32)) 162 jlong time; /* modification time */ 163 jlong size; /* size of uncompressed data */ 164 jlong csize; /* size of compressed data (zero if uncompressed) */ 168 jlong pos; /* position of LOC header or entry data */ 183 jlong cenpos; /* Offset of central directory file header */ 188 jlong pos; /* file offset of data */ 196 #define ZFILE jlong 212 jlong len; /* length (in bytes) of zip file * [all...] |
ObjectInputStream.c | 29 #include "jlong.h" 125 jlong l; 131 jlong lval; 160 lval = (((jlong) bytes[srcpos + 0] & 0xFF) << 56) + 161 (((jlong) bytes[srcpos + 1] & 0xFF) << 48) + 162 (((jlong) bytes[srcpos + 2] & 0xFF) << 40) + 163 (((jlong) bytes[srcpos + 3] & 0xFF) << 32) + 164 (((jlong) bytes[srcpos + 4] & 0xFF) << 24) + 165 (((jlong) bytes[srcpos + 5] & 0xFF) << 16) + 166 (((jlong) bytes[srcpos + 6] & 0xFF) << 8) [all...] |
MappedByteBuffer.c | 29 #include "jlong.h" 40 Java_java_nio_MappedByteBuffer_isLoaded0(JNIEnv *env, jobject obj, jlong address, 41 jlong len, jint numPages) 77 Java_java_nio_MappedByteBuffer_load0(JNIEnv *env, jobject obj, jlong address, 78 jlong len) 90 jlong address, jlong len)
|
/art/test/903-hello-tagging/ |
tagging.cc | 42 const jlong* tag_ptr = scoped_array.get(); 45 tag_ptr = reinterpret_cast<const jlong*>(1); 51 jlong* result_tag_array; 52 jlong** result_tag_array_ptr = returnTags == JNI_TRUE ? &result_tag_array : nullptr; 124 static void SetTag(jvmtiEnv* env, jobject obj, jlong tag) { 129 static jlong GetTag(jvmtiEnv* env, jobject obj) { 130 jlong tag; 137 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong base_tag, jint count) { 147 std::unique_ptr<jlong[]> vals = std::unique_ptr<jlong[]>(new jlong[count]) [all...] |
/cts/hostsidetests/jvmti/base/jni/ |
tagging.cpp | 30 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jobject obj, jlong tag) { 35 extern "C" JNIEXPORT jlong JNICALL Java_android_jvmti_cts_JniBindings_getTag( 37 jlong tag = 0; 55 const jlong* tag_ptr = scoped_array.get(); 58 tag_ptr = reinterpret_cast<const jlong*>(1); 64 jlong* result_tag_array = nullptr; 65 jlong** result_tag_array_ptr = returnTags == JNI_TRUE ? &result_tag_array : nullptr;
|
/frameworks/base/core/jni/android/graphics/pdf/ |
PdfRenderer.cpp | 43 static jlong nativeOpenPageAndGetSize(JNIEnv* env, jclass thiz, jlong documentPtr, 69 return reinterpret_cast<jlong>(page); 72 static void nativeClosePage(JNIEnv* env, jclass thiz, jlong pagePtr) { 78 static void nativeRenderPage(JNIEnv* env, jclass thiz, jlong documentPtr, jlong pagePtr, 80 jlong transformPtr, jint renderMode) {
|
PdfUtils.cpp | 104 jlong nativeOpen(JNIEnv* env, jclass thiz, jint fd, jlong size) { 122 return reinterpret_cast<jlong>(document); 125 void nativeClose(JNIEnv* env, jclass thiz, jlong documentPtr) { 133 jint nativeGetPageCount(JNIEnv* env, jclass thiz, jlong documentPtr) { 142 jboolean nativeScaleForPrinting(JNIEnv* env, jclass thiz, jlong documentPtr) {
|
/art/runtime/openjdkjvmti/include/ |
jvmti.h | 74 typedef jlong jlocation; 481 (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data); 484 (jvmtiHeapReferenceKind reference_kind, const jvmtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong* tag_ptr, jlong* referrer_tag_ptr, jint length, void* user_data); 487 (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_d (…) [all...] |
/prebuilts/jdk/jdk8/darwin-x86/include/ |
jvmti.h | 74 typedef jlong jlocation; 481 (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data); 484 (jvmtiHeapReferenceKind reference_kind, const jvmtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong* tag_ptr, jlong* referrer_tag_ptr, jint length, void* user_data); 487 (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_d (…) [all...] |
/prebuilts/jdk/jdk8/linux-x86/include/ |
jvmti.h | 74 typedef jlong jlocation; 481 (jlong class_tag, jlong size, jlong* tag_ptr, jint length, void* user_data); 484 (jvmtiHeapReferenceKind reference_kind, const jvmtiHeapReferenceInfo* reference_info, jlong class_tag, jlong referrer_class_tag, jlong size, jlong* tag_ptr, jlong* referrer_tag_ptr, jint length, void* user_data); 487 (jvmtiHeapReferenceKind kind, const jvmtiHeapReferenceInfo* info, jlong object_class_tag, jlong* object_tag_ptr, jvalue value, jvmtiPrimitiveType value_type, void* user_d (…) [all...] |
/external/webrtc/talk/app/webrtc/java/jni/ |
peerconnection_jni.cc | 42 // ref simulating the jlong held in Java-land, and then Release()s the ref in 280 reinterpret_cast<jlong>(stream)); 290 reinterpret_cast<jlong>(track.get()), id); 313 reinterpret_cast<jlong>(track.get()), id); 352 *j_data_channel_class_, j_data_channel_ctor_, (jlong)channel); [all...] |