/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | StochasticLinearRankerWithPrior.java | 148 m.priorParameters.put(SET_ALPHA, String.valueOf(mAlpha)); in getModel() 149 m.priorParameters.put(SET_AUTO_ALPHA, String.valueOf(mAutoAlpha)); in getModel() 150 m.priorParameters.put(SET_FORGET_RATE, String.valueOf(mForgetRate)); in getModel() 151 m.priorParameters.put(SET_MIN_TRAIN_PAIR, String.valueOf(mMinReqTrainingPair)); in getModel() 152 m.priorParameters.put(SET_USER_PERF, String.valueOf(mUserRankerPerf)); in getModel() 153 m.priorParameters.put(SET_PRIOR_PERF, String.valueOf(mPriorRankerPerf)); in getModel() 154 m.priorParameters.put(SET_NUM_TRAIN_PAIR, String.valueOf(mNumTrainPair)); in getModel() 155 m.priorParameters.put(USE_AUTO_ALPHA, String.valueOf(mUseAutoAlpha)); in getModel() 156 m.priorParameters.put(USE_PRIOR, String.valueOf(mUsePrior)); in getModel() 182 mAlpha = Float.valueOf(value.trim()).floatValue(); in setModelParameter() [all …]
|
D | ClusterManager.java | 265 double longitude = Double.valueOf(map.get(SEMANTIC_LONGITUDE)); in loadSemanticClusters() 266 double latitude = Double.valueOf(map.get(SEMANTIC_LATITUDE)); in loadSemanticClusters() 267 long duration = Long.valueOf(map.get(SEMANTIC_DURATION)); in loadSemanticClusters() 275 histogram.put(featureValue, Long.valueOf(map.get(featureValue))); in loadSemanticClusters() 296 String.valueOf(cluster.getCenterLongitude())); in saveSemanticClusters() 298 String.valueOf(cluster.getCenterLatitude())); in saveSemanticClusters() 300 String.valueOf(cluster.getDuration())); in saveSemanticClusters() 304 rowFeatures.put(entry.getKey(), String.valueOf(entry.getValue())); in saveSemanticClusters()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsUt.java | 136 mPendingCmds.put(Integer.valueOf(id), result); in queryCallBarring() 165 mPendingCmds.put(Integer.valueOf(id), result); in queryCallForward() 193 mPendingCmds.put(Integer.valueOf(id), result); in queryCallWaiting() 220 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIR() 246 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIP() 272 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLR() 298 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLP() 336 mPendingCmds.put(Integer.valueOf(id), result); in updateCallBarring() 366 mPendingCmds.put(Integer.valueOf(id), result); in updateCallForward() 394 mPendingCmds.put(Integer.valueOf(id), result); in updateCallWaiting() [all …]
|
/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 …]
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 82 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata() 87 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata() 92 oldMetadata.putParcelable(String.valueOf(MediaMetadataEditor.BITMAP_KEY_ARTWORK), in getOldMetadata() 96 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata() 100 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata() 104 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata() 108 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata() 112 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata() 116 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata() 120 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 | 75 View view = createView(String.valueOf(i + 1)); in testAddChildAtFront() 93 View view = createView(String.valueOf(i + 1)); in testAddChildInMiddle() 111 View view = createView(String.valueOf(i + 1)); in testAddChildren() 143 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildren() 164 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulk() 185 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulkAtFront() 207 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildrenBulkAtEnd() 228 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildAtFront() 247 views[i] = createView(String.valueOf(i + 1)); in testRemoveChildInMiddle()
|
/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/services/core/java/com/android/server/am/ |
D | TaskRecord.java | 276 mFilename = String.valueOf(_taskId) + TASK_THUMBNAIL_SUFFIX + in TaskRecord() 297 mFilename = String.valueOf(_taskId) + TASK_THUMBNAIL_SUFFIX + in TaskRecord() 337 mFilename = String.valueOf(_taskId) + TASK_THUMBNAIL_SUFFIX + in TaskRecord() 1134 out.attribute(null, ATTR_TASKID, String.valueOf(taskId)); in saveToXml() 1138 out.attribute(null, ATTR_REALACTIVITY_SUSPENDED, String.valueOf(realActivitySuspended)); in saveToXml() 1154 out.attribute(null, ATTR_ROOTHASRESET, String.valueOf(rootWasReset)); in saveToXml() 1155 out.attribute(null, ATTR_AUTOREMOVERECENTS, String.valueOf(autoRemoveRecents)); in saveToXml() 1156 out.attribute(null, ATTR_ASKEDCOMPATMODE, String.valueOf(askedCompatMode)); in saveToXml() 1157 out.attribute(null, ATTR_USERID, String.valueOf(userId)); in saveToXml() 1158 out.attribute(null, ATTR_USER_SETUP_COMPLETE, String.valueOf(mUserSetupComplete)); in saveToXml() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 56 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary() 60 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary() 65 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary() 69 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary() 91 "key", String.valueOf((char) ch)); in testWriteReadNoCrash()
|
/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 268 return Long.valueOf(value.toString()); in getAsLong() 293 return Integer.valueOf(value.toString()); in getAsInteger() 318 return Short.valueOf(value.toString()); in getAsShort() 343 return Byte.valueOf(value.toString()); in getAsByte() 368 return Double.valueOf(value.toString()); in getAsDouble() 393 return Float.valueOf(value.toString()); in getAsFloat() 417 return Boolean.valueOf(value.toString()); in getAsBoolean()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | PrefState.java | 45 .putString(CAT_KEY_PREFIX + String.valueOf(cat.getSeed()), cat.getName()) in addCat() 51 .remove(CAT_KEY_PREFIX + String.valueOf(cat.getSeed())) in removeCat() 62 cat.setName(String.valueOf(map.get(key))); in getCats()
|
/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()
|
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 127 mExtras.putInt(key, Integer.valueOf(value)); in parseArgs() 131 mExtras.putLong(key, Long.valueOf(value)); in parseArgs() 135 mExtras.putFloat(key, Long.valueOf(value)); in parseArgs() 139 mExtras.putFloat(key, Long.valueOf(value)); in parseArgs() 143 mExtras.putBoolean(key, Boolean.valueOf(value)); in parseArgs()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 261 return buildPath(getDataDirectory(), "system_ce", String.valueOf(userId)); in getDataSystemCeDirectory() 266 return buildPath(getDataDirectory(), "system_de", String.valueOf(userId)); in getDataSystemDeDirectory() 276 return buildPath(getDataDirectory(), "misc_ce", String.valueOf(userId)); in getDataMiscCeDirectory() 281 return buildPath(getDataDirectory(), "misc_de", String.valueOf(userId)); in getDataMiscDeDirectory() 285 return buildPath(getDataDirectory(), "misc", "profiles", "cur", String.valueOf(userId)); in getDataProfilesDeDirectory() 315 return new File(getDataUserCeDirectory(volumeUuid), String.valueOf(userId)); in getDataUserCeDirectory() 332 return new File(getDataUserDeDirectory(volumeUuid), String.valueOf(userId)); in getDataUserDeDirectory()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | PrintSpoolerService.java | 898 serializer.attribute(null, ATTR_STATE, String.valueOf(printJob.getState())); in doWriteStateLocked() 899 serializer.attribute(null, ATTR_APP_ID, String.valueOf(printJob.getAppId())); in doWriteStateLocked() 904 serializer.attribute(null, ATTR_CREATION_TIME, String.valueOf( in doWriteStateLocked() 906 serializer.attribute(null, ATTR_COPIES, String.valueOf(printJob.getCopies())); in doWriteStateLocked() 911 serializer.attribute(null, ATTR_CANCELLING, String.valueOf( in doWriteStateLocked() 916 serializer.attribute(null, ATTR_PROGRESS, String.valueOf(progress)); in doWriteStateLocked() 937 serializer.attribute(null, ATTR_START, String.valueOf( in doWriteStateLocked() 939 serializer.attribute(null, ATTR_END, String.valueOf( in doWriteStateLocked() 951 String.valueOf(colorMode)); in doWriteStateLocked() 955 String.valueOf(duplexMode)); in doWriteStateLocked() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 637 values.put(NUMBER_PRESENTATION, Integer.valueOf(numberPresentation)); in addCall() 638 values.put(TYPE, Integer.valueOf(callType)); in addCall() 640 values.put(DATE, Long.valueOf(start)); in addCall() 641 values.put(DURATION, Long.valueOf(duration)); in addCall() 648 values.put(NEW, Integer.valueOf(1)); in addCall() 652 values.put(IS_READ, Integer.valueOf(is_read ? 1 : 0)); in addCall() 669 new String[] { String.valueOf(ci.contactIdOrZero), in addCall() 679 new String[] { String.valueOf(ci.contactIdOrZero) }, in addCall()
|
/frameworks/support/documents-archive/src/android/support/provider/ |
D | Preconditions.java | 44 throw new IllegalArgumentException(String.format(message, String.valueOf(expected), in checkArgumentEquals() 45 String.valueOf(actual))); in checkArgumentEquals()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 221 impl.setOption(SocketOptions.SO_RCVBUF, Integer.valueOf(size)); in setReceiveBufferSize() 229 impl.setOption(SocketOptions.SO_TIMEOUT, Integer.valueOf(n)); in setSoTimeout() 237 impl.setOption(SocketOptions.SO_SNDBUF, Integer.valueOf(n)); in setSendBufferSize()
|
/frameworks/base/core/java/android/util/ |
D | Pair.java | 70 return "Pair{" + String.valueOf(first) + " " + String.valueOf(second) + "}"; in toString()
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
D | DumpTableModel.java | 72 throw new IndexOutOfBoundsException(String.valueOf(column)); in getColumnName() 90 throw new IndexOutOfBoundsException(String.valueOf(columnIndex)); in getValueAt()
|
/frameworks/base/core/java/android/text/method/ |
D | CharacterPickerDialog.java | 89 String result = String.valueOf(mOptions.charAt(position)); in onItemClick() 125 b.setText(String.valueOf(mOptions.charAt(position))); in getView() 135 return String.valueOf(mOptions.charAt(position)); in getItem()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | GlifLayoutTest.java | 91 layout.setPrimaryColor(ColorStateList.valueOf(Color.RED)); in testSetPrimaryColor() 93 ColorStateList.valueOf(Color.RED), layout.getPrimaryColor()); in testSetPrimaryColor() 98 ColorStateList.valueOf(Color.RED), progressBar.getIndeterminateTintList()); in testSetPrimaryColor()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ExpressionTest.java | 125 assertEquals(String.valueOf(var1 << var2), mBinder.textView10.getText().toString()); in testShift() 126 assertEquals(String.valueOf(var1 >> var2), mBinder.textView11.getText().toString()); in testShift() 127 assertEquals(String.valueOf(var1 >>> var2), mBinder.textView12.getText().toString()); in testShift() 138 … assertEquals(String.valueOf(var1 + ~var2), mBinder.textView14.getText().toString()); // 2 + ~1 in testUnary()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FastXmlSerializerTest.java | 139 ok &= check("char: " + i, String.valueOf((char) i)); in testAllCharacters() 147 ok &= check("char: " + i, String.valueOf((char) i) + String.valueOf((char) j)); in testAllCharacters()
|