Searched refs:originalBytes (Results 1 – 4 of 4) sorted by relevance
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | EncapsulatedSharedSecret.java | 36 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/ |
D | PhotoProcessor.java | 125 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/ |
D | ExtendedAdvertisementTest.java | 259 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/ |
D | WifiConfigManagerTest.java | 387 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()
|