Home
last modified time | relevance | path

Searched refs:buf1 (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DBufferUtils.h49 bool operator()(const buffer_handle_t& buf1, const buffer_handle_t& buf2) const { in operator()
50 if (buf1->numFds == buf2->numFds) { in operator()
51 for (int i = 0; i < buf1->numFds; i++) { in operator()
52 if (buf1->data[i] != buf2->data[i]) { in operator()
/frameworks/av/media/module/foundation/tests/
DAData_test.cpp984 sp<ABuffer> buf1 = new ABuffer((void *)"hello", 6); in TEST_F() local
985 wp<ABuffer> buf1w = buf1; in TEST_F()
988 obj1.set(buf1); in TEST_F()
990 buf1.clear(); in TEST_F()
995 buf1 = new ABuffer((void *)"again", 6); in TEST_F()
996 buf1w = buf1; in TEST_F()
998 obj1.set(buf1); in TEST_F()
1004 EXPECT_EQ(buf2, buf1); in TEST_F()
1005 buf1.clear(); in TEST_F()
1013 buf1 = new ABuffer((void *)"still", 6); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/tests/
DLayerTransaction_test.cpp133 sp<GraphicBuffer> buf1; in TEST_F() local
134 ASSERT_NO_FATAL_FAILURE(slotToBuffer(slot1, &buf1)); in TEST_F()
137 TransactionUtils::fillGraphicBufferColor(buf1, Rect(width, height), color); in TEST_F()
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp414 AHardwareBuffer *buf1, *buf2; in TEST_F() local
417 ret = mTracker->allocate(0, 0, 0, kTestUsageFlag, &buf1, &fence1); in TEST_F()
428 ASSERT_TRUE(frameQueue.queueItem(buf1, fence1)); in TEST_F()
530 AHardwareBuffer *buf1, *buf2; in TEST_F() local
533 ASSERT_EQ(C2_OK, mTracker->allocate(0, 0, 0, kTestUsageFlag, &buf1, &fence)); in TEST_F()
535 AHardwareBuffer_release(buf1); in TEST_F()
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.h121 float* runProcessingChain(float* buf1, float* buf2, size_t frameCount);
DHapticGeneratorContext.cpp336 float* HapticGeneratorContext::runProcessingChain(float* buf1, float* buf2, size_t frameCount) { in runProcessingChain() argument
337 float* in = buf1; in runProcessingChain()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp429 char *buf1, *buf2, *bufDisplayId; in injectTapOnDisplay() local
430 asprintf(&buf1, "%d", x); in injectTapOnDisplay()
434 execlp("input", "input", "-d", bufDisplayId, "tap", buf1, buf2, NULL); in injectTapOnDisplay()
443 char *buf1, *bufDisplayId; in injectKeyOnDisplay() local
444 asprintf(&buf1, "%d", keycode); in injectKeyOnDisplay()
447 execlp("input", "input", "-d", bufDisplayId, "keyevent", buf1, NULL); in injectKeyOnDisplay()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationExitInfoTest.java978 byte[] buf1 = new byte[8192]; in verifyTraceFile()
981 int len = traceIn.read(buf1, 0, Math.min(buf1.length, length)); in verifyTraceFile()
983 assertTrue(ArrayUtils.equals(buf1, buf2, len)); in verifyTraceFile()
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp390 float* buf1, float* buf2, size_t frameCount) { in HapticGenerator_runProcessingChain() argument
391 float *in = buf1; in HapticGenerator_runProcessingChain()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java206 byte[] buf1 = new byte[80];
207 assertEquals("FILE1", new String(buf1, 0, e1.getInputStream().read(buf1)));
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rscript26 char buf1[200];
2428 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rscript26 char buf1[200];
2358 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_14/
Dall14.rscript26 char buf1[200];
2428 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rscript26 char buf1[200];
2358 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rscript26 char buf1[200];
2358 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_17/
Dall17.rscript26 char buf1[200];
2628 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rscript26 char buf1[200];
2520 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_18/
Dall18.rscript26 char buf1[200];
3187 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_19/
Dall19.rscript26 char buf1[200];
3411 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_20/
Dall20.rscript26 char buf1[200];
3430 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_21/
Dall21.rscript26 char buf1[200];
4074 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rscript24 char buf1[200];
4724 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_22/
Dall22.rscript26 char buf1[200];
4794 *(uchar*)buf0 = abs(*(char*)buf1);
/frameworks/compile/slang/tests/P_all_api_24/
Dall24.rscript24 char buf1[200];
6486 *(uchar*)buf0 = abs(*(char*)buf1);