Home
last modified time | relevance | path

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

12345678910>>...15

/development/tools/winscope/src/parsers/
Dparser_transitions_wm.ts44 return new ElapsedTimestamp(BigInt(decodedEntry.timestamp.elapsedNanos.toString()));
48 return new RealTimestamp(BigInt(decodedEntry.timestamp.unixNanos.toString()));
71 if (entry.createTimeNs && BigInt(entry.createTimeNs.toString()) !== 0n) {
72 const unixNs = BigInt(entry.createTimeNs.toString()) + this.realToElapsedTimeOffsetNs;
74 entry.createTimeNs.toString(),
76 unixNs.toString()
81 if (entry.sendTimeNs && BigInt(entry.sendTimeNs.toString()) !== 0n) {
82 const unixNs = BigInt(entry.sendTimeNs.toString()) + this.realToElapsedTimeOffsetNs;
84 entry.sendTimeNs.toString(),
86 unixNs.toString()
[all …]
Dparser_transitions_shell.ts66 if (entry.dispatchTimeNs && BigInt(entry.dispatchTimeNs.toString()) !== 0n) {
67 const unixNs = BigInt(entry.dispatchTimeNs.toString()) + this.realToElapsedTimeOffsetNs;
69 entry.dispatchTimeNs.toString(),
71 unixNs.toString()
76 if (entry.mergeRequestTimeNs && BigInt(entry.mergeRequestTimeNs.toString()) !== 0n) {
77 const unixNs = BigInt(entry.mergeRequestTimeNs.toString()) + this.realToElapsedTimeOffsetNs;
79 entry.mergeRequestTimeNs.toString(),
81 unixNs.toString()
86 if (entry.mergeTimeNs && BigInt(entry.mergeTimeNs.toString()) !== 0n) {
87 const unixNs = BigInt(entry.mergeTimeNs.toString()) + this.realToElapsedTimeOffsetNs;
[all …]
Dparser_common_test.ts58 expect(BigInt(entry.timestamp.unixNanos.toString())).toEqual(1659107089075566202n);
61 expect(BigInt(entry.timestamp.unixNanos.toString())).toEqual(1659107091700249187n);
83 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(850254319343n);
86 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(850782750048n);
Dparser_window_manager_test.ts55 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(15398076788n);
56 expect(BigInt(entry.timestamp.unixNanos.toString())).toEqual(1659107089999048990n);
88 expect(BigInt(entry.timestamp.elapsedNanos.toString())).toEqual(850254319343n);
/development/tools/winscope/src/trace/
Dprotolog.ts53 proto.messageHash.toString() +
55 proto.strParams.toString() +
57 proto.sint64Params.toString() +
59 proto.doubleParams.toString() +
61 proto.booleanParams.toString() +
139 out += getParam(sint64Params, sint64ParamsIdx++).toString(10);
142 out += getParam(sint64Params, sint64ParamsIdx++).toString(8);
145 out += getParam(sint64Params, sint64ParamsIdx++).toString(16);
154 out += getParam(doubleParams, doubleParamsIdx++).toString();
160 out += getParam(booleanParams, booleanParamsIdx++).toString();
/development/tools/winscope/src/viewers/viewer_transitions/
Dviewer_transitions_component.ts283 .map((it) => BigInt(it.createTime.elapsedNanos.toString()))
295 .map((it) => BigInt(it.finishTime.elapsedNanos.toString()))
306 BigInt(time2.elapsedNanos.toString()) - BigInt(time1.elapsedNanos.toString())
314 let finish = BigInt(transition.finishTime.elapsedNanos.toString());
319 let start = BigInt(transition.createTime.elapsedNanos.toString());
332 (BigInt(transition.createTime.elapsedNanos.toString()) - this.getMinOfRanges()) * 100n
340 Number((BigInt(transition.sendTime.elapsedNanos.toString()) - this.getMinOfRanges()) * 100n) /
389 BigInt(t1.createTime.elapsedNanos.toString()) -
390 BigInt(t2.createTime.elapsedNanos.toString());
405 const start = BigInt(transition.createTime.elapsedNanos.toString());
[all …]
Dviewer_transitions_component_test.ts99 const createTime = CrossPlatform.timestamp.fromString(createTimeNanos.toString(), null, null);
100 const sendTime = CrossPlatform.timestamp.fromString(sendTimeNanos.toString(), null, null);
102 const finishTime = CrossPlatform.timestamp.fromString(finishTimeNanos.toString(), null, null);
/development/tools/winscope/src/viewers/viewer_transactions/
Dpresenter.ts153 (entry: UiDataEntry) => entry.vsyncId.toString()
188 this.vsyncIdFilter.includes(entry.vsyncId.toString())
211 (entry) => entry.transactionId.toString() === this.idFilter
292 transactionStateProto.pid.toString(),
293 transactionStateProto.uid.toString(),
295 layerStateProto.layerId.toString(),
296 transactionStateProto.transactionId.toString(),
309 transactionStateProto.pid.toString(),
310 transactionStateProto.uid.toString(),
312 displayStateProto.id.toString(),
[all …]
/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 …]
/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/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/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()
/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/apps/Development/src/com/android/development/
DConnectivity.java152 Log.d(TAG, "Got broadcast " + intent.getAction() + " extras:" + sb.toString()); in logBroadcast()
180 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()
273 Log.d(TAG, "onCapabilitiesChanged: " + network + " " + nc.toString()); in onCapabilitiesChanged()
277 Log.d(TAG, "onLinkPropertiesChanged: " + network + " " + lp.toString()); in onLinkPropertiesChanged()
386 return STATE_NAMES.get(state, Integer.toString(state)); in stateName()
390 return ROLE_NAMES.get(role, Integer.toString(role)); in roleName()
448 mDCOnDurationEdit.setText(Long.toString(mDCOnDuration)); in onCreate()
[all …]
/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/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()
/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/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/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppEntry.java33 mLabel = info.loadLabel(packageManager).toString(); in AppEntry()
55 public String toString() { in toString() method in AppEntry

12345678910>>...15