/cts/tests/tests/nativehardware/jni/ |
D | NativeTestHelper.h | 25 #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/ |
D | nativeTestHelper.h | 26 #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/ |
D | android_view_cts_ChoreographerNativeTest.cpp | 32 #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/ |
D | android_graphics_cts_BitmapTest.cpp | 27 #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/ |
D | AudioSignalFactory.cpp | 30 ASSERT(BPS == AudioHardware::E2BPS); in generateSineWave() 51 ASSERT(BPS == AudioHardware::E2BPS); in generateWhiteNoise() 76 ASSERT(BPS == AudioHardware::E2BPS); in generateZeroSound()
|
D | AudioLocal.cpp | 171 ASSERT(false); in threadLoop()
|
D | Buffer.cpp | 33 ASSERT(((long)mData & 0x3) == 0); in Buffer()
|
/cts/suite/audio_quality/lib/src/ |
D | RWBuffer.h | 60 ASSERT((mWrPoint + sizeToWrite) <= mCapacity); in assertWriteCapacity() 89 ASSERT((mRdPoint + sizeof(T)) <= mWrPoint); in read()
|
D | Semaphore.cpp | 23 ASSERT(false); in Semaphore()
|
D | Report.cpp | 30 ASSERT(mInstance->init(dirName)); in Instance()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | LogPrinterTest.java | 34 int[] priorities = { Log.ASSERT, Log.DEBUG, Log.ERROR, Log.INFO, in testConstructor()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskProcess.cpp | 333 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()
|
D | TaskAsync.cpp | 97 ASSERT(getParent()->getType() == TaskGeneric::ETaskSequential); in getParentSequential()
|
D | TaskCase.cpp | 284 ASSERT(mClient->init(Settings::Instance()->getSetting(Settings::EADB))); in getRemoteAudio()
|
/cts/suite/audio_quality/lib/include/ |
D | Log.h | 64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \ macro
|
/cts/suite/audio_quality/lib/include/audio/ |
D | Buffer.h | 63 ASSERT(len <= mCapacity); in setData()
|
/cts/tests/camera/api25test/src/android/camera/cts/api25test/ |
D | EnableZslTest.java | 121 mCameraManager.getCameraCharacteristics(cameraId), CheckLevel.ASSERT, in testEnableZslValueByCamera()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 120 StaticMetadata.CheckLevel.ASSERT, /*collector*/null); in Camera2Focuser()
|
D | StaticMetadata.java | 125 ASSERT enumConstant 2421 case ASSERT: in failKeyCheck()
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 587 CheckLevel.ASSERT, /*collector*/null); in openDevice() 815 CheckLevel.ASSERT, /*collector*/ null); in isReprocessSupported()
|
D | Camera2AndroidTestCase.java | 194 CheckLevel.ASSERT, /*collector*/null); in openDevice()
|
D | Camera2MultiViewTestCase.java | 400 CheckLevel.ASSERT, /*collector*/null); in open()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | FlashlightTest.java | 55 CheckLevel.ASSERT, /*collector*/ null); in setUp()
|
D | PerformanceTest.java | 1045 CheckLevel.ASSERT, /*collector*/null); in simpleOpenCamera()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 81122 public static final int ASSERT
|