Home
last modified time | relevance | path

Searched refs:valueOf (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/frameworks/opt/net/ims/src/java/com/android/ims/
DImsUt.java180 mPendingCmds.put(Integer.valueOf(id), result); in queryCallBarring()
209 mPendingCmds.put(Integer.valueOf(id), result); in queryCallForward()
237 mPendingCmds.put(Integer.valueOf(id), result); in queryCallWaiting()
264 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIR()
290 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIP()
316 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLR()
342 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLP()
392 mPendingCmds.put(Integer.valueOf(id), result); in updateCallBarring()
422 mPendingCmds.put(Integer.valueOf(id), result); in updateCallForward()
450 mPendingCmds.put(Integer.valueOf(id), result); in updateCallWaiting()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java214 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 …]
DMediaDescription.java251 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/media/java/android/media/session/
DMediaSessionLegacyHelper.java84 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata()
89 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata()
94 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata()
98 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata()
102 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata()
106 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata()
110 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata()
114 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata()
118 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata()
122 oldMetadata.putLong(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER), in getOldMetadata()
[all …]
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java38 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/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java155 final String id = String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SESSION_ID)); in debugLog()
159 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_TYPE)); in debugLog()
161 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_WIDGET_VERSION)); in debugLog()
162 final String model = String.valueOf(log.getTaggedData(FIELD_TEXTCLASSIFIER_MODEL)); in debugLog()
164 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE)); in debugLog()
166 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SECOND_ENTITY_TYPE)); in debugLog()
168 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_THIRD_ENTITY_TYPE)); in debugLog()
170 String.valueOf(log.getTaggedData(FIELD_TEXT_CLASSIFIER_SCORE)); in debugLog()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java73 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/
DColoredHeaderMixinTest.java62 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()
DProgressBarMixinTest.java104 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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/
DGlifLayoutTest.java100 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
103 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
109 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
112 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor()
121 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
124 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
130 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
133 .isEqualTo(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColorTablet()
142 layout.setPrimaryColor(ColorStateList.valueOf(Color.BLUE)); in testSetBackgroundBaseColor()
143 layout.setBackgroundBaseColor(ColorStateList.valueOf(Color.RED)); in testSetBackgroundBaseColor()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java85 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit()
100 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage()
116 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser()
132 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testNoGroup_someAreGrouped()
149 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testPostingOverLimit()
162 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testDropToZeroRemoveGroup()
189 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAppStartsGrouping()
202 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM, "app group"); in testAppStartsGrouping()
211 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM, "app group"); in testAppStartsGrouping()
224 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testNewNotificationsAddedToAutogroup_ifOriginalNotificationsCanceled()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/database/
DSQLiteDatabasePerfTest.java85 + "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/
DTtsSpan.java715 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsManagerTest.java284 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.WIFI_PREFERRED)) in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
289 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.CELLULAR_PREFERRED)) in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState()
344 doReturn(String.valueOf(1 /*true*/)) in testSetWfcSetting_shouldSetWfcModeRoamingDisabledUserEnabled()
379 doReturn(String.valueOf(1 /*true*/)) in testSetWfcSetting_shouldSetWfcModeRoamingEnabledUserEnabled()
453 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_wfcEnabledShouldSetWfcModeRoamingEnabled()
499 doReturn(String.valueOf(0 /*false*/)) in testSetWfcMode_WfcDisabledShouldNotSetWfcModeRoamingEnabled()
533 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_shouldSetWfcModeRoamingDisabledUserEnabled()
539 doReturn(String.valueOf(1 /*true*/)) in testSetWfcMode_shouldSetWfcModeRoamingDisabledUserEnabled()
573 doReturn(String.valueOf(0 /*false*/)) in testSetWfcMode_shouldSetWfcModeRoamingEnabledUserDisabled()
608 doReturn(String.valueOf(ImsConfig.WfcModeFeatureValueConstants.WIFI_ONLY)) in testSetWfcSetting_wfcNotEditable()
[all …]
/frameworks/base/core/java/com/android/internal/util/dump/
DDualDumpOutputStream.java161 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/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java55 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
59 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
64 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
68 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()
90 "key", String.valueOf((char) ch)); in testWriteReadNoCrash()
DSettingsHelperRestoreTest.java74 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
97 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
140 String.valueOf(0), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue()
162 String.valueOf(restoreSettingValue), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountsDbTest.java154 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/
DAdditionalSubtypeUtils.java161 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/services/net/java/android/net/netlink/
DNetlinkConstants.java54 return String.valueOf(family); in stringForAddressFamily()
60 return String.valueOf(protocol); in stringForProtocol()
126 return "unknown RTM type: " + String.valueOf(nlm_type); in stringForNlMsgType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java219 + mNotifyIdentityChange + ", mac=" + String.valueOf( in onInterfaceAddressChange()
221 + String.valueOf(HexEncoding.encode(mLastDiscoveryInterfaceMac))); in onInterfaceAddressChange()
251 + mNotifyIdentityChange + ", mac=" + String.valueOf( in onClusterChange()
253 + String.valueOf(HexEncoding.encode(currentDiscoveryInterfaceMac)) in onClusterChange()
254 + ", mLastDiscoveryInterfaceMac=" + String.valueOf( in onClusterChange()
/frameworks/base/core/java/android/content/
DContentValues.java302 return Long.valueOf(value.toString()); in getAsLong()
327 return Integer.valueOf(value.toString()); in getAsInteger()
352 return Short.valueOf(value.toString()); in getAsShort()
377 return Byte.valueOf(value.toString()); in getAsByte()
402 return Double.valueOf(value.toString()); in getAsDouble()
427 return Float.valueOf(value.toString()); in getAsFloat()
455 return Boolean.valueOf(value.toString()) || "1".equals(value); in getAsBoolean()
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java131 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DPropertyAnimatorTest.java130 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/
DTonalTest.java59 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()

12345678910>>...19