/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | RenderParamsFlags.java | 34 public static final Key<Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING = 35 new Key<Boolean>("disableBitmapCaching", Boolean.class); 36 public static final Key<Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES = 37 new Key<Boolean>("renderAllDrawableStates", Boolean.class); 43 public static final Key<Boolean> FLAG_KEY_RECYCLER_VIEW_SUPPORT = 44 new Key<Boolean>("recyclerViewSupport", Boolean.class); 54 public static final Key<Boolean> FLAG_KEY_XML_FILE_PARSER_SUPPORT = 55 new Key<Boolean>("xmlFileParser", Boolean.class); 60 public static final Key<Boolean> FLAG_DO_NOT_RENDER_ON_CREATE = 61 new Key<Boolean>("doNotRenderOnCreate", Boolean.class);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ServiceStateTest.java | 82 ArrayList<Pair<Integer, Boolean>> rats = new ArrayList<Pair<Integer, Boolean>>(); in testRAT() 84 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A, true)); in testRAT() 85 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95B, true)); in testRAT() 86 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT, true)); in testRAT() 87 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0, true)); in testRAT() 88 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A, true)); in testRAT() 89 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_B, true)); in testRAT() 90 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EHRPD, true)); in testRAT() 92 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_GPRS, false)); in testRAT() 93 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EDGE, false)); in testRAT() [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/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackHandlerTest.java | 70 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testEmergencyListener() 86 ArgumentCaptor<Boolean> enableArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators() 89 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators() 90 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators() 92 ArgumentCaptor<Boolean> isTransient = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setWifiIndicators() 126 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators() 127 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators() 130 ArgumentCaptor<Boolean> wideArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setMobileDataIndicators() 166 ArgumentCaptor<Boolean> noSimsArg = ArgumentCaptor.forClass(Boolean.class); in testSignalCallback_setNoSims()
|
D | NetworkControllerBaseTest.java | 297 ArgumentCaptor<Boolean> hasNoSimsArg = ArgumentCaptor.forClass(Boolean.class); in verifyHasNoSims() 307 ArgumentCaptor<Boolean> dataInArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators() 308 ArgumentCaptor<Boolean> dataOutArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsMobileDataIndicators() 364 ArgumentCaptor<Boolean> dataInArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastMobileDataIndicators() 365 ArgumentCaptor<Boolean> dataOutArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastMobileDataIndicators()
|
D | NetworkControllerWifiTest.java | 137 new Answer<Boolean>() { in setupNetworkScoreManager() 139 public Boolean answer(InvocationOnMock input) { in setupNetworkScoreManager() 264 ArgumentCaptor<Boolean> inArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection() 265 ArgumentCaptor<Boolean> outArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsDataDirection() 276 ArgumentCaptor<Boolean> enabledArg = ArgumentCaptor.forClass(Boolean.class); in verifyLastQsWifiIcon()
|
/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() 80 .thenAnswer(new Answer<Boolean>() { in createMock() 82 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 59 private static final Boolean SYSTEM = Boolean.TRUE; 60 private static final Boolean NETWORK = Boolean.FALSE; 72 private final Map<Integer, Boolean> mApps = new HashMap<>(); 133 Boolean permission = mApps.get(uid); in startMonitoring() 185 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() 188 for (Entry<Integer, Boolean> app : apps.entrySet()) { in update() 232 private Boolean highestPermissionForUid(Boolean currentPermission, String name) { in highestPermissionForUid() 258 final Boolean permission = highestPermissionForUid(mApps.get(appUid), appName); in onAppAdded() 262 Map<Integer, Boolean> apps = new HashMap<>(); in onAppAdded() 273 Map<Integer, Boolean> apps = new HashMap<>(); in onAppRemoved() [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/core/java/com/android/internal/widget/ |
D | LockPatternChecker.java | 110 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPattern() 122 protected Boolean doInBackground(Void... args) { in checkPattern() 132 protected void onPostExecute(Boolean result) { in checkPattern() 230 AsyncTask<Void, Void, Boolean> task = new AsyncTask<Void, Void, Boolean>() { in checkPassword() 234 protected Boolean doInBackground(Void... args) { in checkPassword() 244 protected void onPostExecute(Boolean result) { in checkPassword()
|
/frameworks/support/fragment/tests/java/android/support/v4/app/ |
D | LoaderTest.java | 198 private final LoaderManager.LoaderCallbacks<Boolean> mLoaderCallbacks = 199 new LoaderManager.LoaderCallbacks<Boolean>() { 201 public Loader<Boolean> onCreateLoader(int id, Bundle args) { 206 public void onLoadFinished(Loader<Boolean> loader, Boolean data) { 211 public void onLoaderReset(Loader<Boolean> loader) { 224 static class DummyLoader extends Loader<Boolean> {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkHistory.java | 203 + Boolean.toString(config.selfAdded) + NL); in writeKnownNetworkHistory() 205 + Boolean.toString(config.didSelfAdd) + NL); in writeKnownNetworkHistory() 209 + Boolean.toString(config.validatedInternetAccess) + NL); in writeKnownNetworkHistory() 211 Boolean.toString(config.noInternetAccessExpected) + NL); in writeKnownNetworkHistory() 213 + Boolean.toString(config.ephemeral) + NL); in writeKnownNetworkHistory() 215 + Boolean.toString(config.meteredHint) + NL); in writeKnownNetworkHistory() 217 + Boolean.toString(config.useExternalScores) + NL); in writeKnownNetworkHistory() 246 out.writeUTF(SHARED_KEY + SEPARATOR + Boolean.toString(config.shared) + NL); in writeKnownNetworkHistory() 296 + Boolean.toString(status.getHasEverConnected()) + NL); in writeKnownNetworkHistory() 404 config.selfAdded = Boolean.parseBoolean(value); in readNetworkHistory() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServicesTest.java | 83 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testRecalculateBindAllowance() 97 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testSetMemoryPressure() 118 ArgumentCaptor<Boolean> captor = ArgumentCaptor.forClass(Boolean.class); in testCalcFew()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 663 public static final Key<Boolean> CONTROL_AE_LOCK = 664 new Key<Boolean>("android.control.aeLock", boolean.class); 1646 public static final Key<Boolean> CONTROL_AWB_LOCK = 1647 new Key<Boolean>("android.control.awbLock", boolean.class); 2184 public static final Key<Boolean> CONTROL_ENABLE_ZSL = 2185 new Key<Boolean>("android.control.enableZsl", boolean.class); 2955 public static final Key<Boolean> QUIRKS_PARTIAL_RESULT = 2956 new Key<Boolean>("android.quirks.partialResult", boolean.class); 3841 public static final Key<Boolean> STATISTICS_HOT_PIXEL_MAP_MODE = 3842 new Key<Boolean>("android.statistics.hotPixelMapMode", boolean.class); [all …]
|
D | CaptureRequest.java | 953 public static final Key<Boolean> CONTROL_AE_LOCK = 954 new Key<Boolean>("android.control.aeLock", boolean.class); 1284 public static final Key<Boolean> CONTROL_AWB_LOCK = 1285 new Key<Boolean>("android.control.awbLock", boolean.class); 1679 public static final Key<Boolean> CONTROL_ENABLE_ZSL = 1680 new Key<Boolean>("android.control.enableZsl", boolean.class); 2499 public static final Key<Boolean> STATISTICS_HOT_PIXEL_MAP_MODE = 2500 new Key<Boolean>("android.statistics.hotPixelMapMode", boolean.class); 2793 public static final Key<Boolean> LED_TRANSMIT = 2794 new Key<Boolean>("android.led.transmit", boolean.class); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 97 final ArrayMap<Integer, ArrayMap<Integer, Boolean>> expected = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 99 final ArrayMap<Integer, Boolean> isRestrictedForDozable = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 105 final ArrayMap<Integer, Boolean> isRestrictedForPowerSave = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 111 final ArrayMap<Integer, Boolean> isRestrictedForStandby = new ArrayMap<>(); in testIsNetworkRestrictedForUid() 133 final ArrayMap<Integer, Boolean> expectedValues = expected.get(chain); in testIsNetworkRestrictedForUid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DockedStackExistsListener.java | 32 private final Consumer<Boolean> mCallback; 34 private DockedStackExistsListener(Consumer<Boolean> callback) { in DockedStackExistsListener() 61 public static void register(Consumer<Boolean> callback) { in register()
|
/frameworks/base/core/java/android/webkit/ |
D | CookieManager.java | 119 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); in setCookie() 178 public abstract void removeSessionCookies(ValueCallback<Boolean> callback); in removeSessionCookies() 200 public abstract void removeAllCookies(ValueCallback<Boolean> callback); in removeAllCookies()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/ |
D | ExecutionPath.java | 47 private Map<Expr, Boolean> mKnownValues = new HashMap<Expr, Boolean>(); 68 final Boolean knownValue = mKnownValues.get(pred); in addBranch() 131 for (Map.Entry<Expr, Boolean> entry : mKnownValues.entrySet()) { in debug() 188 public Map<Expr, Boolean> getKnownValues() { in getKnownValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 90 private ArrayMap<Integer, Boolean> mHasCACerts = new ArrayMap<Integer, Boolean>(); 242 Boolean hasCACerts = mHasCACerts.get(mCurrentUserId); in hasCACertInCurrentUser() 250 Boolean hasCACerts = mHasCACerts.get(userId); in hasCACertInWorkProfile() 390 protected class CACertLoader extends AsyncTask<Integer, Void, Pair<Integer, Boolean> > { 393 protected Pair<Integer, Boolean> doInBackground(Integer... userId) { in doInBackground() 397 return new Pair<Integer, Boolean>(userId[0], hasCACerts); in doInBackground() 403 return new Pair<Integer, Boolean>(userId[0], null); in doInBackground() 408 protected void onPostExecute(Pair<Integer, Boolean> result) { in onPostExecute()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Voicemail.java | 37 private final Boolean mIsRead; 38 private final Boolean mHasContent; 42 Long duration, String source, String providerData, Uri uri, Boolean isRead, in Voicemail() 43 Boolean hasContent, String transcription) { in Voicemail() 91 private Boolean mBuilderIsRead;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | WrappedRecyclerView.java | 36 Boolean mFakeRTL; 39 public void setFakeRTL(Boolean fakeRTL) { in setFakeRTL() 106 return Boolean.TRUE.equals(mFakeRTL) ? ViewCompat.LAYOUT_DIRECTION_RTL in getLayoutDirection()
|
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/ |
D | LargeAssetTest.java | 63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> { 67 protected Boolean doInBackground(AssetManager... params) { in doInBackground() 98 protected void onPostExecute(Boolean result) { in onPostExecute()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationComparator.java | 55 return -1 * Boolean.compare(leftImportantColorized, rightImportantColorized); in compare() 64 return -1 * Boolean.compare(leftImportantOngoing, rightImportantOngoing); in compare() 70 return -1 * Boolean.compare(leftMessaging, rightMessaging); in compare() 86 return -1 * Boolean.compare(leftPeople, rightPeople); in compare()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneBase.java | 81 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null); in startRingbackTone() 87 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null); in stopRingbackTone() 107 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.TRUE); in startOnHoldTone() 117 Pair<Connection, Boolean> result = new Pair<Connection, Boolean>(cn, Boolean.FALSE); in stopOnHoldTone()
|