/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetWritesTester.java | 78 assertFalse("multiset contains present after multiset.remove(present, 2)", 79 getMultiset().contains(samples.e0)); 166 "multiset contains element after removing its entry", 167 getMultiset().contains(samples.e0)); 179 getMultiset().contains(samples.e0)); 190 "multiset contains element after removing its entry", 191 getMultiset().contains(samples.e0)); 203 getMultiset().contains(samples.e0)); 222 "multiset doesn't contains element after retaining its entry", 223 getMultiset().contains(samples.e0)) [all...] |
/external/guava/guava-tests/test/com/google/common/primitives/ |
BytesTest.java | 53 assertFalse(Bytes.contains(EMPTY, (byte) 1)); 54 assertFalse(Bytes.contains(ARRAY1, (byte) 2)); 55 assertFalse(Bytes.contains(ARRAY234, (byte) 1)); 56 assertTrue(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)); 57 assertTrue(Bytes.contains(ARRAY234, (byte) 2)); 58 assertTrue(Bytes.contains(ARRAY234, (byte) 3)); 59 assertTrue(Bytes.contains(ARRAY234, (byte) 4));
|
/cts/libs/commonutil/src/com/android/cts/util/ |
AbiUtils.java | 122 return ABIS_SUPPORTED_BY_CTS.contains(abi); 153 if (id == null || !id.contains(" ")) { 180 return ABIS_32BIT.contains(name) ? "32" : "64";
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectTest.java | 287 assertFalse(mRect.contains(0, 0)); 288 assertTrue(mRect.contains(1, 1)); 289 assertTrue(mRect.contains(19, 19)); 290 assertFalse(mRect.contains(20, 20)); 297 assertTrue(mRect.contains(1, 1, 20, 20)); 298 assertTrue(mRect.contains(2, 2, 19, 19)); 299 assertFalse(mRect.contains(21, 21, 22, 22)); 300 assertFalse(mRect.contains(0, 0, 19, 19)); 309 assertTrue(mRect.contains(rect)); 311 assertTrue(mRect.contains(rect)) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 104 if ((msg == null) || msg.contains("android.permission.DUMP")) { 140 if (!message.contains("Permission Denial") && 141 !message.contains("android.permission.DUMP")) {
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
GLESSurfaceView.java | 84 if (ext.contains("texture")) { 85 if (ext.contains("compression") || ext.contains("compressed")) {
|
/external/chromium_org/net/android/javatests/src/org/chromium/net/ |
X509UtilTest.java | 42 while (line != null && !line.contains(BEGIN_MARKER)) line = reader.readLine(); 45 while (line != null && line.contains(BEGIN_MARKER)) line = reader.readLine(); 48 while (line != null && !line.contains(END_MARKER)) {
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ContextLifecycleNotifier.cpp | 78 if (m_activeDOMObjects.contains(*iter)) { 94 if (m_activeDOMObjects.contains(*iter)) { 110 if (m_activeDOMObjects.contains(*iter)) {
|
ScriptRunner.cpp | 91 ASSERT(m_pendingAsyncScripts.contains(scriptLoader)); 106 ASSERT(m_pendingAsyncScripts.contains(scriptLoader)); 119 if (m_pendingAsyncScripts.contains(scriptLoader)) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/ |
TextTrackCueList.cpp | 121 bool TextTrackCueList::contains(TextTrackCue* cue) const function in class:blink::TextTrackCueList 123 return m_list.contains(cue); 128 if (!contains(cue))
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGResourcesCycleSolver.cpp | 72 if (m_dagCache.contains(resource)) 93 if (m_activeResources.contains(*it) || resourceContainsCycles(*it)) 122 if (m_activeResources.contains(*it) || resourceContainsCycles(*it))
|
/external/chromium_org/third_party/WebKit/Source/core/storage/ |
Storage.cpp | 58 bool found = contains(name, exceptionState); 80 bool found = contains(name, exceptionState); 119 bool found = contains(name, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/ |
DatabaseThread.cpp | 134 ASSERT(!m_openDatabaseSet.contains(database)); 142 ASSERT(m_terminationRequested || m_openDatabaseSet.contains(database)); 151 return !m_terminationRequested && m_openDatabaseSet.contains(database);
|
/external/chromium_org/third_party/icu/source/common/ |
unisetspan.h | 72 // For fast UnicodeSet::contains(c). 73 inline UBool contains(UChar32 c) const; 149 UBool UnicodeSetStringSpan::contains(UChar32 c) const { function in class:UnicodeSetStringSpan 150 return spanSet.contains(c);
|
/external/chromium_org/third_party/skia/src/core/ |
SkChunkAlloc.cpp | 38 bool contains(const void* addr) const { function in struct:SkChunkAlloc::Block 133 bool SkChunkAlloc::contains(const void* addr) const { function in class:SkChunkAlloc 136 if (block->contains(addr)) {
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ArrayTableTest.java | 64 assertTrue(table.contains("foo", 1)); 65 assertTrue(table.contains("bar", 1)); 66 assertTrue(table.contains("foo", 3)); 67 assertTrue(table.contains("foo", 2)); 68 assertTrue(table.contains("bar", 3)); 69 assertTrue(table.contains("cat", 1)); 70 assertFalse(table.contains("foo", -1)); 71 assertFalse(table.contains("bad", 1)); 72 assertFalse(table.contains("bad", -1)); 73 assertFalse(table.contains("foo", null)) [all...] |
RangeTest.java | 129 assertFalse(range.contains(4)); 130 assertTrue(range.contains(5)); 131 assertTrue(range.contains(7)); 132 assertFalse(range.contains(8)); 137 assertFalse(range.contains(3)); 138 assertTrue(range.contains(4)); 139 assertFalse(range.contains(5)); 153 assertFalse(range.contains(3)); 154 assertFalse(range.contains(4)); 155 assertFalse(range.contains(5)) [all...] |
/external/icu/icu4c/source/common/ |
unisetspan.h | 72 // For fast UnicodeSet::contains(c). 73 inline UBool contains(UChar32 c) const; 149 UBool UnicodeSetStringSpan::contains(UChar32 c) const { function in class:UnicodeSetStringSpan 150 return spanSet.contains(c);
|
/external/jsilver/src/com/google/streamhtmlparser/ |
HtmlParserFactory.java | 137 if (options != null && options.contains(ModeOptions.JS_QUOTED)) 204 if (options != null && options.contains(AttributeOptions.URL_PARTIAL)) 218 if (options != null && options.contains(AttributeOptions.JS_QUOTED))
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
FilterUrlByProtocolAttributePolicy.java | 81 if (!protocols.contains(protocol)) { return null; } 89 return protocols.contains("http") && protocols.contains("https");
|
/external/llvm/unittests/IR/ |
ConstantRangeTest.cpp | 38 EXPECT_TRUE(Full.contains(APInt(16, 0x0))); 39 EXPECT_TRUE(Full.contains(APInt(16, 0x9))); 40 EXPECT_TRUE(Full.contains(APInt(16, 0xa))); 41 EXPECT_TRUE(Full.contains(APInt(16, 0xaa9))); 42 EXPECT_TRUE(Full.contains(APInt(16, 0xaaa))); 48 EXPECT_FALSE(Empty.contains(APInt(16, 0x0))); 49 EXPECT_FALSE(Empty.contains(APInt(16, 0x9))); 50 EXPECT_FALSE(Empty.contains(APInt(16, 0xa))); 51 EXPECT_FALSE(Empty.contains(APInt(16, 0xaa9))); 52 EXPECT_FALSE(Empty.contains(APInt(16, 0xaaa))) [all...] |
/cts/tools/signature-tools/test/signature/converter/ |
ConvertClassTest.java | 74 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 85 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 96 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 107 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 118 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 137 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 154 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 173 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 192 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)); 218 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC)) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
ManagedProfileTest.java | 86 assertTrue(listUsers().contains(mUserId)); 91 assertFalse(listUsers().contains(mUserId)); 197 addRestrictionCommandOutput.contains("Status: ok")); 206 addRestrictionCommandOutput.contains("SecurityException"));
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
MonkeyTest.java | 47 if (line.contains(isMonkey ? MONKEY : HUMAN)) {
|
/external/chromium_org/base/i18n/ |
file_util_icu.cc | 33 bool contains(UChar32 ucs4) { function in class:base::i18n::__anon6900::IllegalCharacters 34 return !!set->contains(ucs4); 96 DCHECK(!(IllegalCharacters::GetInstance()->contains(replace_char))); 125 if (illegal->contains(code_point)) {
|