Searched refs:descSize (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/jni/ |
D | com_android_server_accessibility_BrailleDisplayConnection.cpp | 52 JNIEnv* env, jclass /*clazz*/, int fd, int descSize) { in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc() argument 54 desc.size = descSize; in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc() 58 jbyteArray result = env->NewByteArray(descSize); in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc() 60 env->SetByteArrayRegion(result, 0, descSize, (jbyte*)desc.value); in com_android_server_accessibility_BrailleDisplayConnection_getHidrawDesc()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | BrailleDisplayConnection.java | 499 final int descSize = nativeInterface.getHidrawDescSize(fd); in getDefaultNativeScanner() 500 if (descSize > 0) { in getDefaultNativeScanner() 501 return nativeInterface.getHidrawDesc(fd, descSize); in getDefaultNativeScanner() 597 byte[] getHidrawDesc(int fd, int descSize); 624 public byte[] getHidrawDesc(int fd, int descSize) { 625 return nativeGetHidrawDesc(fd, descSize); 646 private static native byte[] nativeGetHidrawDesc(int fd, int descSize);
|