Searched defs:contains (Results 1 - 25 of 58) sorted by relevance

123

/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/util/
H A DRange.java111 public boolean contains(T value) { method in class:Range
131 public boolean contains(Range<T> range) { method in class:Range
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...]
/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/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/packages/SystemUI/src/com/android/systemui/util/leak/
H A DAbstractCollection.java30 public boolean contains(Object o) { method in class:AbstractCollection
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeSharedPreferences.java67 public boolean contains(String key) { method in class:BridgeSharedPreferences
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2RequestSettingsSet.java155 public boolean contains(Key<?> key) { method in class:Camera2RequestSettingsSet
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DContiguousFIFOAggregator.java101 if (contains(key)) {
131 if (!contains(key)) {
239 private boolean contains(final T key) { method in class:ContiguousFIFOAggregator
/frameworks/support/design/src/android/support/design/widget/
H A DDirectedAcyclicGraph.java54 boolean contains(@NonNull T node) { method in class:DirectedAcyclicGraph
104 if (edges != null && edges.contains(node)) {
117 if (edges != null && edges.contains(node)) {
139 * as described by Cormen et al. (2001). If this graph contains cyclic dependencies then this
159 if (result.contains(node)) {
163 if (tmpMarked.contains(node)) {
164 throw new RuntimeException("This graph contains cyclic dependencies");
/frameworks/base/core/java/android/content/
H A DSharedPreferences.java337 * Checks whether the preferences contains a preference.
343 boolean contains(String key); method in interface:SharedPreferences
/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/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/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/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/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroupList.java187 * Return true if this group list contains the specified network id.
195 public boolean contains(int netId) { method in class:WifiP2pGroupList
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java152 public boolean contains(Location other) { method in class:Location
/frameworks/ex/common/java/com/android/common/content/
H A DSyncStateContentProviderHelper.java120 if (!contains(accounts, account)) {
136 private static <T> boolean contains(T[] array, T value) { method in class:SyncStateContentProviderHelper
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestLayers.cpp118 bool Hwc2TestLayers::contains(hwc2_layer_t layer) const function in class:Hwc2TestLayers
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockKeyStore.java70 when(mock.contains(anyString(), anyInt())).thenAnswer(new Answer<Boolean>() {
75 return contains((String) args[0], (Integer) args[1]);
129 private boolean contains(String key, int uid) { method in class:MockKeyStore
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteSelector.java82 * Returns true if the selector contains the specified category.
128 * Returns true if this selector contains all of the capabilities described
132 * @return True if this selector contains all of the capabilities described
135 public boolean contains(MediaRouteSelector selector) { method in class:MediaRouteSelector
157 if (mControlCategories.contains(null)) {
252 if (!mControlCategories.contains(category)) {
/frameworks/av/drm/libdrmframework/include/
H A DPlugInManager.h119 if (!contains(rsPlugInId)) {
134 if (contains(rsPlugInPath)) {
173 if (!contains(rsPlugInPath)) {
188 * True if TPlugInManager contains rsPlugInId
190 bool contains(const String8& rsPlugInId) { function in class:android::TPlugInManager
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java36 * ArrayUtils contains some methods that you can call to find out
184 public static <T> boolean contains(@Nullable T[] array, T value) { method in class:ArrayUtils
206 if (!contains(array, checkItem)) {
219 if (contains(array, checkItem)) {
226 public static boolean contains(@Nullable int[] array, int value) { method in class:ArrayUtils
236 public static boolean contains(@Nullable long[] array, long value) { method in class:ArrayUtils
246 public static boolean contains(@Nullable char[] array, char value) { method in class:ArrayUtils
262 if (!contains(array, checkItem)) {
305 if (!allowDuplicates && contains(array, element)) return array;
323 if (!contains(arra
507 public static <T> boolean contains(@Nullable Collection<T> cur, T val) { method in class:ArrayUtils
[all...]

Completed in 706 milliseconds

123