Home
last modified time | relevance | path

Searched refs:toByteArray (Results 1 – 25 of 35) sorted by relevance

12

/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/server/
DTransaction.java51 public byte[] toByteArray() { in toByteArray() method in Transaction
59 return byteArrayOutputStream.toByteArray(); in toByteArray()
DStoreBackendImpl.java50 verificationFunction.update(transaction.toByteArray()); in verify()
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DCalendarQueryService.java195 return Asset.createFromBytes(toByteArray(bitmap)); in getDefaultProfile()
210 return Asset.createFromBytes(toByteArray(bitmap)); in getProfilePicture()
223 private static byte[] toByteArray(Bitmap bitmap) { in toByteArray() method in CalendarQueryService
226 byte[] byteArray = stream.toByteArray(); in toByteArray()
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java147 byte[] bytes = Files.toByteArray(file); in checkClass()
203 bytes = Files.toByteArray(file); in rewriteOuterClasses()
222 byte[] rewritten = classWriter.toByteArray(); in rewriteOuterClasses()
/development/samples/Vault/src/com/example/android/vault/
DUtils.java67 return bytes.toByteArray(); in readFully()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictures.java75 InputStream is = new ByteArrayInputStream(os.toByteArray()); in onDraw()
DPurgeableBitmapView.java113 return os.toByteArray(); in generateBitstream()
DCompressedTextureActivity.java122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in load()
DCreateBitmap.java64 byte[] array = os.toByteArray(); in codec()
DBitmapDecode.java61 return os.toByteArray(); in streamToBytes()
/development/tools/mkstubs/src/com/android/mkstubs/
DStubGenerator.java111 return cw.toByteArray(); in visitClassStubber()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java192 return output.toByteArray(); in loadContent()
/development/samples/BackupRestore/src/com/example/android/backuprestore/
DExampleAgent.java128 byte[] buffer = bufStream.toByteArray(); in onBackup()
DMultiRecordExampleAgent.java148 byte[] buf = bufStream.toByteArray(); in writeBackupEntity()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java209 return new String(content.toByteArray()); in getUrlContent()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java202 return new String(content.toByteArray()); in getUrlContent()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DPackageValidator.java113 packageInfo.signatures[0].toByteArray(), Base64.NO_WRAP); in isCallerAllowed()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java111 packageInfo.signatures[0].toByteArray(), Base64.NO_WRAP); in isCallerAllowed()
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestPhoneService.java154 dataMap.toByteArray()); in sendMessage()
/development/tools/rmtypedefs/test/com/android/tools/rmtypedefs/
DRmTypeDefsTest.java184 byte[] contents = Files.toByteArray(file); in assertDoesNotContainBytes()
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/
DIncomingRequestWearService.java174 dataMap.toByteArray()); in sendMessage()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java166 return Asset.createFromBytes(byteStream.toByteArray()); in createAssetFromBitmap()
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DNfcProvisioningFragment.java135 DevicePolicyManager.MIME_TYPE_PROVISIONING_NFC, stream.toByteArray()); in createNdefMessage()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java277 final byte[] data = dataStream.toByteArray(); in doInBackground()
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
DDigitalWatchFaceCompanionConfigActivity.java208 byte[] rawData = config.toByteArray(); in sendConfigUpdateMessage()

12