/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() 92 std::to_string(device_api_level_).c_str())); in TEST_F() 94 std::to_string(device_api_level_ + 1).c_str())); in TEST_F()
|
/frameworks/native/libs/debugstore/rust/src/ |
D | core.rs | 134 acc.push_str(&event.to_string()); in fmt() 148 let _event_id = debug_store.begin("test_event".to_string(), vec![]); in test_begin_event() 149 let output = debug_store.to_string(); in test_begin_event() 159 let event_id1 = debug_store.begin("event1".to_string(), vec![]); in test_unique_event_ids() 160 let event_id2 = debug_store.begin("event2".to_string(), vec![]); in test_unique_event_ids() 167 let event_id = debug_store.begin("test_event".to_string(), vec![]); in test_end_event() 169 let output = debug_store.to_string(); in test_end_event() 187 .record("data_event".to_string(), vec![("key".to_string(), "value".to_string())]); in test_event_data_handling() 188 let output = debug_store.to_string(); in test_event_data_handling()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | Stats.cpp | 70 rowData.append(to_string(systemTime(CLOCK_MONOTONIC)) + ", "); in dumpStatistics() 76 rowData.append(to_string(mInitTimeNs) + ", "); in dumpStatistics() 77 rowData.append(to_string(mDeInitTimeNs) + ", "); in dumpStatistics() 78 rowData.append(to_string(minTimeTakenNs) + ", "); in dumpStatistics() 79 rowData.append(to_string(maxTimeTakenNs) + ", "); in dumpStatistics() 80 rowData.append(to_string(totalTimeTakenNs / mOutputTimer.size()) + ", "); in dumpStatistics() 81 rowData.append(to_string(timeTakenPerSec) + ", "); in dumpStatistics() 82 rowData.append(to_string(bytesPerSec) + ", "); in dumpStatistics() 83 rowData.append(to_string(timeToFirstFrameNs) + ", "); in dumpStatistics() 84 rowData.append(to_string(size) + ","); in dumpStatistics() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateSelector.cpp | 66 to_string(layer.desiredRefreshRate).c_str()); in formatLayerInfo() 214 ALOGV("%s: including %s (%s(%s))", __func__, to_string(fps).c_str(), in createFrameRateModes() 215 to_string(peakFps).c_str(), to_string(vsyncRate).c_str()); in createFrameRateModes() 230 __func__, to_string(fps).c_str(), to_string(peakFps).c_str(), in createFrameRateModes() 231 to_string(vsyncRate).c_str()); in createFrameRateModes() 236 to_string(fps).c_str(), to_string(peakFps).c_str(), in createFrameRateModes() 237 to_string(vsyncRate).c_str()); in createFrameRateModes() 266 std::string name = to_string(frameRateMode); in operator ()() 291 to_string(primaryRanges).c_str(), to_string(appRequestRanges).c_str(), in toString() 512 to_string(ranking.front().frameRateMode.fps).c_str()); in getRankedFrameRatesLocked() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | FrameRateMode.h | 38 inline std::string to_string(const FrameRateMode& mode) { in to_string() function 40 to_string(mode.fps).c_str(), in to_string() 42 to_string(mode.modePtr->getVsyncRate()).c_str(), in to_string() 43 to_string(mode.modePtr->getPeakFps()).c_str()); in to_string()
|
D | Fps.h | 193 inline std::string to_string(Fps fps) { in to_string() function 198 return stream << to_string(fps); 201 inline std::string to_string(FpsRange range) { in to_string() function 203 return base::StringPrintf("[%s, %s]", to_string(min).c_str(), to_string(max).c_str()); in to_string() 206 inline std::string to_string(FpsRanges ranges) { in to_string() function 208 return base::StringPrintf("{physical=%s, render=%s}", to_string(physical).c_str(), in to_string() 209 to_string(render).c_str()); in to_string()
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | LayerProtoParser.cpp | 243 result.append(layer->to_string()); in layerToString() 253 std::string LayerProtoParser::ActiveBuffer::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::ActiveBuffer 258 std::string LayerProtoParser::Transform::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Transform 264 std::string LayerProtoParser::Rect::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Rect 268 std::string LayerProtoParser::FloatRect::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::FloatRect 272 std::string LayerProtoParser::Region::to_string(const char* what) const { in to_string() function in android::surfaceflinger::LayerProtoParser::Region 278 StringAppendF(&result, " %s\n", rect.to_string().c_str()); in to_string() 284 std::string LayerProtoParser::Layer::to_string() const { in to_string() function in android::surfaceflinger::LayerProtoParser::Layer 287 result.append(transparentRegion.to_string("TransparentRegion").c_str()); in to_string() 288 result.append(visibleRegion.to_string("VisibleRegion").c_str()); in to_string() [all …]
|
/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/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/base/tools/aapt2/ |
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 | Resource.h | 72 android::StringPiece to_string(ResourceType type); 94 const std::string& to_string() const; 118 std::string_view to_string() const; 141 std::string to_string() const; 168 std::string to_string() const; 203 std::string to_string() const; 315 return out << res_id.to_string(); 319 inline std::string to_string(const ResourceId& id) { in to_string() function 320 return id.to_string(); in to_string() 341 return out << to_string(val); [all …]
|
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
D | LayerProtoParser.h | 41 std::string to_string() const; 51 std::string to_string() const; 61 std::string to_string() const; 71 std::string to_string() const; 79 std::string to_string(const char* what) const; 122 std::string to_string() const;
|
/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 | 450 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 457 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 462 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 473 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC() 489 toString(blendMode).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 499 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 506 name.c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 521 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 529 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 539 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() [all …]
|
/frameworks/native/vulkan/vkprofiles/ |
D | vkprofiles.cpp | 55 std::to_string(result)); in vkProfileGetSupport() 63 std::to_string(supported)); in vkProfileGetSupport() 99 std::to_string(result)); in vkProfileGetSupport() 111 std::to_string(result)); in vkProfileGetSupport() 123 std::to_string(result)); in vkProfileGetSupport()
|
/frameworks/av/media/libstagefright/rtsp/fuzzer/ |
D | packet_source_fuzzer.cpp | 104 std::to_string(mFdp.ConsumeIntegralInRange(kMinValue, kMaxIPAddress)) + "." + in process() 105 std::to_string(mFdp.ConsumeIntegralInRange(kMinValue, kMaxIPAddress)) + "." + in process() 106 std::to_string(mFdp.ConsumeIntegralInRange(kMinValue, kMaxIPAddress)) + "." + "0"; in process() 108 std::string fmptStr = format + std::to_string(mFdp.ConsumeIntegralInRange(kMinValue, kMaxFmt)) + in process() 110 std::to_string(mFdp.ConsumeIntegralInRange(kMinValue, kMaxFmt)); in process()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 189 args.push_back(String16(std::to_string(NUM_LAYERS).c_str())); in inputCommand() 205 return (layerId < 0 ? "PopupWindow:b54fcd1#0" : "com.example.fake#") + std::to_string(layerId); in genLayerName() 305 const std::string expectedResult = "lateAcquireFrames = " + std::to_string(LATE_ACQUIRE_FRAMES); in TEST_F() 323 "badDesiredPresentFrames = " + std::to_string(BAD_DESIRED_PRESENT_FRAMES); in TEST_F() 354 "displayRefreshRate = " + std::to_string(REFRESH_RATE_BUCKET_0) + " fps"; in TEST_F() 356 expectedResult = "renderRate = " + std::to_string(RENDER_RATE_BUCKET_0) + " fps"; in TEST_F() 358 expectedResult = "totalTimelineFrames = " + std::to_string(8); in TEST_F() 360 expectedResult = "jankyFrames = " + std::to_string(7); in TEST_F() 362 expectedResult = "sfLongCpuJankyFrames = " + std::to_string(1); in TEST_F() 364 expectedResult = "sfLongGpuJankyFrames = " + std::to_string(1); in TEST_F() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | Hal.h | 87 inline std::string to_string(hardware::graphics::composer::hal::Attribute attribute) { in to_string() function 106 inline std::string to_string( in to_string() function 130 inline std::string to_string( in to_string() function 155 inline std::string to_string( in to_string() function 181 inline std::string to_string(hardware::graphics::composer::hal::V2_4::Error error) { in to_string() function 212 inline std::string to_string(hardware::graphics::composer::hal::Error error) { in to_string() function 213 return to_string(static_cast<hardware::graphics::composer::hal::V2_4::Error>(error)); in to_string() 220 inline std::string to_string(hardware::graphics::composer::hal::PowerMode mode) { in to_string() function 241 inline std::string to_string(hardware::graphics::composer::hal::Vsync vsync) { in to_string() function
|
/frameworks/libs/binary_translation/intrinsics/common_to_x86/include/berberis/intrinsics/common_to_x86/ |
D | text_assembler_common.h | 84 return std::to_string(label.id) + (label.bound ? "b" : "f"); in ToGasArgument() 131 return '%' + std::to_string(reg.arg_no()); in ToGasArgument() 157 return '%' + std::to_string(reg.arg_no()); in ToGasArgument() 180 result = std::to_string(constants_pool::GetOffset(op.disp)) + " + " + in ToGasArgument() 187 result = '%' + std::to_string(as->gpr_macroassembler_scratch.arg_no()); in ToGasArgument() 189 result = '%' + std::to_string(as->gpr_macroassembler_scratch2.arg_no()); in ToGasArgument() 199 ',' + std::to_string(1 << op.scale); in ToGasArgument() 203 result = std::to_string(op.disp) + result; in ToGasArgument() 313 return std::string({'%', kRegisterPrefix}) + std::to_string(reg.reg_.arg_no()); in ToGasArgument() 315 return '%' + std::to_string(reg.reg_.arg_no()); in ToGasArgument() [all …]
|
/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 | 44 MAP_STRING_METHOD(getKernelVersion, vintf::to_string(info->kernelVersion()), 46 MAP_STRING_METHOD(getBootAvbVersion, vintf::to_string(info->bootAvbVersion()), 48 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
|
/frameworks/native/services/surfaceflinger/Display/ |
D | DisplayModeRequest.h | 40 inline std::string to_string(const DisplayModeRequest& request) { in to_string() function 42 return base::StringPrintf("{mode=%s, emitEvent=%s, force=%s}", to_string(request.mode).c_str(), in to_string()
|
/frameworks/native/include/ftl/ |
D | string.h | 93 inline std::string to_string(T v, Radix radix = Radix::kDec) { 98 std::string to_string(bool) = delete; 99 std::string to_string(bool, Radix) = delete;
|