/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 …]
|
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/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) 362 output = self.SendShellCommand(command) 363 return output.startswith("instrumentation:") 425 output = self.SendShellCommand(command, retry_count=1) 426 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/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | Node.java | 219 StringBuilder output = new StringBuilder("Node "); in toString() local 220 if (isCurrent()) output.append("current "); in toString() 221 if (isNew()) output.append("new "); in toString() 222 if (isModified()) output.append("modified "); in toString() 223 output.append("<<"); in toString() 224 if (mIsTaskNode) output.append("taskId=").append(mTaskId); in toString() 225 else output.append(mName.toShortString()); in toString() 227 output.append("intent:("); in toString() 229 output.append(flag.replace(FlagUtils.INTENT_FLAG_PREFIX, "")).append(','); in toString() 231 output.append(")"); in toString() [all …]
|
D | AMControl.java | 52 StringBuilder output = new StringBuilder(); in execCmd() local 63 output.append(line).append('\n'); in execCmd() 70 output.append(line).append('\n'); in execCmd() 76 lineCount, cmd.split(" ")[0], output.toString())); in execCmd() 79 if (BuildConfig.DEBUG) Log.e(TAG, output.append(e.getMessage()).toString()); in execCmd() 82 return output.toString(); in execCmd()
|
/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()
|
D | disassemble_tombstone.py | 64 for output in ProcessRegisterList(line_generator, register_text): 65 yield output 69 for output in ProcessCodeBlock( 71 yield output
|
/development/tools/repo_diff/service/repodiff/tools/ |
D | clear_service_account_keys.py | 8 return_code, output = commands.getstatusoutput(command) 11 return output 19 def parse_list_key_output(output): argument 20 for line in [l for l in output.splitlines() if l][1:-1]:
|
/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/gdbrunner/ |
D | __init__.py | 115 output, _ = device.shell([ps_script]) 116 return parse_ps_output(output) 119 def parse_ps_output(output): argument 121 output = adb.split_lines(output.replace("\r", "")) 122 columns = output.pop(0).split() 127 while output: 128 columns = output.pop().split() 286 output, _ = device.shell(cmd) 287 return adb.split_lines(output)[0] 335 output = subprocess.check_output(args, universal_newlines=True) [all …]
|
/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/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/tools/privapp_permissions/ |
D | privapp_permissions.py | 124 output = subprocess.check_output([self.path] + arguments, 126 return output.decode(encoding='UTF-8') 237 output = get_output('%s -s %s get-state' % 244 if 'device' not in output: 254 output = get_output(command) 259 if 'device' in output: 269 output = get_output(get_serials_cmd) 271 if len(output.split()) > 1: 275 return output.strip() 340 output = subprocess.check_output(command, shell=True) [all …]
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | debugfs.py | 58 _, output, error = run_command( 69 m = re.search('Type:\\s*([^\\s]+)', output)
|
/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/CustomTransition/src/com.example.android.customtransition/ |
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()
|
/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/ElevationBasic/src/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()
|