Home
last modified time | relevance | path

Searched refs:Visibility (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt89 fun getVisibility(): Visibility { in isEnabled()
90 if (!isEnabled()) return Visibility.UNAVAILABLE in isEnabled()
95 return Visibility.AVAILABLE_AFTER_UNLOCK in isEnabled()
98 return Visibility.AVAILABLE_AFTER_UNLOCK in isEnabled()
101 return Visibility.AVAILABLE in isEnabled()
104 enum class Visibility { class
/frameworks/libs/modules-utils/java/com/android/internal/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/layoutlib/common/src/com/android/tools/layoutlib/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/base/api/
Dapi.go89 Visibility []string member
96 Visibility []string member
102 Visibility []string member
162 props.Visibility = []string{"//visibility:public"}
202 props.Visibility = []string{"//frameworks/base"}
214 props.Visibility = []string{"//frameworks/base"}
225 props.Visibility = []string{"//frameworks/base"}
235 props.Visibility = []string{"//frameworks/base"}
252 props.Visibility = []string{"//frameworks/base"}
264 props.Visibility = []string{"//frameworks/base"}
[all …]
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h394 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/com/android/net/module/util/
DIpRange.java19 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/base/tools/aapt2/
DResourceTable.h43 struct Visibility { struct
126 Visibility visibility;
175 Visibility::Level visibility_level = Visibility::Level::kUndefined;
213 Visibility visibility;
226 Visibility::Level visibility_level = Visibility::Level::kUndefined;
267 std::optional<Visibility> visibility;
280 NewResourceBuilder& SetVisibility(Visibility id);
DResourceTable_test.cpp176 static StringPiece LevelToString(Visibility::Level level) { in LevelToString()
178 case Visibility::Level::kPrivate: in LevelToString()
180 case Visibility::Level::kPublic: in LevelToString()
189 Visibility::Level level, in VisibilityOfResource()
196 const Visibility& visibility = result.value().entry->visibility; in VisibilityOfResource()
210 using Level = Visibility::Level; in TEST()
215 Visibility visibility; in TEST()
216 visibility.level = Visibility::Level::kPrivate; in TEST()
222 visibility.level = Visibility::Level::kUndefined; in TEST()
228 visibility.level = Visibility::Level::kPublic; in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DNetworkPriorityClassifier.java44 import com.android.internal.annotations.VisibleForTesting.Visibility;
62 @VisibleForTesting(visibility = Visibility.PRIVATE)
71 @VisibleForTesting(visibility = Visibility.PRIVATE)
80 @VisibleForTesting(visibility = Visibility.PRIVATE)
89 @VisibleForTesting(visibility = Visibility.PRIVATE)
136 @VisibleForTesting(visibility = Visibility.PRIVATE)
213 @VisibleForTesting(visibility = Visibility.PRIVATE)
259 @VisibleForTesting(visibility = Visibility.PRIVATE)
/frameworks/compile/mclinker/lib/LD/
DResolveInfo.cpp62 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/services/core/java/com/android/server/vcn/
DVcnNetworkProvider.java42 import com.android.internal.annotations.VisibleForTesting.Visibility;
77 @VisibleForTesting(visibility = Visibility.PRIVATE)
133 @VisibleForTesting(visibility = Visibility.PACKAGE)
142 @VisibleForTesting(visibility = Visibility.PACKAGE)
148 @VisibleForTesting(visibility = Visibility.PACKAGE)
216 @VisibleForTesting(visibility = Visibility.PRIVATE)
DVcnGatewayConnection.java96 import com.android.internal.annotations.VisibleForTesting.Visibility;
182 @VisibleForTesting(visibility = Visibility.PRIVATE)
185 @VisibleForTesting(visibility = Visibility.PRIVATE)
188 @VisibleForTesting(visibility = Visibility.PRIVATE)
191 @VisibleForTesting(visibility = Visibility.PRIVATE)
194 @VisibleForTesting(visibility = Visibility.PRIVATE)
197 @VisibleForTesting(visibility = Visibility.PRIVATE)
200 @VisibleForTesting(visibility = Visibility.PRIVATE)
215 @VisibleForTesting(visibility = Visibility.PRIVATE)
218 @VisibleForTesting(visibility = Visibility.PRIVATE)
[all …]
DVcn.java53 import com.android.internal.annotations.VisibleForTesting.Visibility;
205 @VisibleForTesting(visibility = Visibility.PRIVATE)
264 @VisibleForTesting(visibility = Visibility.PRIVATE)
270 @VisibleForTesting(visibility = Visibility.PRIVATE)
276 @VisibleForTesting(visibility = Visibility.PRIVATE)
649 @VisibleForTesting(visibility = Visibility.PRIVATE)
654 @VisibleForTesting(visibility = Visibility.PRIVATE)
671 @VisibleForTesting(visibility = Visibility.PACKAGE)
726 @VisibleForTesting(visibility = Visibility.PRIVATE)
737 @VisibleForTesting(visibility = Visibility.PRIVATE)
[all …]
DTelephonySubscriptionTracker.java46 import com.android.internal.annotations.VisibleForTesting.Visibility;
121 @VisibleForTesting(visibility = Visibility.PRIVATE)
341 @VisibleForTesting(visibility = Visibility.PRIVATE)
347 @VisibleForTesting(visibility = Visibility.PRIVATE)
354 @VisibleForTesting(visibility = Visibility.PRIVATE)
359 @VisibleForTesting(visibility = Visibility.PRIVATE)
378 @VisibleForTesting(visibility = Visibility.PRIVATE)
564 @VisibleForTesting(visibility = Visibility.PRIVATE)
/frameworks/base/services/flags/java/com/android/server/flags/
DFeatureFlagsService.java86 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
94 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
106 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp85 static bool IsSymbolVisibilityDifferent(const Visibility& vis_a, const Visibility& vis_b) { in IsSymbolVisibilityDifferent()
90 static bool IsIdDiff(const Visibility::Level& level_a, const std::optional<Id>& id_a, in IsIdDiff()
91 const Visibility::Level& level_b, const std::optional<Id>& id_b) { in IsIdDiff()
92 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff()
188 if (entry_b.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
197 if (entry_a.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
263 if (type_b.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
269 if (type_a.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiAudioSystemClient.java26 import com.android.internal.annotations.VisibleForTesting.Visibility;
50 @VisibleForTesting(visibility = Visibility.PACKAGE)
55 @VisibleForTesting(visibility = Visibility.PACKAGE)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt105 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility()) in testFeatureDisabledVisibility()
114 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAfterBootVisibility()
124 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
134 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
144 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
/frameworks/base/core/java/com/android/internal/os/
DProcStatsUtil.java32 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
56 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
81 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
/frameworks/base/core/java/android/view/
DSoundEffectConstants.java23 import com.android.internal.annotations.VisibleForTesting.Visibility;
145 @VisibleForTesting(visibility = Visibility.PACKAGE)
158 @VisibleForTesting(visibility = Visibility.PACKAGE)
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java383 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
450 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
469 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
533 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
548 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
563 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
578 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
593 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
608 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover_test.cpp33 Visibility::Level::kPublic) in TEST()
35 Visibility::Level::kPublic) in TEST()
84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
/frameworks/base/core/tests/coretests/src/android/transition/
DAutoTransitionTest.java39 assertEquals(Visibility.MODE_OUT, ((Fade)fadeOut).getMode()); in testFadeOutMoveFadeIn()
48 assertEquals(Visibility.MODE_IN, ((Fade)fadeIn).getMode()); in testFadeOutMoveFadeIn()
/frameworks/base/core/java/android/service/autofill/
DVisibilitySetterAction.java29 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()

12345678910>>...12