/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Lines.java | 60 final ArrayList<Line> list = new ArrayList<Line>(); in readLines() local 66 list.add(new Line(lineno, text)); in readLines() 69 return new Lines<Line>(list); in readLines() 75 public Lines(ArrayList<? extends Line> list) { in Lines() argument 76 this.mList = list; in Lines() 86 private Lines(ArrayList<? extends Line> list, int min, int max) { in Lines() argument 87 mList = list; in Lines()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | EventScheduler.java | 156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add() local 157 if (list == null) { in add() 160 list = new FastEventQueue(event); in add() 161 mEventBuffer.put(event.getTimestamp(), list); in add() local 168 list.add(event); in add() 176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked() local 178 if ((list.size() == 1)) { in removeNextEventLocked() 181 event = list.remove(); in removeNextEventLocked()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | EventScheduler.java | 156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add() local 157 if (list == null) { in add() 160 list = new FastEventQueue(event); in add() 161 mEventBuffer.put(event.getTimestamp(), list); in add() local 168 list.add(event); in add() 176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked() local 178 if ((list.size() == 1)) { in removeNextEventLocked() 181 event = list.remove(); in removeNextEventLocked()
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PickerActivity.java | 61 mList = findViewById(R.id.list); in onCreate() 116 protected void onPostExecute(String[] list) { 117 if (list != null) { 118 mAllItems = list; 128 final ArrayList<String> list = new ArrayList<>(mAllItems.length); in refreshList() local 133 list.add(s); in refreshList() 137 mAdapter.addAll(list); in refreshList()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduHeaders.java | 563 ArrayList<EncodedStringValue> list = in getEncodedStringValues() local 565 if (null == list) { in getEncodedStringValues() 568 EncodedStringValue[] values = new EncodedStringValue[list.size()]; in getEncodedStringValues() 569 return list.toArray(values); in getEncodedStringValues() 637 ArrayList<EncodedStringValue> list = new ArrayList<EncodedStringValue>(); in setEncodedStringValues() local 639 list.add(value[i]); in setEncodedStringValues() 641 mHeaderMap.put(field, list); in setEncodedStringValues() 666 ArrayList<EncodedStringValue> list = in appendEncodedStringValue() local 668 if (null == list) { in appendEncodedStringValue() 669 list = new ArrayList<EncodedStringValue>(); in appendEncodedStringValue() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LinearLayout9.java | 36 ListView list = (ListView) findViewById(R.id.list); in onCreate() local 37 list.setAdapter(new ArrayAdapter<String>(this, in onCreate()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | MyRssReader2.java | 173 ArrayList<RssItem> list = new ArrayList<RssItem>(); in initializeList() local 174 list.add(new RssItem("http://www.sciam.com/xml/sciam.xml", "Scientific American")); in initializeList() 175 …list.add(new RssItem("http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml", "… in initializeList() 176 list.add(new RssItem("http://www.theonion.com/content/feeds/daily.", "The Onion")); in initializeList() 177 list.add(new RssItem("http://feeds.engadget.com/weblogsinc/engadget", "Engadget")); in initializeList() 178 return list; in initializeList()
|
D | MyRssReader3.java | 177 ArrayList<RssItem> list = new ArrayList<RssItem>(); in initializeList() local 178 list.add(new RssItem("http://www.sciam.com/xml/sciam.xml", "Scientific American")); in initializeList() 179 …list.add(new RssItem("http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml", "… in initializeList() 180 list.add(new RssItem("http://feeds.theonion.com/theonion/daily", "The Onion")); in initializeList() 181 list.add(new RssItem("http://feeds.engadget.com/weblogsinc/engadget", "Engadget")); in initializeList() 182 return list; in initializeList()
|
/development/tools/cargo_embargo/ |
D | README.md | 70 | `features` | list of strings | - … 72 …cludes` | list of strings | `[]` … 74 | `apex_available` | list of strings | `["//apex_available:platform", "//apex_a… 83 …list` | list of strings | `[]` … 84 | `extra_cfg` | list of strings | `[]` … 85 …blocklist` | list of strings | `[]` … 86 | `module_visibility` | string => list of strings | `{}` … 110 | `dep_blocklist` | list of strings | `[]` | yes | Modules in this lis… 113 | `test_data` | string => list of strings | `{}` | yes | Add the given files… 114 | `whole_static_libs` | list of strings | `[]` | yes | Static libraries in… [all …]
|
/development/python-packages/adb/adb/ |
D | __init__.py | 45 self, cmd: list[str], stdout: str, stderr: str, exit_code: int 55 def get_devices(adb_path: str = 'adb') -> list[str]: 167 def split_lines(s: str) -> list[str]: 182 def version(adb_path: list[str] | None = None) -> int: 224 self._features: list[str] | None = None 234 def features(self) -> list[str]: 245 def _make_shell_cmd(self, user_cmd: list[str]) -> list[str]: 279 def _simple_call(self, cmd: list[str]) -> str: 284 def shell(self, cmd: list[str]) -> tuple[str, str]: 302 def shell_nocheck(self, cmd: list[str]) -> tuple[int, str, str]: [all …]
|
/development/samples/browseable/DirectShare/src/com.example.android.directshare/ |
D | SelectContactActivity.java | 53 ListView list = (ListView) findViewById(R.id.list); in onCreate() local 54 list.setAdapter(mAdapter); in onCreate() 55 list.setOnItemClickListener(mOnItemClickListener); in onCreate()
|
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
D | MonkeyLogParser.java | 78 ArrayList<Line> list = new ArrayList<Line>(); in extractAnrLines() local 93 list.add(new Line(lineno, line.text)); in extractAnrLines() 101 list.add(new Line(lineno, line.text)); in extractAnrLines() 109 return new Lines<Line>(list); in extractAnrLines()
|
/development/apps/Development/src/com/android/development/ |
D | PermissionDetails.java | 95 AppListAdapter(List<PackageInfo> list) { in AppListAdapter() argument 96 mList = list; in AppListAdapter() 143 private void createAppList(List<PackageInfo> list) { in createAppList() argument 144 Log.i(TAG, "list.size=" + list.size()); in createAppList() 145 for (PackageInfo pkg : list) { in createAppList() 148 ListView listView = (ListView)findViewById(android.R.id.list); in createAppList() 149 mAdapter = new AppListAdapter(list); in createAppList() 150 ListView lv= (ListView) findViewById(android.R.id.list); in createAppList() 158 List<PackageInfo> list = mPm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in getAppsUsingPerm() local 160 for (PackageInfo pkg : list) { in getAppsUsingPerm()
|
D | ArrayAdapter.java | 36 public void setSource(List<E> list) { in setSource() argument 37 mList = list; in setSource()
|
/development/apps/ShareTest/src/com/android/sharetest/ |
D | ImageContentProvider.kt | 47 val list = ArrayList<String>(2) in getStreamTypes() constant 48 uri.getQueryParameter(PARAM_TYPE)?.let { list.add(it) } in getStreamTypes() 49 getTypeFromUri(uri)?.let { list.add(it) } in getStreamTypes() 50 return if (list.isEmpty()) { in getStreamTypes() 53 list.toArray(emptyArray()) in getStreamTypes()
|
/development/tools/winscope/src/cross_tool/ |
D | origin_allow_list.ts | 32 const list = OriginAllowList.getList(mode); constant 34 for (const regex of list) {
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerFragment.java | 177 List<ResolveInfo> list = activity.getPackageManager() in retrieveCurrentSettings() local 179 mAdapter = new LauncherAdapter(activity, list); in retrieveCurrentSettings() 187 for (int i = 0; i < list.size(); ++i) { in retrieveCurrentSettings() 188 if (list.get(i).activityInfo.packageName.equals(packageName)) { in retrieveCurrentSettings() 309 public LauncherAdapter(Context context, List<ResolveInfo> list) { in LauncherAdapter() argument 310 super(context, createData(list), android.R.layout.simple_list_item_1, in LauncherAdapter() 315 private static List<HashMap<String, String>> createData(List<ResolveInfo> list) { in createData() argument 317 for (ResolveInfo info : list) { in createData()
|
/development/vndk/tools/elfcheck/bpflatten/ |
D | main.go | 54 } else if list, ok := value.(*parser.List); ok { 56 for _, v := range list.Values { 140 var list []string 142 list = append(list, fmt.Sprintf("%v", s)) 144 propValue = fmt.Sprintf("%s", strings.Join(list, " "))
|
/development/tools/otagui/src/components/ |
D | PartialCheckbox.vue | 55 let list = [] 58 list.push(key) 61 this.$emit('update:modelValue', list) 99 list-style-type: none;
|
D | BuildLibrary.vue | 71 * Fetch the build list from backend. 79 "Cannot fetch Android Builds list from the backend, for the following reasons:" 94 "Cannot fetch Android Builds list from the backend, for the following reasons: " 116 list-style: none
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | CheckVoiceData.java | 100 ArrayList<String> list = intent.getStringArrayListExtra( in getCheckVoiceDataFor() local 103 if (list != null) { in getCheckVoiceDataFor() 104 for (String lang : list) { in getCheckVoiceDataFor()
|
/development/tools/mkstubs/tests/data/ |
D | TestTemplateClass.java | 50 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort() argument 53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) { in getMap() argument
|
/development/tools/otagui/ |
D | target_lib.py | 26 partitions: list[str] = field(default_factory=list) 35 line = list(filter(pattern.search, lines))[0] 167 return list(map(self.sql_to_buildinfo, cursor.fetchall()))
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentListArray.java | 41 ArrayListFragment list = new ArrayListFragment(); in onCreate() local 42 getFragmentManager().beginTransaction().add(android.R.id.content, list).commit(); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
D | ApiDemos.java | 62 List<ResolveInfo> list = pm.queryIntentActivities(mainIntent, 0); in getData() local 64 if (null == list) in getData() 77 int len = list.size(); in getData() 82 ResolveInfo info = list.get(i); in getData()
|