Home
last modified time | relevance | path

Searched refs:findAll (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputSliceTest.java119 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_workerIsNull_shouldReturnZeroRow()
131 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_bluetoothIsDisable_shouldReturnZeroRow()
143 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_audioModeIsOngoingCall_shouldReturnZeroRow()
238 assertThat(SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, null).size()) in getSlice_inGroupState_checkSliceSize()
272 assertThat(SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, null).size()) in getSlice_notInGroupState_checkSliceSize()
299 final String sliceInfo = SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_singleCastDevice_notContainGroupIconText()
334 String sliceInfo = SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_multipleCastDevices_containGroupIconText()
370 final String sliceInfo = SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_onTransferring_containTransferringSubtitle()
408 final String sliceInfo = SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_onTransferringFailed_containFailedSubtitle()
435 String sliceInfo = SliceQuery.findAll(mediaSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getSlice_zeroState_containPairingText()
[all …]
DRemoteMediaSliceTest.java132 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, null).size(); in getSlice_noActiveSession_checkRowNumber()
140 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, null).size(); in getSlice_withActiveSession_checkRowNumber()
DMediaOutputGroupSliceTest.java154 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, null).size(); in getSlice_withOneSelectableDevice_checkRowNumber()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java672 assertEquals(list1, IpClient.findAll(list1, (x) -> true)); in testFindAll()
673 assertEquals(list1, IpClient.findAll(list3, (x) -> false)); in testFindAll()
674 assertEquals(list3, IpClient.findAll(list3, (x) -> true)); in testFindAll()
675 assertEquals(list2, IpClient.findAll(list3, (x) -> x.charAt(0) == 'f')); in testFindAll()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java119 final int rows = SliceQuery.findAll(wifiSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getWifiSlice_wifiOff_shouldReturnSingleRow()
130 final int rows = SliceQuery.findAll(wifiSlice, FORMAT_SLICE, HINT_LIST_ITEM, in getWifiSlice_noAp_shouldReturnLoadingRow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java275 List<SliceItem> textItems = SliceQuery.findAll(item, FORMAT_TEXT, hints, in hasText()
300 List<SliceItem> iconItems = SliceQuery.findAll(item, FORMAT_IMAGE, in assertAnySliceItemContainsIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DEnhanced4gLteSliceHelperTest.java260 final List<SliceItem> titleItems = SliceQuery.findAll(item, FORMAT_TEXT, HINT_TITLE, in assertTitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothDevicesSliceTest.java226 final int rows = SliceQuery.findAll(slice, FORMAT_SLICE, HINT_LIST_ITEM, null).size(); in getSlice_exceedDefaultRowCount_shouldOnlyShowHeaderAndDefaultRowCount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelperTest.java412 final List<SliceItem> titleItems = SliceQuery.findAll(item, FORMAT_TEXT, HINT_TITLE, in assertTitle()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreferencesUtil.java225 SliceQuery.findAll(sliceItem, null, HINT_TITLE, null); in extract()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1530 for (LinkAddress addr : findAll(config.ipAddresses, LinkAddress::isIpv6)) { in applyInitialConfig()
2244 static <T> List<T> findAll(Collection<T> coll, Predicate<T> fn) { in findAll() method in IpClient