Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFileTunerHal.java166 protected int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize) { in nativeWriteInBuffer() argument
194 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in nativeWriteInBuffer()
195 javaBufferSize = (javaBufferSize < TS_PAYLOAD_SIZE) ? javaBufferSize : TS_PAYLOAD_SIZE; in nativeWriteInBuffer()
197 i < readSize && destPos + TS_PACKET_SIZE <= javaBufferSize; in nativeWriteInBuffer()
DFakeTunerHal.java68 protected int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize) { in nativeWriteInBuffer() argument
/packages/apps/TV/jni/
Dtunertvinput_jni.cpp158 jint javaBufferSize) { in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() argument
167 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
169 (javaBufferSize < TS_PAYLOAD_SIZE) ? javaBufferSize : TS_PAYLOAD_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java275 public synchronized int readTsStream(byte[] javaBuffer, int javaBufferSize) { in readTsStream() argument
277 return nativeWriteInBuffer(getDeviceId(), javaBuffer, javaBufferSize); in readTsStream()
298 protected native int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize); in nativeWriteInBuffer() argument
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunTunerHal.java169 public synchronized int readTsStream(byte[] javaBuffer, int javaBufferSize) { in readTsStream() argument
174 return mInputStream.read(javaBuffer, 0, javaBufferSize); in readTsStream()
/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DTuner.java89 int readTsStream(byte[] javaBuffer, int javaBufferSize); in readTsStream() argument