Home
last modified time | relevance | path

Searched refs:ASSERT (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/nativehardware/jni/
DNativeTestHelper.h25 #define ASSERT(condition, format, args...) \ macro
32 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__)
33 #define ASSERT_FALSE(a) ASSERT(!(a), "assert failed on (!" #a ") at " __FILE__ ":%d", __LINE__)
35 ASSERT((a) == (b), "assert failed on (" #a " == " #b ") at " __FILE__ ":%d", __LINE__)
37 ASSERT((a) != (b), "assert failed on (" #a " != " #b ") at " __FILE__ ":%d", __LINE__)
39 ASSERT((a) > (b), "assert failed on (" #a " > " #b ") at " __FILE__ ":%d", __LINE__)
41 ASSERT((a) >= (b), "assert failed on (" #a " >= " #b ") at " __FILE__ ":%d", __LINE__)
43 ASSERT((a) < (b), "assert failed on (" #a " < " #b ") at " __FILE__ ":%d", __LINE__)
45 ASSERT((a) <= (b), "assert failed on (" #a " <= " #b ") at " __FILE__ ":%d", __LINE__)
47 ASSERT((a) == nullptr, "assert failed on isNull(" #a ") at " __FILE__ ":%d", __LINE__)
[all …]
/cts/tests/sensor/jni/
DnativeTestHelper.h26 #define ASSERT(condition, format, args...) \ macro
33 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__)
34 #define ASSERT_FALSE(a) ASSERT(!(a), "assert failed on (!" #a ") at " __FILE__ ":%d", __LINE__)
36 ASSERT((a) == (b), "assert failed on (" #a " == " #b ") at " __FILE__ ":%d", __LINE__)
38 ASSERT((a) != (b), "assert failed on (" #a " != " #b ") at " __FILE__ ":%d", __LINE__)
40 ASSERT((a) > (b), "assert failed on (" #a " > " #b ") at " __FILE__ ":%d", __LINE__)
42 ASSERT((a) >= (b), "assert failed on (" #a " >= " #b ") at " __FILE__ ":%d", __LINE__)
44 ASSERT((a) < (b), "assert failed on (" #a " < " #b ") at " __FILE__ ":%d", __LINE__)
46 ASSERT((a) <= (b), "assert failed on (" #a " <= " #b ") at " __FILE__ ":%d", __LINE__)
48 ASSERT((a) == nullptr, "assert failed on isNull(" #a ") at " __FILE__ ":%d", __LINE__)
[all …]
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp32 #define ASSERT(condition, format, args...) \ macro
100 ASSERT(cb1->count == 1, "Choreographer failed to invoke callback 1"); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
101 ASSERT(cb1->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
103 ASSERT(cb2->count == 1, "Choreographer failed to invoke callback 2"); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
104 ASSERT(cb2->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
107 ASSERT(delta == delta.zero() || delta > delta.zero() && delta < NOMINAL_VSYNC_PERIOD * 2, in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
116 ASSERT(cb1->count == 2, "Choreographer failed to invoke callback 1 a second time"); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
117 ASSERT(cb1->frameTime - start < NOMINAL_VSYNC_PERIOD * 3, in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
119 ASSERT(cb2->count == 1, "Choreographer invoked callback 2 when not posted"); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
134 ASSERT(cb1->count == 0, in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
[all …]
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BitmapTest.cpp27 #define ASSERT(condition, format, args...) \ macro
33 #define ASSERT_TRUE(a) ASSERT((a), "assert failed on (" #a ") at " __FILE__ ":%d", __LINE__)
34 #define ASSERT_FALSE(a) ASSERT(!(a), "assert failed on (!" #a ") at " __FILE__ ":%d", __LINE__)
36 ASSERT((a) == (b), "assert failed on (" #a " == " #b ") at " __FILE__ ":%d", __LINE__)
38 ASSERT((a) != (b), "assert failed on (" #a " != " #b ") at " __FILE__ ":%d", __LINE__)
40 ASSERT((a) > (b), "assert failed on (" #a " > " #b ") at " __FILE__ ":%d", __LINE__)
42 ASSERT((a) >= (b), "assert failed on (" #a " >= " #b ") at " __FILE__ ":%d", __LINE__)
44 ASSERT((a) < (b), "assert failed on (" #a " < " #b ") at " __FILE__ ":%d", __LINE__)
46 ASSERT((a) <= (b), "assert failed on (" #a " <= " #b ") at " __FILE__ ":%d", __LINE__)
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp30 ASSERT(BPS == AudioHardware::E2BPS); in generateSineWave()
51 ASSERT(BPS == AudioHardware::E2BPS); in generateWhiteNoise()
76 ASSERT(BPS == AudioHardware::E2BPS); in generateZeroSound()
DAudioLocal.cpp171 ASSERT(false); in threadLoop()
DBuffer.cpp33 ASSERT(((long)mData & 0x3) == 0); in Buffer()
/cts/suite/audio_quality/lib/src/
DRWBuffer.h60 ASSERT((mWrPoint + sizeToWrite) <= mCapacity); in assertWriteCapacity()
89 ASSERT((mRdPoint + sizeof(T)) <= mWrPoint); in read()
DSemaphore.cpp23 ASSERT(false); in Semaphore()
DReport.cpp30 ASSERT(mInstance->init(dirName)); in Instance()
/cts/tests/tests/util/src/android/util/cts/
DLogPrinterTest.java34 int[] priorities = { Log.ASSERT, Log.DEBUG, Log.ERROR, Log.INFO, in testConstructor()
/cts/suite/audio_quality/lib/src/task/
DTaskProcess.cpp333 ASSERT((type == TaskProcess::EId) || (type == TaskProcess::EVal)); in Param()
351 ASSERT((mType == TaskProcess::EId) || (mType == TaskProcess::EVal)); in getParamString()
357 ASSERT(mType == TaskProcess::EConst); in getValue()
363 ASSERT(mType == TaskProcess::EConst); in getValuePtr()
DTaskAsync.cpp97 ASSERT(getParent()->getType() == TaskGeneric::ETaskSequential); in getParentSequential()
DTaskCase.cpp284 ASSERT(mClient->init(Settings::Instance()->getSetting(Settings::EADB))); in getRemoteAudio()
/cts/suite/audio_quality/lib/include/
DLog.h64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \ macro
/cts/suite/audio_quality/lib/include/audio/
DBuffer.h63 ASSERT(len <= mCapacity); in setData()
/cts/tests/camera/api25test/src/android/camera/cts/api25test/
DEnableZslTest.java121 mCameraManager.getCameraCharacteristics(cameraId), CheckLevel.ASSERT, in testEnableZslValueByCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCamera2Focuser.java120 StaticMetadata.CheckLevel.ASSERT, /*collector*/null); in Camera2Focuser()
DStaticMetadata.java125 ASSERT enumConstant
2421 case ASSERT: in failKeyCheck()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java587 CheckLevel.ASSERT, /*collector*/null); in openDevice()
815 CheckLevel.ASSERT, /*collector*/ null); in isReprocessSupported()
DCamera2AndroidTestCase.java194 CheckLevel.ASSERT, /*collector*/null); in openDevice()
DCamera2MultiViewTestCase.java400 CheckLevel.ASSERT, /*collector*/null); in open()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFlashlightTest.java55 CheckLevel.ASSERT, /*collector*/ null); in setUp()
DPerformanceTest.java1045 CheckLevel.ASSERT, /*collector*/null); in simpleOpenCamera()
/cts/tools/dex-tools/dex/
Dclasses.out.dex81122 public static final int ASSERT