Home
last modified time | relevance | path

Searched refs:originalBytes (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DEncapsulatedSharedSecret.java36 byte[] originalBytes = getBytes(); in serializeToBytes()
37 return Objects.isNull(originalBytes) in serializeToBytes()
39 : Arrays.copyOf(originalBytes, originalBytes.length); in serializeToBytes()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java125 public PhotoProcessor(byte[] originalBytes, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) in PhotoProcessor() argument
127 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length), in PhotoProcessor()
162 public PhotoProcessor(byte[] originalBytes, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, in PhotoProcessor() argument
164 this(BitmapFactory.decodeByteArray(originalBytes, 0, originalBytes.length), in PhotoProcessor()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DExtendedAdvertisementTest.java259 byte[] originalBytes = getExtendedAdvertisementByteArray(); in test_fromBytesSalt()
261 ExtendedAdvertisement.fromBytes(originalBytes, mPublicCredential); in test_fromBytesSalt()
299 byte[] originalBytes = getExtendedAdvertisementByteArray(); in test_fromBytes_metadataTagNotMatched_fail()
308 ExtendedAdvertisement.fromBytes(originalBytes, credential); in test_fromBytes_metadataTagNotMatched_fail()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java387 byte[] originalBytes = ssid.getBytes(); in getTranslatedSsid()
388 byte[] translatedBytes = new byte[originalBytes.length + 1]; in getTranslatedSsid()
389 for (int i = 0; i < originalBytes.length; i++) { in getTranslatedSsid()
390 translatedBytes[i] = (byte) (originalBytes[i] + 1); in getTranslatedSsid()