/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 618 final ParcelableSparseArray array = new ParcelableSparseArray(); 619 final ClassLoader loader = array.getClass().getClassLoader(); 622 array.put(source.readInt(), source.readParcelable(loader)); 624 return array;
|
/frameworks/base/core/java/android/net/arp/ |
H A D | ArpPeer.java | 103 mSocket.write(L2_BROADCAST, buf.array(), 0, buf.limit());
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 55 com.android.internal.R.array.config_usbHostBlacklist); 97 /* array of quintuples containing id, class, subclass, protocol 100 /* array of quadruples containing address, attributes, max packet size 118 // repackage interfaceValues as an array of UsbInterface
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeFrame.java | 149 byte[] bytes = buffer.array();
|
/frameworks/base/core/java/android/os/ |
H A D | Parcel.java | 75 * read the data into an existing array, or create and return a new array. 452 * Write a byte array into the parcel at the current {@link #dataPosition}, 461 * Write a byte array into the parcel at the current {@link #dataPosition}, 628 * Flatten an Object array into the parcel at the current dataPosition(), 629 * growing dataCapacity() if needed. The array values are written using 717 throw new RuntimeException("bad array lengths"); 753 throw new RuntimeException("bad array lengths"); 789 throw new RuntimeException("bad array lengths"); 826 throw new RuntimeException("bad array length [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | GlowPadView.java | 242 // Read array of target drawables 250 // Read array of target descriptions 259 // Read array of direction descriptions 573 TypedArray array = res.obtainTypedArray(resourceId); 574 final int count = array.length(); 577 TypedValue value = array.peekValue(i); 581 array.recycle(); 609 * Loads an array of drawables from the given resourceId. 1272 TypedArray array = getContext().getResources().obtainTypedArray(resourceId); 1273 final int count = array [all...] |
H A D | MultiWaveView.java | 228 // Read array of chevron drawables 240 // Read array of target drawables 248 // Read array of target descriptions 257 // Read array of direction descriptions 608 TypedArray array = res.obtainTypedArray(resourceId); 609 final int count = array.length(); 612 TypedValue value = array.peekValue(i); 616 array.recycle(); 642 * Loads an array of drawables from the given resourceId. 1171 TypedArray array [all...] |
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 157 this, R.array.source_array, android.R.layout.simple_spinner_item); 177 this, R.array.sink_array, android.R.layout.simple_spinner_item);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1027 * @param data a byte array of the picture data 1139 * <p>This does not affect the order of byte array passed in {@link 1951 // Indices for focus distance array. 1953 * The array index of near focus distance for use with 1959 * The array index of optimal focus distance for use with 1965 * The array index of far focus distance for use with 1971 * The array index of minimum preview fps for use with {@link 1978 * The array index of maximum preview fps for use with {@link 2368 "range must be an array with two elements."); 2383 * list with at least one element. Every element is an int array [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewDebug.java | 103 * @return An array of int to String mappings 110 * A mapping can be defined to map array indices to specific strings. 112 * of an array: 123 * @return An array of int to String mappings 145 * @return An array of int to String mappings 990 final int[] array = (int[]) methodValue; 994 exportUnrolledArray(context, out, property, array, valuePrefix, suffix); 1061 final int[] array = (int[]) field.get(view); 1065 exportUnrolledArray(context, out, property, array, valuePrefix, suffix); 1116 ExportedProperty property, int[] array, Strin 1115 exportUnrolledArray(Context context, BufferedWriter out, ExportedProperty property, int[] array, String prefix, String suffix) argument [all...] |
H A D | MotionEvent.java | 1412 * @param pointerProperties An array of <em>pointerCount</em> values providing 1415 * @param pointerCoords An array of <em>pointerCount</em> values providing 1454 * @param pointerIds An array of <em>pointerCount</em> values providing 1456 * @param pointerCoords An array of <em>pointerCount</em> values providing 3193 PointerCoords[] array = new PointerCoords[size]; 3195 array[i] = new PointerCoords(); 3197 return array; 3486 PointerProperties[] array = new PointerProperties[size]; 3488 array[i] = new PointerProperties(); 3490 return array; [all...] |
H A D | ViewTreeObserver.java | 630 // the array from being modified while we iterate it. 648 // the array from being modified while we iterate it. 724 // the array from being modified while we iterate it. 755 // the array from being modified while we iterate it. 772 * Copy on write array. This array is not thread safe, and only one loop can 773 * iterate over this array at any given time. This class avoids allocations 778 * CopyOnWriteArray.Access<MyData> access = array.start(); 845 void addAll(CopyOnWriteArray<T> array) { argument 846 getArray().addAll(array [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
H A D | JniCodeEmitter.java | 1172 String array = numBufferArgs <= 1 ? "_array" : 1201 "_buf, &" + array + ", &" + remaining + ", &" + bufferOffset + 1227 String array = numBufferArgs <= 1 ? "_array" : 1236 out.println(indent + indent + "char * _" + cname + "Base = (char *)_env->GetPrimitiveArrayCritical(" + array + ", (jboolean *) 0);"); 1323 // the need to write back to the Java array 1340 String array = numBufferArgs <= 1 ? "_array" : 1342 out.println(indent + "if (" + array + ") {"); 1344 "releasePointer(_env, " + array + ", " +
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 283 * We want to call main() with a String array with our arguments in it. 284 * Create an array and populate it. 853 * We want to call main() with a String array with arguments in it. 855 * Create an array to hold them. 1075 static int register_jni_procs(const RegJNIRec array[], size_t count, JNIEnv* env) argument 1078 if (array[i].mProc(env) < 0) { 1080 ALOGD("----------!!! %s failed to load\n", array[i].mName); 1088 static void register_jam_procs(const RegJAMProc array[], size_t count) argument 1091 array[i]();
|
H A D | android_app_NativeActivity.cpp | 736 jbyteArray array = NULL; local 744 array = env->NewByteArray(len); 745 if (array != NULL) { 746 env->SetByteArrayRegion(array, 0, len, state); 755 return array;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 18 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0])
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 313 * @param val The byte array to be flattened. 314 * @param name Name attribute to include with this array's tag, or null for 316 * @param out XmlSerializer to write the array into. 331 out.startTag(null, "byte-array"); 350 out.endTag(null, "byte-array"); 357 * @param val The int array to be flattened. 358 * @param name Name attribute to include with this array's tag, or null for 360 * @param out XmlSerializer to write the array into. 376 out.startTag(null, "int-array"); 390 out.endTag(null, "int-array"); [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 549 #define REG(env, name, array) \ 550 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | LockScreen.java | 268 resId = mSilentMode ? R.array.lockscreen_targets_when_silent 269 : R.array.lockscreen_targets_when_soundon; 271 resId = R.array.lockscreen_targets_with_camera;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaImageItem.java | 187 final byte[] array = byteBuffer.array(); 194 dos.write(array);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ZygoteInit.java | 351 com.android.internal.R.array.preloaded_drawables); 359 com.android.internal.R.array.preloaded_color_state_lists); 748 * Invokes select() on the provider array of file descriptors (selecting 751 * @param fds non-null; array of readable file descriptors 752 * @return index of descriptor that is now readable or -1 for empty array. 783 /** argument array */
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
H A D | WapPushTest.java | 1270 byte[] array = null; 1472 array = new byte[mGsmHeader.length + mUserDataHeader.length + mWspHeader.length 1474 System.arraycopy(mGsmHeader, 0, array, 0, mGsmHeader.length); 1475 System.arraycopy(mUserDataHeader, 0, array, 1477 System.arraycopy(mWspHeader, 0, array, 1479 System.arraycopy(mMessageBody, 0, array, 1482 return array; 2169 byte[] array = new byte[mWspHeader.length + mMessageBody.length]; 2171 System.arraycopy(mWspHeader, 0, array, 0, mWspHeader.length); 2172 System.arraycopy(mMessageBody, 0, array, mWspHeade [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkTemplate.java | 61 com.android.internal.R.array.config_data_usage_network_types);
|
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 967 com.android.internal.R.array.phoneTypes); 1404 com.android.internal.R.array.emailAddressTypes); 1421 com.android.internal.R.array.postalAddressTypes); 1768 com.android.internal.R.array.organizationTypes);
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_reliability_tests.py | 93 arr = array(times)
|