Searched refs:truncated (Results 1 – 14 of 14) sorted by relevance
/frameworks/native/libs/ftl/ |
D | concat_test.cpp | 25 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/ |
D | ConntrackMessageTest.java | 341 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/ |
D | FdBuffer.h | 95 bool truncated() const { return mTruncated; } in truncated() function
|
D | Reporter.cpp | 421 mSectionTruncated = buffer.truncated(); in setSectionStats() 422 mSectionBufferSuccess = !buffer.timedOut() && !buffer.truncated(); in setSectionStats()
|
D | Section.cpp | 316 if (buffer.truncated()) { in Execute()
|
/frameworks/base/cmds/incidentd/tests/ |
D | FdBuffer_test.cpp | 48 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/ |
D | concat.h | 80 constexpr auto truncated(std::string_view v) {
|
/frameworks/base/core/proto/android/os/ |
D | metadata.proto | 64 // true if the section is truncated.
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 460 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/ |
D | binder_latency.proto | 82 // as the tail of empty buckets is truncated when stored in the proto to
|
/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 220 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/ |
D | VSyncDispatchTimerQueue.cpp | 255 ftl::Concat trace(ftl::truncated<5>(*nextWakeupName), " alarm in ", ns2us(*min - now), in rearmTimerSkippingUpdateFor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 726 boolean truncated = (text.length() == 70); in dump() 728 if (truncated) out.append(" ..."); in dump()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 15028 // This string is truncated to 128 characters if its length exceeds the limit.
|