Home
last modified time | relevance | path

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

12345678910>>...14

/development/tools/winscope/src/
Dtransform_protolog.js57 out += get_param(sint64Params, sint64ParamsIdx++).toString(10);
60 out += get_param(sint64Params, sint64ParamsIdx++).toString(8);
63 out += get_param(sint64Params, sint64ParamsIdx++).toString(16);
72 out += get_param(doubleParams, doubleParamsIdx++).toString();
78 out += get_param(booleanParams, booleanParamsIdx++).toString();
95 text: (entry.messageHash.toString() + ' - [' + entry.strParams.toString() +
96 '] [' + entry.sint64Params.toString() + '] [' + entry.doubleParams.toString() +
97 '] [' + entry.booleanParams.toString() + ']'),
/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.java170 String packageName = node.getPackageName().toString(); in translateCommand()
181 return new MonkeyCommandReturn(true, fieldBuilder.toString()); in translateCommand()
277 return new MonkeyCommandReturn(true, ids.toString()); in translateCommand()
299 return new MonkeyCommandReturn(true, positions.toString()); in query()
323 return new MonkeyCommandReturn(true, node.getText().toString()); in query()
339 return new MonkeyCommandReturn(true, node.getClassName().toString()); in query()
353 return new MonkeyCommandReturn(true, Boolean.toString(node.isChecked())); in query()
368 return new MonkeyCommandReturn(true, Boolean.toString(node.isEnabled())); in query()
383 return new MonkeyCommandReturn(true, Boolean.toString(node.isSelected())); in query()
423 return new MonkeyCommandReturn(true, Boolean.toString(node.isFocused())); in query()
[all …]
/development/apps/Development/src/com/android/development/
DConnectivity.java167 Log.d(TAG, "Got broadcast " + intent.getAction() + " extras:" + sb.toString()); in logBroadcast()
195 mSCCycleCountView.setText(Integer.toString(mSCCycleCount));
230 mDCCycleCountView.setText(Integer.toString(mDCCycleCount));
260 mScanResults.setText("Current scan = " + Long.toString(wifiScanResults.size())); in onReceive()
266 mScanCyclesEdit.setText(Long.toString(mScanCur)); in onReceive()
292 Log.d(TAG, "onCapabilitiesChanged: " + network.netId + " " + nc.toString()); in onCapabilitiesChanged()
296 Log.d(TAG, "onLinkPropertiesChanged: " + network.netId + " " + lp.toString()); in onLinkPropertiesChanged()
439 mDCOnDurationEdit.setText(Long.toString(mDCOnDuration)); in onCreate()
441 mDCOffDurationEdit.setText(Long.toString(mDCOffDuration)); in onCreate()
443 mDCCycleCountView.setText(Integer.toString(mDCCycleCount)); in onCreate()
[all …]
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java73 if (!checkProxyConfigs(proxyHost.getText().toString(), in onCreate()
74 proxyPort.getText().toString())) { in onCreate()
79 Arrays.stream(packages.getText().toString().split(",")) in onCreate()
89 serverPortNum = Integer.parseInt(serverPort.getText().toString()); in onCreate()
95 proxyPortNum = Integer.parseInt(proxyPort.getText().toString()); in onCreate()
100 .putString(Prefs.SERVER_ADDRESS, serverAddress.getText().toString()) in onCreate()
102 .putString(Prefs.SHARED_SECRET, sharedSecret.getText().toString()) in onCreate()
103 .putString(Prefs.PROXY_HOSTNAME, proxyHost.getText().toString()) in onCreate()
/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()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java142 makeProcessSnapshotHdf(processesHdf.createChild(Integer.toString(i)), in makeVmTracesHdf()
164 hdf.setValue("triage.pid", Integer.toString(anr.pid)); in makeTriageHdf()
238 makeCpuUsageHdf(hdf.createChild(Integer.toString(i)), snapshot.cpuUsage.get(i)); in makeCpuUsageSnapshotHdf()
254 hdf.setValue("panelId", Integer.toString(mNextPanelId++)); in makeProcessSnapshotHdf()
256 hdf.setValue("pid", Integer.toString(process.pid)); in makeProcessSnapshotHdf()
274 hdf.setValue("priority", Integer.toString(thread.priority)); in makeThreadSnapshotHdf()
275 hdf.setValue("tid", Integer.toString(thread.tid)); in makeThreadSnapshotHdf()
276 hdf.setValue("sysTid", Integer.toString(thread.sysTid)); in makeThreadSnapshotHdf()
317 return result.toString(); in buildFunctionName()
332 hdf.setValue("offset", Integer.toString(f.offset)); in makeStackFrameSnapshotHdf()
[all …]
/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/idegen/src/com/android/idegen/
DModule.java130 return sb.toString(); in calculateRelativePartToRepoRoot()
138 logger.info(toString()); in build()
220 String imlTemplate = Files.toString( in buildImlFile()
257 imlTemplate = imlTemplate.replace("@SOURCES@", sourceDirectories.toString()); in buildImlFile()
265 imlTemplate = imlTemplate.replace("@MODULE_DEPENDENCIES@", moduleDependencies.toString()); in buildImlFile()
282 return sb.toString(); in buildIntermediates()
383 public String toString() { in toString() method in Module
389 .add("explicitModuleNameDependencies", Iterables.toString( in toString()
391 .add("implicitModulePathDependencies", Iterables.toString( in toString()
393 .toString(); in toString()
DMakeFileParser.java82 public String toString() { in toString() function
83 return MoreObjects.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()
DIntellijProject.java117 String modulesContent = Files.toString(new File(DirectorySearch.findTemplateDir(), in createModulesFile()
125 modulesContent = modulesContent.replace("@MODULES@", sb.toString()); in createModulesFile()
133 String vcsTemplate = Files.toString(new File(DirectorySearch.findTemplateDir(), in createVcsFile()
155 vcsTemplate = vcsTemplate.replace("@VCS@", sb.toString()); in createVcsFile()
189 logger.info("Args: " + Arrays.toString(args)); in main()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DAMControl.java43 return execCmd(cmd.toString()); in launchInBackground()
76 lineCount, cmd.split(" ")[0], output.toString())); in execCmd()
79 if (BuildConfig.DEBUG) Log.e(TAG, output.append(e.getMessage()).toString()); in execCmd()
82 return output.toString(); in execCmd()
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
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()
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()
/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/tools/mkstubs/src/com/android/mkstubs/sourcer/
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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java366 return mAcCommandLine.getText().toString().trim(); in getCommandLine()
412 mWebView.loadData(sb.toString(), "text/html", null); in setText()
471 final String query = mAcSearchQuery.getText().toString(); in doFindNextOrPrev()
505 mRegexpHistory.add(mAcPattern.getText().toString().trim()); in startCommand()
554 return out.toString(); in doInBackground()
589 final int before = Utils.parseInt(mAcBeforeContext.getText().toString(), 0); in buildCommandLine()
590 final int after = Utils.parseInt(mAcAfterContext.getText().toString(), 0); in buildCommandLine()
591 final int head = Utils.parseInt(mAcHead.getText().toString(), 0); in buildCommandLine()
592 final int tail = Utils.parseInt(mAcTail.getText().toString(), 0); in buildCommandLine()
595 final String regexp = mAcPattern.getText().toString(); in buildCommandLine()
[all …]
/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/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java60 return mSessionValid ? Integer.toString(mSessionId) : null; in getSessionId()
120 Integer.toString(mSessionId), Integer.toString(mItemId), uri, mime, receiver); in add()
212 return Integer.toString(mSessionId); in startSession()
403 public String toString() { in toString() method in SessionManager
407 result += "\n" + item.toString(); in toString()
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java153 Arrays.toString(inputContentInfo.getDescription().filterMimeTypes("*/*"))); in onCommitContentInternal()
154 mContentUri.setText(inputContentInfo.getContentUri().toString()); in onCommitContentInternal()
157 mLinkUri.setText(linkUri != null ? linkUri.toString() : "null"); in onCommitContentInternal()
159 mWebView.loadUrl(inputContentInfo.getContentUri().toString()); in onCommitContentInternal()
202 hintText = "MIME: " + Arrays.toString(contentMimeTypes); in createEditTextWithContentMimeTypes()
/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/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/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())));

12345678910>>...14