Home
last modified time | relevance | path

Searched defs:toBytes (Results 1 – 13 of 13) 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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTestUtilLite.java146 static ByteString toBytes(String str) { in toBytes() method in TestUtilLite
DTestUtil.java258 static ByteString toBytes(String str) { in toBytes() method in TestUtil
/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.java143 public byte[] toBytes() { in toBytes() method in LockSettingsStorage.CredentialHash
695 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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java166 static ByteString toBytes(String str) { in toBytes() method in TestUtil
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1105 private static byte[] toBytes(String s) { in toBytes() method in SettingsState