Lines Matching refs:isPass

142     bool isPass = true;  in setupCodec()  local
150 isPass = false; in setupCodec()
152 return isPass; in setupCodec()
213 bool isPass = true; in testConfigureCodecForIncompleteFormat() local
218 if (!isPass) break; in testConfigureCodecForIncompleteFormat()
223 isPass = false; in testConfigureCodecForIncompleteFormat()
231 isPass = false; in testConfigureCodecForIncompleteFormat()
235 return isPass; in testConfigureCodecForIncompleteFormat()
241 bool isPass = true; in testConfigureCodecForBadFlags() local
244 isPass = false; in testConfigureCodecForBadFlags()
248 return isPass; in testConfigureCodecForBadFlags()
1490 bool isPass = true; in nativeTestCreateByCodecNameForNull() local
1495 isPass = false; in nativeTestCreateByCodecNameForNull()
1497 return static_cast<jboolean>(isPass); in nativeTestCreateByCodecNameForNull()
1501 bool isPass = true; in nativeTestCreateByCodecNameForInvalidName() local
1506 isPass = false; in nativeTestCreateByCodecNameForInvalidName()
1508 return static_cast<jboolean>(isPass); in nativeTestCreateByCodecNameForInvalidName()
1512 bool isPass = true; in nativeTestCreateDecoderByTypeForNull() local
1517 isPass = false; in nativeTestCreateDecoderByTypeForNull()
1519 return static_cast<jboolean>(isPass); in nativeTestCreateDecoderByTypeForNull()
1523 bool isPass = true; in nativeTestCreateDecoderByTypeForInvalidMime() local
1528 isPass = false; in nativeTestCreateDecoderByTypeForInvalidMime()
1530 return static_cast<jboolean>(isPass); in nativeTestCreateDecoderByTypeForInvalidMime()
1534 bool isPass = true; in nativeTestCreateEncoderByTypeForNull() local
1539 isPass = false; in nativeTestCreateEncoderByTypeForNull()
1541 return static_cast<jboolean>(isPass); in nativeTestCreateEncoderByTypeForNull()
1545 bool isPass = true; in nativeTestCreateEncoderByTypeForInvalidMime() local
1550 isPass = false; in nativeTestCreateEncoderByTypeForInvalidMime()
1552 return static_cast<jboolean>(isPass); in nativeTestCreateEncoderByTypeForInvalidMime()
1561 bool isPass = (AMEDIA_OK != AMediaCodec_configure(codec, nullptr, nullptr, nullptr, in nativeTestConfigureForNullFormat() local
1563 if (!isPass) { in nativeTestConfigureForNullFormat()
1567 return static_cast<jboolean>(isPass); in nativeTestConfigureForNullFormat()
1577 bool isPass = (AMEDIA_OK != AMediaCodec_configure(codec, format, nullptr, nullptr, in nativeTestConfigureForEmptyFormat() local
1579 if (!isPass) { in nativeTestConfigureForEmptyFormat()
1584 return static_cast<jboolean>(isPass); in nativeTestConfigureForEmptyFormat()
1590 bool isPass = nativeCodecUnitTest->testConfigureCodecForIncompleteFormat(isAudio, isEncoder); in nativeTestConfigureCodecForIncompleteFormat() local
1592 return static_cast<jboolean>(isPass); in nativeTestConfigureCodecForIncompleteFormat()
1598 bool isPass = nativeCodecUnitTest->testConfigureCodecForBadFlags(isEncoder); in nativeTestConfigureEncoderForBadFlags() local
1600 return static_cast<jboolean>(isPass); in nativeTestConfigureEncoderForBadFlags()
1606 bool isPass = nativeCodecUnitTest->testConfigureCodecForBadFlags(isEncoder); in nativeTestConfigureDecoderForBadFlags() local
1608 return static_cast<jboolean>(isPass); in nativeTestConfigureDecoderForBadFlags()
1613 bool isPass = nativeCodecUnitTest->testConfigureInInitState(); in nativeTestConfigureInInitState() local
1615 return static_cast<jboolean>(isPass); in nativeTestConfigureInInitState()
1620 bool isPass = nativeCodecUnitTest->testConfigureInRunningState(); in nativeTestConfigureInRunningState() local
1622 return static_cast<jboolean>(isPass); in nativeTestConfigureInRunningState()
1627 bool isPass = nativeCodecUnitTest->testConfigureInUnInitState(); in nativeTestConfigureInUnInitState() local
1629 return static_cast<jboolean>(isPass); in nativeTestConfigureInUnInitState()
1634 bool isPass = nativeCodecUnitTest->testDequeueInputBufferInInitState(); in nativeTestDequeueInputBufferInInitState() local
1636 return static_cast<jboolean>(isPass); in nativeTestDequeueInputBufferInInitState()
1641 bool isPass = nativeCodecUnitTest->testDequeueInputBufferInRunningState(); in nativeTestDequeueInputBufferInRunningState() local
1643 return static_cast<jboolean>(isPass); in nativeTestDequeueInputBufferInRunningState()
1648 bool isPass = nativeCodecUnitTest->testDequeueInputBufferInUnInitState(); in nativeTestDequeueInputBufferInUnInitState() local
1650 return static_cast<jboolean>(isPass); in nativeTestDequeueInputBufferInUnInitState()
1655 bool isPass = nativeCodecUnitTest->testDequeueOutputBufferInInitState(); in nativeTestDequeueOutputBufferInInitState() local
1657 return static_cast<jboolean>(isPass); in nativeTestDequeueOutputBufferInInitState()
1662 bool isPass = nativeCodecUnitTest->testDequeueOutputBufferInRunningState(); in nativeTestDequeueOutputBufferInRunningState() local
1664 return static_cast<jboolean>(isPass); in nativeTestDequeueOutputBufferInRunningState()
1669 bool isPass = nativeCodecUnitTest->testDequeueOutputBufferInUnInitState(); in nativeTestDequeueOutputBufferInUnInitState() local
1671 return static_cast<jboolean>(isPass); in nativeTestDequeueOutputBufferInUnInitState()
1676 bool isPass = nativeCodecUnitTest->testFlushInInitState(); in nativeTestFlushInInitState() local
1678 return static_cast<jboolean>(isPass); in nativeTestFlushInInitState()
1683 bool isPass = nativeCodecUnitTest->testFlushInRunningState(); in nativeTestFlushInRunningState() local
1685 return static_cast<jboolean>(isPass); in nativeTestFlushInRunningState()
1690 bool isPass = nativeCodecUnitTest->testFlushInUnInitState(); in nativeTestFlushInUnInitState() local
1692 return static_cast<jboolean>(isPass); in nativeTestFlushInUnInitState()
1697 bool isPass = nativeCodecUnitTest->testGetNameInInitState(); in nativeTestGetNameInInitState() local
1699 return static_cast<jboolean>(isPass); in nativeTestGetNameInInitState()
1704 bool isPass = nativeCodecUnitTest->testGetNameInRunningState(); in nativeTestGetNameInRunningState() local
1706 return static_cast<jboolean>(isPass); in nativeTestGetNameInRunningState()
1711 bool isPass = nativeCodecUnitTest->testGetNameInUnInitState(); in nativeTestGetNameInUnInitState() local
1713 return static_cast<jboolean>(isPass); in nativeTestGetNameInUnInitState()
1718 bool isPass = nativeCodecUnitTest->testSetAsyncNotifyCallbackInInitState(); in nativeTestSetAsyncNotifyCallbackInInitState() local
1720 return static_cast<jboolean>(isPass); in nativeTestSetAsyncNotifyCallbackInInitState()
1725 bool isPass = nativeCodecUnitTest->testSetAsyncNotifyCallbackInRunningState(); in nativeTestSetAsyncNotifyCallbackInRunningState() local
1727 return static_cast<jboolean>(isPass); in nativeTestSetAsyncNotifyCallbackInRunningState()
1732 bool isPass = nativeCodecUnitTest->testSetAsyncNotifyCallbackInUnInitState(); in nativeTestSetAsyncNotifyCallbackInUnInitState() local
1734 return static_cast<jboolean>(isPass); in nativeTestSetAsyncNotifyCallbackInUnInitState()
1739 bool isPass = nativeCodecUnitTest->testGetInputBufferInInitState(); in nativeTestGetInputBufferInInitState() local
1741 return static_cast<jboolean>(isPass); in nativeTestGetInputBufferInInitState()
1746 bool isPass = nativeCodecUnitTest->testGetInputBufferInRunningState(); in nativeTestGetInputBufferInRunningState() local
1748 return static_cast<jboolean>(isPass); in nativeTestGetInputBufferInRunningState()
1753 bool isPass = nativeCodecUnitTest->testGetInputBufferInUnInitState(); in nativeTestGetInputBufferInUnInitState() local
1755 return static_cast<jboolean>(isPass); in nativeTestGetInputBufferInUnInitState()
1760 bool isPass = nativeCodecUnitTest->testGetInputFormatInInitState(); in nativeTestGetInputFormatInInitState() local
1762 return static_cast<jboolean>(isPass); in nativeTestGetInputFormatInInitState()
1767 bool isPass = nativeCodecUnitTest->testGetInputFormatInRunningState(); in nativeTestGetInputFormatInRunningState() local
1769 return static_cast<jboolean>(isPass); in nativeTestGetInputFormatInRunningState()
1774 bool isPass = nativeCodecUnitTest->testGetInputFormatInUnInitState(); in nativeTestGetInputFormatInUnInitState() local
1776 return static_cast<jboolean>(isPass); in nativeTestGetInputFormatInUnInitState()
1781 bool isPass = nativeCodecUnitTest->testGetOutputBufferInInitState(); in nativeTestGetOutputBufferInInitState() local
1783 return static_cast<jboolean>(isPass); in nativeTestGetOutputBufferInInitState()
1788 bool isPass = nativeCodecUnitTest->testGetOutputBufferInRunningState(); in nativeTestGetOutputBufferInRunningState() local
1790 return static_cast<jboolean>(isPass); in nativeTestGetOutputBufferInRunningState()
1795 bool isPass = nativeCodecUnitTest->testGetOutputBufferInUnInitState(); in nativeTestGetOutputBufferInUnInitState() local
1797 return static_cast<jboolean>(isPass); in nativeTestGetOutputBufferInUnInitState()
1802 bool isPass = nativeCodecUnitTest->testGetOutputFormatInInitState(); in nativeTestGetOutputFormatInInitState() local
1804 return static_cast<jboolean>(isPass); in nativeTestGetOutputFormatInInitState()
1809 bool isPass = nativeCodecUnitTest->testGetOutputFormatInRunningState(); in nativeTestGetOutputFormatInRunningState() local
1811 return static_cast<jboolean>(isPass); in nativeTestGetOutputFormatInRunningState()
1816 bool isPass = nativeCodecUnitTest->testGetOutputFormatInUnInitState(); in nativeTestGetOutputFormatInUnInitState() local
1818 return static_cast<jboolean>(isPass); in nativeTestGetOutputFormatInUnInitState()
1823 bool isPass = nativeCodecUnitTest->testSetParametersInInitState(); in nativeTestSetParametersInInitState() local
1825 return static_cast<jboolean>(isPass); in nativeTestSetParametersInInitState()
1830 bool isPass = nativeCodecUnitTest->testSetParametersInRunningState(); in nativeTestSetParametersInRunningState() local
1832 return static_cast<jboolean>(isPass); in nativeTestSetParametersInRunningState()
1837 bool isPass = nativeCodecUnitTest->testSetParametersInUnInitState(); in nativeTestSetParametersInUnInitState() local
1839 return static_cast<jboolean>(isPass); in nativeTestSetParametersInUnInitState()
1844 bool isPass = nativeCodecUnitTest->testStartInRunningState(); in nativeTestStartInRunningState() local
1846 return static_cast<jboolean>(isPass); in nativeTestStartInRunningState()
1851 bool isPass = nativeCodecUnitTest->testStartInUnInitState(); in nativeTestStartInUnInitState() local
1853 return static_cast<jboolean>(isPass); in nativeTestStartInUnInitState()
1858 bool isPass = nativeCodecUnitTest->testStopInInitState(); in nativeTestStopInInitState() local
1860 return static_cast<jboolean>(isPass); in nativeTestStopInInitState()
1865 bool isPass = nativeCodecUnitTest->testStopInRunningState(); in nativeTestStopInRunningState() local
1867 return static_cast<jboolean>(isPass); in nativeTestStopInRunningState()
1872 bool isPass = nativeCodecUnitTest->testStopInUnInitState(); in nativeTestStopInUnInitState() local
1874 return static_cast<jboolean>(isPass); in nativeTestStopInUnInitState()
1879 bool isPass = nativeCodecUnitTest->testQueueInputBufferInInitState(); in nativeTestQueueInputBufferInInitState() local
1881 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferInInitState()
1886 bool isPass = nativeCodecUnitTest->testQueueInputBufferWithBadIndex(); in nativeTestQueueInputBufferWithBadIndex() local
1888 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferWithBadIndex()
1893 bool isPass = nativeCodecUnitTest->testQueueInputBufferWithBadSize(); in nativeTestQueueInputBufferWithBadSize() local
1895 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferWithBadSize()
1900 bool isPass = nativeCodecUnitTest->testQueueInputBufferWithBadBuffInfo(); in nativeTestQueueInputBufferWithBadBuffInfo() local
1902 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferWithBadBuffInfo()
1907 bool isPass = nativeCodecUnitTest->testQueueInputBufferWithBadOffset(); in nativeTestQueueInputBufferWithBadOffset() local
1909 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferWithBadOffset()
1914 bool isPass = nativeCodecUnitTest->testQueueInputBufferInUnInitState(); in nativeTestQueueInputBufferInUnInitState() local
1916 return static_cast<jboolean>(isPass); in nativeTestQueueInputBufferInUnInitState()
1921 bool isPass = nativeCodecUnitTest->testReleaseOutputBufferInInitState(); in nativeTestReleaseOutputBufferInInitState() local
1923 return static_cast<jboolean>(isPass); in nativeTestReleaseOutputBufferInInitState()
1928 bool isPass = nativeCodecUnitTest->testReleaseOutputBufferInRunningState(); in nativeTestReleaseOutputBufferInRunningState() local
1930 return static_cast<jboolean>(isPass); in nativeTestReleaseOutputBufferInRunningState()
1935 bool isPass = nativeCodecUnitTest->testReleaseOutputBufferInUnInitState(); in nativeTestReleaseOutputBufferInUnInitState() local
1937 return static_cast<jboolean>(isPass); in nativeTestReleaseOutputBufferInUnInitState()
1942 bool isPass = nativeCodecUnitTest->testGetBufferFormatInInitState(); in nativeTestGetBufferFormatInInitState() local
1944 return static_cast<jboolean>(isPass); in nativeTestGetBufferFormatInInitState()
1949 bool isPass = nativeCodecUnitTest->testGetBufferFormatInRunningState(); in nativeTestGetBufferFormatInRunningState() local
1951 return static_cast<jboolean>(isPass); in nativeTestGetBufferFormatInRunningState()
1956 bool isPass = nativeCodecUnitTest->testGetBufferFormatInUnInitState(); in nativeTestGetBufferFormatInUnInitState() local
1958 return static_cast<jboolean>(isPass); in nativeTestGetBufferFormatInUnInitState()