Home
last modified time | relevance | path

Searched refs:IS_TEXT (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/os/
DDropBoxManager.java66 @IntDef(flag = true, prefix = { "IS_" }, value = { IS_EMPTY, IS_TEXT, IS_GZIPPED })
74 public static final int IS_TEXT = 2; field in DropBoxManager
149 mFlags = IS_TEXT; in Entry()
230 if ((mFlags & IS_TEXT) == 0) return null; in getText()
322 addData(tag, data.getBytes(StandardCharsets.UTF_8), IS_TEXT); in addText()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java183 dropbox.addFile("DropBoxTest", f0, DropBoxManager.IS_TEXT);
184 dropbox.addFile("DropBoxTest", f1, DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED);
199 assertEquals(DropBoxManager.IS_TEXT, e0.getFlags());
200 assertEquals(DropBoxManager.IS_TEXT, e1.getFlags());
248 }, DropBoxManager.IS_TEXT); in testAddEntry_Success()
251 assertEquals(DropBoxManager.IS_TEXT, entry.getFlags()); in testAddEntry_Success()
278 }, DropBoxManager.IS_TEXT); in testAddEntry_Failure()
664 DropBoxManager.IS_TEXT).writeToParcel(parcel, 0); in testDropBoxEntrySerialization()
690 new DropBoxManager.Entry("file", 6000000, f, DropBoxManager.IS_TEXT).writeToParcel( in testDropBoxEntrySerialization()
725 DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED).writeToParcel( in testDropBoxEntrySerialization()
[all …]
/frameworks/base/libs/services/include/android/os/
DDropBoxManager.h41 IS_TEXT = 2, enumerator
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java723 out.append((entry.flags & DropBoxManager.IS_TEXT) != 0 ? "text" : "data"); in dump()
727 if (doFile || (doPrint && (entry.flags & DropBoxManager.IS_TEXT) == 0)) { in dump()
732 if ((entry.flags & DropBoxManager.IS_TEXT) != 0 && doPrint) { in dump()
952 flags |= DropBoxManager.IS_TEXT; in EntryFile()
1009 return ((flags & DropBoxManager.IS_TEXT) != 0 ? ".txt" : ".dat") + in getExtension()
DBatteryService.java840 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
/frameworks/base/libs/services/src/os/
DDropBoxManager.cpp183 return addData(tag, reinterpret_cast<uint8_t const*>(text.c_str()), text.size(), IS_TEXT); in addText()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java290 }, DropBoxManager.IS_TEXT); in dumpToDropBoxLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21691 field public static final int IS_TEXT = 2; // 0x2
/frameworks/base/core/api/
Dcurrent.txt32910 field public static final int IS_TEXT = 2; // 0x2