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

1234

/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java169 void dumpStartList(PrintWriter pw, String prefix, List<StartItem> list, long now) { argument
170 final int N = list.size();
172 StartItem si = list.get(i);
H A DActivityStack.java163 * The first entry in the list is the least recently used.
1651 // at the top of the LRU list, since we know we will be needing it
2484 ArrayList<ResultInfo> list = new ArrayList<ResultInfo>();
2485 list.add(new ResultInfo(resultWho, requestCode,
2487 r.app.thread.scheduleSendResult(r.appToken, list);
2707 * list, or false if it is still in the list and will be removed later.
3002 // Make sure this record is no longer in the pending finishes list.
3161 // Was removed from list, back up so we don't miss the next one.
3212 // No longer have activities, so update LRU list an
3349 removeHistoryRecordsForAppLocked(ArrayList<ActivityRecord> list, ProcessRecord app, String listName) argument
3902 getTasksLocked(List<RunningTaskInfo> list, int callingUid, boolean allowed) argument
[all...]
H A DActivityStackSupervisor.java722 void getTasksLocked(int maxNum, List<RunningTaskInfo> list, int callingUid, boolean allowed) { argument
738 // each list and add it to list. Stop when all lists are empty or maxNum reached.
754 list.add(selectedStackList.remove(0));
1205 + " being launched, but already in LRU list");
3161 static boolean dumpHistoryList(FileDescriptor fd, PrintWriter pw, List<ActivityRecord> list, argument
3168 for (int i=list.size()-1; i>=0; i--) {
3169 final ActivityRecord r = list.get(i);
3367 ArrayList<StackInfo> list = new ArrayList<StackInfo>();
3371 list
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DOpReorderTest.java571 private void swapMoveUpdate(List<UpdateOp> list, int move) { argument
572 mOpReorderer.swapMoveUpdate(list, move, list.get(move), move + 1, list.get(move + 1));
575 private void swapMoveRemove(List<UpdateOp> list, int move) { argument
576 mOpReorderer.swapMoveRemove(list, move, list.get(move), move + 1, list.get(move + 1));
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp900 List<IOMX::ComponentInfo> list; local
901 omx->listNodes(&list);
903 for (List<IOMX::ComponentInfo>::iterator it = list.begin();
904 it != list.end(); ++it) {
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp265 MtpObjectHandleList* list = new MtpObjectHandleList();
269 list->push(handles[i]);
274 return list;
294 MtpObjectFormatList* list = new MtpObjectFormatList();
298 list->push(formats[i]);
303 return list;
312 MtpObjectFormatList* list = new MtpObjectFormatList();
316 list->push(formats[i]);
321 return list;
330 MtpObjectPropertyList* list
364 jobject list = env->CallObjectMethod(mDatabase, method_getObjectPropertyList, local
668 jobject list = env->CallObjectMethod(mDatabase, method_getObjectPropertyList, local
[all...]
H A Dandroid_media_MediaDrm.cpp498 List<Vector<uint8_t> > list) {
501 List<Vector<uint8_t> >::iterator iter = list.begin();
502 while (iter != list.end()) {
497 ListOfVectorsToArrayListOfByteArray(JNIEnv *env, List<Vector<uint8_t> > list) argument
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp403 * Dynamically creates layer list with numLayers worth
408 hwc_display_contents_1_t *list; local
411 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) {
414 list->flags = HWC_GEOMETRY_CHANGED;
415 list->numHwLayers = numLayers;
417 return list;
424 void hwcTestFreeLayerList(hwc_display_contents_1_t *list) argument
426 free(list);
429 // Display the settings of the layer list pointed to by list
430 hwcTestDisplayList(hwc_display_contents_1_t *list) argument
501 hwcTestDisplayListPrepareModifiable(hwc_display_contents_1_t *list) argument
529 hwcTestDisplayListHandles(hwc_display_contents_1_t *list) argument
[all...]
/frameworks/native/services/sensorservice/
H A DSensorService.cpp81 sensor_t const* list; local
82 ssize_t count = dev.getSensorList(&list);
93 registerSensor( new HardwareSensor(list[i]) );
94 switch (list[i].type) {
105 virtualSensorsNeeds &= ~(1<<list[i].type);
115 // build the sensor list returned to users
129 aSensor = registerVirtualSensor( new GravitySensor(list, count) );
134 aSensor = registerVirtualSensor( new LinearAccelerationSensor(list, count) );
147 registerVirtualSensor( new CorrectedGyroSensor(list, count) );
151 // debugging sensor list
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java284 * @see #list
305 * @see #list
349 public native final String[] list(String path) method in class:AssetManager
/frameworks/base/core/java/android/os/
H A DParcel.java1083 * type of the objects in the list must be one that implements Parcelable.
1088 * @param val The list of objects to be written.
1120 * @param val The list of strings to be written.
1145 * @param val The list of strings to be written.
1826 * dataPosition(). Returns null if the previously written list object was
1858 * dataPosition(). Returns null if the previously written list object was
1874 * dataPosition(). Returns null if the previously written list object was
1891 * previously written list object was null. The list <em>must</em> have
1920 * current dataPosition(). The list <e
1929 readTypedList(List<T> list, Parcelable.Creator<T> c) argument
2009 readStringList(List<String> list) argument
2033 readBinderList(List<IBinder> list) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java280 * Returns list of multiple {@link CharSequence} joined into a single
285 public static CharSequence join(Iterable<CharSequence> list) { argument
287 return join(delimiter, list);
1633 * Does a comma-delimited list 'delimitedString' contain a certain item?
1671 * @param spans A list of spans retrieved using {@link Spanned#getSpans(int, int, Class)} from
/frameworks/base/core/java/android/transition/
H A DTransition.java487 * @param matches A list of zero or more of {@link #MATCH_INSTANCE},
622 * assuming that there is no match between values in the list.
787 * the Transition has no target/targetId list (the default, in which
789 * the given view is in the target list or the view id is in the
790 * targetId list. If the target parameter is null, then the target list
1034 * Removes the given targetId from the list of ids that this Transition
1051 * Removes the given targetName from the list of transitionNames that this Transition
1068 * Whether to add the given id to the list of target ids to exclude from this
1070 * should be added to or removed from the excluded list
1209 excludeObject(ArrayList<T> list, T target, boolean exclude) argument
2368 add(ArrayList<T> list, T item) argument
2383 remove(ArrayList<T> list, T item) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java515 public SetRemoteViewsAdapterList(int id, ArrayList<RemoteViews> list, int viewTypeCount) { argument
517 this.list = list;
525 list = new ArrayList<RemoteViews>();
529 list.add(rv);
538 if (list == null || list.size() == 0) {
541 int count = list.size();
544 RemoteViews rv = list.get(i);
572 ((RemoteViewsListAdapter) a).setViewsList(list);
592 ArrayList<RemoteViews> list; field in class:RemoteViews.SetRemoteViewsAdapterList
2269 setRemoteAdapter(int viewId, ArrayList<RemoteViews> list, int viewTypeCount) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java1326 private static String combineStrings(int[] list, String separator) { argument
1327 int listLength = list.length;
1334 return Integer.toString(list[0]);
1341 String[] stringList = new String[list.length];
1343 stringList[i] = Integer.toString(list[i]);
1353 sb.append(list[i]);
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp208 * The GetJavaVM function isn't on the "approved" list of JNI calls
380 JavaDeathRecipient(JNIEnv* env, jobject object, const sp<DeathRecipientList>& list) argument
382 mObjectWeak(NULL), mList(list)
385 // The list holds a strong reference to this object.
386 LOGDEATH("Adding JDR %p to DRL %p", this, list.get());
387 list->add(this);
417 sp<DeathRecipientList> list = mList.promote(); local
418 if (list != NULL) {
419 LOGDEATH("Removing JDR %p from DRL %p", this, list.get());
420 list
1152 DeathRecipientList* list = (DeathRecipientList*) local
1187 DeathRecipientList* list = (DeathRecipientList*) local
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java1738 // If already in the list - do nothing.
1883 // not shown in the initial short list. Therefore, we have
1964 private void addPrinters(List<PrinterHolder> list, Collection<PrinterInfo> printers) { argument
1967 list.add(printerHolder);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java469 static boolean addBatchLocked(ArrayList<Batch> list, Batch newBatch) { argument
470 int index = Collections.binarySearch(list, newBatch, sBatchOrder);
474 list.add(index, newBatch);
1351 private static final void dumpAlarmList(PrintWriter pw, ArrayList<Alarm> list, argument
1353 for (int i=list.size()-1; i>=0; i--) {
1354 Alarm a = list.get(i);
1373 private static final void dumpAlarmList(PrintWriter pw, ArrayList<Alarm> list, argument
1375 for (int i=list.size()-1; i>=0; i--) {
1376 Alarm a = list.get(i);
1395 // start of the list unti
[all...]
H A DInputMethodManagerService.java315 // This list contains the pairs of InputMethodInfo and InputMethodSubtype.
836 // For secondary users, the list of enabled IMEs may not have been updated since the
1730 // the same enabled IMEs list.
2662 void buildInputMethodListLocked(ArrayList<InputMethodInfo> list, argument
2668 list.clear();
2699 list.add(p);
2716 InputMethodUtils.getDefaultEnabledImes(mContext, mSystemReady, list);
2741 // the same enabled IMEs list.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DServiceStateTracker.java173 * Danmarkshavn (Denmark). The list must be sorted by code.
199 List<CellInfo> list; field in class:ServiceStateTracker.CellInfoResult
431 result.list = null;
433 result.list = (List<CellInfo>) ar.result;
436 log("EVENT_GET_CELL_INFO_LIST: size=" + result.list.size()
437 + " list=" + result.list);
441 mLastCellInfoList = result.list;
452 List<CellInfo> list = (List<CellInfo>) ar.result;
454 log("EVENT_UNSOL_CELL_INFO_LIST: size=" + list
[all...]
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java1443 public static AndroidCustomData constructAndroidCustomData(List<String> list) { argument
1447 if (list == null) {
1450 } else if (list.size() < 2) {
1451 mimeType = list.get(0);
1454 final int max = (list.size() < VCardConstants.MAX_DATA_COLUMN + 1) ? list.size()
1456 mimeType = list.get(0);
1457 dataList = list.subList(1, max);
2520 * Constructs the list of insert operation for this object. When the
2547 // the RawContact is the first operation that gets inserted into the list
2574 listToString(List<String> list) argument
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp201 const sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
202 if (list == NULL) {
209 list->findCodecByType(mime, createEncoder, index);
217 const sp<MediaCodecInfo> info = list->getCodecInfo(matchIndex);
268 const sp<IMediaCodecList> list = MediaCodecList::getInstance(); local
269 if (list == NULL) {
273 ssize_t index = list->findCodecByName(componentName);
279 const sp<MediaCodecInfo> info = list->getCodecInfo(index);
/frameworks/base/core/java/android/app/
H A DActivityThread.java1865 // For checkin, we print one long comma-separated list of values
2068 ArrayList<OnActivityPausedListener> list = mOnPauseListeners.get(activity);
2069 if (list == null) {
2070 list = new ArrayList<OnActivityPausedListener>();
2071 mOnPauseListeners.put(activity, list);
2073 list.add(listener);
2080 ArrayList<OnActivityPausedListener> list = mOnPauseListeners.get(activity);
2081 if (list != null) {
2082 list.remove(listener);
2134 ArrayList<ResultInfo> list
5160 report(int code, Object... list) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java567 // Stores a list of users whose package restrictions file needs to be updated
736 File fname = new File(systemDir, "package-usage.list");
1391 * list of process files because dexopt will have been run
1443 // The list of "shared libraries" we have at this point is
1477 String[] frameworkFiles = frameworkDir.list();
1580 * disabled packages list, then it must have been
1614 //clean up list
3057 // Get the list of persistent preferred activities that handle the intent
3130 // Get the list of preferred activities that handle the intent
3195 // it from the preferred activities list, an
3768 addPackageHoldingPermissions(ArrayList<PackageInfo> list, PackageSetting ps, String[] permissions, boolean[] tmp, int flags, int userId) argument
5094 hasString(List<String> list, List<String> which) argument
[all...]
/frameworks/testing/espresso/libs/
H A Dguava-14.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...

Completed in 778 milliseconds

1234