Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
H A DControlsComponent.kt89 fun getVisibility(): Visibility {
90 if (!isEnabled()) return Visibility.UNAVAILABLE
95 return Visibility.AVAILABLE_AFTER_UNLOCK
98 return Visibility.AVAILABLE_AFTER_UNLOCK
101 return Visibility.AVAILABLE
104 enum class Visibility {
/aosp14/frameworks/base/api/
H A 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"}
276 props.Visibility = []string{"//frameworks/base"}
[all …]
/aosp14/frameworks/base/tools/aapt2/
H A 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);
H A 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 …]
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
H A 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)
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/
H A 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)
H A DVcnGatewayConnection.java182 @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)
221 @VisibleForTesting(visibility = Visibility.PRIVATE)
[all …]
H A 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 …]
H A 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)
/aosp14/frameworks/base/tools/aapt2/cmd/
H A 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()
/aosp14/frameworks/base/services/flags/java/com/android/server/flags/
H A DFeatureFlagsService.java86 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
94 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
106 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
H A DControlsComponentTest.kt105 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility())
114 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility())
124 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility())
134 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility())
144 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility())
/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiAudioSystemClient.java26 import com.android.internal.annotations.VisibleForTesting.Visibility;
50 @VisibleForTesting(visibility = Visibility.PACKAGE)
55 @VisibleForTesting(visibility = Visibility.PACKAGE)
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DProcStatsUtil.java32 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
56 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
81 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A 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)
/aosp14/frameworks/base/core/java/android/view/
H A DSoundEffectConstants.java23 import com.android.internal.annotations.VisibleForTesting.Visibility;
145 @VisibleForTesting(visibility = Visibility.PACKAGE)
158 @VisibleForTesting(visibility = Visibility.PACKAGE)
/aosp14/frameworks/base/tools/aapt2/link/
H A 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()
H A DPrivateAttributeMover.cpp65 if (type->visibility_level != Visibility::Level::kPublic) { in Consume()
75 return entry->visibility.level != Visibility::Level::kPublic; in Consume()
/aosp14/frameworks/base/core/java/android/service/autofill/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/transition/
H A DAutoTransitionTest.java39 assertEquals(Visibility.MODE_OUT, ((Fade)fadeOut).getMode()); in testFadeOutMoveFadeIn()
48 assertEquals(Visibility.MODE_IN, ((Fade)fadeIn).getMode()); in testFadeOutMoveFadeIn()
/aosp14/frameworks/base/core/java/android/transition/
H A DFade.java61 public class Fade extends Visibility {
74 public static final int IN = Visibility.MODE_IN;
82 public static final int OUT = Visibility.MODE_OUT;
/aosp14/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A DIkeTrafficSelectorUtils.java19 import static com.android.internal.annotations.VisibleForTesting.Visibility;
35 @VisibleForTesting(visibility = Visibility.PRIVATE)
H A DChildSaProposalUtils.java19 import static com.android.internal.annotations.VisibleForTesting.Visibility;
36 @VisibleForTesting(visibility = Visibility.PRIVATE)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
H A DDreamHomeControlsComplication.java21 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE;
22 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.AVAILABLE_AFTER_UNL…
23 import static com.android.systemui.controls.dagger.ControlsComponent.Visibility.UNAVAILABLE;
153 final ControlsComponent.Visibility visibility = mControlsComponent.getVisibility(); in isHomeControlsAvailable()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityTest.java35 public class VisibilityTest extends ActivityInstrumentationTestCase<Visibility> {
44 super("com.android.frameworks.coretests", Visibility.class); in VisibilityTest()
51 final Visibility a = getActivity(); in setUp()

12345678910