/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | RenderParamsFlags.java | 35 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/systemui/statusbar/notification/ |
D | NotificationWakeUpCoordinator.kt | 71 private var pulseExpanding: Boolean = false 75 var fullyAwake: Boolean = false 103 private var collapsedEnoughToHide: Boolean = false 106 var pulsing: Boolean = false 118 var notificationsFullyHidden: Boolean = false 130 var canShowPulsingHuns: Boolean = false 151 override fun onFullyHiddenChanged(isFullyHidden: Boolean) { in onFullyHiddenChanged() 176 fun isPulseExpanding(): Boolean = mStackScroller.isPulseExpanding in isPulseExpanding() 183 fun setNotificationsVisibleForExpansion(visible: Boolean, animate: Boolean, in isPulseExpanding() 184 increaseSpeed: Boolean) { in isPulseExpanding() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableBoolean.java | 30 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/base/packages/SystemUI/src/com/android/systemui/power/ |
D | BatteryStateSnapshot.kt | 11 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/core/tests/coretests/src/android/graphics/ |
D | FontTestUtil.java | 84 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/ |
D | CallbackHandlerTest.java | 74 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/ |
D | ServiceStateTest.java | 147 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/libs/net/common/devicetests/com/android/testutils/ |
D | TestableNetworkCallback.kt | 80 val blocked: Boolean 124 override fun onBlockedStatusChanged(network: Network, blocked: Boolean) { in onBlockedStatusChanged() 198 crossinline predicate: (T) -> Boolean = { true } in eventuallyExpect() 207 crossinline predicate: (T) -> Boolean = { true } in eventuallyExpectOrNull() 212 valid: (CallbackEntry) -> Boolean in expectCallbackThat() 218 valid: (NetworkCapabilities) -> Boolean in expectCapabilitiesThat() 228 valid: (LinkProperties) -> Boolean in expectLinkPropertiesThat() 248 suspended: Boolean = false, in expectAvailableCallbacks() 249 validated: Boolean = true, in expectAvailableCallbacks() 250 blocked: Boolean = false, in expectAvailableCallbacks() [all …]
|
D | NetworkStatsUtils.kt | 26 compareTime: Boolean = false in <lambda>() 27 ): Boolean { in <lambda>() 66 compareTime: Boolean = false in assertNetworkStatsEquals()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | PulseExpansionHandler.kt | 73 var isExpanding: Boolean = false in <lambda>() 94 var leavingLockscreen: Boolean = false in <lambda>() 100 private var mDraggedFarEnough: Boolean = false in <lambda>() 103 private var mPulsing: Boolean = false in <lambda>() 104 var isWakingToShadeLocked: Boolean = false in <lambda>() 108 private var mReachedWakeUpHeight: Boolean = false in <lambda>() 111 private val isFalseTouch: Boolean in <lambda>() 113 var qsExpanded: Boolean = false in <lambda>() 115 var bouncerShowing: Boolean = false in <lambda>() 125 override fun onInterceptTouchEvent(event: MotionEvent): Boolean { in <lambda>() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 105 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec() 112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec() 113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec() 114 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec() 115 serializer.attribute("", "enabled", Boolean.toString(node.isEnabled())); in dumpNodeRec() 116 serializer.attribute("", "focusable", Boolean.toString(node.isFocusable())); in dumpNodeRec() 117 serializer.attribute("", "focused", Boolean.toString(node.isFocused())); in dumpNodeRec() 118 serializer.attribute("", "scrollable", Boolean.toString(node.isScrollable())); in dumpNodeRec() 119 serializer.attribute("", "long-clickable", Boolean.toString(node.isLongClickable())); in dumpNodeRec() 120 serializer.attribute("", "password", Boolean.toString(node.isPassword())); in dumpNodeRec() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassController.kt | 36 private var hasFaceFeature: Boolean 49 var bypassEnabled: Boolean = false 53 var bouncerShowing: Boolean = false 54 var launchingAffordance: Boolean = false 102 fun onBiometricAuthenticated(biometricSourceType: BiometricSourceType): Boolean { in onBiometricAuthenticated() 125 fun canBypass(): Boolean { in canBypass() 141 fun canPlaySubtleWindowAnimations(): Boolean { in canPlaySubtleWindowAnimations()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockKeyStore.java | 40 .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/core/java/com/android/internal/widget/ |
D | LockPatternChecker.java | 111 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPattern() 123 protected Boolean doInBackground(Void... args) { in checkPattern() 133 protected void onPostExecute(Boolean result) { in checkPattern() 271 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPassword() 275 protected Boolean doInBackground(Void... args) { in checkPassword() 285 protected void onPostExecute(Boolean result) { in checkPassword()
|
D | ViewClippingUtil.java | 52 Boolean clipChildren = (Boolean) parent.getTag(CLIP_CHILDREN_TAG); in setClippingDeactivated() 57 Boolean clipToPadding = (Boolean) parent.getTag(CLIP_TO_PADDING); in setClippingDeactivated()
|
/frameworks/libs/net/common/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 33 fun add(e: E): Boolean in add() 45 fun poll(timeoutMs: Long, pos: Int, predicate: (E) -> Boolean = { true }): E? in add() 95 override fun add(e: E): Boolean { in add() 102 override fun poll(timeoutMs: Long, pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() 107 fun getOrNull(pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() 114 private fun pollForIndexReadLocked(timeoutMs: Long, pos: Int, predicate: (E) -> Boolean): Int { in pollForIndexReadLocked() 227 fun poll(timeoutMs: Long, predicate: (E) -> Boolean = { true }): E? { in newReadHead()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | DetectTvSystemAudioModeSupportActionTest.java | 46 private Boolean mSupported; 110 mSupported = Boolean.valueOf(supported); in SetUp() 122 assertEquals(Boolean.FALSE, mSupported); in testSendCecCommandNotSucceed() 131 assertEquals(Boolean.FALSE, mSupported); in testFeatureAbort() 141 assertEquals(Boolean.TRUE, mSupported); in testSupported()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 59 return -1 * Boolean.compare(isLeftHighImportance, isRightHighImportance); in compare() 67 return -1 * Boolean.compare(leftImportantColorized, rightImportantColorized); in compare() 76 return -1 * Boolean.compare(leftImportantOngoing, rightImportantOngoing); in compare() 82 return -1 * Boolean.compare(leftMessaging, rightMessaging); in compare() 98 return -1 * Boolean.compare(leftPeople, rightPeople); in compare() 129 return -1 * Boolean.compare(leftInterruptive, rightInterruptive); in compare()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | UserDetailViewAdapterTest.kt | 65 current: Boolean, in clickableTest() 66 guest: Boolean, in clickableTest() 68 shouldBeClickable: Boolean in clickableTest() 119 private fun createUserRecord(current: Boolean, guest: Boolean) =
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 98 final ArrayMap<Integer, ArrayMap<Integer, Boolean>> expected = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 100 final ArrayMap<Integer, Boolean> isRestrictedForDozable = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 106 final ArrayMap<Integer, Boolean> isRestrictedForPowerSave = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 112 final ArrayMap<Integer, Boolean> isRestrictedForStandby = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 134 final ArrayMap<Integer, Boolean> expectedValues = expected.get(chain); in testIsNetworkRestrictedForUid()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 686 public static final Key<Boolean> CONTROL_AE_LOCK = 687 new Key<Boolean>("android.control.aeLock", boolean.class); 1727 public static final Key<Boolean> CONTROL_AWB_LOCK = 1728 new Key<Boolean>("android.control.awbLock", boolean.class); 2300 public static final Key<Boolean> CONTROL_ENABLE_ZSL = 2301 new Key<Boolean>("android.control.enableZsl", boolean.class); 3194 public static final Key<Boolean> QUIRKS_PARTIAL_RESULT = 3195 new Key<Boolean>("android.quirks.partialResult", boolean.class); 4163 public static final Key<Boolean> STATISTICS_HOT_PIXEL_MAP_MODE = 4164 new Key<Boolean>("android.statistics.hotPixelMapMode", boolean.class); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServicesTest.java | 98 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testRecalculateBindAllowance() 112 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testSetMemoryPressure() 133 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testCalcFew()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupConfigStoreData.java | 49 private final DataSource<Boolean> mIsActiveDataSource; 50 private final DataSource<Boolean> mIsOnboardedDataSource; 81 DataSource<Boolean> isActiveDataSource, in WakeupConfigStoreData() 82 DataSource<Boolean> isOnboardedDataSource, in WakeupConfigStoreData() 199 isActive = (Boolean) value; in parseFeatureState() 202 isOnboarded = (Boolean) value; in parseFeatureState()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 85 protected static final Boolean SYSTEM = Boolean.TRUE; 86 protected static final Boolean NETWORK = Boolean.FALSE; 100 private final Map<Integer, Boolean> mApps = new HashMap<>(); 178 Boolean permission = mApps.get(uid); in startMonitoring() 263 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() 266 for (Entry<Integer, Boolean> app : apps.entrySet()) { in update() 324 protected Boolean highestPermissionForUid(Boolean currentPermission, String name, int uid) { in highestPermissionForUid() 368 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName, uid); in onPackageAdded() 372 Map<Integer, Boolean> apps = new HashMap<>(); in onPackageAdded() 419 Map<Integer, Boolean> apps = new HashMap<>(); in onPackageRemoved() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | CookieManager.java | 130 public abstract void setCookie(String url, String value, @Nullable ValueCallback<Boolean> in setCookie() 190 public abstract void removeSessionCookies(@Nullable ValueCallback<Boolean> callback); in removeSessionCookies() 212 public abstract void removeAllCookies(@Nullable ValueCallback<Boolean> callback); in removeAllCookies()
|