Home
last modified time | relevance | path

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

/frameworks/native/libs/ftl/
Dconcat_test.cpp25 ftl::Concat string(ftl::truncated<3>(name), ": ", -3, " dB"); in TEST()
34 static_assert(ftl::Concat{ftl::truncated<3>("foobar")}.str() == "foo");
44 return ftl::Concat{ftl::truncated<1>("v???"), ftl::truncated<2>("ee??"), in concat()
45 ftl::truncated<3>("ble?"), ftl::truncated<4>("fetz"), in concat()
46 ftl::truncated<90>("er")}; in concat()
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/netlink/
DConntrackMessageTest.java341 final byte[] truncated = Arrays.copyOfRange(CT_V4NEW_TCP_BYTES, 0, len); in testParseTruncation()
343 final ByteBuffer byteBuffer = ByteBuffer.wrap(truncated); in testParseTruncation()
358 final byte[] truncated = new byte[CT_V4NEW_TCP_BYTES.length]; in testParseTruncationWithInvalidByte()
359 Arrays.fill(truncated, (byte) invalid); in testParseTruncationWithInvalidByte()
360 System.arraycopy(CT_V4NEW_TCP_BYTES, 0, truncated, 0, len); in testParseTruncationWithInvalidByte()
362 final ByteBuffer byteBuffer = ByteBuffer.wrap(truncated); in testParseTruncationWithInvalidByte()
/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.h80 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/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()
872 bool truncated = ftruncate(out_fd.get(), 0) == 0; in copy_system_profile() local
873 if (!truncated) { in copy_system_profile()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp255 ftl::Concat trace(ftl::truncated<5>(*nextWakeupName), " alarm in ", ns2us(*min - now), in rearmTimerSkippingUpdateFor()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java726 boolean truncated = (text.length() == 70); in dump()
728 if (truncated) out.append(" ..."); in dump()
/frameworks/proto_logging/stats/
Datoms.proto15028 // This string is truncated to 128 characters if its length exceeds the limit.