Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 1399) sorted by relevance

12345678910>>...56

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/correction/filtering/
DMedAvgFilterTest.java29 MedAvgFilter filter = new MedAvgFilter(3, 1); in averageTest() local
30 filter.add(1, 0, 1); in averageTest()
31 filter.add(2, 0, 1); in averageTest()
32 filter.add(3, 0, 1); in averageTest()
33 assertThat(filter.getResult().value).isEqualTo((1 + 2 + 3) / 3f); in averageTest()
39 MedAvgFilter filter = new MedAvgFilter(3, 1); in slideTest() local
40 filter.add(1, 0, 1); in slideTest()
41 filter.add(2, 0, 1); in slideTest()
42 filter.add(3, 0, 1); in slideTest()
43 filter.add(4, 0, 1); in slideTest()
[all …]
DMedAvgRotationFilterFilterTest.java32 MedAvgRotationFilter filter = new MedAvgRotationFilter(3, 1); in averageTest() local
33 filter.add((float) toRadians(175), 0, 1); in averageTest()
34 filter.add((float) toRadians(-175), 0, 1); in averageTest()
35 filter.add((float) toRadians(5), 0, 1); in averageTest()
38 assertClose(filter.getResult().value, toRadians((175 + (360 - 175) + 5) / 3f)); in averageTest()
43 MedAvgRotationFilter filter = new MedAvgRotationFilter(3, 1); in remapTest() local
44 filter.add((float) toRadians(175), 0, 1); in remapTest()
45 filter.add((float) toRadians(-175), 0, 1); in remapTest()
46 filter.add((float) toRadians(5), 0, 1); in remapTest()
49 filter.remap(b -> b + F_HALF_PI); in remapTest()
[all …]
/packages/modules/StatsD/statsd/tests/
DLogEventFilter_test.cpp40 bool testGuaranteedUnusedAtomsNotInUse(const LogEventFilter& filter) { in testGuaranteedUnusedAtomsNotInUse() argument
44 atLeastOneInUse |= filter.isAtomInUse(atomId); in testGuaranteedUnusedAtomsNotInUse()
52 filter.setFilteringEnabled(true); in SetUp()
54 LogEventFilter filter; member in android::os::statsd::__anon79d514f50111::LogEventFilterTest
62 EXPECT_FALSE(filter.isAtomInUse(atomId)); in TEST_F()
67 EXPECT_FALSE(filter.isAtomInUse(1)); in TEST_F()
69 EXPECT_EQ(0, filter.mTagIdsPerConsumer.size()); in TEST_F()
70 EXPECT_EQ(0, filter.mLocalTagIds.size()); in TEST_F()
71 filter.setAtomIds(std::move(emptyAtomIdsSet), reinterpret_cast<LogEventFilter::ConsumerId>(0)); in TEST_F()
72 EXPECT_FALSE(filter.isAtomInUse(1)); in TEST_F()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DMessagesFilterTest.java35 MessagesFilter filter = new MessagesFilter(); in setOriginator() local
38 filter.setOriginator(originator); in setOriginator()
39 assertThat(filter.originator).isEqualTo(originator); in setOriginator()
41 filter.setOriginator(""); in setOriginator()
42 assertThat(filter.originator).isEqualTo(null); // Empty string is stored as null in setOriginator()
44 filter.setOriginator(null); in setOriginator()
45 assertThat(filter.originator).isEqualTo(null); in setOriginator()
50 MessagesFilter filter = new MessagesFilter(); in setPriority() local
53 filter.setPriority(priority); in setPriority()
55 assertThat(filter.priority).isEqualTo(priority); in setPriority()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/
DTEST_MAPPING7 "include-filter": "android.permission.cts.BackgroundPermissionsTest"
10 "include-filter": "android.permission.cts.LocationAccessCheckTest"
13 "include-filter": "android.permission.cts.NotificationListenerCheckTest"
16 "include-filter": "android.permission.cts.OneTimePermissionTest"
19 "include-filter": "android.permission.cts.PermissionControllerTest"
22 "include-filter": "android.permission.cts.PlatformPermissionGroupMappingTest"
43 "include-filter": "android.permission.cts.BackgroundPermissionsTest"
46 "include-filter": "android.permission.cts.LocationAccessCheckTest"
49 "include-filter": "android.permission.cts.NotificationListenerCheckTest"
52 "include-filter": "android.permission.cts.OneTimePermissionTest"
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DMessagesFilter.java43 public MessagesFilter(MessagesFilter filter) { in MessagesFilter() argument
44 this.messageType = filter.messageType; in MessagesFilter()
45 this.periodBegin = filter.periodBegin; in MessagesFilter()
46 this.periodEnd = filter.periodEnd; in MessagesFilter()
47 this.readStatus = filter.readStatus; in MessagesFilter()
48 this.recipient = filter.recipient; in MessagesFilter()
49 this.originator = filter.originator; in MessagesFilter()
50 this.priority = filter.priority; in MessagesFilter()
53 public void setMessageType(byte filter) { in setMessageType() argument
54 messageType = filter; in setMessageType()
[all …]
DRequestGetMessagesListing.java42 MessagesFilter filter, in RequestGetMessagesListing() argument
68 if (filter != null) { in RequestGetMessagesListing()
69 if (filter.messageType != MessagesFilter.MESSAGE_TYPE_ALL) { in RequestGetMessagesListing()
70 oap.add(OAP_TAGID_FILTER_MESSAGE_TYPE, filter.messageType); in RequestGetMessagesListing()
73 if (filter.periodBegin != null) { in RequestGetMessagesListing()
74 oap.add(OAP_TAGID_FILTER_PERIOD_BEGIN, filter.periodBegin); in RequestGetMessagesListing()
77 if (filter.periodEnd != null) { in RequestGetMessagesListing()
78 oap.add(OAP_TAGID_FILTER_PERIOD_END, filter.periodEnd); in RequestGetMessagesListing()
81 if (filter.readStatus != MessagesFilter.READ_STATUS_ANY) { in RequestGetMessagesListing()
82 oap.add(OAP_TAGID_FILTER_READ_STATUS, filter.readStatus); in RequestGetMessagesListing()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanFilterQueue.java208 void addScanFilter(ScanFilter filter) { in addScanFilter() argument
209 if (filter == null) { in addScanFilter()
212 if (filter.getDeviceName() != null) { in addScanFilter()
213 addName(filter.getDeviceName()); in addScanFilter()
215 if (filter.getDeviceAddress() != null) { in addScanFilter()
222 filter.getDeviceAddress(), (byte) filter.getAddressType(), filter.getIrk()); in addScanFilter()
224 if (filter.getServiceUuid() != null) { in addScanFilter()
225 if (filter.getServiceUuidMask() == null) { in addScanFilter()
226 addUuid(filter.getServiceUuid().getUuid()); in addScanFilter()
228 addUuid(filter.getServiceUuid().getUuid(), filter.getServiceUuidMask().getUuid()); in addScanFilter()
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DReceiverTrackingContext.java51 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver() argument
52 addReceiver(receiver, "registerReceiver(%s, %s)", receiver, filter); in registerReceiver()
54 return super.registerReceiver(receiver, filter); in registerReceiver()
58 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() argument
60 addReceiver(receiver, "registerReceiver(%s, %s, %d)", receiver, filter, flags); in registerReceiver()
62 return super.registerReceiver(receiver, filter, flags); in registerReceiver()
66 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() argument
69 receiver, filter, broadcastPermission, scheduler); in registerReceiver()
71 return super.registerReceiver(receiver, filter, broadcastPermission, in registerReceiver()
76 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactListAdapter.java70 final ContactListFilter filter = getFilter(); in configureLoader() local
71 configureUri(loader, directoryId, filter); in configureLoader()
90 final ContactListFilter filter = getFilter(); in configureLoader() local
91 configureUri(loader, directoryId, filter); in configureLoader()
92 if (filter != null in configureLoader()
93 && (filter.filterType == ContactListFilter.FILTER_TYPE_DEVICE_CONTACTS in configureLoader()
94 || filter.filterType == ContactListFilter.FILTER_TYPE_SIM_CONTACTS)) { in configureLoader()
99 configureSelection(loader, directoryId, filter); in configureLoader()
119 final ContactListFilter filter = getFilter(); in isGroupMembersFilter() local
120 return filter != null && filter.filterType == ContactListFilter.FILTER_TYPE_GROUP_MEMBERS; in isGroupMembersFilter()
[all …]
DDefaultContactBrowseListFragment.java314 final ContactListFilter filter = getFilter(); in bindListHeader() local
317 if (!isSearchMode() && numberOfContacts <= 0 && shouldShowEmptyView(filter)) { in bindListHeader()
318 if (filter != null && filter.isContactsFilterType()) { in bindListHeader()
328 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in bindListHeader()
330 } else if (filter.filterType != ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) { in bindListHeader()
332 filter.accountName, filter.accountType, filter.dataSet); in bindListHeader()
345 private boolean shouldShowEmptyView(ContactListFilter filter) { in shouldShowEmptyView() argument
346 if (filter == null) { in shouldShowEmptyView()
350 if (ContactListFilter.FILTER_TYPE_DEFAULT == filter.filterType in shouldShowEmptyView()
351 || ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS == filter.filterType) { in shouldShowEmptyView()
[all …]
DContactListFilter.java239 public static void storeToPreferences(SharedPreferences prefs, ContactListFilter filter) { in storeToPreferences() argument
240 if (filter != null && filter.filterType == FILTER_TYPE_SINGLE_CONTACT) { in storeToPreferences()
244 .putInt(KEY_FILTER_TYPE, filter == null ? FILTER_TYPE_DEFAULT : filter.filterType) in storeToPreferences()
245 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences()
246 .putString(KEY_ACCOUNT_TYPE, filter == null ? null : filter.accountType) in storeToPreferences()
247 .putString(KEY_DATA_SET, filter == null ? null : filter.dataSet) in storeToPreferences()
256 ContactListFilter filter = restoreFromPreferences(prefs); in restoreDefaultPreferences() local
257 if (filter == null) { in restoreDefaultPreferences()
258 filter = ContactListFilter.createFilterWithType(FILTER_TYPE_ALL_ACCOUNTS); in restoreDefaultPreferences()
262 if (filter.filterType == FILTER_TYPE_GROUP || in restoreDefaultPreferences()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java87 final ContactListFilter filter = (ContactListFilter) in handleAccountFilterResult() local
89 if (filter == null) { in handleAccountFilterResult()
92 if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in handleAccountFilterResult()
95 filterController.setContactListFilter(filter, /* persistent */ in handleAccountFilterResult()
96 filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS); in handleAccountFilterResult()
180 public static void startEditorIntent(Context context, Intent src, ContactListFilter filter) {
187 if (!isAllContactsFilter(filter) && filter.accountName != null
188 && filter.accountType != null) {
189 final Account account = new Account(filter.accountName, filter.accountType);
191 intent.putExtra(Intents.Insert.EXTRA_DATA_SET, filter.dataSet);
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DIncomingCallFilterGraph.java62 public PostFilterTask(final CallFilter filter) { in PostFilterTask() argument
63 mFilter = filter; in PostFilterTask()
69 for (CallFilter filter : mFilter.getFollowings()) { in whenDone()
70 if (filter.decrementAndGetIndegree() == 0) { in whenDone()
71 scheduleFilter(filter); in whenDone()
102 public void addFilter(CallFilter filter) { in addFilter() argument
103 mFiltersList.add(filter); in addFilter()
111 for (CallFilter filter : mFiltersList) { in performFiltering()
112 addEdge(dummyStart, filter); in performFiltering()
114 for (CallFilter filter : mFiltersList) { in performFiltering()
[all …]
/packages/modules/Permission/PermissionController/
DTEST_MAPPING40 …"exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInLis…
43 …"exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
55 … "include-filter": "com.android.permissioncontroller.tests.mocking.role.model.RoleParserTest"
71 …"exclude-filter": "com.android.permissioncontroller.permissionui.ui.handheld.ManageCustomPermissio…
74 …"exclude-filter": "com.android.permissioncontroller.permissionui.ui.handheld.ManageCustomPermissio…
77 …"exclude-filter": "com.android.permissioncontroller.permissionui.ui.handheld.ManageStandardPermiss…
80 …"exclude-filter": "com.android.permissioncontroller.permissionui.ui.handheld.ManageStandardPermiss…
83 …"exclude-filter": "com.android.permissioncontroller.permissionui.ui.handheld.ManageStandardPermiss…
102 …"exclude-filter": "android.app.role.cts.RoleManagerTest#openDefaultAppListThenIsNotDefaultAppInLis…
105 …"exclude-filter": "android.app.role.cts.RoleManagerTest#removeSmsRoleHolderThenPermissionIsRevoked"
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DAccountFilterUtil.java33 View filterContainer, ContactListFilter filter, boolean showTitleForAllAccounts) { in updateAccountFilterTitleForPhone() argument
34 return updateAccountFilterTitle(filterContainer, filter, showTitleForAllAccounts, true); in updateAccountFilterTitleForPhone()
39 ContactListFilter filter, in updateAccountFilterTitle() argument
47 if (filter != null) { in updateAccountFilterTitle()
49 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) { in updateAccountFilterTitle()
54 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) { in updateAccountFilterTitle()
56 context.getString(R.string.listAllContactsInAccount, filter.accountName)); in updateAccountFilterTitle()
58 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_CUSTOM) { in updateAccountFilterTitle()
63 if (filter.filterType == ContactListFilter.FILTER_TYPE_ALL_ACCOUNTS) { in updateAccountFilterTitle()
68 } else if (filter.filterType == ContactListFilter.FILTER_TYPE_ACCOUNT) { in updateAccountFilterTitle()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/broadcast/
DBroadcastDispatcher.kt72 filter: IntentFilter, in <lambda>()
77 checkFilter(filter) in <lambda>()
78 context.registerReceiver(receiver, filter, permission, Handler(broadcastLooper), flags) in <lambda>()
90 filter: IntentFilter, in <lambda>()
104 filter, in <lambda>()
121 filter: IntentFilter, in <lambda>()
124 ): Flow<Unit> = broadcastFlow(filter, flags, permission) { _, _ -> Unit } in <lambda>()
126 private fun checkFilter(filter: IntentFilter) { in <lambda>()
128 if (filter.countActions() == 0) { in <lambda>()
131 if (filter.countDataAuthorities() != 0) { in <lambda>()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DTEST_MAPPING10 "include-filter": "android.permission.cts.PermissionControllerTest"
13 "include-filter": "android.permission.cts.OneTimePermissionTest"
24 "include-filter": "android.permissionui.cts.SafetyLabelChangesJobServiceTest"
35 "include-filter": "android.permission.cts.LocationAccessCheckTest"
44 "include-filter": "android.backup.cts.PermissionTest"
55 "include-filter": "com.android.permissioncontroller.tests.outofprocess.DumpTest"
82 "include-filter": "android.permission.cts.PermissionControllerTest"
85 "include-filter": "android.permission.cts.OneTimePermissionTest"
93 "include-filter": "android.permissionui.cts.SafetyLabelChangesJobServiceTest"
101 "include-filter": "android.permission.cts.LocationAccessCheckTest"
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/list/
DContactListFilter.java97 public static void storeToPreferences(SharedPreferences prefs, ContactListFilter filter) { in storeToPreferences() argument
98 if (filter != null && filter.filterType == FILTER_TYPE_SINGLE_CONTACT) { in storeToPreferences()
103 .putInt(KEY_FILTER_TYPE, filter == null ? FILTER_TYPE_DEFAULT : filter.filterType) in storeToPreferences()
104 .putString(KEY_ACCOUNT_NAME, filter == null ? null : filter.accountName) in storeToPreferences()
105 .putString(KEY_ACCOUNT_TYPE, filter == null ? null : filter.accountType) in storeToPreferences()
106 .putString(KEY_DATA_SET, filter == null ? null : filter.dataSet) in storeToPreferences()
115 ContactListFilter filter = restoreFromPreferences(prefs); in restoreDefaultPreferences() local
116 if (filter == null) { in restoreDefaultPreferences()
117 filter = ContactListFilter.createFilterWithType(FILTER_TYPE_ALL_ACCOUNTS); in restoreDefaultPreferences()
121 if (filter.filterType == FILTER_TYPE_GROUP || filter.filterType == FILTER_TYPE_SINGLE_CONTACT) { in restoreDefaultPreferences()
[all …]
/packages/services/Car/service/src/com/android/car/user/
DAppLifecycleListener.java60 @Nullable UserLifecycleEventFilter filter, BinderDeathCallback binderDeathCallback) { in AppLifecycleListener() argument
64 if (filter != null) { in AppLifecycleListener()
67 + " is initialized with filter %s.", receiver, packageName, filter); in AppLifecycleListener()
70 mFilters.add(filter); in AppLifecycleListener()
87 void addFilter(@Nullable UserLifecycleEventFilter filter) { in addFilter() argument
92 + " a null filter added before.", filter, this); in addFilter()
96 if (filter == null) { in addFilter()
106 filter, this); in addFilter()
108 mFilters.add(filter); in addFilter()
125 UserLifecycleEventFilter filter = mFilters.get(i); in applyFilters() local
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DTEST_MAPPING7 "include-filter": "com.android.car.pm.CarPackageManagerServiceTest"
10 "include-filter": "com.android.car.CarPackageManagerTest"
18 "include-filter": "com.android.car.pm.CarPackageManagerServiceUnitTest"
21 "include-filter": "com.android.car.pm.VendorServiceControllerTest"
24 "include-filter": "com.android.car.pm.VendorServiceInfoTest"
27 "include-filter": "com.android.car.pm.CarSafetyAccessibilityServiceImplTest"
30 "include-filter": "com.android.car.pm.WindowDumpParserTest"
38 "include-filter": "android.car.apitest.CarPackageManagerTest"
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java44 AppFilter filter = in getCompositeFilter_filtersVolumeForAudio() local
55 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForAudio()
60 AppFilter filter = in getCompositeFilter_filtersVolumeForVideo() local
71 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForVideo()
76 ApplicationsState.AppFilter filter = in getCompositeFilter_filtersVolumeForGames() local
87 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForGames()
92 ApplicationsState.AppFilter filter = in getCompositeFilter_isEmptyNormally() local
97 assertThat(filter).isNull(); in getCompositeFilter_isEmptyNormally()
106 AppFilter filter = in getCompositeFilter_worksWithInstantApps() local
111 AppFilter composedFilter = new CompoundFilter(ApplicationsState.FILTER_INSTANT, filter); in getCompositeFilter_worksWithInstantApps()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java128 IntentFilter filter = new IntentFilter(); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local
129 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
130 filter.addDataScheme(IntentFilter.SCHEME_HTTP); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
131 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
135 .thenReturn(Arrays.asList(filter)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme()
147 IntentFilter filter = new IntentFilter(); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local
148 filter.addCategory(Intent.CATEGORY_BROWSABLE); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
149 filter.addDataScheme(IntentFilter.SCHEME_HTTPS); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
150 filter.addDataAuthority(new IntentFilter.AuthorityEntry(domain, port)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
154 .thenReturn(Arrays.asList(filter)); in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceFilterTest.java152 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, null, in testNoPackageName() local
156 filter.startFilterLookup(inputResult).toCompletableFuture().get( in testNoPackageName()
166 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testContextFailToBind() local
170 filter.startFilterLookup(inputResult).toCompletableFuture().get( in testContextFailToBind()
180 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testNoResolveEntries() local
184 filter.startFilterLookup(inputResult).toCompletableFuture().get( in testNoResolveEntries()
193 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testBadResolveEntry() local
197 filter.startFilterLookup(inputResult).toCompletableFuture().get( in testBadResolveEntry()
212 CallScreeningServiceFilter filter = new CallScreeningServiceFilter(mCall, PKG_NAME, in testNoBindingCondition() local
215 filter.startFilterLookup(inputResult); in testNoBindingCondition()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DMimeTypes.java169 public static boolean mimeMatches(String filter, String[] tests) { in mimeMatches() argument
174 if (mimeMatches(filter, test)) { in mimeMatches()
185 for (String filter : filters) { in mimeMatches()
186 if (mimeMatches(filter, test)) { in mimeMatches()
193 public static boolean mimeMatches(String filter, String test) { in mimeMatches() argument
196 } else if (filter == null || "*/*".equals(filter)) { in mimeMatches()
198 } else if (filter.equals(test)) { in mimeMatches()
200 } else if (filter.endsWith("/*")) { in mimeMatches()
201 return filter.regionMatches(0, test, 0, filter.indexOf('/')); in mimeMatches()

12345678910>>...56