/frameworks/base/cmds/statsd/tests/external/ |
D | GpuStatsPuller_test.cpp | 94 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/ |
D | FieldValue_test.cpp | 254 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 …]
|
D | LogEvent_test.cpp | 591 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/ |
D | looper.cpp | 52 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/ |
D | PathParserBench.cpp | 45 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/ |
D | AMRWB_E_SAMPLE.c | 95 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/ |
D | ALooper.cpp | 44 int timeoutMillis, int *outFd, int *outEvents, void **outData) { in pollOnce() argument 47 if (outData) { *outData = NULL; } in pollOnce()
|
D | ALooper.h | 35 int pollOnce(int timeoutMillis, int *outFd, int *outEvents, void **outData);
|
D | ASensorManager.cpp | 451 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/ |
D | AmrwbEncoderTest.cpp | 92 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/ |
D | VectorDrawableTests.cpp | 327 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/ |
D | VectorDrawableUtils.cpp | 53 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()
|
D | VectorDrawableUtils.h | 32 ANDROID_API static bool interpolatePathData(PathData* outData, const PathData& morphFrom,
|
/frameworks/native/include/android/ |
D | looper.h | 198 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/ |
D | looper.h | 198 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/ |
D | PathParser.java | 117 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/ |
D | StatsLogProcessor.cpp | 100 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/ |
D | PathParser.h | 42 ANDROID_API static void getPathDataFromAsciiString(PathData* outData, ParseResult* result,
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc.h | 59 int acquireFence, void** outData, int32_t* outBytesPerPixel,
|
D | Gralloc3.h | 55 int acquireFence, void** outData, int32_t* outBytesPerPixel,
|
D | Gralloc2.h | 56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 125 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/ |
D | Gralloc2.h | 56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
|
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 230 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument 260 *outData = tmpData; in lock()
|
D | Gralloc3.cpp | 191 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument 214 *outData = tmpData; in lock()
|