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

12

/frameworks/base/services/core/java/com/android/server/firewall/
H A DAndFilter.java28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:AndFilter
31 if (!children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
H A DFilter.java34 boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in interface:Filter
H A DNotFilter.java35 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:NotFilter
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType,
H A DOrFilter.java28 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:OrFilter
31 if (children.get(i).matches(ifw, resolvedComponent, intent, callerUid, callerPid,
H A DCategoryFilter.java37 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:CategoryFilter
H A DSenderPackageFilter.java41 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:SenderPackageFilter
H A DSenderPermissionFilter.java36 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:SenderPermissionFilter
H A DPortFilter.java44 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:PortFilter
H A DStringFilter.java121 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, method in class:StringFilter
207 return value != null && mPattern.matcher(value).matches();
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAccessibilityManagerTest.java212 * matches expectations.
224 * matches expectations which in this case are that any instance is accepted.
243 public boolean matches(Object matched) { method in class:AccessibilityManagerTest.AccessibilityEventMather
263 public boolean matches(Object matched) { method in class:AccessibilityManagerTest.AnyIAccessibilityManagerClientMather
/frameworks/base/tools/aapt/
H A DApkBuilder.h82 bool matches(const sp<AaptFile>& file) const { function in class:ApkSplit
/frameworks/base/tools/aidl/
H A Doptions_test.cpp241 int matches[count]; local
256 matches[i] = test(g_tests[i]);
258 if (0 == matches[i]) {
263 result |= matches[i];
277 if (matches[i]) {
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java163 * Check whether the value of the specified setting matches the given one.
172 public <T> boolean matches(Key<T> key, T value) { method in class:Camera2RequestSettingsSet
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp118 int32_t matches; local
119 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
123 ucma, matches, &goodmatch, &highest);
149 ucma = ucsdet_detectAll(csd, &matches, &status);
151 ucma, matches, &goodmatch, &highest);
270 * When ICU detects multiple encoding matches, apply additional heuristics to determine
274 * - decode the input using each of the matches found
288 Vector<const UCharsetMatch*> matches; local
291 ALOGV("%zu matches", nummatches);
296 matches
[all...]
/frameworks/base/core/java/android/bluetooth/le/
H A DScanFilter.java266 * Check if the scan filter matches a {@code scanResult}. A scan result is considered as a match
267 * if it matches all the field filters.
269 public boolean matches(ScanResult scanResult) { method in class:ScanFilter
338 // Check if the uuid pattern matches the particular service uuid.
351 // Check whether the data pattern matches the parsed data.
/frameworks/base/core/java/android/net/
H A DNetworkTemplate.java256 * Test if given {@link NetworkIdentity} matches this template.
258 public boolean matches(NetworkIdentity ident) { method in class:NetworkTemplate
333 * Check if matches Wi-Fi network template.
346 * Check if matches Ethernet network template.
374 * Check if matches Bluetooth network template.
420 * active merge set [A,B], we'd return a new template that primarily matches
421 * A, but also matches B.
426 // a template that matches all merged subscribers.
H A DRouteInfo.java136 // matches the documented behaviour. Before we can do this we need to fix all callers (e.g.,
341 * Indicates if this route is a host route (ie, matches only a single host address).
369 public boolean matches(InetAddress destination) { method in class:RouteInfo
380 * Find the route from a Collection of routes that best matches a given address.
400 if (route.matches(dest)) bestRoute = route;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java137 public boolean matches(Object obj) { method in class:CameraDeviceBinderTest.IsMetadataNotEmpty
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaInserterTest.java62 public boolean matches(Object argument) { method in class:MediaInserterTest.MediaUriMatcher
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPolicyControl.java68 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) {
75 if (sImmersiveNavigationFilter != null && sImmersiveNavigationFilter.matches(attrs)) {
88 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) {
93 if (sImmersiveNavigationFilter != null && sImmersiveNavigationFilter.matches(attrs)) {
101 if (sImmersiveStatusFilter != null && sImmersiveStatusFilter.matches(attrs)) {
109 && sImmersivePreconfirmationsFilter.matches(pkg))
195 boolean matches(LayoutParams attrs) { method in class:PolicyControl.Filter
205 boolean matches(String packageName) { method in class:PolicyControl.Filter
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DJobStatus.java217 public boolean matches(int uid, int jobId) { method in class:JobStatus
/frameworks/av/media/libmediaplayerservice/
H A DVideoFrameScheduler.cpp230 size_t matches = 0; local
234 ++matches;
237 score = matches;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRules.java132 boolean matches(byte[] certHash, String packageName) { method in class:UiccCarrierPrivilegeRules.AccessRule
257 if (ar.matches(certHash, packageName) || ar.matches(certHash256, packageName)) {
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java227 private boolean matches(int clasz, int subclass, int protocol) { method in class:UsbSettingsManager.DeviceFilter
233 public boolean matches(UsbDevice device) { method in class:UsbSettingsManager.DeviceFilter
247 if (matches(device.getDeviceClass(), device.getDeviceSubclass(),
254 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(),
261 public boolean matches(DeviceFilter f) { method in class:UsbSettingsManager.DeviceFilter
275 return matches(f.mClass, f.mSubclass, f.mProtocol);
428 public boolean matches(UsbAccessory acc) { method in class:UsbSettingsManager.AccessoryFilter
435 public boolean matches(AccessoryFilter f) { method in class:UsbSettingsManager.AccessoryFilter
658 // Checks to see if a package matches a device or accessory.
677 if (filter.matches(devic
784 resolveActivity(Intent intent, ArrayList<ResolveInfo> matches, String defaultPackage, UsbDevice device, UsbAccessory accessory) argument
[all...]
/frameworks/base/core/java/android/os/
H A DProcess.java417 boolean matches(String abi) { method in class:Process.ZygoteState
718 if (primaryZygoteState.matches(abi)) {
731 if (secondaryZygoteState.matches(abi)) {

Completed in 498 milliseconds

12