Home
last modified time | relevance | path

Searched refs:md (Results 1 – 8 of 8) sorted by relevance

/sdk/traceview/src/com/android/traceview/
DProfileView.java196 MethodData md = (MethodData) element; in ProfileView()
197 highlightMethod(md, true); in ProfileView()
200 MethodData md = ((ProfileData) element) in ProfileView()
202 highlightMethod(md, true); in ProfileView()
214 MethodData md = (MethodData) element; in ProfileView()
215 expandNode(md); in ProfileView()
226 MethodData md = mProfileProvider.findMatchingTreeItem(treeItem); in ProfileView()
227 if (md == null) in ProfileView()
230 selections.add(Selection.highlight("MethodData", md)); in ProfileView()
234 mMethodHandler.handleMethod(md); in ProfileView()
[all …]
DProfileProvider.java95 MethodData md = mRoots[ii]; in doMatchName() local
96 String fullName = md.getName(); in doMatchName()
103 return md; in doMatchName()
127 for (MethodData md : mRoots) { in findMatchingTreeItem()
128 if (md.getRank() == rank) in findMatchingTreeItem()
129 return md; in findMatchingTreeItem()
167 MethodData md = (MethodData) element; in getChildren() local
168 return md.getProfileNodes(); in getChildren()
230 MethodData md = (MethodData) element; in getColumnText() local
232 return md.getProfileName(); in getColumnText()
[all …]
DColorController.java93 for (MethodData md : methods) { in assignMethodColors()
99 md.setColor(color); in assignMethodColors()
100 md.setImage(image); in assignMethodColors()
109 md.setFadedColor(color); in assignMethodColors()
110 md.setFadedImage(image); in assignMethodColors()
DDmTraceReader.java567 for (MethodData md : methods) { in analyzeData()
568 if (timeBase.getElapsedInclusiveTime(md) == 0) in analyzeData()
576 for (MethodData md : methods) { in analyzeData()
577 if (timeBase.getElapsedInclusiveTime(md) == 0) in analyzeData()
579 md.setRank(ii); in analyzeData()
580 mSortedMethods[ii++] = md; in analyzeData()
584 for (MethodData md : mSortedMethods) { in analyzeData()
585 md.analyzeData(timeBase); in analyzeData()
659 for (MethodData md : mSortedMethods) { in dumpMethodStats()
661 md.getElapsedExclusiveCpuTime(), md.getElapsedInclusiveCpuTime(), in dumpMethodStats()
[all …]
DTimeLineView.java1190 MethodData md = mHighlightMethodData; in draw() local
1191 if (md == null && mHighlightCall != null) in draw()
1192 md = mHighlightCall.getMethodData(); in draw()
1193 if (md == null) in draw()
1195 if (md != null) { in draw()
1196 mTimescale.setMethodName(md.getProfileName()); in draw()
1197 mTimescale.setMethodColor(md.getColor()); in draw()
1391 MethodData md = block.getMethodData(); in computeStrips() local
1412 if (mHighlightMethodData == md) { in computeStrips()
1438 color = md.getFadedColor(); in computeStrips()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
DSamplePackage.java429 MessageDigest md = null; in computeContentHash() local
433 md = MessageDigest.getInstance("SHA-1"); //$NON-NLS-1$ in computeContentHash()
439 if (md != null) { in computeContentHash()
440 hashDirectoryContent(installFolder, md); in computeContentHash()
441 return getDigestHexString(md); in computeContentHash()
451 private void hashDirectoryContent(File folder, MessageDigest md) { in hashDirectoryContent() argument
452 if (folder == null || md == null || !folder.isDirectory()) { in hashDirectoryContent()
458 hashDirectoryContent(f, md); in hashDirectoryContent()
469 md.update(name.getBytes("UTF-8")); //$NON-NLS-1$ in hashDirectoryContent()
475 md.update((byte) (len & 0x0FF)); in hashDirectoryContent()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/
DSignedJarBuilder.java317 MessageDigest md = MessageDigest.getInstance(DIGEST_ALGORITHM); in writeSignatureFile() local
319 new DigestOutputStream(new ByteArrayOutputStream(), md), in writeSignatureFile()
325 main.putValue(DIGEST_MANIFEST_ATTR, base64.encode(md.digest())); in writeSignatureFile()
338 sfAttr.putValue(DIGEST_ATTR, base64.encode(md.digest())); in writeSignatureFile()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
DLogPanel.java1279 private boolean checkFilter(final LogMessageInfo md) { in checkFilter() argument
1285 if (f.getPidFilter() == md.pid) { in checkFilter()
1291 if (f.getTagFilter().equals(md.tag)) { in checkFilter()
1299 final LogFilter newFilter = new LogFilter(md.pidString); in checkFilter()
1302 newFilter.setPidMode(md.pid); in checkFilter()
1305 name = mCurrentLoggedDevice.getClientName(md.pid); in checkFilter()
1307 newFilter.setTagMode(md.tag); in checkFilter()
1308 name = md.tag; in checkFilter()
1325 PsOutputReceiver psor = new PsOutputReceiver(md.pid, in checkFilter()