Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioTrack.java2485 @WriteMode int writeMode) { in write() argument
2491 if ((writeMode != WRITE_BLOCKING) && (writeMode != WRITE_NON_BLOCKING)) { in write()
2502 if (!blockUntilOffloadDrain(writeMode)) { in write()
2507 writeMode == WRITE_BLOCKING); in write()
2598 @WriteMode int writeMode) { in write() argument
2604 if ((writeMode != WRITE_BLOCKING) && (writeMode != WRITE_NON_BLOCKING)) { in write()
2615 if (!blockUntilOffloadDrain(writeMode)) { in write()
2620 writeMode == WRITE_BLOCKING); in write()
2683 @WriteMode int writeMode) { in write() argument
2695 if ((writeMode != WRITE_BLOCKING) && (writeMode != WRITE_NON_BLOCKING)) { in write()
[all …]
/frameworks/av/media/libmediaplayer2/
DJAudioTrack.cpp349 int writeMode = 0; in write() local
352 writeMode = env->GetStaticIntField(mAudioTrackCls, jWriteBlocking); in write()
356 writeMode = env->GetStaticIntField(mAudioTrackCls, jWriteNonBlocking); in write()
360 int result = env->CallIntMethod(mAudioTrackObj, jWrite, jByteBufferObj, size, writeMode); in write()