Home
last modified time | relevance | path

Searched refs:javaBufferSize (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/jni/
Dtunertvinput_jni.cpp119 (JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, jint javaBufferSize) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() argument
128 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
129 int readBufferSize = (javaBufferSize < TS_PAYLOAD_SIZE) ? javaBufferSize : TS_PAYLOAD_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
/packages/apps/TV/src/com/android/tv/tuner/
DTunerHal.java319 public synchronized int readTsStream(byte[] javaBuffer, int javaBufferSize) { in readTsStream() argument
321 return nativeWriteInBuffer(getDeviceId(), javaBuffer, javaBufferSize); in readTsStream()
327 protected native int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize); in nativeWriteInBuffer() argument