/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/ |
ResourceNameValidatorTest.java | 36 assertTrue(validator.isValid("foo") == null); 37 assertTrue(validator.isValid("foo.xml") == null); 38 assertTrue(validator.isValid("Foo123_$") == null); 39 assertTrue(validator.isValid("foo.xm") == null); // For non-file types, . => _ 42 assertTrue(validator.isValid("") != null); 43 assertTrue(validator.isValid(" ") != null); 44 assertTrue(validator.isValid("foo bar") != null); 45 assertTrue(validator.isValid("1foo") != null); 46 assertTrue(validator.isValid("foo%bar") != null); 48 ResourceType.STRING).isValid("foo") != null) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/resources/platform/ |
AttributeInfoTest.java | 56 assertTrue(info.isValid("", null, null)); 57 assertTrue(info.isValid("a b c", null, null)); 58 assertTrue(info.isValid("@android foo bar", null, null)); 63 assertTrue(info.isValid("", null, null)); 64 assertTrue(info.isValid("a b c", null, null)); 65 assertTrue(info.isValid("@android foo bar", null, null)); 70 assertTrue(info.isValid("true", null, null)); 71 assertTrue(info.isValid("false", null, null)); 72 assertFalse(info.isValid("", null, null)); 73 assertTrue(info.isValid("TRUE", null, null)) [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
AutoCompleteTextViewBindingAdapter.java | 35 @BindingAdapter(value = {"android:fixText", "android:isValid"}, requireAll = false) 37 final IsValid isValid) { 38 if (fixText == null && isValid == null) { 43 public boolean isValid(CharSequence text) { 44 if (isValid != null) { 45 return isValid.isValid(text); 75 public interface IsValid { 76 boolean isValid(CharSequence text) [all...] |
/art/compiler/optimizing/ |
reference_type_propagation_test.cc | 96 EXPECT_FALSE(t1.IsValid()); 102 EXPECT_TRUE(t2.IsValid()); 106 EXPECT_TRUE(t3.IsValid()); 112 EXPECT_TRUE(t4.IsValid()); 116 EXPECT_TRUE(t5.IsValid()); 128 EXPECT_TRUE(t1.IsValid()); 132 EXPECT_TRUE(t2.IsValid()); 138 EXPECT_TRUE(t3.IsValid()); 144 EXPECT_TRUE(t4.IsValid()); 150 EXPECT_TRUE(t5.IsValid()); [all...] |
/external/libchrome/base/files/ |
dir_reader_fallback.h | 12 // Open a directory. If |IsValid| is true, then |Next| can be called to start 16 // After construction, IsValid returns true iff the directory was 18 bool IsValid() const { return false; }
|
file_unittest.cc | 28 EXPECT_FALSE(file.IsValid()); 32 EXPECT_FALSE(file2.IsValid()); 39 EXPECT_FALSE(file.IsValid()); 46 EXPECT_TRUE(file.IsValid()); 54 EXPECT_TRUE(file.IsValid()); 60 EXPECT_FALSE(file.IsValid()); 67 EXPECT_TRUE(file.IsValid()); 73 EXPECT_FALSE(file.IsValid()); 79 EXPECT_FALSE(file.IsValid()); 88 EXPECT_TRUE(file.IsValid()); [all...] |
/system/bt/service/test/ |
advertise_data_unittest.cpp | 28 EXPECT_TRUE(adv0.IsValid()); 33 EXPECT_FALSE(adv1.IsValid()); 40 EXPECT_FALSE(adv0.IsValid()); 45 EXPECT_FALSE(adv1.IsValid()); 50 EXPECT_FALSE(adv2.IsValid()); 55 EXPECT_FALSE(adv3.IsValid()); 62 EXPECT_TRUE(adv0.IsValid()); 67 EXPECT_TRUE(adv0.IsValid()); 74 EXPECT_FALSE(adv0.IsValid()); 82 EXPECT_FALSE(adv1.IsValid()); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/mturk/ |
test_connection.py | 11 <IsValid>True</IsValid>
|
/external/skia/bench/ |
BenchLogger.cpp | 23 return fFileStream->isValid(); 27 if (fFileStream && fFileStream->isValid()) {
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
improvement_direction.py | 8 def IsValid(improvement_direction):
|
/external/opencv3/modules/videoio/src/ |
cap_intelperc.cpp | 20 bool IntelPerCStreamBase::isValid() 22 return (m_device.IsValid() && m_stream.IsValid()); 26 if (!m_stream.IsValid()) 99 if (m_stream.IsValid()) 131 if (!capture.IsValid()) 151 if (!m_device.IsValid()) 180 if (!m_stream.IsValid()) 208 if (!m_stream.IsValid()) 219 if (!m_device.IsValid()) [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
jid_unittest.cc | 23 EXPECT_TRUE(jid.IsValid()); 35 EXPECT_TRUE(jid.IsValid()); 47 EXPECT_TRUE(jid.IsValid()); 59 EXPECT_TRUE(jid.IsValid()); 71 EXPECT_FALSE(jid.IsValid()); 83 EXPECT_FALSE(jid.IsValid()); 95 EXPECT_FALSE(jid.IsValid()); 107 EXPECT_TRUE(jid.IsValid()); 119 EXPECT_TRUE(jid.IsValid());
|
/external/icu/icu4c/source/test/intltest/ |
quantityformattertest.cpp | 48 assertFalse("isValid with no patterns", fmt.isValid()); 55 assertTrue("isValid with other", fmt.isValid()); 143 assertFalse("isValid after reset", fmt.isValid());
|
/external/llvm/test/CodeGen/X86/ |
rdseed.ll | 11 %isvalid = extractvalue {i16, i32} %call, 1 12 ret i32 %isvalid 26 %isvalid = extractvalue {i32, i32} %call, 1 27 ret i32 %isvalid 40 %isvalid = extractvalue {i64, i32} %call, 1 41 ret i32 %isvalid
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BugleRecipientEntry.java | 33 final Uri photoThumbnailUri, final boolean isFirstLevel, final boolean isValid, 36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey); 42 final long dataId, final String thumbnailUriAsString, final boolean isValid, 46 ? Uri.parse(thumbnailUriAsString) : null), true, isValid, lookupKey); 52 final long dataId, final String thumbnailUriAsString, final boolean isValid, 56 ? Uri.parse(thumbnailUriAsString) : null), false, isValid, lookupKey);
|
/external/icu/icu4c/source/layout/ |
GlyphLookupTables.cpp | 19 return (scriptListOffset != 0) && scriptListTable->findScript(scriptListTable, scriptTag, success) .isValid(); 30 return LE_SUCCESS(success)&&langSysTable.isValid() && langSysTable->featureCount != 0;
|
/external/skia/include/gpu/gl/angle/ |
SkANGLEGLContext.h | 21 if (!ctx->isValid()) { 30 if (!ctx->isValid()) {
|
/packages/services/Car/libvehiclenetwork/native/ |
BinderUtil.h | 31 static void fillObjectResultReply(Parcel* reply, bool isValid) { 33 reply->writeInt32(isValid ? 1 : 0);
|
/external/dng_sdk/source/ |
dng_rational.h | 57 bool IsValid () const 64 return !IsValid (); 116 bool IsValid () const 123 return !IsValid ();
|
/external/libxml2/python/tests/ |
validate.py | 12 valid = ctxt.isValid() 32 valid = ctxt.isValid() 49 valid = ctxt.isValid() 68 valid = ctxt.isValid()
|
/art/runtime/ |
oat.cc | 98 bool OatHeader::IsValid() const { 143 CHECK(IsValid()); 148 CHECK(IsValid()); 184 DCHECK(IsValid()); 194 CHECK(IsValid()); 199 CHECK(IsValid()); 204 DCHECK(IsValid()); 213 DCHECK(IsValid()); 224 DCHECK(IsValid()); 232 DCHECK(IsValid()); [all...] |
/system/core/libsync/tests/ |
sync_test.cpp | 50 bool isValid() const { 92 bool isValid() const { 106 if (rhs.isValid()) { 113 if (fence.isValid()) { 121 if (fence.isValid()) { 154 if (temp.isValid()) { 160 if (isValid()) { 219 ASSERT_TRUE(timeline.isValid()); 224 ASSERT_TRUE(timeline.isValid()); 227 ASSERT_TRUE(fence.isValid()); [all...] |
/external/skia/include/gpu/gl/command_buffer/ |
SkCommandBufferGLContext.h | 21 if (!ctx->isValid()) { 29 if (!ctx->isValid()) { 39 if (!ctx->isValid()) {
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
UtilitiesTest.java | 20 import static com.android.shell.BugreportProgressService.isValid; 29 assertTrue("char '" + c + "' should be valid", isValid(c)); 37 assertFalse("char '" + c + "' should not be valid", isValid(c));
|
/external/llvm/include/llvm/Support/ |
SMLoc.h | 29 bool isValid() const { return Ptr != nullptr; } 54 assert(Start.isValid() == End.isValid() && 58 bool isValid() const { return Start.isValid(); }
|