/frameworks/base/core/java/android/util/ |
D | DataUnit.java | 37 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/ |
D | FakeGateKeeperService.java | 51 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/ |
D | RapporEncoderTest.java | 188 private static byte[] toBytes(long value) { in toBytes() method in RapporEncoderTest
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 159 public static byte[] toBytes(long l) { in toBytes() method in BitUtils
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 465 byte[] toBytes() { in toBytes() method in TestHarnessModeService.PersistentData
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
D | Asn1Node.java | 548 public byte[] toBytes() { in toBytes() method in Asn1Node
|
/frameworks/base/media/java/android/media/ |
D | MediaCas.java | 579 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes() method in MediaCas
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WakeLockLog.java | 669 int toBytes(LogEntry entry, byte[] bytes, long timeReference) { in toBytes() method in WakeLockLog.EntryByteTranslator
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsStorage.java | 707 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() method in LockSettingsStorage.PersistentData
|
D | SyntheticPasswordManager.java | 440 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 1429 private static long toBytes(long value, String unit) { in toBytes() method in FileUtils
|