Home
last modified time | relevance | path

Searched refs:toString (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkVars.java74 VAR_MAP.put("build.brand", new StaticVarGetter(Long.toString(Build.TIME)));
81 … VAR_MAP.put("build.version.sdk", new StaticVarGetter(Integer.toString(Build.VERSION.SDK_INT)));
86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth())));
87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight())));
91 VAR_MAP.put("display.density", new StaticVarGetter(Float.toString(dm.density)));
142 return sb.toString();
149 return Long.toString(SystemClock.elapsedRealtime());
154 return Long.toString(SystemClock.uptimeMillis());
159 return Long.toString(System.currentTimeMillis());
164 return Integer.toString(MonkeySourceNetwork.MONKEY_NETWORK_VERSION);
[all …]
DMonkeySourceNetworkViews.java169 String packageName = node.getPackageName().toString(); in translateCommand()
180 return new MonkeyCommandReturn(true, fieldBuilder.toString()); in translateCommand()
276 return new MonkeyCommandReturn(true, ids.toString()); in translateCommand()
298 return new MonkeyCommandReturn(true, positions.toString()); in query()
322 return new MonkeyCommandReturn(true, node.getText().toString()); in query()
338 return new MonkeyCommandReturn(true, node.getClassName().toString()); in query()
352 return new MonkeyCommandReturn(true, Boolean.toString(node.isChecked())); in query()
367 return new MonkeyCommandReturn(true, Boolean.toString(node.isEnabled())); in query()
382 return new MonkeyCommandReturn(true, Boolean.toString(node.isSelected())); in query()
422 return new MonkeyCommandReturn(true, Boolean.toString(node.isFocused())); in query()
[all …]
/development/tools/idegen/src/
DIntelliJ.java34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR)); in generateFrom()
37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML)); in generateFrom()
86 sourceRootsXml.toString() + excludeXml.toString()); in generateFrom()
87 iml = iml.replace("JAR_ENTRIES", jarsXml.toString()); in generateFrom()
DFiles.java28 static String toString(File file) throws IOException { in toString() method in Files
37 return builder.toString(); in toString()
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java61 sb.append("Uri: "); sb.append(uri.toString()); sb.append("\n"); in buildShareInfo()
66 sb.append(Long.toString(afd.getStartOffset())); in buildShareInfo()
69 sb.append(Long.toString(afd.getLength())); in buildShareInfo()
73 sb.append(e.toString()); in buildShareInfo()
75 sb.append(e.toString()); in buildShareInfo()
77 sb.append(e.toString()); in buildShareInfo()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DMethodSourcerTest.java59 mWriter.toString()); in testVoid()
75 mWriter.toString()); in testVoidThrow()
91 mWriter.toString()); in testReturnMap()
DClassSourcerTest.java73 sw.toString()); in testBaseClassSource()
101 sw.toString()); in testInnerClassSource()
136 sw.toString()); in testTemplateClassSource()
DSignatureSourcerTest.java49 String result = mSourcer.getReturnType().toString(); in testReturnMapNoArgs()
61 String result = mSourcer.getReturnType().toString(); in testReturnVoid()
122 String result = mSourcer.getReturnType().toString(); in testManyArgs()
142 array[i] = params.get(i).toString(); in toStringArray()
DFieldSourcerTest.java56 String s = mWriter.toString(); in testStringField()
71 String s = mWriter.toString(); in testTemplateTypeField()
DAccessSourcerTest.java50 String s = mWriter.toString(); in testAbstractPublic()
59 String s = mWriter.toString(); in testPrivateFinalStatic()
/development/apps/Development/src/com/android/development/
DConnectivity.java180 mSCCycleCountView.setText(Integer.toString(mSCCycleCount));
215 mDCCycleCountView.setText(Integer.toString(mDCCycleCount));
245 mScanResults.setText("Current scan = " + Long.toString(wifiScanResults.size())); in onReceive()
251 mScanCyclesEdit.setText(Long.toString(mScanCur)); in onReceive()
277 Log.d(TAG, "onCapabilitiesChanged: " + network.netId + " " + nc.toString()); in onCapabilitiesChanged()
281 Log.d(TAG, "onLinkPropertiesChanged: " + network.netId + " " + lp.toString()); in onLinkPropertiesChanged()
424 mDCOnDurationEdit.setText(Long.toString(mDCOnDuration)); in onCreate()
426 mDCOffDurationEdit.setText(Long.toString(mDCOffDuration)); in onCreate()
428 mDCCycleCountView.setText(Integer.toString(mDCCycleCount)); in onCreate()
433 mSCOnDurationEdit.setText(Long.toString(mSCOnDuration)); in onCreate()
[all …]
/development/tools/idegen/src/com/android/idegen/
DModule.java129 return sb.toString(); in calculateRelativePartToRepoRoot()
137 logger.info(toString()); in build()
219 String imlTemplate = Files.toString( in buildImlFile()
256 imlTemplate = imlTemplate.replace("@SOURCES@", sourceDirectories.toString()); in buildImlFile()
264 imlTemplate = imlTemplate.replace("@MODULE_DEPENDENCIES@", moduleDependencies.toString()); in buildImlFile()
281 return sb.toString(); in buildIntermediates()
382 public String toString() { in toString() method in Module
388 .add("explicitModuleNameDependencies", Iterables.toString( in toString()
390 .add("implicitModulePathDependencies", Iterables.toString( in toString()
392 .toString(); in toString()
DMakeFileParser.java82 public String toString() { in toString() function
83 return Objects.toStringHelper(this).add("values", values).toString(); in toString()
107 String completeLine = lineBuffer.toString().trim(); in lineBuffer.toString()
195 value = sb.toString(); in sb.toString()
274 System.out.println(parser.toString()); in parser.toString()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java60 .putExtra(prefix + ".ADDRESS", mServerAddress.getText().toString()) in onActivityResult()
61 .putExtra(prefix + ".PORT", mServerPort.getText().toString()) in onActivityResult()
62 .putExtra(prefix + ".SECRET", mSharedSecret.getText().toString()); in onActivityResult()
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DOutput.java65 write(Character.toString(c)); in write()
74 write(sb.toString()); in write()
DSignatureSourcer.java112 public String toString() { in toString() method in SignatureSourcer
113 return mBuf.toString(); in toString()
141 return mFormalsBuf.toString(); in formalsToString()
219 getBuf().append(Type.getType(Character.toString(descriptor)).getClassName()); in visitBaseType()
DAccessSourcer.java76 public String toString() { in toString() method in AccessSourcer.Flag
77 return super.toString().substring(4).toLowerCase(); in toString()
105 mOutput.write(f.toString()); in write()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java237 return mSelection.toString(); in getSelection()
278 public String toString() { in toString() method in SelectionBuilder
280 + ", selectionArgs=" + Arrays.toString(getSelectionArgs()) + "]"; in toString()
326 Log.v(TAG, "query(columns=" + Arrays.toString(columns) + ") " + this); in query()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java67 return sb.toString(); in formatBytes()
88 return sb.toString(); in formatMessage()
106 return sb.toString(); in formatDeviceInfo()
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/util/
DUtils.java47 viewMethods.setText(sbMethods.toString()); in printStatus()
56 viewStatus.setText(sbStatus.toString()); in printStatus()
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java158 Log.e(TAG, "Error reading from network: " + e.toString()); in onPerformSync()
162 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync()
166 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync()
170 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync()
174 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync()
246 .appendPath(Integer.toString(id)).build(); in updateLocalFeedData()
264 .appendPath(Integer.toString(id)).build(); in updateLocalFeedData()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/utils/
DDbQueryUtils.java41 return clause.toString(); in getEqualityClause()
75 return builder.toString(); in concatenateClausesWithOperation()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/
DVoicemailFilterFactory.java57 public String toString() { in createWithWhereClause() method in VoicemailFilterFactory
113 Long.toString(fieldMatch.getDuration())));
117 Long.toString(fieldMatch.getTimestampMillis())));
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java124 String sender = mSenderNumber.getText().toString(); in buildVoicemailObjectFromUiElements()
125 String dateStr = mTime.getText().toString(); in buildVoicemailObjectFromUiElements()
126 String durationStr = mDuration.getText().toString(); in buildVoicemailObjectFromUiElements()
127 String mimeType = mMimeType.getText().toString(); in buildVoicemailObjectFromUiElements()
128 String sourcePackageName = mProviderPackage.getText().toString(); in buildVoicemailObjectFromUiElements()
/development/samples/training/notify-user/src/com/example/android/pingme/
DMainActivity.java48 String message = msgText.getText().toString(); in onPingClick()
56 String input = editText.getText().toString(); in onPingClick()

12345678910>>...13