Home
last modified time | relevance | path

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

12345678

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/icy/
DIcyHeaders.java58 boolean isPublic = false; in parse()
93 isPublic = headers.get(0).equals("1"); in parse()
112 ? new IcyHeaders(bitrate, genre, name, url, isPublic, metadataInterval) in parse()
131 public final boolean isPublic; field in IcyHeaders
152 boolean isPublic, in IcyHeaders() argument
159 this.isPublic = isPublic; in IcyHeaders()
168 isPublic = Util.readBoolean(in); in IcyHeaders()
185 && isPublic == other.isPublic in equals()
196 result = 31 * result + (isPublic ? 1 : 0); in hashCode()
221 Util.writeBoolean(dest, isPublic); in writeToParcel()
/external/escapevelocity/src/test/java/com/google/escapevelocity/
DMethodFinderTest.java38 assertThat(Modifier.isPublic(mapClass.getModifiers())).isFalse(); in visibleMethodFromClass()
51 assertThat(Modifier.isPublic(entryClass.getModifiers())).isFalse(); in visibleMethodFromInterface()
63 assertThat(Modifier.isPublic(listClass.getModifiers())).isFalse(); in publicMethodsWithName()
70 assertThat(methods.stream().allMatch(MethodFinderTest::isPublic)).isTrue(); in publicMethodsWithName()
81 assertThat(Modifier.isPublic(listClass.getModifiers())).isFalse(); in publicMethodsWithName_Nonexistent()
88 private static boolean isPublic(Method method) { in isPublic() method in MethodFinderTest
89 return Modifier.isPublic(method.getModifiers()) in isPublic()
90 && Modifier.isPublic(method.getDeclaringClass().getModifiers()); in isPublic()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCacheControl.java40 private final boolean isPublic; field in CacheControl
50 boolean isPrivate, boolean isPublic, boolean mustRevalidate, int maxStaleSeconds, in CacheControl() argument
57 this.isPublic = isPublic; in CacheControl()
72 this.isPublic = false; in CacheControl()
118 public boolean isPublic() { in isPublic() method in CacheControl
119 return isPublic; in isPublic()
159 boolean isPublic = false; in parse()
228 isPublic = true; in parse()
246 return new CacheControl(noCache, noStore, maxAgeSeconds, sMaxAgeSeconds, isPrivate, isPublic, in parse()
262 if (isPublic) result.append("public, "); in headerValue()
/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.cpp179 Optional<bool> isPublic; in getDefinition() local
183 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
191 if (!isPublic.hasValue()) in getDefinition()
192 isPublic = VisMD->isPublic(); in getDefinition()
196 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp181 Optional<bool> isPublic; in getDefinition() local
185 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
193 if (!isPublic.hasValue()) in getDefinition()
194 isPublic = VisMD->isPublic(); in getDefinition()
198 !isPublic.hasValue() || isPublic.getValue()); in getDefinition()
/external/guava/guava-tests/test/com/google/common/reflect/
DElementTest.java39 assertFalse(element.isPublic()); in testPrivateField()
50 assertFalse(element.isPublic()); in testPackagePrivateField()
61 assertFalse(element.isPublic()); in testProtectedField()
72 assertTrue(element.isPublic()); in testPublicField()
103 assertTrue(element.isPublic()); in testConstructor()
131 assertFalse(element.isPublic()); in testPrivateMethod()
142 assertFalse(element.isPublic()); in testProtectedMethod()
152 assertTrue(element.isPublic()); in testFinalMethod()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DElementTest.java39 assertFalse(element.isPublic()); in testPrivateField()
50 assertFalse(element.isPublic()); in testPackagePrivateField()
61 assertFalse(element.isPublic()); in testProtectedField()
72 assertTrue(element.isPublic()); in testPublicField()
103 assertTrue(element.isPublic()); in testConstructor()
131 assertFalse(element.isPublic()); in testPrivateMethod()
142 assertFalse(element.isPublic()); in testProtectedMethod()
152 assertTrue(element.isPublic()); in testFinalMethod()
/external/doclava/src/com/google/doclava/apicheck/
DXmlApiFile.java86 boolean isPublic = "public".equals(visibility); in startElement()
89 boolean isPackagePrivate = !isPublic && !isPrivate && !isProtected; in startElement()
106 new ClassInfo(classDoc, rawCommentText, position, isPublic, isProtected, in startElement()
132 boolean isPublic = "public".equals(visibility); in startElement()
135 boolean isPackagePrivate = !isPublic && !isPrivate && !isProtected; in startElement()
155 realContainingClass, isPublic, isProtected, isPackagePrivate, isPrivate, isFinal, in startElement()
178 boolean isPublic = visibility.equals("public"); in startElement()
193 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()
92 public boolean isPublic() { in isPublic() method in MemberInfo
109 if (isPublic()) { in scope()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/body/
DModifierSet.java60 if (isPublic(modifiers)){ in getAccessSpecifier()
107 return !isPublic(modifiers) && !isProtected(modifiers) && !isPrivate(modifiers); in hasPackageLevelAccess()
110 public static boolean isPublic(int modifiers) { in isPublic() method in ModifierSet
/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.java100 public final boolean isPublic() { in isPublic() method in Element
101 return Modifier.isPublic(getModifiers()); in isPublic()
111 return !isPrivate() && !isPublic() && !isProtected(); in isPackagePrivate()
/external/guava/android/guava/src/com/google/common/reflect/
DElement.java100 public final boolean isPublic() { in isPublic() method in Element
101 return Modifier.isPublic(getModifiers()); in isPublic()
111 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/main/java/org/junit/runners/model/
DFrameworkMember.java50 public boolean isPublic() { in isPublic() method in FrameworkMember
51 return Modifier.isPublic(getModifiers()); in isPublic()
DFrameworkMethod.java32 if (isPublic()) { in FrameworkMethod()
104 if (!isPublic()) {
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotated.java35 public boolean isPublic() { in isPublic() method in Annotated
36 return Modifier.isPublic(getModifiers()); in isPublic()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistFactory.txt15 Line 73) Modifier.isPublic(modifiers) ==> java.lang.reflect.Modifier.isPublic(int)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_body_ModifierSet.txt15 Line 60) isPublic(modifiers) ==> boolean
29 Line 107) !isPublic(modifiers) && !isProtected(modifiers) && !isPrivate(modifiers) ==> boolean
/external/junit/src/main/java/org/junit/internal/runners/
DMethodValidator.java79 if (!Modifier.isPublic(each.getDeclaringClass().getModifiers())) { in validateTestMethods()
83 if (!Modifier.isPublic(each.getModifiers())) { in validateTestMethods()
/external/guice/core/src/com/google/inject/internal/
DSingleMethodInjector.java61 if (!Modifier.isPublic(modifiers) in createMethodInvoker()
62 || !Modifier.isPublic(method.getDeclaringClass().getModifiers())) { in createMethodInvoker()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DCompilationUnitBuildersTest.java144 assertTrue(myInterfaceDeclaration.isPublic()); in testAddInterface()
154 assertTrue(myEnumDeclaration.isPublic()); in testAddEnum()
163 assertTrue(myAnnotationDeclaration.isPublic()); in testAddAnnotationDeclaration()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/classfile/
DAccessFlags.java92 public final void isPublic(final boolean flag) { in isPublic() method in AccessFlags
96 public final boolean isPublic() { in isPublic() method in AccessFlags
/external/auto/value/src/test/java/com/google/auto/value/processor/
DGuavaCollectionBuildersTest.java66 if (Modifier.isPublic(c.getModifiers())) { in testImmutableBuilders()
77 if (!Modifier.isPublic(c.getModifiers())) { in checkImmutableClass()

12345678