Home
last modified time | relevance | path

Searched refs:Boolean (Results 1 – 25 of 669) sorted by relevance

12345678910>>...27

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DRenderParamsFlags.java35 public static final Key<Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING =
36 new Key<Boolean>("disableBitmapCaching", Boolean.class);
37 public static final Key<Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES =
38 new Key<Boolean>("renderAllDrawableStates", Boolean.class);
44 public static final Key<Boolean> FLAG_KEY_RECYCLER_VIEW_SUPPORT =
45 new Key<Boolean>("recyclerViewSupport", Boolean.class);
55 public static final Key<Boolean> FLAG_KEY_XML_FILE_PARSER_SUPPORT =
56 new Key<Boolean>("xmlFileParser", Boolean.class);
61 public static final Key<Boolean> FLAG_DO_NOT_RENDER_ON_CREATE =
62 new Key<Boolean>("doNotRenderOnCreate", Boolean.class);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardFaceListenModel.kt12 val isListeningForFace: Boolean,
13 val isBouncer: Boolean,
14 val isAuthInterruptActive: Boolean,
15 val isKeyguardAwake: Boolean,
16 val isListeningForFaceAssistant: Boolean,
17 val isSwitchingUser: Boolean,
18 val isFaceDisabled: Boolean,
19 val isBecauseCannotSkipBouncer: Boolean,
20 val isKeyguardGoingAway: Boolean,
21 val isFaceSettingEnabledForUser: Boolean,
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt68 private var pulseExpanding: Boolean = false
72 var fullyAwake: Boolean = false
100 private var collapsedEnoughToHide: Boolean = false
103 var pulsing: Boolean = false
115 var notificationsFullyHidden: Boolean = false
127 var canShowPulsingHuns: Boolean = false
147 override fun onFullyHiddenChanged(isFullyHidden: Boolean) { in onFullyHiddenChanged()
172 fun isPulseExpanding(): Boolean = mStackScroller.isPulseExpanding in isPulseExpanding()
180 visible: Boolean, in isPulseExpanding()
181 animate: Boolean, in isPulseExpanding()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableBoolean.java30 public class MarshalQueryableBoolean implements MarshalQueryable<Boolean> {
32 private class MarshalerBoolean extends Marshaler<Boolean> {
33 protected MarshalerBoolean(TypeReference<Boolean> typeReference, int nativeType) { in MarshalerBoolean()
38 public void marshal(Boolean value, ByteBuffer buffer) { in marshal()
44 public Boolean unmarshal(ByteBuffer buffer) { in unmarshal()
55 public Marshaler<Boolean> createMarshaler(TypeReference<Boolean> managedType, in createMarshaler()
61 public boolean isTypeMappingSupported(TypeReference<Boolean> managedType, int nativeType) { in isTypeMappingSupported()
62 return (Boolean.class.equals(managedType.getType()) in isTypeMappingSupported()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DImsiPrivacyProtectionExemptionStoreData.java53 Map<Integer, Boolean> toSerialize(); in toSerialize()
60 void fromDeserialized(Map<Integer, Boolean> imsiProtectionExemptionMap); in fromDeserialized()
85 Map<String, Boolean> dataToSerialize = integerMapToStringMap(mDataSource.toSerialize()); in serializeData()
103 private Map<Integer, Boolean> parseCarrierImsiProtectionExemptionMap(XmlPullParser in, in parseCarrierImsiProtectionExemptionMap()
108 Map<String, Boolean> protectionExemptionMap = new HashMap<>(); in parseCarrierImsiProtectionExemptionMap()
118 protectionExemptionMap = (Map<String, Boolean>) value; in parseCarrierImsiProtectionExemptionMap()
131 private Map<String, Boolean> integerMapToStringMap(Map<Integer, Boolean> input) { in integerMapToStringMap()
132 Map<String, Boolean> output = new HashMap<>(); in integerMapToStringMap()
136 for (Map.Entry<Integer, Boolean> entry : input.entrySet()) { in integerMapToStringMap()
142 private Map<Integer, Boolean> stringMapToIntegerMap(Map<String, Boolean> input) { in stringMapToIntegerMap()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLogger.kt35 fun logPickupWakeup(isWithinVibrationThreshold: Boolean) { in logPickupWakeup()
59 fun logDozing(isDozing: Boolean) { in logDozing()
68 expand: Boolean, in logFling()
69 aboveThreshold: Boolean, in logFling()
70 thresholdNeeded: Boolean, in logFling()
71 screenOnFromTouch: Boolean in logFling()
88 fun logKeyguardBouncerChanged(isShowing: Boolean) { in logKeyguardBouncerChanged()
96 fun logScreenOn(isPulsing: Boolean) { in logScreenOn()
130 fun logKeyguardVisibilityChange(isShowing: Boolean) { in logKeyguardVisibilityChange()
146 fun logWakeDisplay(isAwake: Boolean) { in logWakeDisplay()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DBatteryStateSnapshot.kt11 val isPowerSaver: Boolean,
12 val plugged: Boolean,
21 val isBasedOnUsage: Boolean,
22 val isLowWarningEnabled: Boolean
27 var isHybrid: Boolean = false
36 isPowerSaver: Boolean,
37 plugged: Boolean,
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DSparseArrayUtils.kt100 override fun contains(element: Map.Entry<Int, T>): Boolean = in asMap()
103 override fun containsAll(elements: Collection<Map.Entry<Int, T>>): Boolean = in asMap()
106 override fun isEmpty(): Boolean = size == 0 in asMap()
117 override fun contains(element: Int): Boolean = containsKey(element) in asMap()
119 override fun containsAll(elements: Collection<Int>): Boolean = in asMap()
122 override fun isEmpty(): Boolean = size == 0 in asMap()
135 override fun contains(element: T): Boolean = containsValue(element) in asMap()
137 override fun containsAll(elements: Collection<T>): Boolean = in asMap()
140 override fun isEmpty(): Boolean = this@SparseArrayMapWrapper.isEmpty() in asMap()
145 override fun containsKey(key: Int): Boolean = sparseArray.contains(key) in asMap()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DServiceWrapper.kt37 private inline fun callThroughService(block: () -> Unit): Boolean { in callThroughService()
47 fun load(subscriber: IControlsSubscriber): Boolean { in load()
53 fun loadSuggested(subscriber: IControlsSubscriber): Boolean { in loadSuggested()
59 fun subscribe(controlIds: List<String>, subscriber: IControlsSubscriber): Boolean { in subscribe()
65 fun request(subscription: IControlsSubscription, num: Long): Boolean { in request()
71 fun cancel(subscription: IControlsSubscription): Boolean { in cancel()
81 ): Boolean { in action()
DControlsController.kt46 val available: Boolean
131 fun addSeedingFavoritesCallback(callback: Consumer<Boolean>): Boolean in loadForComponent()
215 val errorOnLoad: Boolean in loadForComponent()
225 error: Boolean = false in createLoadDataObject()
234 data class SeedResponse(val packageName: String, val accepted: Boolean)
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontTestUtil.java84 private static final List<Pair<Integer, Boolean>> sStyleList;
85 private static final Map<Pair<Integer, Boolean>, String> sFontMap;
86 private static final Map<Pair<Integer, Boolean>, Integer> sTtcMap;
87 private static final Map<Pair<Integer, Boolean>, String> sVariationSettingsMap;
132 ArrayList<Pair<Integer, Boolean>> styles = new ArrayList<>();
153 HashMap<Pair<Integer, Boolean>, String> map = new HashMap<>();
154 HashMap<Pair<Integer, Boolean>, Integer> ttcMap = new HashMap<>();
155 HashMap<Pair<Integer, Boolean>, String> variationMap = new HashMap<>();
156 HashMap<Character, Pair<Integer, Boolean>> reverseMap = new HashMap<>();
205 public static List<Pair<Integer, Boolean>> getAllStyles() { in getAllStyles()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackHandlerTest.java74 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testEmergencyListener()
91 ArgumentCaptor<Boolean> enableArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
94 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
95 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
97 ArgumentCaptor<Boolean> isTransient = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators()
134 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators()
135 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators()
140 ArgumentCaptor<Boolean> wideArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java147 ArrayList<Pair<Integer, Boolean>> rats = new ArrayList<Pair<Integer, Boolean>>(); in testRAT()
149 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A, true)); in testRAT()
150 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95B, true)); in testRAT()
151 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT, true)); in testRAT()
152 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0, true)); in testRAT()
153 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A, true)); in testRAT()
154 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_B, true)); in testRAT()
155 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EHRPD, true)); in testRAT()
157 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_GPRS, false)); in testRAT()
158 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EDGE, false)); in testRAT()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DPulseExpansionHandler.kt71 var isExpanding: Boolean = false in <lambda>()
92 var leavingLockscreen: Boolean = false in <lambda>()
98 private var mDraggedFarEnough: Boolean = false in <lambda>()
100 private var mPulsing: Boolean = false in <lambda>()
101 var isWakingToShadeLocked: Boolean = false in <lambda>()
105 private var mReachedWakeUpHeight: Boolean = false in <lambda>()
108 private val isFalseTouch: Boolean in <lambda>()
110 var qsExpanded: Boolean = false in <lambda>()
112 var bouncerShowing: Boolean = false in <lambda>()
121 override fun onInterceptTouchEvent(event: MotionEvent): Boolean { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsModel.kt51 fun changeFavoriteStatus(controlId: String, favorite: Boolean) {} in changeFavoriteStatus()
86 fun canMoveBefore(position: Int): Boolean in onFirstChange()
91 fun canMoveAfter(position: Int): Boolean in onFirstChange()
120 override var favorite: Boolean
136 var showNone: Boolean = false,
137 var showDivider: Boolean = false
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBypassController.kt40 private var hasFaceFeature: Boolean
53 val isStrongBiometric: Boolean
62 var bypassEnabled: Boolean = false
66 var bouncerShowing: Boolean = false
67 var launchingAffordance: Boolean = false
125 isStrongBiometric: Boolean in onBiometricAuthenticated()
126 ): Boolean { in onBiometricAuthenticated()
151 fun canBypass(): Boolean { in canBypass()
167 fun canPlaySubtleWindowAnimations(): Boolean { in canPlaySubtleWindowAnimations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaData.kt27 val initialized: Boolean = false,
79 var active: Boolean,
88 var resumption: Boolean = false,
93 var hasCheckedForResume: Boolean = false
105 val enabled: Boolean,
DMediaHierarchyManager.kt45 val View.isShownNotFaded: Boolean
101 private var cancelled: Boolean = false in <lambda>()
146 private var animationPending: Boolean = false
168 var collapsingShadeFromQS: Boolean = false
179 private val blockLocationChanges: Boolean
187 private var goingToSleep: Boolean = false
200 private var fullyAwake: Boolean = false
213 private var dozeAnimationRunning: Boolean = false
240 override fun onDozingChanged(isDozing: Boolean) { in onDozingChanged()
319 private fun updateDesiredLocation(forceNoAnimation: Boolean = false) { in updateDesiredLocation()
[all …]
DMediaHost.kt23 private var visibleChangedListeners: ArraySet<(Boolean) -> Unit> = ArraySet() in <lambda>()
61 fun addVisibilityChangeListener(listener: (Boolean) -> Unit) { in <lambda>()
146 override var showsOnlyActiveMedia: Boolean = false in <lambda>()
154 override var visible: Boolean = true in <lambda>()
163 override var falsingProtectionNeeded: Boolean = false in <lambda>()
204 override fun equals(other: Any?): Boolean { in <lambda>()
269 var showsOnlyActiveMedia: Boolean
274 var visible: Boolean
279 var falsingProtectionNeeded: Boolean
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DLogMessage.kt48 var bool1: Boolean
49 var bool2: Boolean
50 var bool3: Boolean
51 var bool4: Boolean
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt134 isActor: Boolean = false, in verify()
135 isPreInstalled: Boolean = false, in verify()
136 hasPermission: Boolean = false, in verify()
158 private val isActor: Boolean = false, in overlayInfo()
159 private val isPreInstalled: Boolean = false, in overlayInfo()
160 private val hasPermission: Boolean = false, in overlayInfo()
188 override fun doesTargetDefineOverlayable(targetPackageName: String?, userId: Int): Boolean { in overlayInfo()
198 override fun signaturesMatching(pkgName1: String, pkgName2: String, userId: Int): Boolean { in overlayInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMockKeyStore.java40 .thenAnswer(new Answer<Boolean>() { in createMock()
43 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
51 .thenAnswer(new Answer<Boolean>() { in createMock()
54 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
61 when(mock.delete(anyString(), anyInt())).thenAnswer(new Answer<Boolean>() { in createMock()
64 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
70 when(mock.contains(anyString(), anyInt())).thenAnswer(new Answer<Boolean>() { in createMock()
73 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsLogger.kt55 fun logHeadsUp(position: Int, isHeadsUp: Boolean) = in logHeadsUp()
57 fun logConversation(position: Int, isHeadsUp: Boolean) = in logHeadsUp()
59 fun logAlerting(position: Int, isHeadsUp: Boolean) = in logHeadsUp()
61 fun logSilent(position: Int, isHeadsUp: Boolean) = in logHeadsUp()
63 fun logForegroundService(position: Int, isHeadsUp: Boolean) = in logHeadsUp()
68 private fun logPosition(position: Int, label: String, isHeadsUp: Boolean) { in logPosition()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java168 serializer.attribute("", "active", Boolean.toString(winfo.isActive())); in dumpWindowRec()
169 serializer.attribute("", "focused", Boolean.toString(winfo.isFocused())); in dumpWindowRec()
171 Boolean.toString(winfo.isAccessibilityFocused())); in dumpWindowRec()
201 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec()
208 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
209 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
210 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
211 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec()
212 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec()
213 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlStatus.kt25 val favorite: Boolean
30 val removed: Boolean
39 override var favorite: Boolean,
40 override val removed: Boolean = false

12345678910>>...27