Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
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 KIBIBYTES { @Override public long toBytes(long v) { return v * 1_024; } }, in toBytes() method
40 MEBIBYTES { @Override public long toBytes(long v) { return v * 1_048_576; } }, in toBytes() method
41 GIBIBYTES { @Override public long toBytes(long v) { return v * 1_073_741_824; } }; in toBytes() method
43 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.java187 private static byte[] toBytes(long value) { in toBytes() method in RapporEncoderTest
/frameworks/base/media/java/android/media/
DMediaCas.java204 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes() method in MediaCas
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Node.java548 public byte[] toBytes() { in toBytes() method in Asn1Node
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java141 public byte[] toBytes() { in toBytes() method in LockSettingsStorage.CredentialHash
693 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() method in LockSettingsStorage.PersistentData
DSyntheticPasswordManager.java245 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1078 private static byte[] toBytes(String s) { in toBytes() method in SettingsState