Home
last modified time | relevance | path

Searched defs:toBytes (Results 1 – 10 of 10) 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.java188 private static byte[] toBytes(long value) { in toBytes() method in RapporEncoderTest
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java158 public static byte[] toBytes(long l) { in toBytes() method in BitUtils
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java435 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.java243 private byte[] toBytes(@NonNull ArrayList<Byte> byteArray) { in toBytes() method in MediaCas
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java145 public byte[] toBytes() { in toBytes() method in LockSettingsStorage.CredentialHash
709 public static byte[] toBytes(int persistentType, int userId, int qualityForUi, in toBytes() method in LockSettingsStorage.PersistentData
DSyntheticPasswordManager.java261 public byte[] toBytes() { in toBytes() method in SyntheticPasswordManager.PasswordData
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1152 private static byte[] toBytes(String s) { in toBytes() method in SettingsState