/development/tools/winscope/src/ |
D | transform_protolog.js | 57 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/ |
D | MonkeySourceNetworkVars.java | 74 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 …]
|
D | MonkeySourceNetworkViews.java | 170 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/ |
D | Connectivity.java | 167 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/ |
D | ToyVpnClient.java | 73 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/ |
D | IntelliJ.java | 34 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/ |
D | Renderer.java | 142 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/ |
D | ReceiveShare.java | 61 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/ |
D | Module.java | 130 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()
|
D | MakeFileParser.java | 82 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()
|
D | IntellijProject.java | 117 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/ |
D | AMControl.java | 43 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/ |
D | SignatureSourcerTest.java | 49 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()
|
D | MethodSourcerTest.java | 59 mWriter.toString()); in testVoid() 75 mWriter.toString()); in testVoidThrow() 91 mWriter.toString()); in testReturnMap()
|
D | ClassSourcerTest.java | 73 sw.toString()); in testBaseClassSource() 101 sw.toString()); in testInnerClassSource() 136 sw.toString()); in testTemplateClassSource()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 158 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/ |
D | SignatureSourcer.java | 112 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()
|
D | AccessSourcer.java | 76 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/ |
D | DumpActivity.java | 366 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/ |
D | SelectionBuilder.java | 237 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/ |
D | SessionManager.java | 60 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/ |
D | MainActivity.java | 153 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/ |
D | AddVoicemailActivity.java | 124 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/ |
D | MidiPrinter.java | 67 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/ |
D | VoicemailFilterFactory.java | 57 public String toString() { in createWithWhereClause() method in VoicemailFilterFactory 113 Long.toString(fieldMatch.getDuration()))); 117 Long.toString(fieldMatch.getTimestampMillis())));
|