Home
last modified time | relevance | path

Searched refs:List (Results 1 – 25 of 201) sorted by relevance

123456789

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkViews.java43 import java.util.List;
77 public MonkeyCommandReturn query(AccessibilityNodeInfo node, List<String> args); in query()
150 List<AccessibilityNodeInfo> infos = client.findAccessibilityNodeInfosByViewId( in getNodeByViewId()
162 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
198 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
204 List<String> args; in translateCommand()
243 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
258 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
263 List<AccessibilityNodeInfo> nodes = AccessibilityInteractionClient.getInstance() in translateCommand()
268 List<String> emptyArgs = new ArrayList<String>(); in translateCommand()
[all …]
DMonkeySourceNetwork.java42 import java.util.List;
104 MonkeyCommandReturn translateCommand(List<String> command, CommandQueue queue); in translateCommand()
113 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
137 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
181 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
210 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
272 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
295 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
323 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
338 public MonkeyCommandReturn translateCommand(List<String> command, in translateCommand()
[all …]
DMonkeyPermissionUtil.java32 import java.util.List;
68 private List<String> mTargetedPackages;
74 private Map<String, List<PermissionInfo>> mPermissionMap;
116 List<?> pkgInfos = mPm.getInstalledPackages( in populatePermissionsMapping()
123 List<PermissionInfo> permissions = new ArrayList<>(); in populatePermissionsMapping()
153 for (Map.Entry<String, List<PermissionInfo>> e : mPermissionMap.entrySet()) { in dump()
175 List<PermissionInfo> infos = mPermissionMap.get(pkg); in generateRandomPermissionEvent()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DFlagUtils.java31 import java.util.List;
41 private static List<ActivityInfo> sActivityInfos = null;
51 public static List<String> discoverFlags(Intent intent) { in discoverFlags()
71 public static List<String> getIntentFlagsAsString() {
82 public static List<IntentFlag> getAllIntentFlags() {
90 public static Map<String, List<String>> intentFlagsByCategory() {
91 Map<String, List<String>> categories = new HashMap<>();
92 List<String> allFlags = getIntentFlagsAsString();
93 List<String> nonUser = new LinkedList<>();
94 List<String> recentsAndUi = new LinkedList<>();
[all …]
DTracking.java12 import java.util.List;
50 private List<Consumer<List<Task>>> mListeners = new ArrayList<>();
167 List<Task> tasks = mTaskOrdering.stream().map(Task::copyForUi).collect(toList()); in notifyListeners()
169 for (Consumer<List<Task>> listener : mListeners) { in notifyListeners()
174 public synchronized void addListener(Consumer<List<Task>> listener) { in addListener()
178 public synchronized void removeListener(Consumer<List<Task>> listener) { in removeListener()
199 protected final List<Activity> mActivities;
202 Task(int id, List<Activity> activities) { in Task()
274 public static <T> List<T> reverseAndCopy(List<T> ts) { in reverseAndCopy()
276 List<T> result = new ArrayList<>(); in reverseAndCopy()
DIntentBuilderView.java47 import java.util.List;
67 private List<RadioButton> mRadioButtons;
120 List<ActivityInfo> activities = Arrays.asList(packInfo.activities); in setupViews()
121 Map<ActivityInfo, List<String>> activityToFlags = new HashMap<>(); in setupViews()
134 List<RadioButton> radioButtons = new ArrayList<>(); in setupViews()
140 List<String> manifestFlags = activityEntry.getValue(); in setupViews()
173 private void fillCheckBoxLayout(ViewGroup layout, Map<String, List<String>> categories, in fillCheckBoxLayout()
265 List<String> suggestions = flag.getComplements().stream().map(IntentFlag::getName) in suggestFlags()
275 private boolean hasSuggestion(List<String> suggestions, CheckBox box) { in hasSuggestion()
296 private List<CheckBox> getAllCheckBoxes() { in getAllCheckBoxes()
[all …]
DBaseActivityViewModel.java23 import java.util.List;
37 private final MutableLiveData<List<Tracking.Task>> mRefreshTree;
38 private final Consumer<List<Tracking.Task>> mTrackingListener;
60 public LiveData<List<Tracking.Task>> getRefresh() { in getRefresh()
/development/vndk/tools/header-checker/tests/input/
Dexample1.h87 class List
101 friend class List; variable
111 typedef List<float> float_list;
114 typedef List<int> int_list;
116 List<float>::_Node node(2);
120 List<IChild> castInterface(List<IParent> parent, const char *childIndicator, bool emitError) {retur… in castInterface()
123 castInterface<float, float, float , float>(List<float>(), "foo", true); in format()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListViewModel.java32 import java.util.List;
48 public LiveData<List<AppEntry>> getAppList() { in getAppList()
57 class AppListLiveData extends LiveData<List<AppEntry>> {
70 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
72 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
76 List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
79 List<AppEntry> entries = new ArrayList<>(); in loadData()
90 protected void onPostExecute(List<AppEntry> data) { in loadData()
DPinnedAppListViewModel.java34 import java.util.List;
53 public LiveData<List<AppEntry>> getPinnedAppList() { in getPinnedAppList()
58 class PinnedAppListLiveData extends LiveData<List<AppEntry>> {
82 new AsyncTask<Void, Void, List<AppEntry>>() { in loadData()
84 protected List<AppEntry> doInBackground(Void... voids) { in loadData()
85 List<AppEntry> entries = new ArrayList<>(); in loadData()
98 final List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, in loadData()
113 protected void onPostExecute(List<AppEntry> data) { in loadData()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderCustom.java27 import java.util.List;
209 public static class AppListLoader extends AsyncTaskLoader<List<AppEntry>> {
213 List<AppEntry> mApps;
230 @Override public List<AppEntry> loadInBackground() { in loadInBackground()
232 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
242 List<AppEntry> entries = new ArrayList<AppEntry>(apps.size()); in loadInBackground()
261 @Override public void deliverResult(List<AppEntry> apps) { in deliverResult()
269 List<AppEntry> oldApps = mApps; in deliverResult()
323 @Override public void onCanceled(List<AppEntry> apps) { in onCanceled()
358 protected void onReleaseResources(List<AppEntry> apps) { in onReleaseResources()
[all …]
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DConversations.java21 import java.util.List;
63 private final List<String> messages;
68 List<String> messages) { in Conversation()
83 public List<String> getMessages() { in getMessages()
113 private static List<String> makeMessages(int messagesPerConversation) { in makeMessages()
115 List<String> messages = new ArrayList<>(messagesPerConversation); in makeMessages()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNonsenseGenerator.java19 import java.util.List;
77 List<String> words = new ArrayList<String>(); in makeSentence()
105 private void generateSentence(List<String> words, boolean isHeadline) { in generateSentence()
112 private void generateTimeClause(List<String> words, boolean isHeadline) { in generateTimeClause()
124 private void generateAgent(List<String> words, boolean isHeadline) { in generateAgent()
134 private void generatePredicate(List<String> words, boolean isHeadline) { in generatePredicate()
159 private static String joinWords(List<String> words) { in joinWords()
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/
DLocationDataManager.java26 import java.util.List;
34 private final Map<String, List<LocationEntry>> mPointsMap =
35 new HashMap<String, List<LocationEntry>>();
49 public final List<LocationEntry> getPoints(Calendar calendar) { in getPoints()
54 List<LocationEntry> points = mDbHelper.read(calendar); in getPoints()
79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DExpandableList3.java26 import java.util.List;
43 List<Map<String, String>> groupData = new ArrayList<Map<String, String>>(); in onCreate()
44 List<List<Map<String, String>>> childData = new ArrayList<List<Map<String, String>>>(); in onCreate()
51 List<Map<String, String>> children = new ArrayList<Map<String, String>>(); in onCreate()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java27 import java.util.List;
39 public static List<MediaSession.QueueItem> getPlayingQueue(String mediaId, in getPlayingQueue()
70 public static List<MediaSession.QueueItem> getPlayingQueueFromSearch(String query, in getPlayingQueueFromSearch()
103 private static List<MediaSession.QueueItem> convertToQueue( in convertToQueue()
105 List<MediaSession.QueueItem> queue = new ArrayList<>(); in convertToQueue()
135 public static List<MediaSession.QueueItem> getRandomQueue(MusicProvider musicProvider) { in getRandomQueue()
146 public static boolean isIndexPlayable(int index, List<MediaSession.QueueItem> queue) { in isIndexPlayable()
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_ast.py23 from blueprint import Bool, Concat, Dict, Expr, Integer, List, String, VarRef
197 expr = VarRef('a', List([VarRef('x', None), VarRef('y', None)]))
199 self.assertIsInstance(expr_eval, List)
214 expr = List([String('a'), String('b')])
218 expr = List([VarRef('a', None), VarRef('b', None)])
234 lhs = List([String('a'), String('b')])
235 rhs = List([String('c'), String('d')])
242 self.assertIsInstance(expr_eval, List)
268 list_obj = List()
/development/tools/mkstubs/tests/data/
DTestTemplateClass.java23 import java.util.List;
47 public void draw(List<? extends Rect> shape) { in draw()
50 public static <T extends Comparable<? super T>> void sort(List<T> list) { in sort()
53 public <X extends T, Y> void getMap(List<T> list, Map<T, U> tu, Map<X, Set<? super Y>> xy) { in getMap()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java28 import java.util.List;
52 public static final HashMap<String, List<Attraction>> ATTRACTIONS =
53 new HashMap<String, List<Attraction>>() {{
112 public static List<Geofence> getGeofenceList() { in getGeofenceList()
113 List<Geofence> geofenceList = new ArrayList<Geofence>(); in getGeofenceList()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeListAdapter.java35 import java.util.List;
47 private List<Item> mItems = new ArrayList<Item>();
59 List<Item> items = parseJson(jsonObject); in loadRecipeList()
64 private List<Item> parseJson(JSONObject json) { in parseJson()
65 List<Item> result = new ArrayList<Item>(); in parseJson()
86 private void appendItemsToList(List<Item> items) { in appendItemsToList()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java31 import java.util.List;
50 protected List<SampleInfo> querySampleActivities() { in querySampleActivities()
56 List<ResolveInfo> infos = pm.queryIntentActivities(intent, 0); in querySampleActivities()
87 private List<SampleInfo> mItems;
89 public SampleAdapter(List<SampleInfo> items) { in SampleAdapter()
/development/tools/idegen/src/
DExcludes.java18 import java.util.List;
25 private final List<Pattern> patterns;
30 public Excludes(List<Pattern> patterns) { in Excludes()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragmentFragment.java32 import java.util.List;
187 private void onRefreshComplete(List<String> result) { in onRefreshComplete()
205 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
210 protected List<String> doInBackground(Void... params) { in doInBackground()
223 protected void onPostExecute(List<String> result) { in onPostExecute()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.swiperefreshlayoutbasic/
DSwipeRefreshLayoutBasicFragment.java35 import java.util.List;
191 private void onRefreshComplete(List<String> result) { in onRefreshComplete()
208 private class DummyBackgroundTask extends AsyncTask<Void, Void, List<String>> {
213 protected List<String> doInBackground(Void... params) { in doInBackground()
226 protected void onPostExecute(List<String> result) { in onPostExecute()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectoryEntryAdapter.java26 import java.util.List;
34 private List<DirectoryEntry> mDirectoryEntries;
69 public DirectoryEntryAdapter(List<DirectoryEntry> directoryEntries) { in DirectoryEntryAdapter()
97 public void setDirectoryEntries(List<DirectoryEntry> directoryEntries) { in setDirectoryEntries()

123456789