/frameworks/base/core/java/com/android/server/ |
H A D | ResettableTimeout.java | 43 public abstract void off(); method in class:ResettableTimeout 49 * <p>3. At the timeout, calls off()<p> 81 * Cancel the timeout and call off now. 93 off(); 109 off(); 125 // turn it off at this time.
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ByteBufferInputStream.java | 39 public int read(byte[] bytes, int off, int len) { argument 45 mBuf.get(bytes, off, len);
|
H A D | CountedDataInputStream.java | 51 public int read(byte[] b, int off, int len) throws IOException { argument 52 int r = in.read(b, off, len); 82 public void readOrThrow(byte[] b, int off, int len) throws IOException { argument 83 int r = read(b, off, len);
|
/frameworks/base/core/java/android/util/ |
H A D | Base64OutputStream.java | 98 public void write(byte[] b, int off, int len) throws IOException { argument 101 internalWrite(b, off, len, false); 136 private void internalWrite(byte[] b, int off, int len, boolean finish) throws IOException { argument 138 if (!coder.process(b, off, len, finish)) {
|
H A D | Base64InputStream.java | 119 public int read(byte[] b, int off, int len) throws IOException { argument 127 System.arraycopy(coder.output, outputStart, b, off, bytes);
|
H A D | Log.java | 207 * turn off all logging for your tag. You can also create a local.prop file that with the 465 public void write(char[] cbuf, int off, int len) { argument 469 written += println_native(bufID, priority, tag, new String(cbuf, off, len));
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonRelocationFunctions.h | 26 size_t off = 0; local 29 const bool valBit = (pData >> off) & 1; 33 ++off;
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Cube.java | 65 private static String fs(float[] f, int off, int n) {
argument 68 for (int i = off; i < off + n; i++) {
71 if (i != off) {
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | LineBreakBufferedWriter.java | 118 public void write(char[] buf, int off, int len) { argument 125 if (buf[off + i] == '\n') { 136 appendToBuffer(buf, off, nextNewLine); 140 off += nextNewLine + 1; 150 appendToBuffer(buf, off, rest); 153 off += rest; 161 appendToBuffer(buf, off, len); 163 if (buf[off + i] == '\n') { 172 public void write(String s, int off, int len) { argument 179 if (s.charAt(off 232 appendToBuffer(char[] buf, int off, int len) argument 247 appendToBuffer(String s, int off, int len) argument [all...] |
H A D | IndentingPrintWriter.java | 94 public void write(String s, int off, int len) { argument 96 s.getChars(off, len - off, buf, 0);
|
/frameworks/base/core/jni/ |
H A D | android_util_StringBlock.cpp | 36 jint off, jint len) 44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { 50 ResStringPool* osb = new ResStringPool(b+off, len, true); 34 android_content_StringBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
|
H A D | android_net_LocalSocketImpl.cpp | 352 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) 363 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { 387 fd, byteBuffer + off, len); 419 jbyteArray buffer, jint off, jint len, jobject fileDescriptor) 430 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) { 449 byteBuffer + off, len); 351 socket_readba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument 418 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
|
H A D | android_net_NetUtils.cpp | 244 int off = 0; local 245 len = sizeof(off); 246 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &off, len) != 0) {
|
H A D | android_util_XmlBlock.cpp | 36 jint off, jint len) 44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) { 51 osb->setTo(b+off, len, true); 34 android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | TypefaceCompatUtil.java | 121 public int read(byte[] bytes, int off, int len) { argument 126 mBuf.get(bytes, off, len);
|
/frameworks/base/core/java/android/text/ |
H A D | AlteredCharSequence.java | 89 public char charAt(int off) { argument 90 if (off >= mStart && off < mEnd) 91 return mChars[off - mStart]; 93 return mSource.charAt(off); 105 public void getChars(int start, int end, char[] dest, int off) { argument 106 TextUtils.getChars(mSource, start, end, dest, off); 112 System.arraycopy(mChars, start - mStart, dest, off, end - start);
|
H A D | AutoText.java | 37 // int off; 141 int off = mTrie[here + TRIE_OFF]; 142 int len = mText.charAt(off); 144 return mText.substring(off + 1, off + 1 + len); 184 char off; 187 off = ooff; 189 off = (char) right.length(); 194 add(src, off); 211 private void add(String src, char off) { argument [all...] |
H A D | SpannableStringInternal.java | 147 public final void getChars(int start, int end, char[] dest, int off) { argument 148 mText.getChars(start, end, dest, off);
|
/frameworks/base/core/java/android/text/method/ |
H A D | ReplacementTransformationMethod.java | 150 public void getChars(int start, int end, char[] dest, int off) { argument 151 TextUtils.getChars(mSource, start, end, dest, off); 152 int offend = end - start + off; 155 for (int i = off; i < offend; i++) {
|
H A D | PasswordTransformationMethod.java | 188 public void getChars(int start, int end, char[] dest, int off) { argument 189 TextUtils.getChars(mSource, start, end, dest, off); 226 dest[i - start + off] = DOT;
|
H A D | TextKeyListener.java | 89 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); 91 if (sInstance[off] == null) { 92 sInstance[off] = new TextKeyListener(cap, autotext); 95 return sInstance[off]; 112 * @param off the offset into that text where the insertion is being made. 116 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument 127 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | LineBreakBufferedWriterTest.java | 225 public void write(char[] cbuf, int off, int len) { argument 226 strings.add(new String(cbuf, off, len));
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 101 public int read(byte[] b, int off, int len) throws IOException { argument 106 if (off < 0 || len < 0 || (off + len) > b.length ) { 110 int ret = readba_native(b, off, len, myFd); 136 public void write (byte[] b, int off, int len) throws IOException { argument 141 if (off < 0 || len < 0 || (off + len) > b.length ) { 144 writeba_native(b, off, len, myFd); 194 private native int readba_native(byte[] b, int off, int len, argument 196 private native void writeba_native(byte[] b, int off, in argument [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 121 public void write(byte[] buf, int off, int nbytes) { argument 122 digest.update(buf, off, nbytes);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextUtilsTest.java | 424 public char charAt(int off) { argument 425 return mString.charAt(off);
|