/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 162 static StringPiece LevelToString(Visibility::Level level) { in LevelToString() 164 case Visibility::Level::kPrivate: in LevelToString() 166 case Visibility::Level::kPublic: in LevelToString() 175 Visibility::Level level, in VisibilityOfResource() 182 const Visibility& visibility = result.value().entry->visibility; in VisibilityOfResource() 196 using Level = Visibility::Level; in TEST() 201 Visibility visibility; in TEST() 202 visibility.level = Visibility::Level::kPrivate; in TEST() 207 visibility.level = Visibility::Level::kUndefined; in TEST() 212 visibility.level = Visibility::Level::kPublic; in TEST() [all …]
|
D | ResourceTable.h | 42 struct Visibility { struct 141 Visibility visibility; 189 Visibility::Level visibility_level = Visibility::Level::kUndefined; 261 bool SetVisibility(const ResourceNameRef& name, const Visibility& visibility, IDiagnostics* diag); 262 bool SetVisibilityWithId(const ResourceNameRef& name, const Visibility& visibility, 264 bool SetVisibilityWithIdMangled(const ResourceNameRef& name, const Visibility& visibility, 331 bool SetVisibilityImpl(const ResourceNameRef& name, const Visibility& visibility,
|
/frameworks/base/core/java/com/android/internal/annotations/ |
D | VisibleForTesting.java | 36 enum Visibility { enum 49 Visibility visibility() default Visibility.PRIVATE; in visibility()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/annotations/ |
D | VisibleForTesting.java | 36 enum Visibility { enum 49 Visibility visibility() default Visibility.PRIVATE; in visibility()
|
/frameworks/layoutlib/common/src/com/android/tools/layoutlib/annotations/ |
D | VisibleForTesting.java | 36 enum Visibility { enum 49 Visibility visibility() default Visibility.PRIVATE; in visibility()
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 394 ResolveInfo::Visibility pVis = ResolveInfo::Default); 439 ResolveInfo::Visibility pVisibility = ResolveInfo::Default); 468 ResolveInfo::Visibility pVisibility); 477 ResolveInfo::Visibility pVisibility); 495 ResolveInfo::Visibility pVisibility); 506 ResolveInfo::Visibility pVisibility); 517 ResolveInfo::Visibility pVisibility); 528 ResolveInfo::Visibility pVisibility);
|
/frameworks/libs/net/common/framework/android/net/util/ |
D | IpRange.java | 19 import static com.android.internal.annotations.VisibleForTesting.Visibility; 68 @VisibleForTesting(visibility = Visibility.PRIVATE) 92 @VisibleForTesting(visibility = Visibility.PRIVATE) 97 @VisibleForTesting(visibility = Visibility.PRIVATE) 183 @VisibleForTesting(visibility = Visibility.PRIVATE) 195 @VisibleForTesting(visibility = Visibility.PRIVATE)
|
/frameworks/compile/mclinker/lib/LD/ |
D | ResolveInfo.cpp | 62 Visibility from_vis = pFrom.visibility(); in overrideVisibility() 63 Visibility cur_vis = visibility(); in overrideVisibility() 115 setVisibility(static_cast<ResolveInfo::Visibility>(pOther & 0x3)); in setOther() 118 void ResolveInfo::setVisibility(ResolveInfo::Visibility pVisibility) { in setVisibility() 208 ResolveInfo::Visibility ResolveInfo::visibility() const { in visibility() 209 return static_cast<ResolveInfo::Visibility>((m_BitField & VISIBILITY_MASK) >> in visibility()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Diff.cpp | 79 static bool IsSymbolVisibilityDifferent(const Visibility& vis_a, const Visibility& vis_b) { in IsSymbolVisibilityDifferent() 84 static bool IsIdDiff(const Visibility::Level& level_a, const Maybe<Id>& id_a, in IsIdDiff() 85 const Visibility::Level& level_b, const Maybe<Id>& id_b) { in IsIdDiff() 86 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff() 165 if (entry_b->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff() 171 if (entry_a->visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff() 232 if (type_b->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff() 238 if (type_a->visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiAudioSystemClient.java | 26 import com.android.internal.annotations.VisibleForTesting.Visibility; 50 @VisibleForTesting(visibility = Visibility.PACKAGE) 55 @VisibleForTesting(visibility = Visibility.PACKAGE)
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcStatsUtil.java | 32 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED) 56 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED) 81 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionEvent.java | 385 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 447 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 466 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 530 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 545 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 560 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 575 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 590 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 605 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
|
/frameworks/base/tools/aapt2/link/ |
D | PrivateAttributeMover_test.cpp | 33 Visibility::Level::kPublic) in TEST() 35 Visibility::Level::kPublic) in TEST() 84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
|
D | TableMerger.cpp | 90 if (src_type->visibility_level == Visibility::Level::kPublic) { in MergeType() 95 } else if (dst_type->visibility_level == Visibility::Level::kPublic && in MergeType() 96 src_type->visibility_level == Visibility::Level::kPublic && dst_type->id && in MergeType() 110 && dst_entry->visibility.level != Visibility::Level::kUndefined in MergeEntry() 121 if (src_entry->visibility.level == Visibility::Level::kPublic) { in MergeEntry() 125 } else if (src_entry->visibility.level == Visibility::Level::kPublic && in MergeEntry() 126 dst_entry->visibility.level == Visibility::Level::kPublic && dst_entry->id && in MergeEntry()
|
D | PrivateAttributeMover.cpp | 65 if (type->visibility_level != Visibility::Level::kPublic) { in Consume() 75 return entry->visibility.level != Visibility::Level::kPublic; in Consume()
|
/frameworks/base/core/java/android/service/autofill/ |
D | VisibilitySetterAction.java | 29 import android.view.View.Visibility; 86 public Builder(@IdRes int id, @Visibility int visibility) { in Builder() 100 public Builder setVisibility(@IdRes int id, @Visibility int visibility) { in setVisibility()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | AutoTransitionTest.java | 39 assertEquals(Visibility.MODE_OUT, ((Fade)fadeOut).getMode()); in testFadeOutMoveFadeIn() 48 assertEquals(Visibility.MODE_IN, ((Fade)fadeIn).getMode()); in testFadeOutMoveFadeIn()
|
/frameworks/base/core/java/android/transition/ |
D | Fade.java | 61 public class Fade extends Visibility { 74 public static final int IN = Visibility.MODE_IN; 82 public static final int OUT = Visibility.MODE_OUT;
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VisibilityTest.java | 35 public class VisibilityTest extends ActivityInstrumentationTestCase<Visibility> { 44 super("com.android.frameworks.coretests", Visibility.class); in VisibilityTest() 51 final Visibility a = getActivity(); in setUp()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.cpp | 364 static Visibility::Level DeserializeVisibilityFromPb(const pb::Visibility::Level& pb_level) { in DeserializeVisibilityFromPb() 366 case pb::Visibility::PRIVATE: in DeserializeVisibilityFromPb() 367 return Visibility::Level::kPrivate; in DeserializeVisibilityFromPb() 368 case pb::Visibility::PUBLIC: in DeserializeVisibilityFromPb() 369 return Visibility::Level::kPublic; in DeserializeVisibilityFromPb() 373 return Visibility::Level::kUndefined; in DeserializeVisibilityFromPb() 451 const pb::Visibility& pb_visibility = pb_entry.visibility(); in DeserializePackageFromPb() 457 const Visibility::Level level = DeserializeVisibilityFromPb(pb_visibility.level()); in DeserializePackageFromPb() 459 if (level == Visibility::Level::kPublic) { in DeserializePackageFromPb() 461 type->visibility_level = Visibility::Level::kPublic; in DeserializePackageFromPb() [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | ClassHasNativeVisitor.java | 20 import com.android.tools.layoutlib.annotations.VisibleForTesting.Visibility; 43 @VisibleForTesting(visibility=Visibility.PRIVATE)
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ResolveInfo.h | 72 enum Visibility { Default = 0, Internal = 1, Hidden = 2, Protected = 3 }; enum 104 void setVisibility(Visibility pVisibility); 168 Visibility visibility() const;
|
D | NamePool.h | 58 ResolveInfo::Visibility pVisibility = ResolveInfo::Default); 73 ResolveInfo::Visibility pVisibility,
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTracker.java | 57 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 120 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 341 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE) 431 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
|
/frameworks/base/core/proto/android/app/ |
D | notification.proto | 41 enum Visibility { enum 46 optional Visibility visibility = 9;
|