/frameworks/av/media/tests/benchmark/src/native/common/ |
D | Stats.cpp | 65 rowData.append(to_string(systemTime(CLOCK_MONOTONIC)) + ", "); in dumpStatistics() 71 rowData.append(to_string(mInitTimeNs) + ", "); in dumpStatistics() 72 rowData.append(to_string(mDeInitTimeNs) + ", "); in dumpStatistics() 73 rowData.append(to_string(minTimeTakenNs) + ", "); in dumpStatistics() 74 rowData.append(to_string(maxTimeTakenNs) + ", "); in dumpStatistics() 75 rowData.append(to_string(totalTimeTakenNs / mOutputTimer.size()) + ", "); in dumpStatistics() 76 rowData.append(to_string(timeTakenPerSec) + ", "); in dumpStatistics() 77 rowData.append(to_string(bytesPerSec) + ", "); in dumpStatistics() 78 rowData.append(to_string(timeToFirstFrameNs) + ", "); in dumpStatistics() 79 rowData.append(to_string(size) + ","); in dumpStatistics() [all …]
|
/frameworks/libs/modules-utils/build/tests/ |
D | unbounded_sdk_level_test.cpp | 50 EXPECT_TRUE(IsAtLeast(std::to_string(device_api_level_).c_str())); in TEST_F() 52 EXPECT_FALSE(IsAtLeast(std::to_string(device_api_level_ + 1).c_str())); in TEST_F() 53 EXPECT_FALSE(IsAtLeast(std::to_string(__ANDROID_API_FUTURE__).c_str())); in TEST_F() 58 EXPECT_TRUE(IsAtMost(std::to_string(device_api_level_).c_str())); in TEST_F() 60 EXPECT_FALSE(IsAtMost(std::to_string(device_api_level_).c_str())); in TEST_F() 63 EXPECT_TRUE(IsAtMost(std::to_string(device_api_level_ + 1).c_str())); in TEST_F() 64 EXPECT_TRUE(IsAtMost(std::to_string(__ANDROID_API_FUTURE__).c_str())); in TEST_F() 89 std::to_string(device_api_level_).c_str())); in TEST_F() 91 std::to_string(device_api_level_ + 1).c_str())); in TEST_F()
|
/frameworks/base/tools/aapt2/ |
D | Source.h | 37 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) in Source() 41 : path(path.to_string()), archive(archive.to_string()) {} in Source() 44 : path(path.to_string()), line(line) {} in Source() 50 std::string to_string() const { in to_string() function 67 return out << source.to_string();
|
D | Resource.h | 72 android::StringPiece to_string(ResourceType type); 94 const std::string& to_string() const; 118 std::string to_string() const; 142 std::string to_string() const; 170 std::string to_string() const; 205 std::string to_string() const; 317 return out << res_id.to_string(); 321 inline std::string to_string(const ResourceId& id) { in to_string() function 322 return id.to_string(); in to_string() 343 return out << to_string(val); [all …]
|
D | Resource.cpp | 30 std::string ResourceId::to_string() const { in to_string() function in aapt::ResourceId 34 std::string ResourceName::to_string() const { in to_string() function in aapt::ResourceName 35 return ResourceNameRef(*this).to_string(); in to_string() 38 std::string ResourceNameRef::to_string() const { in to_string() function in aapt::ResourceNameRef 47 StringPiece to_string(ResourceType type) { in to_string() function 138 return {to_string(t), t}; in ResourceNamedTypeWithDefaultName()
|
D | ResourceTable.h | 76 : name(name.to_string()), actor(actor.to_string()) {} in Overlayable() 79 : name(name.to_string()), actor(actor.to_string()), source(source ){} in Overlayable() 109 : config(config), product(product.to_string()) {} in ResourceConfigValue() 139 explicit ResourceEntry(const android::StringPiece& name) : name(name.to_string()) {} in ResourceEntry() 195 explicit ResourceTablePackage(const android::StringPiece& name) : name(name.to_string()) { in ResourceTablePackage()
|
D | Debug.cpp | 83 printer_->Print(parent_name.type.to_string()); in Visit() 88 printer_->Print(parent_ref.id.value().to_string()); in Visit() 92 printer_->Print(parent_ref.id.value().to_string()); in Visit() 145 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 149 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 171 printer_->Print(entry.key.id.value().to_string()); in Visit() 175 printer_->Print(entry.key.id.value().to_string()); in Visit() 227 printer_->Print(attr.id.value().to_string()); in Visit() 233 printer_->Print(attr.id.value().to_string()); in Visit() 276 printer->Print(to_string(type.type)); in PrintTable() [all …]
|
/frameworks/base/tools/aapt2/cmd/ |
D | Command.h | 34 : name_(name.to_string()), full_subcommand_name_(name.to_string()){}; in Command() 37 : name_(name.to_string()), in Command() 38 short_name_(short_name.to_string()), in Command() 39 full_subcommand_name_(name.to_string()){}; in Command() 96 : name(name.to_string()), description(description.to_string()), is_required(is_required), in Flag()
|
D | Command.cpp | 50 return arg.to_string(); in GetSafePath() 57 *value = (flags & Command::kPath) ? GetSafePath(arg) : arg.to_string(); in AddRequiredFlag() 67 value->push_back((flags & Command::kPath) ? GetSafePath(arg) : arg.to_string()); in AddRequiredFlagList() 77 *value = (flags & Command::kPath) ? GetSafePath(arg) : arg.to_string(); in AddOptionalFlag() 87 value->push_back((flags & Command::kPath) ? GetSafePath(arg) : arg.to_string()); in AddOptionalFlagList() 97 value->insert(arg.to_string()); in AddOptionalFlagList() 124 description_ = description.to_string(); in SetDescription()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 238 result.append(layer->to_string()); in layerToString() 248 std::string LayerProtoParser::ActiveBuffer::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::ActiveBuffer 253 std::string LayerProtoParser::Transform::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Transform 259 std::string LayerProtoParser::Rect::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Rect 263 std::string LayerProtoParser::FloatRect::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::FloatRect 267 std::string LayerProtoParser::Region::to_string(const char* what) const { in to_string() function in android::surfaceflinger::LayerProtoParser::Region 273 StringAppendF(&result, " %s\n", rect.to_string().c_str()); in to_string() 279 std::string LayerProtoParser::Layer::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Layer 282 result.append(transparentRegion.to_string("TransparentRegion").c_str()); in to_string() 283 result.append(visibleRegion.to_string("VisibleRegion").c_str()); in to_string() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | ProjectionSpaceTest.cpp | 103 << "Source content doesn't map to dest content when projecting " << to_string(source) in testTransform() 104 << " onto " << to_string(dest); in testTransform() 122 << to_string(sourceStrip) << " maps to " << to_string(mappedStrip) << " instead of " in testTransform() 123 << to_string(destStrip) << " when projecting " << to_string(source) << " onto " in testTransform() 124 << to_string(dest); in testTransform()
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 39 std::string to_string() const; 49 std::string to_string() const; 59 std::string to_string() const; 69 std::string to_string() const; 77 std::string to_string(const char* what) const; 120 std::string to_string() const;
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeEncoder.cpp | 87 inputReference = string(fileName) + "_" + to_string(jWidth) + "x" + to_string(jHeight) + in Java_com_android_media_benchmark_library_Native_Encode() 88 "_" + to_string(jBitRate) + "bps"; in Java_com_android_media_benchmark_library_Native_Encode() 93 inputReference = string(fileName) + "_" + to_string(jSampleRate) + "hz_" + in Java_com_android_media_benchmark_library_Native_Encode() 94 to_string(jNumChannels) + "ch_" + to_string(jBitRate) + "bps"; in Java_com_android_media_benchmark_library_Native_Encode()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputCompositionState.cpp | 41 dumpVal(out, "layerStackSpace", to_string(layerStackSpace)); in dump() 43 dumpVal(out, "framebufferSpace", to_string(framebufferSpace)); in dump() 45 dumpVal(out, "orientedDisplaySpace", to_string(orientedDisplaySpace)); in dump() 47 dumpVal(out, "displaySpace", to_string(displaySpace)); in dump()
|
D | OutputLayer.cpp | 434 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 441 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 446 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 457 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC() 473 toString(blendMode).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 483 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 490 name.c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 505 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 513 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 523 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.cpp | 56 std::string name = to_string(modeIt->second->getFps()); in getMaxScoreRefreshRate() 74 to_string(layer.desiredRefreshRate).c_str()); in formatLayerInfo() 143 to_string(primaryRange).c_str(), to_string(appRequestRange).c_str()); in toString() 341 ALOGV("TouchBoost - choose %s", to_string(max->getFps()).c_str()); in getBestRefreshRateLocked() 353 ALOGV("Idle - choose %s", to_string(min->getFps()).c_str()); in getBestRefreshRateLocked() 359 ALOGV("no layers with votes - choose %s", to_string(max->getFps()).c_str()); in getBestRefreshRateLocked() 366 ALOGV("all layers Min - choose %s", to_string(min->getFps()).c_str()); in getBestRefreshRateLocked() 394 formatLayerInfo(layer, weight).c_str(), to_string(*mode).c_str(), in getBestRefreshRateLocked() 395 to_string(*mActiveModeIt->second).c_str()); in getBestRefreshRateLocked() 403 formatLayerInfo(layer, weight).c_str(), to_string(*mode).c_str(), in getBestRefreshRateLocked() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ClassDefinition.h | 63 : name_(name.to_string()), val_(val), staged_api_(staged_api) { 76 using std::to_string; 89 printer->Print("=").Print(to_string(val_)).Print(";"); 108 : name_(name.to_string()), val_(val) { 144 explicit PrimitiveArrayMember(const android::StringPiece& name) : name_(name.to_string()) {} in PrimitiveArrayMember() 198 return to_string(*id); in ToString() 213 : signature_(signature.to_string()) {} in MethodDefinition() 246 : name_(name.to_string()), qualifier_(qualifier), create_if_empty_(createIfEmpty) {} in ClassDefinition()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 186 args.push_back(String16(std::to_string(NUM_LAYERS).c_str())); in inputCommand() 202 return (layerId < 0 ? "PopupWindow:b54fcd1#0" : "com.example.fake#") + std::to_string(layerId); in genLayerName() 302 const std::string expectedResult = "lateAcquireFrames = " + std::to_string(LATE_ACQUIRE_FRAMES); in TEST_F() 320 "badDesiredPresentFrames = " + std::to_string(BAD_DESIRED_PRESENT_FRAMES); in TEST_F() 351 "displayRefreshRate = " + std::to_string(REFRESH_RATE_BUCKET_0) + " fps"; in TEST_F() 353 expectedResult = "renderRate = " + std::to_string(RENDER_RATE_BUCKET_0) + " fps"; in TEST_F() 355 expectedResult = "totalTimelineFrames = " + std::to_string(8); in TEST_F() 357 expectedResult = "jankyFrames = " + std::to_string(7); in TEST_F() 359 expectedResult = "sfLongCpuJankyFrames = " + std::to_string(1); in TEST_F() 361 expectedResult = "sfLongGpuJankyFrames = " + std::to_string(1); in TEST_F() [all …]
|
/frameworks/native/services/gpuservice/tests/unittests/ |
D | GpuStatsTest.cpp | 133 expectedResult = "driverVersionCode = " + std::to_string(BUILTIN_DRIVER_VER_CODE); in TEST_F() 135 expectedResult = "driverBuildTime = " + std::to_string(BUILTIN_DRIVER_BUILD_TIME); in TEST_F() 141 expectedResult = "driverVersionCode = " + std::to_string(BUILTIN_DRIVER_VER_CODE); in TEST_F() 143 expectedResult = "glDriverLoadingTime: " + std::to_string(DRIVER_LOADING_TIME_1); in TEST_F() 157 expectedResult = "driverVersionCode = " + std::to_string(UPDATED_DRIVER_VER_CODE); in TEST_F() 159 expectedResult = "driverBuildTime = " + std::to_string(UPDATED_DRIVER_BUILD_TIME); in TEST_F() 165 expectedResult = "driverVersionCode = " + std::to_string(UPDATED_DRIVER_VER_CODE); in TEST_F() 167 expectedResult = "vkDriverLoadingTime: " + std::to_string(DRIVER_LOADING_TIME_2); in TEST_F() 179 std::string expectedResult = "angleDriverLoadingTime: " + std::to_string(DRIVER_LOADING_TIME_3); in TEST_F() 189 std::string expectedResult = "vulkanVersion = " + std::to_string(VULKAN_VERSION); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Fps.h | 141 inline std::string to_string(Fps fps) { in to_string() function 146 return stream << to_string(fps); 149 inline std::string to_string(FpsRange range) { in to_string() function 151 return base::StringPrintf("[%s, %s]", to_string(min).c_str(), to_string(max).c_str()); in to_string()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | Hal.h | 79 inline std::string to_string(hardware::graphics::composer::hal::Attribute attribute) { in to_string() function 98 inline std::string to_string( in to_string() function 120 inline std::string to_string( in to_string() function 145 inline std::string to_string(hardware::graphics::composer::hal::V2_4::Error error) { in to_string() function 176 inline std::string to_string(hardware::graphics::composer::hal::Error error) { in to_string() function 177 return to_string(static_cast<hardware::graphics::composer::hal::V2_4::Error>(error)); in to_string() 180 inline std::string to_string(hardware::graphics::composer::hal::PowerMode mode) { in to_string() function 197 inline std::string to_string(hardware::graphics::composer::hal::Vsync vsync) { in to_string() function
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | ProjectionSpace.h | 123 inline std::string to_string(const compositionengine::ProjectionSpace& space) { in to_string() function 125 to_string(space.getBoundsAsRect()).c_str(), in to_string() 126 to_string(space.getContent()).c_str(), in to_string() 132 *os << to_string(space); in PrintTo()
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 75 std::string size = std::to_string(info.width) + " B"; in DumpState() 78 std::string dimensions = std::to_string(info.width) + "x" + in DumpState() 79 std::to_string(info.height) + "x" + in DumpState() 80 std::to_string(info.layer_count); in DumpState() 109 std::string size = std::to_string(info.width) + " B"; in DumpState() 112 std::string dimensions = std::to_string(info.width) + "x" + in DumpState() 113 std::to_string(info.height) + "x" + in DumpState() 114 std::to_string(info.layer_count); in DumpState() 210 stream << (" channel_id=" + std::to_string(channel->channel_id())); in DumpState()
|
/frameworks/base/core/jni/ |
D | android_os_VintfRuntimeInfo.cpp | 45 MAP_STRING_METHOD(getKernelVersion, vintf::to_string(info->kernelVersion()), 47 MAP_STRING_METHOD(getBootAvbVersion, vintf::to_string(info->bootAvbVersion()), 49 MAP_STRING_METHOD(getBootVbmetaAvbVersion, vintf::to_string(info->bootVbmetaAvbVersion()),
|
/frameworks/native/cmds/lshal/ |
D | TableEntry.cpp | 78 return vintf::to_string(transport); in getField() 80 return serverPid == NO_PID ? "N/A" : std::to_string(serverPid); in getField() 100 return lshal::to_string(serviceStatus); in getField() 137 std::string to_string(ServiceStatus s) { in to_string() function 198 std::string TableEntry::to_string() const { in to_string() function in android::lshal::TableEntry
|