/development/samples/browseable/PermissionRequest/src/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 …]
|
/development/testrunner/ |
D | adb_interface.py | 156 output = self.SendShellCommand("ls %s" % src) 159 if error in output: 165 output = self.SendCommand("root") 166 if "adbd is already running as root" in output: 168 elif "restarting adbd as root" in output: 174 logger.Log("Unrecognized output from adb root: %s" % output) 352 output = self.SendShellCommand(command) 353 return output.startswith("instrumentation:") 415 output = self.SendShellCommand(command, retry_count=1) 416 if ((not invert and expected in output) [all …]
|
D | run_command.py | 107 output = pipe.communicate(input=stdin_input)[0] 108 if output is not None and len(output) > 0: 109 so.append(output) 143 output = "".join(so) 145 raise errors.AbortError(msg=output)
|
/development/scripts/ |
D | compare-installed-size.py | 80 output = open("module_%d.csv" % idx, 'w') 83 output.write("%s, %d\n" % (key, bin_sizes[idx][key])) 84 output.close() 98 output = open("comparison.csv", 'w') 100 output.write("%s, %s, %s, %s, %d\n" % 104 output.close()
|
/development/ndk/platforms/android-24/include/camera/ |
D | NdkCameraDevice.h | 340 ANativeWindow* anw, /*out*/ACaptureSessionOutput** output); 349 void ACaptureSessionOutput_free(ACaptureSessionOutput* output); 362 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output); 378 ACaptureSessionOutputContainer* container, const ACaptureSessionOutput* output);
|
D | NdkCaptureRequest.h | 101 camera_status_t ACameraOutputTarget_create(ANativeWindow* window, ACameraOutputTarget** output); 110 void ACameraOutputTarget_free(ACameraOutputTarget* output); 123 const ACameraOutputTarget* output); 138 const ACameraOutputTarget* output);
|
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/ |
D | AnnotationSourcer.java | 33 public AnnotationSourcer(Output output) { in AnnotationSourcer() argument 34 this(output, false /*isArray*/); in AnnotationSourcer() 37 public AnnotationSourcer(Output output, boolean isArray) { in AnnotationSourcer() argument 39 mOutput = output; in AnnotationSourcer()
|
/development/python-packages/fastboot/ |
D | device.py | 85 output = _subprocess_check_output([self.path, 'getvar', name], 91 if output[0] == "< waiting for any device >": 93 result = re.search(r'{}:\s*(.*)'.format(name), output[out]) 105 output = _subprocess_check_output([self.path, 'getvar', 'all'], 108 for line in output: 235 output=e.output)
|
/development/testrunner/test_defs/ |
D | native_test.py | 88 output = adb.SendShellCommand("'%s 2>&1;echo -n exit code:$?'" % 91 success = output.endswith("exit code:0") 95 pos = output.rfind("exit code") 96 output = output[0:pos] 97 logger.Log(output)
|
/development/python-packages/gdbrunner/ |
D | __init__.py | 120 output, _ = device.shell([ps_script]) 121 return parse_ps_output(output) 123 def parse_ps_output(output): argument 125 output = adb.split_lines(output.replace("\r", "")) 126 columns = output.pop(0).split() 131 while output: 132 columns = output.pop().split()
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | alternative_32.h | 39 …output, input...) asm volatile ("661:\n\t" oldinstr "\n662:\n" ".section .altinstructions,\"a\… argument
|
/development/samples/browseable/MidiSynth/src/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()
|
/development/samples/browseable/MidiScope/src/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()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyGetFrameRateEvent.java | 123 String output = result.readLine(); in injectEvent() local 125 if (output != null) { in injectEvent() 127 mStartFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent() 130 mEndFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent()
|
/development/samples/browseable/DrawableTinting/src/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()
|
/development/samples/browseable/ScreenCapture/src/com.example.android.screencapture/ |
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()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/ |
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()
|
/development/samples/browseable/SlidingTabsColors/src/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()
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
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()
|
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/ |
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()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
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()
|
/development/samples/browseable/ActiveNotifications/src/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()
|
/development/samples/browseable/AdvancedImmersiveMode/src/com.example.android.advancedimmersivemode/ |
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()
|