Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java136 dropbox.addFile("DropBoxTest", f0, DropBoxManager.IS_TEXT);
137 dropbox.addFile("DropBoxTest", f1, DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED);
152 assertEquals(DropBoxManager.IS_TEXT, e0.getFlags());
153 assertEquals(DropBoxManager.IS_TEXT, e1.getFlags());
551 DropBoxManager.IS_TEXT).writeToParcel(parcel, 0); in testDropBoxEntrySerialization()
577 new DropBoxManager.Entry("file", 6000000, f, DropBoxManager.IS_TEXT).writeToParcel( in testDropBoxEntrySerialization()
612 DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED).writeToParcel( in testDropBoxEntrySerialization()
636 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
645 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
669 assertEquals(DropBoxManager.IS_TEXT, e.getFlags()); in testDropBoxEntrySerialization()
[all …]
/frameworks/base/core/java/android/os/
DDropBoxManager.java49 public static final int IS_TEXT = 2; field in DropBoxManager
114 mFlags = IS_TEXT; in Entry()
185 if ((mFlags & IS_TEXT) == 0) return null; in getText()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java376 out.append((entry.flags & DropBoxManager.IS_TEXT) != 0 ? "text" : "data"); in dump()
380 if (doFile || (doPrint && (entry.flags & DropBoxManager.IS_TEXT) == 0)) { in dump()
385 if ((entry.flags & DropBoxManager.IS_TEXT) != 0 && (doPrint || !doFile)) { in dump()
505 ((flags & DropBoxManager.IS_TEXT) != 0 ? ".txt" : ".dat") + in EntryFile()
558 flags |= DropBoxManager.IS_TEXT; in EntryFile()
DBatteryService.java544 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
/frameworks/base/api/
Dcurrent.txt22935 field public static final int IS_TEXT = 2; // 0x2
Dsystem-current.txt24879 field public static final int IS_TEXT = 2; // 0x2