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/ApiDemos/src/com/example/android/mmslib/pdu/
DQuotedPrintable.java66 return buffer.toByteArray(); in decodeQuotedPrintable()
DEncodedStringValue.java181 mData = newTextString.toByteArray(); in appendTextString()
DPduComposer.java181 return mMessage.toByteArray(); in make()
1116 arraycopy(toCopy.currentMessage.toByteArray(), 0, in copy()
/development/samples/Vault/src/com/example/android/vault/
DUtils.java67 return bytes.toByteArray(); in readFully()
/development/tools/mkstubs/src/com/android/mkstubs/
DStubGenerator.java111 return cw.toByteArray(); in visitClassStubber()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
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/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java196 return output.toByteArray(); in loadContent()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java209 return new String(content.toByteArray()); in getUrlContent()
/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/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java202 return new String(content.toByteArray()); in getUrlContent()
/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/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DMainActivity.java173 sendMessageToWearable(QUIZ_EXITED_PATH, dataMap.toByteArray()); in onStop()
405 sendMessageToWearable(QUIZ_ENDED_PATH, dataMap.toByteArray()); in askNextQuestionIfExists()

12