| /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/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 | 63 to_string(layer.desiredRefreshRate).c_str()); in formatLayerInfo() 202 ALOGV("%s: including %s (%s)", __func__, to_string(fps).c_str(), in createFrameRateModes() 203 to_string(mode->getFps()).c_str()); in createFrameRateModes() 218 to_string(fps).c_str(), to_string(mode->getFps()).c_str()); in createFrameRateModes() 223 to_string(fps).c_str(), to_string(mode->getFps()).c_str()); in createFrameRateModes() 252 std::string name = to_string(frameRateMode); in operator ()() 276 to_string(primaryRanges).c_str(), in toString() 277 to_string(appRequestRanges).c_str()); in toString() 448 to_string(ranking.front().frameRateMode.fps).c_str()); in getRankedFrameRatesLocked() 510 to_string(ranking.front().frameRateMode.fps).c_str()); in getRankedFrameRatesLocked() [all …]
|
| /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/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/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/native/services/surfaceflinger/Scheduler/include/scheduler/ |
| D | Fps.h | 180 inline std::string to_string(Fps fps) { in to_string() function 185 return stream << to_string(fps); 188 inline std::string to_string(FpsRange range) { in to_string() function 190 return base::StringPrintf("[%s, %s]", to_string(min).c_str(), to_string(max).c_str()); in to_string() 193 inline std::string to_string(FpsRanges ranges) { in to_string() function 195 return base::StringPrintf("{physical=%s, render=%s}", to_string(physical).c_str(), in to_string() 196 to_string(render).c_str()); in to_string()
|
| D | FrameRateMode.h | 38 inline std::string to_string(const FrameRateMode& mode) { in to_string() function 39 return to_string(mode.fps) + " (" + to_string(mode.modePtr->getFps()) + ")"; in to_string()
|
| /frameworks/native/libs/input/ |
| D | input_verifier.rs | 81 Ok(()) => "".to_string(), in process_movement() 148 MotionAction::Down => "DOWN".to_string(), in motion_action_to_string() 149 MotionAction::Up => "UP".to_string(), in motion_action_to_string() 150 MotionAction::Move => "MOVE".to_string(), in motion_action_to_string() 151 MotionAction::Cancel => "CANCEL".to_string(), in motion_action_to_string() 152 MotionAction::Outside => "OUTSIDE".to_string(), in motion_action_to_string() 159 MotionAction::HoverMove => "HOVER_MOVE".to_string(), in motion_action_to_string() 160 MotionAction::Scroll => "SCROLL".to_string(), in motion_action_to_string() 161 MotionAction::HoverEnter => "HOVER_ENTER".to_string(), in motion_action_to_string() 162 MotionAction::HoverExit => "HOVER_EXIT".to_string(), in motion_action_to_string() [all …]
|
| /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 …]
|
| D | Debug.cpp | 85 printer_->Print(parent_name.type.to_string()); in Visit() 90 printer_->Print(parent_ref.id.value().to_string()); in Visit() 94 printer_->Print(parent_ref.id.value().to_string()); in Visit() 147 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 151 printer_->Print(symbol.symbol.id.value().to_string()); in Visit() 173 printer_->Print(entry.key.id.value().to_string()); in Visit() 177 printer_->Print(entry.key.id.value().to_string()); in Visit() 229 printer_->Print(attr.id.value().to_string()); in Visit() 235 printer_->Print(attr.id.value().to_string()); in Visit() 278 printer->Print(type.named_type.to_string()); in PrintTable() [all …]
|
| /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 | 447 displayFrame.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 454 sourceCrop.bottom, to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 459 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentGeometryStateToHWC() 470 toString(outputDependentState.bufferTransform).c_str(), to_string(error).c_str(), in writeOutputDependentGeometryStateToHWC() 486 toString(blendMode).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 496 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 503 name.c_str(), to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputIndependentGeometryStateToHWC() 518 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 526 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() 536 to_string(error).c_str(), static_cast<int32_t>(error)); in writeOutputDependentPerFrameStateToHWC() [all …]
|
| /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/av/camera/tests/fuzzer/ |
| D | camera_Parameters_fuzzer.cpp | 64 params += '=' + to_string(width) + 'x' + to_string(height) + ';'; in initCameraParameters() 67 params += '=' + to_string(minFps) + ',' + to_string(maxFps) + ';'; in initCameraParameters() 71 params += '=' + to_string(width) + 'x' + to_string(height) + ';'; in initCameraParameters()
|
| /frameworks/native/services/surfaceflinger/DisplayHardware/ |
| D | Hal.h | 80 inline std::string to_string(hardware::graphics::composer::hal::Attribute attribute) { in to_string() function 99 inline std::string to_string( in to_string() function 123 inline std::string to_string( in to_string() function 148 inline std::string to_string(hardware::graphics::composer::hal::V2_4::Error error) { in to_string() function 179 inline std::string to_string(hardware::graphics::composer::hal::Error error) { in to_string() function 180 return to_string(static_cast<hardware::graphics::composer::hal::V2_4::Error>(error)); in to_string() 187 inline std::string to_string(hardware::graphics::composer::hal::PowerMode mode) { in to_string() function 208 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
|
| D | TableEntry.h | 79 std::string to_string(ServiceStatus s); 111 return std::to_string(threadUsage) + "/" + std::to_string(threadCount); in getThreadUsage() 121 std::string to_string() const;
|
| /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;
|
| /frameworks/native/libs/ftl/ |
| D | match_test.cpp | 43 return std::to_string(h.count()) + " hours"s; in TEST() 45 [](const hours& h) { return std::to_string(h.count() / 24) + " days"s; })); in TEST()
|