Home
last modified time | relevance | path

Searched refs:bis (Results 1 – 6 of 6) sorted by relevance

/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java173 BufferedInputStream bis; in createBase64Image() local
175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME)); in createBase64Image()
176 byte[] embeddedImage = new byte[bis.available()]; in createBase64Image()
177 bis.read(embeddedImage); in createBase64Image()
DKeyChainDemoActivity.java226 BufferedInputStream bis = new BufferedInputStream(getAssets().open( in installPkcs12() local
228 byte[] keychain = new byte[bis.available()]; in installPkcs12()
229 bis.read(keychain); in installPkcs12()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DSoundRecorder.java195 BufferedInputStream bis = null; in startPlay()
200 bis = new BufferedInputStream(in); in startPlay()
202 while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) { in startPlay()
212 if (bis != null) { in startPlay()
213 bis.close(); in startPlay()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DCompressedTextureActivity.java122 ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in load() local
124 GLES10.GL_RGB, GLES10.GL_UNSIGNED_SHORT_5_6_5, bis); in load()
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DShortcutHelper.java229 BufferedInputStream bis = null; in fetchFavicon() local
235 bis = new BufferedInputStream(is, 8192); in fetchFavicon()
236 return BitmapFactory.decodeStream(bis); in fetchFavicon()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DShortcutHelper.java242 BufferedInputStream bis = null; in fetchFavicon() local
248 bis = new BufferedInputStream(is, 8192); in fetchFavicon()
249 return BitmapFactory.decodeStream(bis); in fetchFavicon()