Searched defs:matches (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DResolveCache.java136 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent,
141 final int size = matches.size();
143 bestResolve = matches.get(0);
145 bestResolve = getBestResolve(intent, matches);
169 protected ResolveInfo getBestResolve(Intent intent, List<ResolveInfo> matches) { argument
183 for (ResolveInfo info : matches) {
194 return firstSystem != null ? firstSystem : matches.get(0);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDeviceFilter.java28 * passed to it matches the specified filter type constant from
36 boolean matches(BluetoothDevice device); method in interface:BluetoothDeviceFilter.Filter
77 /** Filter that matches all devices. */
79 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.AllFilter
84 /** Filter that matches only bonded devices. */
86 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.BondedDeviceFilter
91 /** Filter that matches only unbonded devices. */
93 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.UnbondedDeviceFilter
100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); method in class:BluetoothDeviceFilter.ClassUuidFilter
102 public boolean matches(BluetoothDevic method in class:BluetoothDeviceFilter.ClassUuidFilter
110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.AudioFilter
131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.TransferFilter
145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.PanuFilter
159 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.NapFilter
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java363 * @param matches Pairs of start/end positions.
365 private static void findPhoneNumber(String text, String[] matches) { argument
370 if (results.length / 2 != matches.length) {
371 fail("Text '" + text + "': expected " + matches.length
372 + " matches, found " + results.length / 2);
377 assertEquals(matches[i], seq);

Completed in 1049 milliseconds