/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
D | SimpleWebServer.java | 121 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/ |
D | SimpleWebServer.java | 121 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 …]
|
D | MainActivity.java | 79 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/ |
D | SampleTests.java | 77 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/ |
D | SampleTests.java | 77 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/ |
D | SampleTests.java | 95 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/ |
D | ImageSaver.kt | 30 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/ |
D | ImageSaver.kt | 30 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/ |
D | SawVoice.java | 56 float output = mOscillator.render() * mEnvelope.render(); in render() local 57 return output; in render()
|
D | SynthVoice.java | 53 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/ |
D | SawVoice.java | 56 float output = mOscillator.render() * mEnvelope.render(); in render() local 57 return output; in render()
|
D | SynthVoice.java | 53 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/ |
D | SawVoice.java | 56 float output = mOscillator.render() * mEnvelope.render(); in render() local 57 return output; in render()
|
D | SynthVoice.java | 53 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 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/ |
D | MainActivity.java | 79 ViewAnimator output = (ViewAnimator) findViewById(R.id.sample_output); in onOptionsItemSelected() local 81 output.setDisplayedChild(1); in onOptionsItemSelected() 83 output.setDisplayedChild(0); in onOptionsItemSelected()
|