Home
last modified time | relevance | path

Searched refs:truncated (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/ftl/
Dconcat_test.cpp25 ftl::Concat string(ftl::truncated<3>(name), ": ", -3, " dB"); in TEST()
51 static_assert(ftl::Concat{ftl::truncated<3>("foobar")}.str() == "foo");
61 return ftl::Concat{ftl::truncated<1>("v???"), ftl::truncated<2>("ee??"), in concat()
62 ftl::truncated<3>("ble?"), ftl::truncated<4>("fetz"), in concat()
63 ftl::truncated<90>("er")}; in concat()
/frameworks/base/cmds/incidentd/src/
DFdBuffer.h95 bool truncated() const { return mTruncated; } in truncated() function
DReporter.cpp421 mSectionTruncated = buffer.truncated(); in setSectionStats()
422 mSectionBufferSuccess = !buffer.timedOut() && !buffer.truncated(); in setSectionStats()
DSection.cpp316 if (buffer.truncated()) { in Execute()
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp48 EXPECT_FALSE(buffer.truncated()); in AssertBufferReadSuccessful()
259 EXPECT_TRUE(buffer.truncated()); in TEST_F()
293 EXPECT_TRUE(buffer.truncated()); in TEST_F()
/frameworks/native/include/ftl/
Dconcat.h84 constexpr auto truncated(std::string_view v) {
/frameworks/base/core/proto/android/os/
Dmetadata.proto64 // true if the section is truncated.
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp460 AString truncated(tmp, 0, fieldExtent - 1); in parseMessageAndDoWork() local
462 tmp.c_str(), truncated.c_str()); in parseMessageAndDoWork()
463 tmp = truncated; in parseMessageAndDoWork()
/frameworks/base/core/proto/android/internal/
Dbinder_latency.proto82 // as the tail of empty buckets is truncated when stored in the proto to
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp52 ftl::Concat trace(ftl::truncated<5>(entry.name()), " alarm in ", in traceEntry()
385 ftl::Concat trace(ftl::truncated<5>(invocation.callback->name())); in timerCallback()
DVSyncPredictor.cpp80 ATRACE_INT64(ftl::Concat(ftl::truncated<14>(name), " ", mId.value).c_str(), value); in traceInt64()
/frameworks/native/cmds/installd/
Ddexopt.cpp220 bool truncated = ftruncate(ufd.get(), 0) == 0; in clear_profile() local
221 if (!truncated) { in clear_profile()
227 return truncated; in clear_profile()
881 bool truncated = ftruncate(out_fd.get(), 0) == 0; in copy_system_profile() local
882 if (!truncated) { in copy_system_profile()
/frameworks/proto_logging/stats/
Datoms.proto16251 // This string is truncated to 128 characters if its length exceeds the limit.