Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 40) sorted by relevance

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DSparseImageUtil.java78 int off = 0; in readFully() local
81 n = in.read(buf, off, left); in readFully()
85 off += n; in readFully()
202 public int read(byte[] buf, int off, int len) throws IOException { in read() argument
204 return mIn.read(buf, off, len); in read()
212 n = mIn.read(buf, off, (int) Math.min(mLeft, len)); in read()
217 Arrays.fill(buf, off, off + n, (byte) 0); in read()
222 n = super.read(buf, off, len); in read()
/tools/repohooks/tools/
Dcheckpatch.pl1537 my $off = 0;
1543 for ($off = 1; $off < length($line); $off++) {
1544 $c = substr($line, $off, 1);
1548 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') {
1551 substr($res, $off, 2, "$;$;");
1552 $off++;
1555 if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') {
1557 substr($res, $off, 2, "$;$;");
1558 $off++;
1561 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '//') {
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DFixedByteArrayOutputStream.java79 public void write(byte[] b, int off, int len) throws IOException { in write() argument
85 System.arraycopy(b, off + len - mBuffer.length, mBuffer, 0, mBuffer.length); in write()
93 System.arraycopy(b, off, mBuffer, mWritePos, len); in write()
96 System.arraycopy(b, off, mBuffer, mWritePos, freeSpace); in write()
98 System.arraycopy(b, off + freeSpace, mBuffer, 0, len - freeSpace); in write()
DShellOutputReceiverStream.java64 public void write(byte[] b, int off, int len) { in write() argument
68 mReceiver.addOutput(b, off, len); in write()
71 mFileOutput.write(b, off, len); in write()
DSizeLimitedOutputStream.java191 public synchronized void write(byte[] b, int off, int len) throws IOException { in write() argument
203 mCurrentOutputStream.write(b, off, (int)sizeToWrite); in write()
206 off += sizeToWrite; in write()
DPerfettoTraceRecorder.java146 public void write(byte[] b, int off, int len) in startTrace()
148 output += new String(b, off, len); in startTrace()
/tools/tradefederation/core/src/com/android/tradefed/command/console/
DConsoleReaderOutputStream.java47 public synchronized void write(byte[] b, int off, int len) throws IOException { in write() argument
50 String str = unfinishedLine + new String(b, off, len); in write()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DInputStreamBerDataValueReader.java268 public int read(byte[] b, int off, int len) throws IOException { in read() argument
269 len = mIn.read(b, off, len); in read()
271 mBuf.write(b, off, len); in read()
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/digital_loggers/
Dwebpowerswitch.py78 outlet.off()
90 def off(self, outlet): member in PduDevice
/tools/test/connectivity/acts/framework/acts/controllers/pdu_lib/synaccess/
Dnp02b.py52 def off(self, outlet): member in PduDevice
67 self.off(outlet)
/tools/asuite/atest/docs/
Datest_structure.md3 You're here because you'd like to contribute to atest. To start off, we'll
49 the ```AtestTradefedTestRunner``` is used to kick off ```hello_world_test```.
115 4. You're done! To pick up the override, rerun build/envsetup.sh to kick off the
/tools/netsim/scripts/
Dbuild_tools.cmd1 @echo off
/tools/security/gdb/gdb_json_printer/
Dgdbinit1 set auto-load python-scripts off
/tools/dexter/slicer/export/slicer/
Ddex_format.h173 void SetContainer(u4 off, u4 size) { in SetContainer()
174 container_off = off; in SetContainer()
/tools/metalava/
Dandroidx-studio-integration.sh29 --dependency-verification=off
Dgradlew.bat1 @if "%DEBUG%" == "" @echo off
/tools/test/connectivity/acts_tests/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS15 Requires mcap_tool, Bluetooth to be off on the phone before starting mcap_tool
29 Turn Bluetooth off in the UI
/tools/test/openhst/resources/
Dstress_test.dsp_trigger_and_screen_off.ascii_proto1 description: "Switches between the homescreen and screen off, launching a "
/tools/netsim/rust/cli/
Dnetsim-cli.md108 * `patch`: Patch a Capture source to turn packet capture on/off
111 * \<STATE\>: Packet capture state [possible values: on, off]
/tools/test/connectivity/acts/framework/acts/controllers/
Dpdu.py188 def off(self, outlet): member in PduDevice
/tools/tradefederation/core/
DAndroid.bp256 // Turn off various doclava warnings when generating
258 // turned off in frameworks/base, plus error 101
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DZFile.java911 public int read(@Nonnull byte[] b, int off, int len) throws IOException { in directOpen() argument
913 Preconditions.checkArgument(off >= 0, "off < 0"); in directOpen()
914 Preconditions.checkArgument(off <= b.length, "off > b.length"); in directOpen()
916 Preconditions.checkArgument(off + len <= b.length, "off + len > b.length"); in directOpen()
929 int r = directRead(mCurr, b, off, Ints.checkedCast(toRead)); in directOpen()
/tools/treble/hacksaw/
DREADME.md7 …se spread out through multiple git projects it can take a long time branch off a clean workspace. …
8 lets you split off a clean workspace in seconds. It does so by only copying git projects that you
/tools/trebuchet/
Dgradlew.bat1 @if "%DEBUG%" == "" @echo off
/tools/asuite/asuite_plugin/
Dgradlew.bat1 @if "%DEBUG%" == "" @echo off

12