Searched defs:contains (Results 26 - 50 of 58) sorted by last modified time

123

/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java135 public boolean contains(MediaSessionRecord record) { method in class:MediaSessionStack
136 return mSessions.contains(record);
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserRestrictionsUtils.java194 if (!USER_RESTRICTIONS.contains(restriction)) {
209 if (NON_PERSIST_USER_RESTRICTIONS.contains(key)) {
212 if (USER_RESTRICTIONS.contains(key)) {
251 * Returns {@code true} if given bundle is not null and contains {@code true} for a given
254 public static boolean contains(@Nullable Bundle in, String restriction) { method in class:UserRestrictionsUtils
302 return !IMMUTABLE_BY_OWNERS.contains(restriction);
310 return !IMMUTABLE_BY_OWNERS.contains(restriction)
312 && PRIMARY_USER_ONLY_RESTRICTIONS.contains(restriction));
363 (PRIMARY_USER_ONLY_RESTRICTIONS.contains(key)|| GLOBAL_RESTRICTIONS.contains(ke
[all...]
/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DPackageDexUsage.java306 if (supportedIsas.contains(isa)) {
363 if (!users.contains(dexUseInfo.mOwnerUserId)) {
468 // The useInfo contains a map for secondary dex files which could be modified
518 private boolean contains(int[] array, int elem) { method in class:PackageDexUsage
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbProfileGroupSettingsManager.java330 public boolean contains(DeviceFilter device) { method in class:UsbProfileGroupSettingsManager.DeviceFilter
515 public boolean contains(AccessoryFilter accessory) { method in class:UsbProfileGroupSettingsManager.AccessoryFilter
1273 if (filter.contains(device)) {
1296 if (filter.contains(accessory)) {
1462 if (mDevicePreferenceMap.values().contains(userPackage)) return true;
1463 if (mAccessoryPreferenceMap.values().contains(userPackage)) return true;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DPageRangeUtils.java28 * This class contains utility functions for working with page ranges.
46 * Gets whether page ranges contains a given page.
52 public static boolean contains(PageRange[] pageRanges, int pageIndex) { method in class:PageRangeUtils
56 if (pageRange.contains(pageIndex)) {
64 * Checks whether one page range array contains another one.
69 * @return Whether the container page ranges contains the contained ones.
71 public static boolean contains(PageRange[] ourRanges, PageRange[] otherRanges, int pageCount) { method in class:PageRangeUtils
423 } else if (PageRangeUtils.contains(pagesWrittenToFile, pagesInDocRequested, pageCount)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java143 if (mFilteredTasks.contains(t)) {
164 /** Returns whether the filtered list contains this task */
165 boolean contains(Task t) { method in class:FilteredTaskList
215 * The task stack contains a list of multiple tasks.
286 return mTmpRect.contains(x, y);
290 return mTmpRect.contains(x, y);
644 if (mStackTaskList.contains(t)) {
1092 if (existingComponents.contains(cn)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java59 entry /* contains */, null /* remove */, token /* removeToken */);
78 pruneWeakThenRemoveAndContains(null /* contains */, entry /* remove */, token);
129 return pruneWeakThenRemoveAndContains(entry /* contains */, null /* remove */,
137 pruneWeakThenRemoveAndContains(null /* contains */, null /* remove */,
144 * whether {@param contains} is part of the array in a single loop.
148 * @return true if {@param contains} is in the set of active remote inputs
151 NotificationData.Entry contains, NotificationData.Entry remove, Object removeToken) {
160 } else if (item == contains) {
150 pruneWeakThenRemoveAndContains( NotificationData.Entry contains, NotificationData.Entry remove, Object removeToken) argument
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java208 public boolean contains(String key, int uid) { method in class:KeyStore
217 public boolean contains(String key) { method in class:KeyStore
218 return contains(key, UID_SELF);
738 if ((rootSid != 0) && (keySids.contains(KeymasterArguments.toUint64(rootSid)))) {
746 && (keySids.contains(KeymasterArguments.toUint64(fingerprintOnlySid)))) {
/frameworks/base/libs/androidfw/include/androidfw/
H A DStringPiece.h63 bool contains(const BasicStringPiece<TChar>& rhs) const;
171 inline bool BasicStringPiece<char>::contains(const BasicStringPiece<char>& rhs) const { function in class:android::BasicStringPiece
212 inline bool BasicStringPiece<char16_t>::contains(const BasicStringPiece<char16_t>& rhs) const { function in class:android::BasicStringPiece
/frameworks/base/libs/hwui/
H A DRect.h164 inline bool contains(float l, float t, float r, float b) const { function in class:android::uirenderer::Rect
168 inline bool contains(const Rect& r) const { function in class:android::uirenderer::Rect
169 return contains(r.left, r.top, r.right, r.bottom);
/frameworks/base/media/java/android/media/tv/
H A DTvContentRating.java712 * <td>This program contains material that parents may find unsuitable for younger children
717 * <td>This program contains some material that many parents would find unsuitable for
930 * S(Sexual content) and V(Violence) contains TV-PG, TV-PG/S, TV-PG/V and itself.
933 * @return {@code true} if this object contains {@code rating}, {@code false} otherwise.
935 public final boolean contains(@NonNull TvContentRating rating) { method in class:TvContentRating
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java800 * <p>For YUV_420_888/NV21/YV12/Y8/Y16, it returns a byte array that contains
804 * <p>For JPEG, it returns a 1-D byte array contains a complete JPEG image.</p>
1209 * Returns true if the given {@code array} contains the given element.
1215 public static boolean contains(int[] array, int elem) { method in class:CameraTestUtils
1873 focalLengthList.contains(resultFocalLength));
1894 apertureList.contains(resultAperture));
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java891 * and contains always at least 1 character.</p>
965 * An RGB color space is wide-gamut if its gamut entirely contains
1723 * input xyY array only contains the x and y components.
1736 * input xyY array only contains the x and y components. After this method
1737 * returns, the xyY array contains the converted u and v components.
2620 // if it entirely contains the Color space definition in xyY
3102 * of the area of NTSC 1953 and if it contains the sRGB color gamut entirely.
3117 contains(primaries, SRGB_PRIMARIES)) || (min < 0.0f && max > 1.0f);
3209 * @return True if the triangle p1 contains the triangle p2
3214 private static boolean contains( method in class:ColorSpace.Rgb
[all...]
H A DRect.java366 * An empty rectangle never contains any point.
373 public boolean contains(int x, int y) { method in class:Rect
381 * rectangle. An empty rectangle never contains another rectangle.
390 public boolean contains(int left, int top, int right, int bottom) { method in class:Rect
400 * rectangle. An empty rectangle never contains another rectangle.
406 public boolean contains(Rect r) { method in class:Rect
H A DRectF.java278 * An empty rectangle never contains any point.
285 public boolean contains(float x, float y) { method in class:RectF
293 * rectangle. An empty rectangle never contains another rectangle.
302 public boolean contains(float left, float top, float right, float bottom) { method in class:RectF
312 * rectangle. An empty rectangle never contains another rectangle.
318 public boolean contains(RectF r) { method in class:RectF
H A DRegion.java122 * Return true if the region contains a single rectangle
127 * Return true if the region contains more than one rectangle
171 * Return true if the region contains the specified point
173 public native boolean contains(int x, int y); method in class:Region
177 * contains the specified rectangle. Returning false is not a guarantee
187 * contains the specified rectangle. Returning false is not a guarantee
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
H A DInputMethodUtilsTest.java940 private static boolean contains(final String[] textList, final String textToBeChecked) { method in class:InputMethodUtilsTest
968 final boolean isDefaultIme = contains(new String[]{ "hi", "en-rIN" }, localeString);
984 final boolean isDefaultIme = contains(new String[]{ "zh-rCN" }, localeString);
996 final boolean isDefaultIme = contains(new String[]{ "ko" }, localeString);
1008 final boolean isDefaultIme = contains(
1030 final boolean isDefaultIme = contains(new String[]{ "ja", "ja-rJP" }, localeString);
1175 assertTrue(subtypes.contains("subtype0"));
1184 assertTrue(subtypes.contains("subtype0"));
1193 assertTrue(subtypes.contains("subtype0"));
1194 assertTrue(subtypes.contains("subtype
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DArrayUtils.java160 * Returns true if the given {@code array} contains the given element.
166 public static boolean contains(int[] array, int elem) { method in class:ArrayUtils
171 * Returns true if the given {@code array} contains the given element.
177 public static <T> boolean contains(T[] array, T elem) { method in class:ArrayUtils
/frameworks/base/core/java/android/net/
H A DIpPrefix.java173 * Determines whether the prefix contains the specified address.
178 public boolean contains(InetAddress address) { method in class:IpPrefix
H A DUidRange.java51 public boolean contains(int uid) { method in class:UidRange
56 * @return {@code true} if this range contains every UID contained by the {@param other} range.
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java150 public boolean contains(String key) { method in class:DnsSdTxtRecord
/frameworks/base/core/java/android/os/
H A DFileUtils.java416 public static boolean contains(File[] dirs, File file) { method in class:FileUtils
418 if (contains(dir, file)) {
433 public static boolean contains(File dir, File file) { method in class:FileUtils
435 return contains(dir.getAbsolutePath(), file.getAbsolutePath());
438 public static boolean contains(String dirPath, String filePath) { method in class:FileUtils
603 if (contains(beforeDir, file)) {
/frameworks/base/core/java/android/print/
H A DPageRange.java87 * Gets whether a page range contains a a given page.
94 public boolean contains(int pageIndex) { method in class:PageRange
100 * pages it contains.
/frameworks/base/core/java/android/provider/
H A DSettingsStringUtil.java93 if (set.contains(element)) {
103 if (!set.contains(element)) {
110 public static boolean contains(String delimitedElements, String element) { method in class:SettingsStringUtil.ColonDelimitedSet.OfStrings
134 if (set.contains(element)) {
143 if (!set.contains(element)) {
150 public static boolean contains(String delimitedElements, ComponentName element) { method in class:SettingsStringUtil.ComponentNameSet
151 return ColonDelimitedSet.OfStrings.contains(
/frameworks/base/core/java/android/util/
H A DArraySet.java31 * separate from ArrayMap, however, so the Object array contains only one item for each
329 public boolean contains(Object key) { method in class:ArraySet
354 * Return true if the array map contains no items.
363 * already contains the object.
612 if (!set.contains(mine)) {
643 * this set contains itself as a value, the string "(this Set)"
739 * Determine if the array set contains all of the values in the given collection.
741 * @return Returns true if this array set contains a value for every entry
748 if (!contains(it.next())) {
793 if (!collection.contains(mArra
[all...]

Completed in 1650 milliseconds

123