Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DSimpleWebServer.java121 PrintStream output = null; in handle() local
138 output = new PrintStream(socket.getOutputStream()); in handle()
142 writeServerError(output); in handle()
147 writeServerError(output); in handle()
152 output.println("HTTP/1.0 200 OK"); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
154 output.println("Content-Length: " + bytes.length); in handle()
155 output.println(); in handle()
156 output.write(bytes); in handle()
157 output.flush(); in handle()
[all …]
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
DSimpleWebServer.java121 PrintStream output = null; in handle() local
138 output = new PrintStream(socket.getOutputStream()); in handle()
142 writeServerError(output); in handle()
147 writeServerError(output); in handle()
152 output.println("HTTP/1.0 200 OK"); in handle()
153 output.println("Content-Type: " + detectMimeType(route)); in handle()
154 output.println("Content-Length: " + bytes.length); in handle()
155 output.println(); in handle()
156 output.write(bytes); in handle()
157 output.flush(); in handle()
[all …]
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/samples/android/connectivity/nfc/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/
DSampleTests.java77 final byte[] output = CardService.HexStringToByteArray("C0FFEE"); in testHexToBinary()
79 assertEquals(testData[i], output[i]); in testHexToBinary()
88 final String output = CardService.ByteArrayToHexString(input); in testBinaryToHex() local
89 assertEquals("C0FFEE", output); in testBinaryToHex()
102 final byte[] output = cs.processCommandApdu(command, null); in testRequestAccoutNumber()
104 assertEquals(expectedResponse.length, output.length); in testRequestAccoutNumber()
106 assertEquals(expectedResponse[i], output[i]); in testRequestAccoutNumber()
121 final byte[] output = cs.processCommandApdu(command, null); in testInvalidCommand()
123 assertEquals(expectedResponse.length, output.length); in testInvalidCommand()
125 assertEquals(expectedResponse[i], output[i]); in testInvalidCommand()
/developers/build/prebuilts/gradle/CardEmulation/Application/tests/src/com/example/android/cardemulation/tests/
DSampleTests.java77 final byte[] output = CardService.HexStringToByteArray("C0FFEE"); in testHexToBinary()
79 assertEquals(testData[i], output[i]); in testHexToBinary()
88 final String output = CardService.ByteArrayToHexString(input); in testBinaryToHex() local
89 assertEquals("C0FFEE", output); in testBinaryToHex()
102 final byte[] output = cs.processCommandApdu(command, null); in testRequestAccoutNumber()
104 assertEquals(expectedResponse.length, output.length); in testRequestAccoutNumber()
106 assertEquals(expectedResponse[i], output[i]); in testRequestAccoutNumber()
121 final byte[] output = cs.processCommandApdu(command, null); in testInvalidCommand()
123 assertEquals(expectedResponse.length, output.length); in testInvalidCommand()
125 assertEquals(expectedResponse[i], output[i]); in testInvalidCommand()
/developers/build/prebuilts/gradle/CardReader/Application/tests/src/com/example/android/cardreader/tests/
DSampleTests.java95 final byte[] output = LoyaltyCardReader.HexStringToByteArray("C0FFEE"); in testHexToBinary()
97 assertEquals(testData[i], output[i]); in testHexToBinary()
106 final String output = LoyaltyCardReader.ByteArrayToHexString(input); in testBinaryToHex() local
107 assertEquals("C0FFEE", output); in testBinaryToHex()
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DImageSaver.kt30 var output: FileOutputStream? = null in run() variable
32 output = FileOutputStream(file).apply { in run()
39 output?.let { in run()
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
DImageSaver.kt30 var output: FileOutputStream? = null in run() variable
32 output = FileOutputStream(file).apply { in run()
39 output?.let { in run()
/developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/com/example/android/common/midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/com/example/android/common/midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/developers/samples/android/common/src/java/com/example/android/common/midi/synth/
DSawVoice.java56 float output = mOscillator.render() * mEnvelope.render(); in render() local
57 return output; in render()
DSynthVoice.java53 float output = render(); in mix() local
56 outputBuffer[offset + jf] += output * level; in mix()
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DropTarget/src/main/java/com/example/android/droptarget/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/slidingtabscolors/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/ElevationBasic/Application/src/main/java/com/example/android/elevationbasic/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/RevealEffectBasic/Application/src/main/java/com/example/android/revealeffectbasic/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/swiperefreshlayoutbasic/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/samples/android/ui/window/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/swiperefreshlistfragment/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/DrawableTinting/Application/src/main/java/com/example/android/drawabletinting/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/activenotifications/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/DragAndDropAcrossApps/DragSource/src/main/java/com/example/android/dragsource/
DMainActivity.java79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local
81 output.setDisplayedChild(1); in onOptionsItemSelected()
83 output.setDisplayedChild(0); in onOptionsItemSelected()

12345678910>>...16