/aosp_15_r20/frameworks/native/libs/ftl/ |
H A D | enum_test.cpp | 182 EXPECT_EQ(ftl::enum_string(Planet::kEarth), "kEarth"); in TEST() 183 EXPECT_EQ(ftl::enum_string(Planet::kNeptune), "kNeptune"); in TEST() 188 EXPECT_EQ(ftl::enum_string(kPluto), "8"); in TEST() 194 EXPECT_EQ(ftl::enum_string(kRoom), "kRoom"); in TEST() 195 EXPECT_EQ(ftl::enum_string(kFridge), "kFridge"); in TEST() 196 EXPECT_EQ(ftl::enum_string(kFreezer), "kFreezer"); in TEST() 202 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(-30)), "-30"); in TEST() 203 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(0)), "0"); in TEST() 204 EXPECT_EQ(ftl::enum_string(static_cast<Temperature>(100)), "100"); in TEST()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 129 ftl::enum_string(mDebugState).c_str()); in beginFrame() 141 ftl::enum_string(mDebugState).c_str()); in prepareFrame() 190 __func__, ftl::enum_string(mDebugState).c_str()); in advanceFrame() 194 ftl::enum_string(mDebugState).c_str()); in advanceFrame() 244 ftl::enum_string(mDebugState).c_str()); in onFrameCommitted() 307 pslot, ftl::enum_string(mDebugState).c_str()); in requestBuffer() 332 VDS_LOGV("%s(%s): sslot=%d pslot=%d result=%d", __func__, ftl::enum_string(source).c_str(), in dequeueBuffer() 362 ftl::enum_string(source).c_str(), pslot, mProducerBuffers[pslot].get(), in dequeueBuffer() 382 ftl::enum_string(mDebugState).c_str()); in dequeueBuffer() 467 pslot, ftl::enum_string(mDebugState).c_str()); in queueBuffer() [all …]
|
/aosp_15_r20/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | SensorInputMapper.cpp | 92 dump += StringPrintf(INDENT4 "%s\n", ftl::enum_string(sensorType).c_str()); in dump() 200 std::string prefix = "sensor." + ftl::enum_string(sensorType); in createSensor() 223 ftl::enum_string(sensorType), in createSensor() 335 ftl::enum_string(sensorType).c_str(), samplingPeriod.count(), in enableSensor() 359 ALOGD("Disable Sensor %s", ftl::enum_string(sensorType).c_str()); in disableSensor() 394 ftl::enum_string(sensorType).c_str(), timestamp, values[0], values[1], values[2]); in sync() 399 ALOGD("Sensor %s Skip a sample.", ftl::enum_string(sensorType).c_str()); in sync()
|
H A D | TouchInputMapper.cpp | 207 ftl::enum_string(mDeviceMode).c_str()); in dump() 243 pointer.distance, ftl::enum_string(pointer.toolType).c_str(), in dump() 271 ftl::enum_string(pointerProperties.toolType).c_str(), in dump() 277 ftl::enum_string(mExternalStylusPresence).c_str()); in dump() 495 dump += INDENT4 "GestureMode: " + ftl::enum_string(mParameters.gestureMode) + "\n"; in dumpParameters() 497 dump += INDENT4 "DeviceType: " + ftl::enum_string(mParameters.deviceType) + "\n"; in dumpParameters() 505 dump += INDENT4 "Orientation: " + ftl::enum_string(mParameters.orientation) + "\n"; in dumpParameters() 678 ftl::enum_string(mCalibration.sizeCalibration).c_str()); in initializeSizeRanges() 1043 ftl::enum_string(mInputDeviceOrientation).c_str(), in configureInputDevice() 1044 ftl::enum_string(mDeviceMode).c_str(), mViewport.displayId.toString().c_str()); in configureInputDevice() [all …]
|
H A D | CursorInputMapper.cpp | 131 dump += StringPrintf(INDENT3 "Orientation: %s\n", ftl::enum_string(mOrientation).c_str()); in dump() 198 dump += StringPrintf(INDENT4 "Mode: %s\n", ftl::enum_string(mParameters.mode).c_str()); in dumpParameters()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | LayerInfo.cpp | 318 SFTRACE_FORMAT_INSTANT("Vote %s (category=%s)", ftl::enum_string(voteType).c_str(), in getRefreshRateVote() 319 ftl::enum_string(mLayerVote.category).c_str()); in getRefreshRateVote() 321 ftl::enum_string(voteType).c_str(), in getRefreshRateVote() 322 ftl::enum_string(mLayerVote.category).c_str()); in getRefreshRateVote() 329 SFTRACE_FORMAT_INSTANT("Vote %s", ftl::enum_string(mLayerVote.type).c_str()); in getRefreshRateVote() 397 auto tag = "LFPS " + mName + " " + ftl::enum_string(type); in getTraceTag() 615 return stream << "{rate=" << rate.vote.rate << " type=" << ftl::enum_string(rate.vote.type) in operator <<() 616 << " seamlessness=" << ftl::enum_string(rate.vote.seamlessness) << '}'; in operator <<()
|
H A D | LayerHistory.cpp | 224 : base::StringPrintf("category=%s", ftl::enum_string(vote.category).c_str()); in summarize() 225 SFTRACE_FORMAT_INSTANT("%s %s %s (%.2f)", ftl::enum_string(vote.type).c_str(), in summarize() 362 ftl::enum_string(frameRate.vote.type).c_str(), in partitionLayers() 364 ftl::enum_string(frameRate.category).c_str()); in partitionLayers() 378 ftl::enum_string(frameRate.vote.type).c_str(), in partitionLayers() 380 ftl::enum_string(frameRate.category).c_str()); in partitionLayers()
|
H A D | RefreshRateSelector.cpp | 63 ftl::enum_string(layer.vote).c_str(), weight, in formatLayerInfo() 64 ftl::enum_string(layer.seamlessness).c_str(), in formatLayerInfo() 719 layer.name.c_str(), ftl::enum_string(layer.vote).c_str(), layer.weight, in getRankedFrameRatesLocked() 721 ftl::enum_string(layer.frameRateCategory).c_str()); in getRankedFrameRatesLocked() 1236 ALOGV("%s(%s) %s (%s(%s)) scored %.2f", whence, ftl::enum_string(refreshRateOrder).c_str(), in rankFrameRates() 1696 ftl::enum_string(category).c_str()); in getFrameRateCategoryRange() 1699 ftl::enum_string(category).c_str()); in getFrameRateCategoryRange()
|
H A D | VsyncSchedule.cpp | 103 dumper.dump("hwVsyncState", ftl::enum_string(mHwVsyncState)); in dump() 106 dumper.dump("pendingHwVsyncState", ftl::enum_string(mPendingHwVsyncState)); in dump()
|
/aosp_15_r20/frameworks/native/services/inputflinger/dispatcher/ |
H A D | FocusResolver.cpp | 83 ftl::enum_string(previousResult), in setInputWindows() 87 removeFocusReason = ftl::enum_string(result); in setInputWindows() 122 return updateFocusedWindow(displayId, "Waiting for window because " + ftl::enum_string(result), in setFocusedWindow() 234 it != mLastFocusResultByDisplay.end() ? ftl::enum_string(it->second) : ""; in dump()
|
H A D | LatencyAggregatorWithHistograms.cpp | 154 << ftl::enum_string(timeline.inputEventActionType); in processStatistics() 161 << ftl::enum_string(timeline.inputEventActionType) in processStatistics() 228 ftl::enum_string(action).c_str()); in pushLatencyStatistics() 235 ftl::enum_string(action).c_str(), actionIndex); in pushLatencyStatistics()
|
H A D | InputDispatcher.cpp | 863 ftl::enum_string(eventEntry.type).c_str()); in getUserActivityEventType() 918 std::string print() const { return ftl::enum_string(mVal); } in print() 1607 LOG_ALWAYS_FATAL("Should not drop %s events", ftl::enum_string(entry.type).c_str()); in dropInboundEventLocked() 2008 ftl::enum_string(entry->sensorType).c_str()); in dispatchSensorLocked() 2025 ftl::enum_string(sensorType).c_str()); in flushSensor() 2168 ftl::enum_string(entry.pointerProperties[i].toolType).c_str(), in logOutboundMotionDetails() 2264 ALOGE("%s events do not have a target display", ftl::enum_string(entry.type).c_str()); in getTargetDisplayId() 2315 ftl::enum_string(entry.type).c_str(), displayId.toString().c_str()); in findFocusedWindowTargetLocked() 2345 ftl::enum_string(entry.type).c_str()); in findFocusedWindowTargetLocked() 3075 << ftl::enum_string(dispatchMode) << ", it=" << *it; in addPointerWindowTargetLocked() [all …]
|
H A D | Entry.cpp | 262 ftl::enum_string(sensorType).c_str(), ftl::enum_string(accuracy).c_str(), in getDescription()
|
/aosp_15_r20/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 150 ALOGE("Invalid message type: %s", ftl::enum_string(header.type).c_str()); in isValid() 390 ftl::enum_string(msg->header.type).c_str())); in sendMessage() 402 name.c_str(), ftl::enum_string(msg->header.type).c_str(), strerror(error)); in sendMessage() 415 ftl::enum_string(msg->header.type).c_str()); in sendMessage() 420 ftl::enum_string(msg->header.type).c_str()); in sendMessage() 457 ftl::enum_string(msg.header.type).c_str()); in receiveMessage() 463 ftl::enum_string(msg.header.type).c_str()); in receiveMessage() 765 mChannel->getName().c_str(), ftl::enum_string(msg.header.type).c_str()); in receiveConsumerResponse()
|
H A D | InputDevice.cpp | 160 << name << "' and type " << ftl::enum_string(type); in getInputDeviceConfigurationFilePathByName() 294 ftl::enum_string(info.type).c_str()); in addSensorInfo()
|
H A D | InputConsumerNoResampling.cpp | 147 << ftl::enum_string(outboundMsg.header.type); in outboundMessageToString() 174 out << ftl::enum_string(msg.header.type); in operator <<() 469 LOG(FATAL) << "Consumed a " << ftl::enum_string(msg.header.type) in handleMessage()
|
/aosp_15_r20/frameworks/native/services/inputflinger/tests/ |
H A D | LatencyTracker_test.cpp | 82 << "Received timeline with sources=" << dumpSet(received.sources, ftl::enum_string) in timelinesAreEqual() 83 << " instead of expected sources=" << dumpSet(expected.sources, ftl::enum_string); in timelinesAreEqual() 86 << ftl::enum_string(received.inputEventActionType) in timelinesAreEqual() 88 << ftl::enum_string(expected.inputEventActionType); in timelinesAreEqual()
|
H A D | TestEventMatchers.h | 841 *result_listener << "expected tool type " << ftl::enum_string(toolType) << ", but got " 842 << ftl::enum_string(argToolType); 854 << ftl::enum_string(toolType) << ", but got " << ftl::enum_string(argToolType);
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/ |
H A D | TimeStatsHelper.cpp | 99 ftl::enum_string(frameRateCompatibility).c_str()); in toString() 100 StringAppendF(&result, "seamlessness = %s\n", ftl::enum_string(seamlessness).c_str()); in toString() 111 StringAppendF(&result, "gameMode = %s\n", ftl::enum_string(gameMode).c_str()); in toString()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | RefreshRateSelectorTest.cpp | 275 ftl::enum_string(testCase.frameRateCategory).c_str()); in testFrameRateCategoryWithMultipleLayers() 280 << ftl::enum_string(testCase.frameRateCategory) << "ExplicitDefault"; in testFrameRateCategoryWithMultipleLayers() 290 ss << "ExplicitCategory (" << ftl::enum_string(testCase.frameRateCategory) << ")"; in testFrameRateCategoryWithMultipleLayers() 302 << " category=" << ftl::enum_string(testCase.frameRateCategory); in testFrameRateCategoryWithMultipleLayers() 308 << " category=" << ftl::enum_string(testCase.frameRateCategory); in testFrameRateCategoryWithMultipleLayers() 1586 ftl::enum_string(testCase.frameRateCategory).c_str()); in TEST_P() 1600 ss << "ExplicitCategory (" << ftl::enum_string(testCase.frameRateCategory) << ")"; in TEST_P() 1612 << " category=" << ftl::enum_string(testCase.frameRateCategory); in TEST_P() 1658 ftl::enum_string(testCase.frameRateCategory).c_str()); in TEST_P() 1672 ss << "ExplicitCategory (" << ftl::enum_string(testCase.frameRateCategory) << ")"; in TEST_P() [all …]
|
/aosp_15_r20/frameworks/native/services/inputflinger/dispatcher/trace/ |
H A D | InputTracer.cpp | 113 LOG(FATAL) << "Cannot trace EventEntry of type: " << ftl::enum_string(entry.type); in traceInboundEvent() 174 LOG(FATAL) << "Cannot trace EventEntry of type: " << ftl::enum_string(entry.type); in traceDerivedEvent()
|
/aosp_15_r20/frameworks/native/services/inputflinger/reader/controller/ |
H A D | PeripheralController.cpp | 320 dump += StringPrintf(INDENT4 "Type: %s", ftl::enum_string(light->type).c_str()); in dump() 557 ftl::enum_string(light->type).c_str(), color); in setLightColor() 571 ftl::enum_string(light->type).c_str(), color.value_or(0)); in getLightColor()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
H A D | Seamlessness.h | 41 return os << ftl::enum_string(s);
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/Display/ |
H A D | DisplaySnapshot.cpp | 65 dumper.dump("connectionType"sv, ftl::enum_string(mConnectionType)); in dump()
|
/aosp_15_r20/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
H A D | OutputCompositionState.cpp | 65 dumpVal(out, "compositionStrategyPredictionState", ftl::enum_string(strategyPrediction)); in dump()
|