Searched refs:arr (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DBitwiseInputStream.java97 byte[] arr = new byte[bytes];
100 arr[i] = (byte)(read(increment) << (8 - increment));
102 return arr;
H A DBitwiseOutputStream.java110 * @param arr the byte array containing data to be written
112 public void writeByteArray(int bits, byte[] arr) throws AccessException { argument
113 for (int i = 0; i < arr.length; i++) {
116 write(increment, (byte)(arr[i] >>> (8 - increment)));
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java479 private void arg(String name, int[] arr) { argument
480 if (arr == null) {
483 arg(name, toString(arr.length, arr, 0));
487 private void arg(String name, Object[] arr) { argument
488 if (arr == null) {
491 arg(name, toString(arr.length, arr, 0));
495 private String toString(int n, int[] arr, int offset) { argument
498 int arrLen = arr
513 toString(int n, Object[] arr, int offset) argument
[all...]
H A DGLLogWrapper.java118 private void arg(String name, int n, int[] arr, int offset) { argument
119 arg(name, toString(n, FORMAT_INT, arr, offset));
122 private void arg(String name, int n, short[] arr, int offset) { argument
123 arg(name, toString(n, arr, offset));
126 private void arg(String name, int n, float[] arr, int offset) { argument
127 arg(name, toString(n, arr, offset));
144 private String toString(int n, int format, int[] arr, int offset) { argument
147 int arrLen = arr.length;
154 formattedAppend(buf, arr[index], format);
162 private String toString(int n, short[] arr, in argument
180 toString(int n, float[] arr, int offset) argument
[all...]
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_reliability_tests.py93 arr = array(times)
94 avg = average(arr)
95 d = arr - avg
96 std = sqrt(sum(d * d) / len(arr))
98 (url, min(arr), max(arr), avg, std,
99 array2string(arr)))
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DWapPushTest.java818 protected int encodeUint32(int uint32Val, byte[] arr, int start) { argument
830 if (arr == null) return encodeLen;
840 arr[start + i] = (byte) (val & 0xFF);
846 protected int encodeShortInt(int sintVal, byte[] arr, int start) { argument
851 arr[start] = (byte) (sintVal | 0x80);
859 protected void createRandomWspHeader(byte[] arr, Random rd, int headerStart, argument
866 Log.d(LOG_TAG, "random arr length:" + arr.length);
872 int len = arr.length;
908 arr[inde
1068 createRandomWspHeaderStrAppId(byte[] arr, Random rd, int headerStart, boolean randomStr) argument
[all...]
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java307 ByteArrayOutputStream arr = new ByteArrayOutputStream();
308 OutputStream zipper = new GZIPOutputStream(arr);
311 entity = new ByteArrayEntity(arr.toByteArray());
/frameworks/base/core/jni/android/graphics/
H A DGraphicsJNI.h88 void setLocalJNIRef(jbyteArray arr);
H A DGraphics.cpp433 void AndroidPixelRef::setLocalJNIRef(jbyteArray arr) { argument
435 fStorageObj = arr;
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java326 String[] arr = new String[1];
327 arr[0] = chinese;
328 mDatabase.execSQL("INSERT INTO guess (numi,numf,str) VALUES (-32768,-1.0,?)", arr);

Completed in 250 milliseconds