HomeSort by relevance Sort by last modified time
    Searched defs:list (Results 326 - 350 of 4851) sorted by null

<<11121314151617181920>>

  /system/sepolicy/tools/sepolicy-analyze/
attribute.c 6 fprintf(stderr, "\tattribute [-l|--list] [-r|--reverse] <name>\n");
76 int list = 0; local
81 {"list", no_argument, NULL, 'l'},
89 list = 1;
100 if ((argc != 2 && !(reverse && argc == 3)) || (list && reverse)) {
104 if (list)
  /tools/loganalysis/tests/src/com/android/loganalysis/util/
ArrayUtilTest.java 21 import java.util.List;
44 List<String> list = Arrays.asList("alpha", "beta", "gamma"); local
46 String str = ArrayUtil.join(", ", list);
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
ArrayUtilTest.java 21 import java.util.List;
44 List<String> list = Arrays.asList("alpha", "beta", "gamma"); local
46 String str = ArrayUtil.join(", ", list);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MockTvInputSetupActivity.java 107 ArrayList<ContentValues> list = new ArrayList<>(); local
113 list.add(new ContentValues(values));
115 getContentResolver().bulkInsert(Programs.CONTENT_URI, list.toArray(
  /cts/tests/tests/media/src/android/media/cts/
TestUtils.java 34 import java.util.List;
56 List<SessionToken2> tokens = manager.getSessionServiceTokens();
103 public static List<MediaItem2> createPlaylist(int size) {
104 final List<MediaItem2> list = new ArrayList<>(); local
107 list.add(new MediaItem2.Builder(MediaItem2.FLAG_PLAYABLE)
115 return list;
  /cts/tests/tests/webkit/src/android/webkit/cts/
WebBackForwardListTest.java 58 WebBackForwardList list = mOnUiThread.copyBackForwardList(); local
60 assertNull(list.getCurrentItem());
61 assertEquals(0, list.getSize());
62 assertEquals(-1, list.getCurrentIndex());
63 assertNull(list.getItemAtIndex(-1));
64 assertNull(list.getItemAtIndex(2));
92 WebBackForwardList list = mOnUiThread.copyBackForwardList(); local
93 if (list.getSize() != url.length) {
96 if (list.getCurrentIndex() != url.length - 1) {
100 WebHistoryItem item = list.getItemAtIndex(i)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
TypeListItem.java 27 * Representation of a list of class references.
39 /** {@code non-null;} the actual list */
40 private final TypeList list; field in class:TypeListItem
45 * @param list {@code non-null;} the actual list
47 public TypeListItem(TypeList list) {
48 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
50 this.list = list;
56 return StdTypeList.hashContents(list);
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
AttributeListParser.java 36 /** offset in the byte array of the classfile to the start of the list */
42 /** {@code non-null;} list of parsed attributes */
43 private final StdAttributeList list; field in class:AttributeListParser
45 /** {@code >= -1;} the end offset of this list in the byte array of the
57 * @param offset offset in {@code bytes} to the start of the list
76 this.list = new StdAttributeList(size);
101 * Gets the parsed list.
103 * @return {@code non-null;} the list
107 return list;
123 int sz = list.size()
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
TypeListItem.java 26 * Representation of a list of class references.
38 /** {@code non-null;} the actual list */
39 private final TypeList list; field in class:TypeListItem
44 * @param list {@code non-null;} the actual list
46 public TypeListItem(TypeList list) {
47 super(ALIGNMENT, (list.size() * ELEMENT_SIZE) + HEADER_SIZE);
49 this.list = list;
55 return StdTypeList.hashContents(list);
    [all...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader2.java 31 import java.util.List;
45 // Populate our list
145 public RssDataAdapter(Context context, int resource, List objects) {
149 // Here's our only important override--returning the list item.
171 // Method to initialize our list of RSS items.
173 ArrayList<RssItem> list = new ArrayList<RssItem>(); local
174 list.add(new RssItem("http://www.sciam.com/xml/sciam.xml", "Scientific American"));
175 list.add(new RssItem("http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml", "BBC"));
176 list.add(new RssItem("http://www.theonion.com/content/feeds/daily.", "The Onion"));
177 list.add(new RssItem("http://feeds.engadget.com/weblogsinc/engadget", "Engadget"))
    [all...]
MyRssReader3.java 32 import java.util.List;
48 // Populate our list
153 public RssDataAdapter(Context context, int resource, List objects) {
157 // Here's our only important override--returning the list item.
175 // Method to initialize our list of RSS items.
177 ArrayList<RssItem> list = new ArrayList<RssItem>(); local
178 list.add(new RssItem("http://www.sciam.com/xml/sciam.xml", "Scientific American"));
179 list.add(new RssItem("http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml", "BBC"));
180 list.add(new RssItem("http://feeds.theonion.com/theonion/daily", "The Onion"));
181 list.add(new RssItem("http://feeds.engadget.com/weblogsinc/engadget", "Engadget"))
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
BasicOCSPRespBuilder.java 7 import java.util.List;
34 private List list = new ArrayList(); field in class:BasicOCSPRespBuilder
209 list.add(new ResponseObject(certID, certStatus, thisUpdate, nextUpdate, singleExtensions));
233 Iterator it = list.iterator();
OCSPReqBuilder.java 6 import java.util.List;
25 private List list = new ArrayList(); field in class:OCSPReqBuilder
57 list.add(new RequestObject(certId, null));
72 list.add(new RequestObject(certId, singleRequestExtensions));
111 Iterator it = list.iterator();
  /external/caliper/caliper/src/test/java/com/google/caliper/runner/
BadUserCodeTest.java 29 import java.util.List;
168 // We dump items into this list so the jit cannot remove the allocations
169 static List<Object> list = Lists.newArrayList(); field in class:BadUserCodeTest.NonDeterministicAllocationBenchmark
173 list.add(new Object());
174 return list.hashCode();
209 // We dump items into this list so the jit cannot remove the allocations
210 List<Object> list = Lists.newArrayList(); local
213 list.add(new Object())
    [all...]
  /external/javassist/src/main/javassist/bytecode/
ExceptionTable.java 58 ArrayList list = new ArrayList(length); local
64 list.add(new ExceptionTableEntry(start, end, handle, type));
67 entries = list;
  /external/jcommander/src/test/java/com/beust/jcommander/
DefaultValueTest.java 27 import java.util.List;
40 Assert.assertEquals(opts.list.size(), 1);
41 Assert.assertEquals(opts.list.get(0), "anotherValue");
50 Assert.assertEquals(opts.list.size(), 1);
51 Assert.assertEquals(opts.list.get(0), "anotherValue");
72 Assert.assertEquals(opts.list.size(), 2);
73 Assert.assertEquals(opts.list.get(0), "anotherValue");
74 Assert.assertEquals(opts.list.get(1), "anotherValue2");
83 public List<String> list; field in class:DefaultValueTest.MyOpts
103 List<String> list = Lists.newArrayList(); local
    [all...]
  /external/nist-sip/java/gov/nist/core/
MultiValueMapImpl.java 30 import java.util.List;
44 public List<V> put(String key, V value) {
64 ArrayList list = (ArrayList) (keyValuePair.getValue()); local
65 if (list.contains(value))
76 ArrayList list = (ArrayList) (keyValuePair.getValue()); local
77 list.clear();
89 ArrayList list = (ArrayList) (keyValuePair.getValue()); local
91 Object[] values = list.toArray();
127 ArrayList<V> list = this.map.get(key);
128 if (list == null)
    [all...]
  /external/smali/util/src/test/java/org/jf/util/
AbstractForwardSequentialListTest.java 10 * notice, this list of conditions and the following disclaimer.
12 * copyright notice, this list of conditions and the following disclaimer
40 import java.util.List;
45 private List<Integer> list; field in class:AbstractForwardSequentialListTest
49 list = new AbstractForwardSequentialList<Integer>() {
97 testForwardIterationImpl(list.listIterator());
120 testReverseIterationImpl(list.listIterator(100));
125 ListIterator<Integer> iter = list.listIterator(50);
146 ListIterator<Integer> iter = list.listIterator(0)
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue74/
ArrayBeanTest.java 19 import java.util.List;
39 List<ArrayMember> list = new ArrayList<ArrayMember>(2); local
40 list.add(new ArrayMember("John", 111));
41 list.add(new ArrayMember("Tony", 222));
42 bean.setList(list);
65 private List<ArrayMember> list; field in class:ArrayBeanTest.ArrayBean
91 public List<ArrayMember> getList() {
92 return list;
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
ClientWakelockTracker.java 27 import java.util.List;
74 List<ClientRequestStats> getClientRequestStats() {
75 List<ClientRequestStats> list; local
78 list = new ArrayList<>(mClients.size());
82 list.add(new ClientRequestStats(client.mRequestStats));
85 return list;
  /frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
DirectedAcyclicGraph.java 29 import java.util.List;
87 // Finally add the edge to the list
94 * @return a list containing any incoming edges, or null if there are none.
97 public List getIncomingEdges(@NonNull T node) {
105 * @return a list containing any outgoing edges, or null if there are none.
108 public List<T> getOutgoingEdges(@NonNull T node) {
153 * Returns a topologically sorted list of the nodes in this graph. This uses the DFS algorithm
157 * <p>The resulting list will be ordered such that index 0 will contain the node at the bottom
158 * of the graph. The node at the end of the list will have no dependencies on other nodes.</p>
175 // We've already seen and added the node to the result list, skip..
205 ArrayList<T> list = mListPool.acquire(); local
    [all...]
  /frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
PrimaryKeyTest.java 42 import java.util.List;
143 List<IntegerPKeyEntity> list = mDatabase.integerPKeyDao().loadAll(); local
144 assertThat(list.size(), is(1));
145 assertThat(list.get(0).data, is("data"));
146 assertNotNull(list.get(0).pKey);
  /frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
BottomSheetDynamicContent.java 85 RecyclerView list = findViewById(R.id.list); local
86 list.setLayoutManager(new LinearLayoutManager(this));
91 list.setAdapter(mAdapter);
92 mBehavior = BottomSheetBehavior.from(list);
  /libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DoubleStreamTestDataProvider.java 81 List<Object[]> list = new ArrayList<>(); external variable declarations
86 list.add(new Object[]{"array:" + name,
93 list.add(new Object[]{"SpinedList:" + name,
96 testData = list.toArray(new Object[0][]);
100 List<Object[]> spliterators = new ArrayList<>();
IntStreamTestDataProvider.java 81 List<Object[]> list = new ArrayList<>(); external variable declarations
86 list.add(new Object[]{"array:" +
93 list.add(new Object[]{"SpinedList:" + name,
96 list.add(streamDataDescr("IntStream.intRange(0,l): " + ints.length,
98 list.add(streamDataDescr("IntStream.rangeClosed(0,l): " + ints.length,
101 testData = list.toArray(new Object[0][]);
105 List<Object[]> spliterators = new ArrayList<>();

Completed in 1249 milliseconds

<<11121314151617181920>>