Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 83) sorted by relevance

1234

/development/tools/idegen/src/
DFiles.java30 int read; in toString() local
33 while ((read = in.read(buffer)) > -1) { in toString()
34 builder.append(buffer, 0, read); in toString()
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
DSoundRecorder.java102 int read = mAudioRecord.read(buffer, 0, buffer.length); in startRecording()
103 bufferedOutputStream.write(buffer, 0, read); in startRecording()
201 int read; in startPlay()
202 while (!isCancelled() && (read = bis.read(buffer, 0, buffer.length)) > 0) { in startPlay()
203 mAudioTrack.write(buffer, 0, read); in startPlay()
/development/tools/axl/
Dchewperf.py12 f = open(sys.argv[1]).read()
28 f = open(sys.argv[1]).read()
46 f = open(sys.argv[1]).read()
DudpServer.py7 buf = open("random.dat").read()
Dchewie.py158 thread, queued, opened, send, sent, reading, read, uri, server, y = val
165 arrow = pylab.Arrow(reading, y, read - reading, 0)
/development/samples/ApiDemos/assets/
Dread_asset.txt3 It was read and placed into the TextView here.
/development/tools/repo_diff/service/repodiff/tools/
Denv_variable_load.py15 existing_contents = f.read()
/development/gsi/gsi_util/gsi_util/dumpers/
Dprop_dumper.py29 self._content = fp.read()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java340 int read; in copy() local
341 while ((read = in.read(b)) != -1) { in copy()
342 out.write(b, 0, read); in copy()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoDownloadRunnable.java214 readResult = byteStream.read(tempBuffer, bufferOffset, in run()
304 int readResult = byteStream.read( in run()
/development/samples/browseable/Quiz/Application/src/com.example.android.wearable.quiz/
DJsonUtils.java42 is.read(buffer); in loadJsonFile()
/development/samples/browseable/CardEmulation/
D_index.jd13 The "CardReader" sample can be used to read the loyalty card implemented in this sample.
/development/samples/ApiDemos/src/com/example/android/apis/content/
DReadAsset.java58 is.read(buffer); in onCreate()
DExternalStorage.java201 is.read(data); in createExternalStoragePublicPicture()
265 is.read(data); in createExternalStoragePrivatePicture()
327 is.read(data); in createExternalStoragePrivateFile()
/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java275 section.read(f); in readSection()
284 while ((n = f.read(inbuf, 0, (int) Math.min(section.length, inbuf.length))) != -1) { in readSection()
327 while ((n = in.read(inbuf)) != -1) { in writeSection()
363 public void read(RandomAccessFile f) throws IOException { in read() method in EncryptedDocument.Section
DUtils.java64 while ((count = in.read(buffer)) != -1) { in readFully()
/development/samples/browseable/CardReader/
D_index.jd9 … that do not contain NDEF or Android Beam data. This sample is designed to read the virtual
/development/samples/training/basic/ActivityLifecycle/
Dlocal.properties8 # For customization when using a Version Control System, please read the
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnConnection.java207 int length = in.read(packet.array()); in run()
220 length = tunnel.read(packet); in run()
298 int length = tunnel.read(packet); in handshake()
/development/apps/DumpViewer/
DREADME.md13 DumpViewer requires some development permissions in order to read logcat and dumpsys.
/development/tools/repo_pull/
Dgerrit.py186 return _decode_xssi_json(response_file.read())
215 res_body = response_file.read()
329 return base64.b64decode(response_file.read())
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java44 bytes = iStream.read(buffer); in run()
/development/scripts/
Dadd-accounts-sdk36 out = proc.stdout.read()
Dadd-accounts36 out = proc.stdout.read()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DAssetUtils.java39 is.read(buffer); in loadAsset()

1234