Searched defs:list (Results 51 - 75 of 155) sorted by relevance

1234567

/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java30 * A class representing a Wi-Fi P2p device list.
73 /** Clear the list @hide */
81 * Add/update a device to the list. If the device is not found, a new device entry
128 * Fetch a device from the list
144 * Remove a device from the list
154 /** Returns true if any device the list was removed @hide */
155 public boolean remove(WifiP2pDeviceList list) { argument
157 for (WifiP2pDevice d : list.mDevices.values()) {
163 /** Get the list of devices */
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMethodCallExpr.java43 static List<Expr> concat(Expr e, List<Expr> list) { argument
46 merged.addAll(list);
/frameworks/native/cmds/lshal/
H A DLshal.cpp57 " list list HALs\n"
60 "If no command is specified, `list` is the default.\n";
62 static const std::string list = local
63 "list:\n"
65 " lshal list\n"
66 " List all hals with default ordering and columns (`lshal list -ipc`)\n"
67 " lshal list [-h|--help]\n"
68 " -h, --help: Print help message for list (`lshal help list`)\
108 mErr << list; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyDevController.java147 private static void updateOrInsert(HardwareConfig hw, ArrayList<HardwareConfig> list) { argument
151 size = list.size();
153 item = list.get(i);
156 list.remove(i);
160 list.add(hw);
315 if (DBG) logd("getAllModems: empty list.");
333 if (DBG) logd("getAllSims: empty list.");
/frameworks/support/compat/java/android/support/v4/os/
H A DLocaleListCompat.java41 public void setLocaleList(@NonNull Locale... list) { argument
42 mLocaleList = new LocaleListHelper(list);
107 public void setLocaleList(@NonNull Locale... list) { argument
108 mLocaleList = new LocaleList(list);
179 * Creates a new instance of {@link LocaleListCompat} from the Locale list.
252 * Retrieves a String representation of the language tags in this list.
260 * Returns the first match in the locale list given an unordered array of supported locales
263 * @return The first {@link Locale} from this list that appears in the given array, or
283 * @param list The language tags to be included as a single {@link String} separated by commas.
287 public static LocaleListCompat forLanguageTags(@Nullable String list) { argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOpReorderer.java38 // we push them to the end of the list so that they can be handled easily.
45 private void swapMoveOp(List<UpdateOp> list, int badMove, int next) { argument
46 final UpdateOp moveOp = list.get(badMove);
47 final UpdateOp nextOp = list.get(next);
50 swapMoveRemove(list, badMove, moveOp, next, nextOp);
53 swapMoveAdd(list, badMove, moveOp, next, nextOp);
56 swapMoveUpdate(list, badMove, moveOp, next, nextOp);
61 void swapMoveRemove(List<UpdateOp> list, int movePos, UpdateOp moveOp, argument
91 list.remove(removePos);
110 list
160 swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, UpdateOp addOp) argument
181 swapMoveUpdate(List<UpdateOp> list, int move, UpdateOp moveOp, int update, UpdateOp updateOp) argument
218 getLastMoveOutOfOrder(List<UpdateOp> list) argument
[all...]
/frameworks/wilhelm/src/android/
H A DVideoCodec_to_android.cpp62 sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
63 if (list == NULL) {
73 index = list->findCodecByType(
79 sp<MediaCodecInfo> info = list->getCodecInfo(index);
/frameworks/base/core/java/android/os/
H A DLocaleList.java33 * LocaleList is an immutable list of Locales, typically used to keep an ordered list of user
38 // This is a comma-separated list of the locales in the LocaleList created at construction time,
143 * Retrieves a String representation of the language tags in this list.
154 * which returns a pre-constructed empty list.</p>
159 public LocaleList(@NonNull Locale... list) { argument
160 if (list.length == 0) {
164 final Locale[] localeList = new Locale[list.length];
167 for (int i = 0; i < list.length; i++) {
168 final Locale l = list[
265 forLanguageTags(@ullable String list) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java52 * Support class for querying the list of available engines
154 * Gets a list of all installed TTS engines.
156 * @return A list of engine info objects. The list can be empty, but never {@code null}.
488 * Parses a comma separated list of engine locale preferences. The list is of the
490 * so forth. Returns null if the list is empty, malformed or if there is no engine
491 * specific preference in the list.
535 * Updates the value for a given key in a comma separated list of key value pairs,
537 * the kay value pair are appended to the end of the list
539 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java281 * @param list A list of values to log
284 public static native int writeEvent(int tag, Object... list); argument
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java279 public static int[] convertToIntArray(List<Integer> list) { argument
280 int[] array = new int[list.size()];
281 for (int i = 0; i < list.size(); i++) {
282 array[i] = list.get(i);
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java113 public TestParcelable listParcelableLonger(List<TestParcelable> list, int index) { argument
114 list.add(list.get(index));
115 return list.get(index);
118 public int listParcelableShorter(List<TestParcelable> list, int index) { argument
119 list.remove(index);
120 return list.size();
241 List<TestParcelable> list = Lists.newArrayList();
242 list.add(new TestParcelable(33, "asdf"));
243 list
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DEvents.java108 public static void writeEvent(Context context, int tag, Object... list) { argument
111 if (list != null && list.length > 0) {
117 (Boolean) list[1] ? 1 : 0);
118 sb.append(SHOW_REASONS[(Integer) list[0]]).append(" keyguard=").append(list[1]);
122 (Boolean) list[0]);
123 sb.append(list[0]);
127 sb.append(DISMISS_REASONS[(Integer) list[0]]);
131 (Integer) list[
215 writeEvent(long time, int tag, Object[] list) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetdEventListenerService.java147 list(pw);
151 public synchronized void list(PrintWriter pw) { method in class:NetdEventListenerService
H A DPermissionMonitor.java177 private int[] toIntArray(List<Integer> list) { argument
178 int[] array = new int[list.size()];
179 for (int i = 0; i < list.size(); i++) {
180 array[i] = list.get(i);
189 List<Integer> list = app.getValue() ? system : network;
191 list.add(UserHandle.getUid(user, app.getKey()));
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java200 private static BitSet addressListToBitSet(List<Integer> list) { argument
202 for (Integer value : list) {
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java48 * apps - A list of applications to start and their corresponding result keys
117 private Map<String, String> parseListToMap(String list) { argument
119 String names[] = list.split("\\|");
280 + " not found in process list, most likely it is crashed");
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DTlvBufferUtils.java117 * list. Allocates an array matching the contents (and required Type and Length
120 * @param list A list of fields to be added to the TLV buffer.
123 public TlvConstructor allocateAndPut(@Nullable List<byte[]> list) { argument
124 if (list != null) {
126 for (byte[] field : list) {
133 for (byte[] field : list) {
487 List<byte[]> list = new ArrayList<>();
489 list.add(Arrays.copyOfRange(tlv.refArray, tlv.offset, tlv.offset + tlv.length));
492 return list;
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DTwoWayBindingObject.java53 public final ObservableArrayList<Integer> list = new ObservableArrayList<>(); field in class:TwoWayBindingObject
73 list.add(i);
/frameworks/native/libs/sensor/
H A DSensorManager.cpp176 ssize_t SensorManager::getSensorList(Sensor const* const** list) { argument
182 *list = mSensorList;
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp344 hwc_display_contents_1_t *list; local
346 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) {
347 testPrintE("Allocate list failed");
350 list->flags = HWC_GEOMETRY_CHANGED;
351 list->numHwLayers = numFrames;
353 hwc_layer_1_t *layer = &list->hwLayers[0];
382 if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(list); }
383 hwcDevice->prepare(hwcDevice, 1, &list);
386 hwcTestDisplayListPrepareModifiable(list);
390 list
[all...]
H A DhwcRects.cpp58 * Constructs a Hardware Composer (HWC) list of frames from
80 * a list of attributes and the format of their expected value.
93 #include <list>
164 list<Rectangle> rectangle;
194 * 5. Create HWC list from frame descriptions
196 * 6. Have HWC render the list description of the frames
299 // Add to the list of rectangles
307 // Create list of frames
308 hwc_display_contents_1_t *list; local
309 list
[all...]
/frameworks/native/services/sensorservice/hidl/
H A DSensorManager.cpp61 ::android::Sensor const* const* list; member in class:android::frameworks::sensorservice::V1_0::implementation::android
62 ssize_t count = getInternalManager().getSensorList(&list);
63 if (count < 0 || !list) {
71 ret[i] = convertSensor(*list[i]);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemGroup.java64 private static <T> int identityIndexOf(List<T> list, T object) { argument
65 final int count = list.size();
67 if (list.get(i) == object) {
138 * not be found in our list of child hierarchies.
/frameworks/rs/
H A DrsList.h83 return p == other.p && buffer == other.buffer && list == other.list;
87 return p != other.p || buffer != other.buffer || list != other.list;
95 explicit iterator(const List* list_) : list(list_) {}
97 p(p_), buffer(buffer_), list(list_) {}
102 const List* list; member in class:android::renderscript::List::iterator

Completed in 1031 milliseconds

1234567