Home
last modified time | relevance | path

Searched refs:isPublic (Results 1 – 25 of 89) sorted by relevance

1234

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCacheControl.java38 private final boolean isPublic; field in CacheControl
48 boolean isPrivate, boolean isPublic, boolean mustRevalidate, int maxStaleSeconds, in CacheControl() argument
55 this.isPublic = isPublic; in CacheControl()
70 this.isPublic = false; in CacheControl()
116 public boolean isPublic() { in isPublic() method in CacheControl
117 return isPublic; in isPublic()
157 boolean isPublic = false; in parse()
226 isPublic = true; in parse()
244 return new CacheControl(noCache, noStore, maxAgeSeconds, sMaxAgeSeconds, isPrivate, isPublic, in parse()
260 if (isPublic) result.append("public, "); in headerValue()
/external/clang/lib/Lex/
DMacroInfo.cpp175 Optional<bool> isPublic; in getDefinition() local
179 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
187 if (!isPublic.hasValue()) in getDefinition()
188 isPublic = VisMD->isPublic(); in getDefinition()
192 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java41 assertFalse(element.isPublic()); in testPrivateField()
52 assertFalse(element.isPublic()); in testPackagePrivateField()
63 assertFalse(element.isPublic()); in testProtectedField()
74 assertTrue(element.isPublic()); in testPublicField()
105 assertTrue(element.isPublic()); in testConstructor()
133 assertFalse(element.isPublic()); in testPrivateMethod()
144 assertFalse(element.isPublic()); in testProtectedMethod()
154 assertTrue(element.isPublic()); in testFinalMethod()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java84 boolean isPublic = "public".equals(visibility); in startElement()
87 boolean isPackagePrivate = !isPublic && !isPrivate && !isProtected; in startElement()
104 new ClassInfo(classDoc, rawCommentText, position, isPublic, isProtected, in startElement()
130 boolean isPublic = "public".equals(visibility); in startElement()
133 boolean isPackagePrivate = !isPublic && !isPrivate && !isProtected; in startElement()
152 realContainingClass, isPublic, isProtected, isPackagePrivate, isPrivate, isFinal, in startElement()
175 boolean isPublic = visibility.equals("public"); in startElement()
190 new FieldInfo(attributes.getValue("name"), mCurrentClass, mCurrentClass, isPublic, in startElement()
/external/doclava/src/com/google/doclava/
DMemberInfo.java23 ClassInfo containingClass, ClassInfo realContainingClass, boolean isPublic, in MemberInfo() argument
32 mIsPublic = isPublic; in MemberInfo()
99 public boolean isPublic() { in isPublic() method in MemberInfo
116 if (isPublic()) { in scope()
DClassInfo.java92 boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, in ClassInfo() argument
100 isPublic, isProtected, isPackagePrivate, isPrivate, in ClassInfo()
112 boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, in initialize() argument
120 mIsPublic = isPublic; in initialize()
234 public boolean isPublic() { in isPublic() method in ClassInfo
748 if ((this.isRemoved() || method.isRemoved()) && (method.isPublic() || method.isProtected()) && in setRemovedSelfMethods()
749 (this.isPublic() || this.isProtected()) && in setRemovedSelfMethods()
768 if ((this.isRemoved() || ctor.isRemoved()) && (ctor.isPublic() || ctor.isProtected()) && in setRemovedConstructors()
769 (this.isPublic() || this.isProtected())) { in setRemovedConstructors()
786 if ((this.isRemoved() || field.isRemoved()) && (field.isPublic() || field.isProtected()) && in setRemovedSelfFields()
[all …]
DScoped.java20 boolean isPublic(); in isPublic() method
DFieldInfo.java32 boolean isPublic, boolean isProtected, boolean isPackagePrivate, boolean isPrivate, in FieldInfo() argument
36 super(rawCommentText, name, null, containingClass, realContainingClass, isPublic, isProtected, in FieldInfo()
46 return new FieldInfo(name(), newContainingClass, realContainingClass(), isPublic(), in cloneForClass()
334 if (isPublic()) { in makeHDF()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheControlTest.java37 assertFalse(cacheControl.isPublic()); in emptyBuilderIsEmpty()
67 assertFalse(cacheControl.isPublic()); in completeBuilder()
79 assertFalse(cacheControl.isPublic()); in parseEmpty()
98 assertTrue(cacheControl.isPublic()); in parse()
118 assertFalse(cacheControl.isPublic()); in parseIgnoreCacheControlExtensions()
/external/guava/guava/src/com/google/common/reflect/
DElement.java93 public final boolean isPublic() { in isPublic() method in Element
94 return Modifier.isPublic(getModifiers()); in isPublic()
104 return !isPrivate() && !isPublic() && !isProtected(); in isPackagePrivate()
/external/javassist/sample/evolve/
DEvolution.java125 if (Modifier.isPublic(f.getModifiers())) in makeAbstractClass()
134 if (Modifier.isPublic(mod)) { in makeAbstractClass()
147 if (Modifier.isPublic(mod)) in makeAbstractClass()
177 if (Modifier.isPublic(f.getModifiers())) in makeConcreteClass()
/external/junit/src/org/junit/runners/model/
DFrameworkField.java29 public boolean isPublic() { in isPublic() method in FrameworkField
31 return Modifier.isPublic(modifiers); in isPublic()
DFrameworkMethod.java86 if (!Modifier.isPublic(fMethod.getDeclaringClass().getModifiers()))
88 if (!Modifier.isPublic(fMethod.getModifiers()))
/external/clang/include/clang/Lex/
DMacroInfo.h427 bool isPublic) in DefInfo() argument
428 : DefDirective(DefDirective), UndefLoc(UndefLoc), IsPublic(isPublic) { } in DefInfo()
442 bool isPublic() const { return IsPublic; } in isPublic() function
546 bool isPublic() const { return IsPublic; } in isPublic() function
/external/junit/src/org/junit/internal/runners/
DMethodValidator.java77 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) in validateTestMethods()
80 if (!Modifier.isPublic(each.getModifiers())) in validateTestMethods()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/
DBeanCopier.java68 if(!Modifier.isPublic(source.getModifiers())){ in setSource()
75 if(!Modifier.isPublic(target.getModifiers())){ in setTarget()
/external/junit/src/junit/framework/
DTestSuite.java141 if (!Modifier.isPublic(theClass.getModifiers())) {
298 return isTestMethod(m) && Modifier.isPublic(m.getModifiers());
/external/javassist/src/main/javassist/tools/rmi/
DStubGenerator.java132 || !Modifier.isPublic(modify)) in produceProxyClass()
206 if (Modifier.isPublic(mod)) { in addMethods()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DVisibilityPredicate.java35 } else if (Modifier.isPublic(mod)) { in evaluate()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DNoOpGenerator.java32 TypeUtils.isPublic(method.getModifiers())) { in generate()
/external/javassist/src/main/javassist/bytecode/
DAccessFlag.java80 public static boolean isPublic(int accflags) { in isPublic() method in AccessFlag
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DResultSetMetaDataTest.java63 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DConnectionTest.java68 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
DStatementTest.java71 if (Modifier.isPublic(theMods) && Modifier.isStatic(theMods)) { in testPublicStatics()
/external/guava/guava-tests/test/com/google/common/collect/
DFauxveridesTest.java22 import static java.lang.reflect.Modifier.isPublic;
144 if (isPublic(modifiers) && isStatic(modifiers)) { in getPublicStaticMethods()

1234