Lines Matching refs:isPass
51 bool isPass = true; in nativeTestIfInvalidFdIsRejected() local
55 isPass = false; in nativeTestIfInvalidFdIsRejected()
57 return static_cast<jboolean>(isPass); in nativeTestIfInvalidFdIsRejected()
64 bool isPass = true; in nativeTestIfReadOnlyFdIsRejected() local
68 isPass = false; in nativeTestIfReadOnlyFdIsRejected()
72 return static_cast<jboolean>(isPass); in nativeTestIfReadOnlyFdIsRejected()
79 bool isPass = true; in nativeTestIfWriteOnlyFdIsRejected() local
83 isPass = false; in nativeTestIfWriteOnlyFdIsRejected()
87 return static_cast<jboolean>(isPass); in nativeTestIfWriteOnlyFdIsRejected()
95 bool isPass = true; in nativeTestIfNonSeekableFdIsRejected() local
99 isPass = false; in nativeTestIfNonSeekableFdIsRejected()
103 return static_cast<jboolean>(isPass); in nativeTestIfNonSeekableFdIsRejected()
110 bool isPass = true; in nativeTestIfInvalidOutputFormatIsRejected() local
114 isPass = false; in nativeTestIfInvalidOutputFormatIsRejected()
118 return static_cast<jboolean>(isPass); in nativeTestIfInvalidOutputFormatIsRejected()
126 bool isPass = true; in nativeTestIfInvalidMediaFormatIsRejected() local
129 isPass = false; in nativeTestIfInvalidMediaFormatIsRejected()
135 isPass = false; in nativeTestIfInvalidMediaFormatIsRejected()
141 return static_cast<jboolean>(isPass); in nativeTestIfInvalidMediaFormatIsRejected()
147 bool isPass = true; in nativeTestIfCorruptMediaFormatIsRejected() local
154 isPass = false; in nativeTestIfCorruptMediaFormatIsRejected()
160 return static_cast<jboolean>(isPass); in nativeTestIfCorruptMediaFormatIsRejected()
166 bool isPass = true; in nativeTestIfAddTrackSucceedsAfterStart() local
170 isPass &= AMediaMuxer_addTrack(muxer, format) >= 0; in nativeTestIfAddTrackSucceedsAfterStart()
171 isPass &= (AMediaMuxer_start(muxer) == AMEDIA_OK); in nativeTestIfAddTrackSucceedsAfterStart()
174 isPass = false; in nativeTestIfAddTrackSucceedsAfterStart()
180 return static_cast<jboolean>(isPass); in nativeTestIfAddTrackSucceedsAfterStart()
187 bool isPass = true; in nativeTestIfAddTrackSucceedsAfterWriteSampleData() local
192 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
193 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
194 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
197 isPass = false; in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
203 return static_cast<jboolean>(isPass); in nativeTestIfAddTrackSucceedsAfterWriteSampleData()
209 bool isPass = true; in nativeTestIfAddTrackSucceedsAfterStop() local
214 isPass &= trackID >= 0; in nativeTestIfAddTrackSucceedsAfterStop()
215 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop()
216 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop()
217 isPass &= AMediaMuxer_stop(muxer) == AMEDIA_OK; in nativeTestIfAddTrackSucceedsAfterStop()
220 isPass = false; in nativeTestIfAddTrackSucceedsAfterStop()
226 return static_cast<jboolean>(isPass); in nativeTestIfAddTrackSucceedsAfterStop()
232 bool isPass = true; in nativeTestIfMuxerStartsBeforeAddTrack() local
236 isPass = false; in nativeTestIfMuxerStartsBeforeAddTrack()
241 return static_cast<jboolean>(isPass); in nativeTestIfMuxerStartsBeforeAddTrack()
247 bool isPass = true; in nativeTestIdempotentStart() local
251 isPass &= AMediaMuxer_addTrack(muxer, format) >= 0; in nativeTestIdempotentStart()
252 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIdempotentStart()
255 isPass = false; in nativeTestIdempotentStart()
261 return static_cast<jboolean>(isPass); in nativeTestIdempotentStart()
268 bool isPass = true; in nativeTestIfMuxerStartsAfterWriteSampleData() local
273 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterWriteSampleData()
274 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterWriteSampleData()
275 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterWriteSampleData()
278 isPass = false; in nativeTestIfMuxerStartsAfterWriteSampleData()
284 return static_cast<jboolean>(isPass); in nativeTestIfMuxerStartsAfterWriteSampleData()
290 bool isPass = true; in nativeTestIfMuxerStartsAfterStop() local
295 isPass &= trackID >= 0; in nativeTestIfMuxerStartsAfterStop()
296 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop()
297 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop()
298 isPass &= AMediaMuxer_stop(muxer) == AMEDIA_OK; in nativeTestIfMuxerStartsAfterStop()
301 isPass = false; in nativeTestIfMuxerStartsAfterStop()
307 return static_cast<jboolean>(isPass); in nativeTestIfMuxerStartsAfterStop()
313 bool isPass = true; in nativeTestStopOnANonStartedMuxer() local
317 isPass &= AMediaMuxer_addTrack(muxer, format) >= 0; in nativeTestStopOnANonStartedMuxer()
320 isPass = false; in nativeTestStopOnANonStartedMuxer()
326 return static_cast<jboolean>(isPass); in nativeTestStopOnANonStartedMuxer()
332 bool isPass = true; in nativeTestIdempotentStop() local
337 isPass &= trackID >= 0; in nativeTestIdempotentStop()
338 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIdempotentStop()
339 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIdempotentStop()
340 isPass &= AMediaMuxer_stop(muxer) == AMEDIA_OK; in nativeTestIdempotentStop()
343 isPass = false; in nativeTestIdempotentStop()
349 return static_cast<jboolean>(isPass); in nativeTestIdempotentStop()
355 bool isPass = true; in nativeTestSimpleStartStop() local
360 isPass &= trackID >= 0; in nativeTestSimpleStartStop()
361 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestSimpleStartStop()
362 isPass &= AMediaMuxer_stop(muxer) == AMEDIA_OK; in nativeTestSimpleStartStop()
367 return static_cast<jboolean>(isPass); in nativeTestSimpleStartStop()
372 bool isPass = true; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex() local
379 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
380 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
381 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
384 isPass = false; in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
390 return static_cast<jboolean>(isPass); in nativeTestIfWriteSampleDataRejectsInvalidTrackIndex()
395 bool isPass = true; in nativeTestIfWriteSampleDataRejectsInvalidPts() local
402 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataRejectsInvalidPts()
403 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidPts()
404 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataRejectsInvalidPts()
407 isPass = false; in nativeTestIfWriteSampleDataRejectsInvalidPts()
413 return static_cast<jboolean>(isPass); in nativeTestIfWriteSampleDataRejectsInvalidPts()
418 bool isPass = true; in nativeTestIfWriteSampleDataSucceedsBeforeStart() local
425 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsBeforeStart()
428 isPass = false; in nativeTestIfWriteSampleDataSucceedsBeforeStart()
434 return static_cast<jboolean>(isPass); in nativeTestIfWriteSampleDataSucceedsBeforeStart()
439 bool isPass = true; in nativeTestIfWriteSampleDataSucceedsAfterStop() local
446 isPass &= trackID >= 0; in nativeTestIfWriteSampleDataSucceedsAfterStop()
447 isPass &= AMediaMuxer_start(muxer) == AMEDIA_OK; in nativeTestIfWriteSampleDataSucceedsAfterStop()
448 isPass &= insertPerFrameSubtitles(muxer, 0, trackID) == AMEDIA_OK; in nativeTestIfWriteSampleDataSucceedsAfterStop()
449 isPass &= AMediaMuxer_stop(muxer) == AMEDIA_OK; in nativeTestIfWriteSampleDataSucceedsAfterStop()
452 isPass = false; in nativeTestIfWriteSampleDataSucceedsAfterStop()
458 return static_cast<jboolean>(isPass); in nativeTestIfWriteSampleDataSucceedsAfterStop()