Searched defs:list (Results 26 - 50 of 120) sorted by relevance

12345

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVNodeBuilder.java143 private String listToString(List<String> list){ argument
144 int size = list.size();
147 for (String type : list) {
156 return list.get(0);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.h80 dpbPicture_t **list; member in struct:__anon645
/frameworks/av/media/libstagefright/tests/
H A DMediaCodecListOverrides_test.cpp119 sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
121 for (size_t i = 0; i < list->countCodecs(); ++i) {
122 infos.push_back(list->getCodecInfo(i));
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java109 boolean isKeyInList(String key, String[] list) { argument
110 for (String s: list) {
/frameworks/base/core/java/android/content/pm/
H A DIntentFilterVerificationInfo.java99 public void setDomains(ArrayList<String> list) { argument
100 mDomains = new ArraySet<>(list);
223 ArrayList<String> list = new ArrayList<>();
224 source.readStringList(list);
225 mDomains.addAll(list);
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java89 private static boolean anyStartsWith(String[] list, String prefix) { argument
90 if (list != null) {
91 for (String s : list) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DParceledListSliceTest.java14 List<SmallObject> list = new ArrayList<SmallObject>();
16 list.add(new SmallObject(i * 2, (i * 2) + 1));
23 parcel.writeParcelable(new ParceledListSlice<SmallObject>(list), 0);
51 * Test that when the list is large, the data is successfully parceled
52 * and unparceled (the implementation will send pieces of the list in
59 List<LargeObject> list = new ArrayList<LargeObject>();
61 list.add(new LargeObject(
74 parcel.writeParcelable(new ParceledListSlice<LargeObject>(list), 0);
98 List<BaseObject> list = new ArrayList<BaseObject>();
99 list
124 writeEvilParceledListSlice(Parcel dest, List<T> list) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java71 ArrayList<ArrayList> list = Lists.newArrayList();
76 list.add(col);
84 return list;
242 private static MatrixCursor createCursor(String[] columns, ArrayList<ArrayList> list) { argument
243 MatrixCursor cursor = new MatrixCursor(columns, list.size());
244 for (ArrayList row : list) {
/frameworks/base/include/androidfw/
H A DAssetDir.h36 * The list of files will be sorted in ascending order by ASCII value.
138 void setFileList(SortedVector<FileInfo>* list) { mFileInfo = list; } argument
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPermissionMonitor.java175 private int[] toIntArray(List<Integer> list) { argument
176 int[] array = new int[list.size()];
177 for (int i = 0; i < list.size(); i++) {
178 array[i] = list.get(i);
187 List<Integer> list = app.getValue() ? system : network;
189 list.add(UserHandle.getUid(user, app.getKey()));
/frameworks/base/services/core/jni/
H A Dcom_android_server_HardwarePropertiesManagerService.cpp66 cooling_device_t *list = (cooling_device_t *) local
68 ssize_t size = gThermalModule->getCoolingDevices(gThermalModule, list, list_size);
75 values[i] = list[i].current_value;
80 free(list);
84 free(list);
97 temperature_t *list = (temperature_t *) malloc(list_size * sizeof(temperature_t)); local
98 ssize_t size = gThermalModule->getTemperatures(gThermalModule, list, list_size);
108 if (list[i].type == type) {
111 if (list[i].current_value == UNKNOWN_TEMPERATURE) {
114 values[length++] = list[
158 cpu_usage_t *list = (cpu_usage_t *) malloc(size * sizeof(cpu_usage_t)); local
[all...]
H A Dcom_android_server_am_BatteryStatsService.cpp180 power_state_platform_sleep_state_t *list; local
209 list = (power_state_platform_sleep_state_t *)calloc(num_modes,
211 if (!list) {
225 list[i].voters = (power_state_voter_t *)calloc(voter_list[i],
227 if (!list[i].voters) {
233 if (!gPowerModule->get_platform_low_power_stats(gPowerModule, list)) {
239 i + 1, list[i].name, list[i].residency_in_msec_since_boot,
240 list[i].total_transitions);
251 for (unsigned int j = 0; j < list[
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/ui/
H A DUI.java260 public Component getListCellRendererComponent(JList<?> list, Object value, int index, argument
264 return super.getListCellRendererComponent(list, s, index, isSelected, cellHasFocus);
/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/native/libs/gui/
H A DSensorManager.cpp164 ssize_t SensorManager::getSensorList(Sensor const* const** list) { argument
170 *list = mSensorList;
/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/v7/recyclerview/src/android/support/v7/widget/
H A DOpReorderer.java37 // we push them to the end of the list so that they can be handled easily.
44 private void swapMoveOp(List<UpdateOp> list, int badMove, int next) { argument
45 final UpdateOp moveOp = list.get(badMove);
46 final UpdateOp nextOp = list.get(next);
49 swapMoveRemove(list, badMove, moveOp, next, nextOp);
52 swapMoveAdd(list, badMove, moveOp, next, nextOp);
55 swapMoveUpdate(list, badMove, moveOp, next, nextOp);
60 void swapMoveRemove(List<UpdateOp> list, int movePos, UpdateOp moveOp, argument
90 list.remove(removePos);
109 list
159 swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, UpdateOp addOp) argument
180 swapMoveUpdate(List<UpdateOp> list, int move, UpdateOp moveOp, int update, UpdateOp updateOp) argument
217 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}.
490 * Parses a comma separated list of engine locale preferences. The list is of the
492 * so forth. Returns null if the list is empty, malformed or if there is no engine
493 * specific preference in the list.
537 * Updates the value for a given key in a comma separated list of key value pairs,
539 * the kay value pair are appended to the end of the list
541 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java215 * @param list A list of values to log
218 public static native int writeEvent(int tag, Object... list); argument
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java249 public static int[] convertToIntArray(List<Integer> list) { argument
250 int[] array = new int[list.size()];
251 for (int i = 0; i < list.size(); i++) {
252 array[i] = list.get(i);
/frameworks/base/core/jni/
H A Dandroid_hardware_location_ActivityRecognitionHardware.cpp213 char const* const* list = NULL; local
214 int list_size = sModule->get_supported_activities_list(sModule, &list);
215 if (list_size <= 0 || list == NULL) {
232 const char* string_ptr = const_cast<const char*>(list[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/native/android/
H A Dsensor.cpp56 ASensorList* list)
60 if (list) {
61 *list = reinterpret_cast<ASensorList>(l);
55 ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list) argument

Completed in 721 milliseconds

12345