Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/util/
H A DDataUnit.java36 KILOBYTES { @Override public long toBytes(long v) { return v * 1_000; } }, in toBytes() method
37 MEGABYTES { @Override public long toBytes(long v) { return v * 1_000_000; } }, in toBytes() method
38 GIGABYTES { @Override public long toBytes(long v) { return v * 1_000_000_000; } }, in toBytes() method
39 TERABYTES { @Override public long toBytes(long v) { return v * 1_000_000_000_000L; } }, in toBytes() method
40 KIBIBYTES { @Override public long toBytes(long v) { return v * 1_024; } }, in toBytes() method
41 MEBIBYTES { @Override public long toBytes(long v) { return v * 1_048_576; } }, in toBytes() method
42 GIBIBYTES { @Override public long toBytes(long v) { return v * 1_073_741_824; } }, in toBytes() method
43 TEBIBYTES { @Override public long toBytes(long v) { return v * 1_099_511_627_776L; } }; in toBytes() method
45 public long toBytes(long v) { in toBytes() method in DataUnit
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DFakeGateKeeperService.java51 public byte[] toBytes() { in toBytes() method in FakeGateKeeperService.VerifyHandle
78 public byte[] toBytes() { in toBytes() method in FakeGateKeeperService.AuthToken
/aosp14/frameworks/base/core/tests/privacytests/src/android/privacy/
H A DRapporEncoderTest.java188 private static byte[] toBytes(long value) { in toBytes() method in RapporEncoderTest
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DBitUtils.java158 public static byte[] toBytes(long l) { in toBytes() method in BitUtils
/aosp14/frameworks/base/services/core/java/com/android/server/testharness/
H A DTestHarnessModeService.java451 byte[] toBytes() { in toBytes() method in TestHarnessModeService.PersistentData
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Node.java548 public byte[] toBytes() { in toBytes() method in Asn1Node
/aosp14/frameworks/base/media/java/android/media/
H A DMediaCas.java543 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes() method in MediaCas
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DWakeLockLog.java598 int toBytes(LogEntry entry, byte[] bytes, long timeReference) { in toBytes() method in WakeLockLog.EntryByteTranslator
/aosp14/frameworks/base/core/java/android/os/
H A DFileUtils.java1323 private static long toBytes(long value, String unit) { in toBytes() method in FileUtils
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsStorage.java677 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() method in LockSettingsStorage.PersistentData
H A DSyntheticPasswordManager.java435 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsState.java1538 private static byte[] toBytes(String s) { in toBytes() method in SettingsState