/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 40 ASSERT_EQ(0ULL, coords.bits); in TEST_F() 49 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F() 51 ASSERT_EQ(0, coords.getAxisValue(1)) in TEST_F() 55 ASSERT_EQ(OK, coords.setAxisValue(1, 5)); in TEST_F() 56 ASSERT_EQ(5, coords.values[0]); in TEST_F() 57 ASSERT_EQ(0x4000000000000000ULL, coords.bits); in TEST_F() 59 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F() 61 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F() 65 ASSERT_EQ(OK, coords.setAxisValue(3, 2)); in TEST_F() 66 ASSERT_EQ(0x5000000000000000ULL, coords.bits); in TEST_F() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 48 ASSERT_EQ(buffer[0], 2); in TEST_F() 49 ASSERT_EQ(result, buffer + 1); in TEST_F() 54 ASSERT_EQ(buffer[0], 127); in TEST_F() 55 ASSERT_EQ(result, buffer + 1); in TEST_F() 60 ASSERT_EQ(buffer[0], 0 + 0x80); in TEST_F() 61 ASSERT_EQ(buffer[1], 1); in TEST_F() 62 ASSERT_EQ(result, buffer + 2); in TEST_F() 67 ASSERT_EQ(buffer[0], 1 + 0x80); in TEST_F() 68 ASSERT_EQ(buffer[1], 1); in TEST_F() 69 ASSERT_EQ(result, buffer + 2); in TEST_F() [all …]
|
D | ELFReaderTest.cpp | 83 ASSERT_EQ(m_pInput->context()->numOfSections(), 13u); in TEST_F() 86 ASSERT_EQ(".text", (*iter)->name()); in TEST_F() 87 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type()); in TEST_F() 88 ASSERT_EQ(0x40u, (*iter)->offset()); in TEST_F() 89 ASSERT_EQ(0x15u, (*iter)->size()); in TEST_F() 91 ASSERT_EQ(0x4u, (*iter)->align()); in TEST_F() 92 ASSERT_EQ(NULL, (*iter)->getLink()); in TEST_F() 93 ASSERT_EQ(0u, (*iter)->getInfo()); in TEST_F() 117 ASSERT_EQ("hello.c", std::string(m_pInput->context()->getSymbol(1)->name())); in TEST_F() 118 ASSERT_EQ("puts", std::string(m_pInput->context()->getSymbol(10)->name())); in TEST_F() [all …]
|
D | FactoriesTest.cpp | 41 ASSERT_EQ(1, m_pNodeAlloc->size()); in TEST_F() 44 ASSERT_EQ(2, m_pNodeAlloc->size()); in TEST_F() 47 ASSERT_EQ(3, m_pNodeAlloc->size()); in TEST_F() 63 ASSERT_EQ(counter, *(*data).data); in TEST_F() 79 ASSERT_EQ(100, m_pNodeAlloc->size()); in TEST_F() 84 ASSERT_EQ(counter, *(*data).data); in TEST_F() 101 ASSERT_EQ(100, m_pNodeAlloc->size()); in TEST_F() 106 ASSERT_EQ(counter, *(*data).data); in TEST_F() 111 ASSERT_EQ(0, delegatee->size()); in TEST_F() 137 ASSERT_EQ(200, m_pNodeAlloc->size()); in TEST_F() [all …]
|
D | BinTreeTest.cpp | 130 ASSERT_EQ(111, **dfs_it); in TEST_F() 159 ASSERT_EQ(0, **dfs_it); in TEST_F() 161 ASSERT_EQ(1, **dfs_it); in TEST_F() 163 ASSERT_EQ(2, **dfs_it); in TEST_F() 165 ASSERT_EQ(3, **dfs_it); in TEST_F() 167 ASSERT_EQ(4, **dfs_it); in TEST_F() 182 ASSERT_EQ(1, counter); in TEST_F() 200 ASSERT_EQ(111, **bfs_it); in TEST_F() 202 ASSERT_EQ(10, **bfs_it); in TEST_F() 204 ASSERT_EQ(9, **bfs_it); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/tests/ |
D | Utils_test.cpp | 37 ASSERT_EQ(AStringUtils::Compare("Audio", "AudioExt", 5, false), 0); in TEST_F() 38 ASSERT_EQ(AStringUtils::Compare("Audio", "audiOExt", 5, true), 0); in TEST_F() 112 ASSERT_EQ(ADebug::GetLevelFromSettingsString("video", "", LVL(5)), LVL(5)); in TEST_F() 113 ASSERT_EQ(ADebug::GetLevelFromSettingsString("video", " \t \n ", LVL(2)), LVL(2)); in TEST_F() 114 ASSERT_EQ(ADebug::GetLevelFromSettingsString("video", "3", LVL(5)), LVL(3)); in TEST_F() 115 ASSERT_EQ(ADebug::GetLevelFromSettingsString("video", "3:*deo", LVL(5)), LVL(3)); in TEST_F() 116 ASSERT_EQ(ADebug::GetLevelFromSettingsString( in TEST_F() 118 ASSERT_EQ(ADebug::GetLevelFromSettingsString("video", "3:*deo,2:vid*", LVL(5)), LVL(2)); in TEST_F() 119 ASSERT_EQ(ADebug::GetLevelFromSettingsString( in TEST_F() 121 ASSERT_EQ(ADebug::GetLevelFromSettingsString( in TEST_F() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 59 ASSERT_EQ(OK, mProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, in GetMinUndequeuedBufferCount() 107 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false)); in TEST_F() 109 ASSERT_EQ(OK, in TEST_F() 115 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F() 118 ASSERT_EQ(OK, mProducer->requestBuffer(slot, &buffer)); in TEST_F() 121 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F() 124 ASSERT_EQ(OK, buffer->unlock()); in TEST_F() 129 ASSERT_EQ(OK, mProducer->queueBuffer(slot, input, &output)); in TEST_F() 132 ASSERT_EQ(OK, mConsumer->acquireBuffer(&item, 0)); in TEST_F() 135 ASSERT_EQ(OK, item.mGraphicBuffer->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, in TEST_F() [all …]
|
D | SurfaceTextureMultiContextGL_test.cpp | 33 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 38 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 39 ASSERT_EQ(INVALID_OPERATION, mST->updateTexImage()); in TEST_F() 47 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 50 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F() 62 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 66 ASSERT_EQ(OK, mST->detachFromContext()); in TEST_F() 77 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() 81 ASSERT_EQ(NO_INIT, mST->detachFromContext()); in TEST_F() 89 ASSERT_EQ(OK, mST->updateTexImage()); in TEST_F() [all …]
|
D | SurfaceTextureClient_test.cpp | 61 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 66 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 72 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 80 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 84 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 88 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 148 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 154 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 170 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 219 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf)); in TEST_F() [all …]
|
D | StreamSplitter_test.cpp | 91 ASSERT_EQ(OK, outputConsumer->consumerConnect(new DummyListener, false)); in TEST_F() 95 ASSERT_EQ(OK, status); in TEST_F() 96 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F() 99 ASSERT_EQ(OK, inputProducer->connect(new DummyProducerListener, in TEST_F() 105 ASSERT_EQ(IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION, in TEST_F() 108 ASSERT_EQ(OK, inputProducer->requestBuffer(slot, &buffer)); in TEST_F() 111 ASSERT_EQ(OK, buffer->lock(GraphicBuffer::USAGE_SW_WRITE_OFTEN, in TEST_F() 114 ASSERT_EQ(OK, buffer->unlock()); in TEST_F() 120 ASSERT_EQ(OK, inputProducer->queueBuffer(slot, qbInput, &qbOutput)); in TEST_F() 123 ASSERT_EQ(OK, outputConsumer->acquireBuffer(&item, 0)); in TEST_F() [all …]
|
D | SRGB_test.cpp | 80 ASSERT_EQ(NO_ERROR, consumer->setDefaultBufferSize( in SetUp() 94 ASSERT_EQ(NO_ERROR, mCpuConsumer->unlockBuffer(mLockedBuffer)); in TearDown() 142 ASSERT_EQ(GL_NO_ERROR, glGetError()); in fillTexture() 172 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 176 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 187 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 189 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 192 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 194 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() 198 ASSERT_EQ(GL_NO_ERROR, glGetError()); in initShaders() [all …]
|
D | SurfaceTextureGLToGL_test.cpp | 38 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 55 ASSERT_EQ(texWidth, buf->getHeight()); in TEST_F() 56 ASSERT_EQ(texHeight, buf->getWidth()); in TEST_F() 58 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 59 ASSERT_EQ(texHeight, buf->getHeight()); in TEST_F() 72 ASSERT_EQ((uint32_t) 0, mST->getCurrentTransform()); in TEST_F() 73 ASSERT_EQ(texWidth, buf->getWidth()); in TEST_F() 74 ASSERT_EQ(texHeight, buf->getHeight()); in TEST_F() 89 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 115 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() [all …]
|
D | Surface_test.cpp | 43 ASSERT_EQ(NO_ERROR, mComposerClient->initCheck()); in SetUp() 52 ASSERT_EQ(NO_ERROR, mSurfaceControl->setLayer(0x7fffffff)); in SetUp() 53 ASSERT_EQ(NO_ERROR, mSurfaceControl->show()); in SetUp() 100 ASSERT_EQ(NO_ERROR, sf->captureScreen(display, producer, Rect(), in TEST_F() 106 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), in TEST_F() 108 ASSERT_EQ(NO_ERROR, native_window_set_buffer_count(anw.get(), 3)); in TEST_F() 116 ASSERT_EQ(NO_ERROR, native_window_set_usage(anw.get(), 0)); in TEST_F() 117 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F() 121 ASSERT_EQ(NO_ERROR, anw->cancelBuffer(anw.get(), buf, -1)); in TEST_F() 125 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(anw.get(), in TEST_F() [all …]
|
D | TextureRenderer.cpp | 60 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in SetUp() 63 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in SetUp() 66 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in SetUp() 81 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 83 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 87 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 89 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 97 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 100 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() 103 ASSERT_EQ(GLenum(GL_NO_ERROR), glGetError()); in drawTexture() [all …]
|
D | SurfaceTextureGL_test.cpp | 31 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 35 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 39 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 50 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 53 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 79 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 81 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 83 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 87 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() [all …]
|
D | SurfaceTextureFBO_test.cpp | 30 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(), in TEST_F() 32 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(), in TEST_F() 34 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(), in TEST_F() 38 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 50 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(), in TEST_F() 53 ASSERT_EQ(NO_ERROR, mST->updateTexImage()); in TEST_F() 62 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(), in TEST_F() 69 ASSERT_EQ(NO_ERROR, buf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, in TEST_F() 73 ASSERT_EQ(NO_ERROR, buf->unlock()); in TEST_F() 74 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 464 ASSERT_EQ(size_t(0), mEvents.size()) in assertQueueIsEmpty() 1032 ASSERT_EQ(1U, inputDevices.size()); in TEST_F() 1033 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F() 1035 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F() 1036 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F() 1037 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size()); in TEST_F() 1041 ASSERT_EQ(1U, inputDevices.size()); in TEST_F() 1042 ASSERT_EQ(1, inputDevices[0].getId()); in TEST_F() 1044 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F() 1045 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F() [all …]
|
/frameworks/native/opengl/tests/EGLTest/ |
D | egl_cache_test.cpp | 46 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F() 47 ASSERT_EQ(0xee, buf[0]); in TEST_F() 48 ASSERT_EQ(0xee, buf[1]); in TEST_F() 49 ASSERT_EQ(0xee, buf[2]); in TEST_F() 50 ASSERT_EQ(0xee, buf[3]); in TEST_F() 57 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); in TEST_F() 58 ASSERT_EQ('e', buf[0]); in TEST_F() 59 ASSERT_EQ('f', buf[1]); in TEST_F() 60 ASSERT_EQ('g', buf[2]); in TEST_F() 61 ASSERT_EQ('h', buf[3]); in TEST_F() [all …]
|
D | EGL_test.cpp | 39 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 44 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in SetUp() 51 ASSERT_EQ(EGL_TRUE, success); in TearDown() 52 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TearDown() 68 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 69 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 75 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 76 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() 78 ASSERT_EQ(EGL_TRUE, success); in TEST_F() 79 ASSERT_EQ(EGL_SUCCESS, eglGetError()); in TEST_F() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | ResTable_test.cpp | 46 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 51 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 58 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 66 ASSERT_EQ(base::R::string::test1, resID); in TEST() 71 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 74 ASSERT_EQ(NO_ERROR, theme.applyStyle(base::R::style::Theme1)); in TEST() 80 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 81 ASSERT_EQ(uint32_t(100), val.data); in TEST() 85 ASSERT_EQ(Res_value::TYPE_REFERENCE, val.dataType); in TEST() 86 ASSERT_EQ(base::R::integer::number1, val.data); in TEST() [all …]
|
D | Theme_test.cpp | 41 ASSERT_EQ(NO_ERROR, table.add(system_arsc, system_arsc_len)); in TEST() 42 ASSERT_EQ(NO_ERROR, table.add(app_arsc, app_arsc_len)); in TEST() 45 ASSERT_EQ(NO_ERROR, theme1.applyStyle(app::R::style::Theme_One)); in TEST() 48 ASSERT_EQ(Res_value::TYPE_INT_COLOR_RGB8, val.dataType); in TEST() 49 ASSERT_EQ(uint32_t(0xffff0000), val.data); in TEST() 51 ASSERT_EQ(Res_value::TYPE_INT_DEC, val.dataType); in TEST() 52 ASSERT_EQ(uint32_t(1), val.data); in TEST() 55 ASSERT_EQ(NO_ERROR, table2.add(system_arsc, system_arsc_len)); in TEST() 56 ASSERT_EQ(NO_ERROR, table2.add(app_arsc, app_arsc_len)); in TEST() 59 ASSERT_EQ(NO_ERROR, theme2.setTo(theme1)); in TEST() [all …]
|
D | Split_test.cpp | 67 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 77 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 102 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 103 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST() 123 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 128 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST() 151 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 160 ASSERT_EQ(NO_ERROR, table.add(split_de_fr_arsc, split_de_fr_arsc_len)); in TEST() 177 ASSERT_EQ(NO_ERROR, table.add(basic_arsc, basic_arsc_len)); in TEST() 178 ASSERT_EQ(NO_ERROR, table.add(split_hdpi_v4_arsc, split_hdpi_v4_arsc_len)); in TEST() [all …]
|
/frameworks/native/libs/ui/tests/ |
D | mat_test.cpp | 49 ASSERT_EQ(m0[0].x, 1); in TEST_F() 50 ASSERT_EQ(m0[0].y, 0); in TEST_F() 51 ASSERT_EQ(m0[0].z, 0); in TEST_F() 52 ASSERT_EQ(m0[0].w, 0); in TEST_F() 53 ASSERT_EQ(m0[1].x, 0); in TEST_F() 54 ASSERT_EQ(m0[1].y, 1); in TEST_F() 55 ASSERT_EQ(m0[1].z, 0); in TEST_F() 56 ASSERT_EQ(m0[1].w, 0); in TEST_F() 57 ASSERT_EQ(m0[2].x, 0); in TEST_F() 58 ASSERT_EQ(m0[2].y, 0); in TEST_F() [all …]
|
/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 26 #define ASSERT_EQ(x, y) assert((x) == (y)) macro 41 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 43 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 46 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 51 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 53 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 77 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 79 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 82 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() 85 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main() [all …]
|
/frameworks/base/tools/aapt2/ |
D | BigBuffer_test.cpp | 71 ASSERT_EQ(sizeof(uint32_t), b->size); in TEST() 72 ASSERT_EQ(33u, *reinterpret_cast<uint32_t*>(b->buffer.get())); in TEST() 76 ASSERT_EQ(sizeof(uint32_t), b->size); in TEST() 77 ASSERT_EQ(44u, *reinterpret_cast<uint32_t*>(b->buffer.get())); in TEST() 80 ASSERT_EQ(b, buffer.end()); in TEST() 87 ASSERT_EQ(2u, buffer.size()); in TEST() 89 ASSERT_EQ(4u, buffer.size()); in TEST() 91 ASSERT_EQ(4u, buffer.size()); in TEST() 93 ASSERT_EQ(6u, buffer.size()); in TEST() 95 ASSERT_EQ(8u, buffer.size()); in TEST()
|