Home
last modified time | relevance | path

Searched defs:toBytes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/util/
DDataUnit.java37 KILOBYTES { @Override public long toBytes(long v) { return v * 1_000; } }, in toBytes() method
38 MEGABYTES { @Override public long toBytes(long v) { return v * 1_000_000; } }, in toBytes() method
39 GIGABYTES { @Override public long toBytes(long v) { return v * 1_000_000_000; } }, in toBytes() method
40 TERABYTES { @Override public long toBytes(long v) { return v * 1_000_000_000_000L; } }, in toBytes() method
41 KIBIBYTES { @Override public long toBytes(long v) { return v * 1_024; } }, in toBytes() method
42 MEBIBYTES { @Override public long toBytes(long v) { return v * 1_048_576; } }, in toBytes() method
43 GIBIBYTES { @Override public long toBytes(long v) { return v * 1_073_741_824; } }, in toBytes() method
44 TEBIBYTES { @Override public long toBytes(long v) { return v * 1_099_511_627_776L; } }; in toBytes() method
46 public long toBytes(long v) { in toBytes() method in DataUnit
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeGateKeeperService.java51 public byte[] toBytes() { in toBytes() method in FakeGateKeeperService.VerifyHandle
78 public byte[] toBytes() { in toBytes() method in FakeGateKeeperService.AuthToken
/frameworks/base/core/tests/privacytests/src/android/privacy/
DRapporEncoderTest.java188 private static byte[] toBytes(long value) { in toBytes() method in RapporEncoderTest
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java159 public static byte[] toBytes(long l) { in toBytes() method in BitUtils
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java465 byte[] toBytes() { in toBytes() method in TestHarnessModeService.PersistentData
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java548 public byte[] toBytes() { in toBytes() method in Asn1Node
/frameworks/base/media/java/android/media/
DMediaCas.java579 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes() method in MediaCas
/frameworks/base/services/core/java/com/android/server/power/
DWakeLockLog.java669 int toBytes(LogEntry entry, byte[] bytes, long timeReference) { in toBytes() method in WakeLockLog.EntryByteTranslator
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java707 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() method in LockSettingsStorage.PersistentData
DSyntheticPasswordManager.java440 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
/frameworks/base/core/java/android/os/
DFileUtils.java1429 private static long toBytes(long value, String unit) { in toBytes() method in FileUtils