/frameworks/base/media/java/android/media/ |
D | MediaMetadataEditor.java | 214 mEditorMetadata.putString(String.valueOf(key), value); in putString() 243 mEditorMetadata.putLong(String.valueOf(key), value); in putLong() 309 mEditorMetadata.putParcelable(String.valueOf(key), (Parcelable)value); in putObject() 337 return mEditorMetadata.getLong(String.valueOf(key), defaultValue); in getLong() 353 return mEditorMetadata.getString(String.valueOf(key), defaultValue); in getString() 385 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject() 386 return mEditorMetadata.getLong(String.valueOf(key)); in getObject() 391 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject() 392 return mEditorMetadata.getString(String.valueOf(key)); in getObject() 397 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject() [all …]
|
D | MediaDescription.java | 251 if (!String.valueOf(mTitle).equals(String.valueOf(d.mTitle))) { in equals() 255 if (!String.valueOf(mSubtitle).equals(String.valueOf(d.mSubtitle))) { in equals() 259 if (!String.valueOf(mDescription).equals(String.valueOf(d.mDescription))) { in equals()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | WrappedSysUiStatsEvent.java | 55 addValue(Integer.valueOf(value)); in writeInt() 62 addAnnotation(annotation, Boolean.valueOf(value)); in addBooleanAnnotation() 76 addValue(Boolean.valueOf(value)); in writeBoolean() 112 Integer key = Integer.valueOf(mLastIndex); in addAnnotation() 116 mAnnotations.get(key).put(Byte.valueOf(annotation), value); in addAnnotation() 120 return ((Boolean) mAnnotations.get(Integer.valueOf(i)).get(Byte.valueOf(a))) in getBooleanAnnotation()
|
D | GroupHelperTest.java | 87 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit() 102 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage() 118 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser() 134 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testNoGroup_someAreGrouped() 151 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testPostingOverLimit() 164 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_addingNoGroupSBN() 189 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_UpdateNotification() 218 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_UpdateNotificationAfterChanges() 251 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_RemoveNotification() 279 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_UpdateToNoneOngoingNotification() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsUt.java | 182 mPendingCmds.put(Integer.valueOf(id), result); in queryCallBarring() 211 mPendingCmds.put(Integer.valueOf(id), result); in queryCallForward() 239 mPendingCmds.put(Integer.valueOf(id), result); in queryCallWaiting() 266 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIR() 292 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIP() 318 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLR() 344 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLP() 404 mPendingCmds.put(Integer.valueOf(id), result); in updateCallBarring() 434 mPendingCmds.put(Integer.valueOf(id), result); in updateCallForward() 462 mPendingCmds.put(Integer.valueOf(id), result); in updateCallWaiting() [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 83 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata() 88 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata() 93 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata() 97 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata() 101 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata() 105 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata() 109 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata() 113 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata() 117 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata() 121 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER), in getOldMetadata() [all …]
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 38 String.valueOf(result); in testConvert_DegreesToDouble() 49 String.valueOf(result); in testConvert_MinutesToDouble() 60 String.valueOf(result); in testConvert_SecondsToDouble() 71 String.valueOf(result); in testConvert_SecondsToDouble2() 137 message = "bearingToTest: Bearing should be 0, actual value is " + String.valueOf(bearing); in testBearingTo() 142 String.valueOf(bearing); in testBearingTo() 149 String.valueOf(bearing); in testBearingTo() 169 String.valueOf(distance); in testDistanceTo() 174 String.valueOf(distance); in testDistanceTo()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 73 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront() 91 View view = createView(String.valueOf(i + 1)); in testAddChildInMiddle() 109 View view = createView(String.valueOf(i + 1)); in testAddChildren() 141 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildren() 162 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulk() 183 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulkAtFront() 205 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulkAtEnd() 226 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildAtFront() 245 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildInMiddle()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
D | ColoredHeaderMixinTest.java | 62 mixin.setColor(ColorStateList.valueOf(Color.MAGENTA)); in testSetColor() 64 assertEquals(ColorStateList.valueOf(Color.MAGENTA), mHeaderTextView.getTextColors()); in testSetColor() 70 mHeaderTextView.setTextColor(ColorStateList.valueOf(Color.GREEN)); in testGetColor() 72 assertEquals(ColorStateList.valueOf(Color.GREEN), mixin.getColor()); in testGetColor() 84 assertEquals(ColorStateList.valueOf(Color.RED), mHeaderTextView.getTextColors()); in testSetColorFromXml()
|
D | ProgressBarMixinTest.java | 104 mixin.setColor(ColorStateList.valueOf(Color.MAGENTA)); in testSetColorBeforeSetShown() 111 assertEquals(ColorStateList.valueOf(Color.MAGENTA), progressBar.getIndeterminateTintList()); in testSetColorBeforeSetShown() 113 ColorStateList.valueOf(Color.MAGENTA), progressBar.getProgressBackgroundTintList()); in testSetColorBeforeSetShown() 123 mixin.setColor(ColorStateList.valueOf(Color.YELLOW)); in testSetColorAfterSetShown() 128 assertEquals(ColorStateList.valueOf(Color.YELLOW), progressBar.getIndeterminateTintList()); in testSetColorAfterSetShown() 130 ColorStateList.valueOf(Color.YELLOW), progressBar.getProgressBackgroundTintList()); in testSetColorAfterSetShown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreConfigTest.java | 64 String.valueOf(DataUnit.MEBIBYTES.toBytes(1000)), in testGetAppDataBytesLimit() 68 String.valueOf(0.002f), in testGetAppDataBytesLimit() 76 String.valueOf(DataUnit.MEBIBYTES.toBytes(100)), in testGetAppDataBytesLimit() 80 String.valueOf(0.1f), in testGetAppDataBytesLimit()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabasePerfTest.java | 85 + "WHERE _ID=?", new String[]{String.valueOf(index)})) { in testSelect() 106 new String[]{String.valueOf(index), String.valueOf(index + querySize - 1)})) { in testSelectMultipleRows() 184 new String[]{String.valueOf(index)})) { in testInnerJoin() 205 String[] deleteArgs = new String[]{String.valueOf(DEFAULT_DATASET_SIZE)}; in testInsert() 218 String[] deleteArgs = new String[]{String.valueOf(DEFAULT_DATASET_SIZE)}; in testDelete() 244 argArray[0] = String.valueOf(id); in testUpdate()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 715 return setNumber(String.valueOf(number)); in setNumber() 771 return setNumber(String.valueOf(number)); in setNumber() 864 return setIntegerPart(String.valueOf(integerPart)); in setIntegerPart() 922 return setIntegerPart(String.valueOf(integerPart)); in setIntegerPart() 942 return setNumerator(String.valueOf(numerator)); in setNumerator() 962 return setDenominator(String.valueOf(denominator)); in setDenominator() 996 return setNumber(String.valueOf(number)); in setNumber() 1016 return setIntegerPart(String.valueOf(integerPart)); in setIntegerPart() 1048 return setNumerator(String.valueOf(numerator)); in setNumerator() 1068 return setDenominator(String.valueOf(denominator)); in setDenominator() [all …]
|
/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DualDumpOutputStream.java | 161 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 169 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 177 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 185 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 201 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 209 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountsDbTest.java | 154 mAccountsDb.deleteAuthToken(String.valueOf(authTokenId)); in testAuthTokenInsertFindDelete() 388 assertEquals(mAccountsDb.findAccountVisibility(account, packageName1), Integer.valueOf(1)); in testVisibilityFindSetDelete() 389 assertEquals(mAccountsDb.findAccountVisibility(accId, packageName1), Integer.valueOf(1)); in testVisibilityFindSetDelete() 392 assertEquals(mAccountsDb.findAccountVisibility(accId, packageName2), Integer.valueOf(2)); in testVisibilityFindSetDelete() 395 assertEquals(mAccountsDb.findAccountVisibility(accId, packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete() 399 assertEquals(vis.get(packageName1), Integer.valueOf(1)); in testVisibilityFindSetDelete() 400 assertEquals(vis.get(packageName2), Integer.valueOf(3)); in testVisibilityFindSetDelete() 430 assertEquals(accnt1Visibility.get(packageName1), Integer.valueOf(1)); in testFindAllVisibilityValues() 431 assertEquals(accnt1Visibility.get(packageName2), Integer.valueOf(2)); in testFindAllVisibilityValues() 434 assertEquals(accnt2Visibility.get(packageName1), Integer.valueOf(1)); in testFindAllVisibilityValues() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | AdditionalSubtypeUtils.java | 161 String.valueOf(subtype.getSubtypeId())); in save() 163 out.attribute(null, ATTR_ICON, String.valueOf(subtype.getIconResId())); in save() 164 out.attribute(null, ATTR_LABEL, String.valueOf(subtype.getNameResId())); in save() 171 String.valueOf(subtype.isAuxiliary() ? 1 : 0)); in save() 173 String.valueOf(subtype.isAsciiCapable() ? 1 : 0)); in save() 258 final boolean isAuxiliary = "1".equals(String.valueOf( in load() 260 final boolean isAsciiCapable = "1".equals(String.valueOf( in load()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsHelperRestoreTest.java | 75 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 98 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 141 String.valueOf(0), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue() 163 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue()
|
/frameworks/base/apex/statsd/framework/java/android/os/ |
D | StatsDimensionsValue.java | 243 sb.append(String.valueOf(mInner.intValue)); in toString() 246 sb.append(String.valueOf(mInner.longValue)); in toString() 249 sb.append(String.valueOf(mInner.boolValue)); in toString() 252 sb.append(String.valueOf(mInner.floatValue)); in toString()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsManagerTest.java | 320 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.WIFI_PREFERRED)) in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState() 326 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.CELLULAR_PREFERRED)) in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState() 382 doReturn(String.valueOf(1 /*true*/)) in testSetWfcSetting_shouldSetWfcModeRoamingDisabledUserEnabled() 418 doReturn(String.valueOf(1 /*true*/)) in testSetWfcSetting_shouldSetWfcModeRoamingEnabledUserEnabled() 493 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_wfcEnabledShouldSetWfcModeRoamingEnabled() 540 doReturn(String.valueOf(0 /*false*/)) in testSetWfcMode_WfcDisabledShouldNotSetWfcModeRoamingEnabled() 575 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_shouldSetWfcModeRoamingDisabledUserEnabled() 582 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_shouldSetWfcModeRoamingDisabledUserEnabled() 617 doReturn(String.valueOf(0 /*false*/)) in testSetWfcMode_shouldSetWfcModeRoamingEnabledUserDisabled() 653 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.WIFI_ONLY)) in testSetWfcSetting_wfcNotEditable() [all …]
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | PrefState.java | 49 .putString(CAT_KEY_PREFIX + String.valueOf(cat.getSeed()), cat.getName()) in addCat() 54 mPrefs.edit().remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())).apply(); in removeCat() 64 cat.setName(String.valueOf(map.get(key))); in getCats()
|
/frameworks/base/core/java/android/text/method/ |
D | NumberKeyListener.java | 131 content.replace(selStart, selEnd, String.valueOf((char) i)); in onKeyDown() 141 content.replace(selStart - 1, selEnd, String.valueOf('+')); in onKeyDown() 162 collection.add(Character.valueOf(digits[i].charAt(0))); in addDigits() 205 collection.add(Character.valueOf(ch)); in addFormatCharsFromSkeleton() 236 collection.add(Character.valueOf(ch)); in addAmPmChars()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareClientState.java | 229 + mNotifyIdentityChange + ", mac=" + String.valueOf( in onInterfaceAddressChange() 231 + String.valueOf(HexEncoding.encode(mLastDiscoveryInterfaceMac))); in onInterfaceAddressChange() 262 + mNotifyIdentityChange + ", mac=" + String.valueOf( in onClusterChange() 264 + String.valueOf(HexEncoding.encode(currentDiscoveryInterfaceMac)) in onClusterChange() 265 + ", mLastDiscoveryInterfaceMac=" + String.valueOf( in onClusterChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | PropertyAnimatorTest.java | 130 Float.valueOf(200f)); in testEndValueUpdated() 140 Float.valueOf(100f)); in testStartTagUpdated() 147 assertEquals(Float.valueOf(200f), mEffectiveProperty.get(mView)); in testValueIsSetUnAnimated() 159 Float.valueOf(220f)); in testAnimationToRightValueUpdated() 172 Float.valueOf(220f)); in testAnimationToRightValueUpdateAnimated() 184 Float.valueOf(120f)); in testStartTagShiftedWhenChanging()
|
/frameworks/base/tests/Internal/src/com/android/internal/colorextraction/types/ |
D | TonalTest.java | 59 tonal.extractInto(new WallpaperColors(Color.valueOf(0xff000000), null, null, 0), in extractInto_usesFallbackWhenTooLightOrDark() 64 tonal.extractInto(new WallpaperColors(Color.valueOf(0xffffffff), null, null, in extractInto_usesFallbackWhenTooLightOrDark() 77 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_fromBitmap() 92 WallpaperColors wallColors = new WallpaperColors(Color.valueOf(Color.RED), null, null, in extractInto_supportsDarkText()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardUtilsTests.java | 74 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen() 77 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen() 80 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen() 83 assertFalse(VCardUtils.containsOnlyAlphaDigitHyphen(String.valueOf((char)i))); in testContainsOnlyAlphaDigitHyphen()
|