Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/tests/external/
DGpuStatsPuller_test.cpp94 vector<std::shared_ptr<LogEvent>> inData, outData; in TEST_F() local
114 mockPuller.Pull(&outData); in TEST_F()
116 ASSERT_EQ(1, outData.size()); in TEST_F()
117 EXPECT_EQ(android::util::GPU_STATS_GLOBAL_INFO, outData[0]->GetTagId()); in TEST_F()
118 ASSERT_EQ(NUMBER_OF_VALUES_GLOBAL, outData[0]->size()); in TEST_F()
119 EXPECT_EQ(DRIVER_PACKAGE_NAME, outData[0]->getValues()[0].mValue.str_value); in TEST_F()
120 EXPECT_EQ(DRIVER_VERSION_NAME, outData[0]->getValues()[1].mValue.str_value); in TEST_F()
121 EXPECT_EQ(DRIVER_VERSION_CODE, outData[0]->getValues()[2].mValue.long_value); in TEST_F()
122 EXPECT_EQ(DRIVER_BUILD_TIME, outData[0]->getValues()[3].mValue.long_value); in TEST_F()
123 EXPECT_EQ(GL_LOADING_COUNT, outData[0]->getValues()[4].mValue.long_value); in TEST_F()
[all …]
/frameworks/base/cmds/statsd/tests/
DFieldValue_test.cpp254 vector<uint8_t> outData; in TEST() local
255 outData.resize(protoOut.size()); in TEST()
260 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
266 EXPECT_EQ(true, result.ParseFromArray(&outData[0], outData.size())); in TEST()
345 vector<uint8_t> outData; in TEST() local
346 outData.resize(protoOut.size()); in TEST()
351 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
357 EXPECT_EQ(true, result.ParseFromArray(&outData[0], outData.size())); in TEST()
407 vector<uint8_t> outData; in TEST() local
408 outData.resize(protoOut.size()); in TEST()
[all …]
DLogEvent_test.cpp591 std::vector<uint8_t> outData; in TEST() local
592 outData.resize(proto.size()); in TEST()
597 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
602 std::string result_str(outData.begin(), outData.end()); in TEST()
630 std::vector<uint8_t> outData; in TEST() local
631 outData.resize(proto.size()); in TEST()
636 std::memcpy(&(outData[pos]), reader->readBuffer(), toRead); in TEST()
641 std::string result_str(outData.begin(), outData.end()); in TEST()
/frameworks/base/native/android/
Dlooper.cpp52 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollOnce() argument
60 return looper->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
63 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollAll() argument
71 return looper->pollAll(timeoutMillis, outFd, outEvents, outData); in ALooper_pollAll()
/frameworks/base/libs/hwui/tests/microbench/
DPathParserBench.cpp45 PathData outData; in BM_PathParser_parseStringPathForPathData() local
48 PathParser::getPathDataFromAsciiString(&outData, &result, sPathString, length); in BM_PathParser_parseStringPathForPathData()
50 benchmark::DoNotOptimize(&outData); in BM_PathParser_parseStringPathForPathData()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c95 VO_CODECBUFFER outData; in encode() local
205 outData.Buffer = outBuf; in encode()
213 returnCode = AudioAPI.GetOutputData(hCodec,&outData, &outFormat); in encode()
220 fwrite(OutputBuf, 1, outData.Length + size1, fdst); in encode()
225 fwrite(outData.Buffer, 1, outData.Length, fdst); in encode()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp44 int timeoutMillis, int *outFd, int *outEvents, void **outData) { in pollOnce() argument
47 if (outData) { *outData = NULL; } in pollOnce()
DALooper.h35 int pollOnce(int timeoutMillis, int *outFd, int *outEvents, void **outData);
DASensorManager.cpp451 int timeoutMillis, int* outFd, int* outEvents, void** outData) { in ALooper_pollOnce() argument
452 int res = getTheLooper()->pollOnce(timeoutMillis, outFd, outEvents, outData); in ALooper_pollOnce()
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp92 VO_CODECBUFFER outData; in TEST_P() local
130 outData.Buffer = mOutputBuf; in TEST_P()
135 status = mApiHandle.GetOutputData(mEncoderHandle, &outData, &outFormat); in TEST_P()
139 fwrite(outData.Buffer, 1, outData.Length, fpOutput); in TEST_P()
/frameworks/base/libs/hwui/tests/unit/
DVectorDrawableTests.cpp327 PathData outData; in TEST() local
328 bool success = VectorDrawableUtils::interpolatePathData(&outData, fromData.pathData, in TEST()
343 PathData outData; in TEST() local
346 bool success = VectorDrawableUtils::interpolatePathData(&outData, fromPathData, in TEST()
349 for (size_t i = 0; i < outData.points.size(); i++) { in TEST()
352 EXPECT_TRUE(MathUtils::areEqual(expectedResult, outData.points[i])); in TEST()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp53 bool VectorDrawableUtils::interpolatePathData(PathData* outData, const PathData& morphFrom, in interpolatePathData() argument
58 interpolatePaths(outData, morphFrom, morphTo, fraction); in interpolatePathData()
88 void VectorDrawableUtils::interpolatePaths(PathData* outData, const PathData& from, in interpolatePaths() argument
90 outData->points.resize(from.points.size()); in interpolatePaths()
91 outData->verbSizes = from.verbSizes; in interpolatePaths()
92 outData->verbs = from.verbs; in interpolatePaths()
95 outData->points[i] = from.points[i] * (1 - fraction) + to.points[i] * fraction; in interpolatePaths()
DVectorDrawableUtils.h32 ANDROID_API static bool interpolatePathData(PathData* outData, const PathData& morphFrom,
/frameworks/native/include/android/
Dlooper.h198 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
205 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
/frameworks/native/include_sensor/android/
Dlooper.h198 int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outData);
205 int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outData);
/frameworks/base/core/java/android/util/
DPathParser.java117 public static boolean interpolatePathData(PathData outData, PathData fromData, PathData toData, in interpolatePathData() argument
119 return nInterpolatePathData(outData.mNativePathData, fromData.mNativePathData, in interpolatePathData()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp100 static void flushProtoToBuffer(ProtoOutputStream& proto, vector<uint8_t>* outData) { in flushProtoToBuffer() argument
101 outData->clear(); in flushProtoToBuffer()
102 outData->resize(proto.size()); in flushProtoToBuffer()
107 std::memcpy(&((*outData)[pos]), reader->readBuffer(), toRead); in flushProtoToBuffer()
405 vector<uint8_t>* outData) { in onDumpReport() argument
410 if (outData != nullptr) { in onDumpReport()
411 flushProtoToBuffer(proto, outData); in onDumpReport()
412 VLOG("output data size %zu", outData->size()); in onDumpReport()
/frameworks/base/libs/hwui/
DPathParser.h42 ANDROID_API static void getPathDataFromAsciiString(PathData* outData, ParseResult* result,
/frameworks/native/libs/ui/include/ui/
DGralloc.h59 int acquireFence, void** outData, int32_t* outBytesPerPixel,
DGralloc3.h55 int acquireFence, void** outData, int32_t* outBytesPerPixel,
DGralloc2.h56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp125 std::vector<uint8_t>& outData = layer.metadata.mMap[entry.first]; in generateLayer() local
126 outData.resize(dataStr.size()); in generateLayer()
127 memcpy(outData.data(), dataStr.data(), dataStr.size()); in generateLayer()
/frameworks/native/libs/ui/include_vndk/ui/
DGralloc2.h56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
/frameworks/native/libs/ui/
DGralloc2.cpp230 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument
260 *outData = tmpData; in lock()
DGralloc3.cpp191 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument
214 *outData = tmpData; in lock()

12