/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
AnrParserTest.java | 32 * Test that ANRs are parsed for the header "ANR (application not responding) in process: app" 36 "ANR (application not responding) in process: com.android.package", 50 AnrItem anr = new AnrParser().parse(lines); local 51 assertNotNull(anr); 52 assertEquals("com.android.package", anr.getApp()); 53 assertEquals("keyDispatchingTimedOut", anr.getReason()); 54 assertEquals(0.71, anr.getLoad(AnrItem.LoadCategory.LOAD_1)); 55 assertEquals(0.83, anr.getLoad(AnrItem.LoadCategory.LOAD_5)); 56 assertEquals(0.51, anr.getLoad(AnrItem.LoadCategory.LOAD_15)); 57 assertEquals(33.0, anr.getCpuUsage(AnrItem.CpuUsageCategory.TOTAL)) 83 AnrItem anr = new AnrParser().parse(lines); local 116 AnrItem anr = new AnrParser().parse(lines); local 150 AnrItem anr = new AnrParser().parse(lines); local [all...] |
/tools/loganalysis/src/com/android/loganalysis/parser/ |
AnrParser.java | 29 * Matches: ANR (application not responding) in process: app 30 * Matches: ANR in app 31 * Matches: ANR in app (class/package) 34 "^ANR (?:\\(application not responding\\) )?in (?:process: )?(\\S+).*$"); 64 AnrItem anr = null; local 72 anr = new AnrItem(); 73 anr.setApp(m.group(1)); 76 if (anr != null) { 79 anr.setPid(Integer.valueOf(m.group(1))); 83 anr.setReason(m.group(1)) [all...] |
BugreportParser.java | 57 private static final String ANR_TRACES_SECTION_REGEX = "------ VM TRACES AT LAST ANR .*"; 280 AnrItem anr = li.previous(); local 281 if (app.equals(anr.getApp())) { 282 anr.setTrace(trace);
|
/development/tools/bugreport/src/com/android/bugreport/anr/ |
AnrParser.java | 17 package com.android.bugreport.anr; 35 * Parse an anr block from a monkey log. 41 = Pattern.compile("ANR in (\\S+) \\((\\S+)/(\\S+)\\)"); 58 public ArrayList<Anr> parse(Lines<? extends Line> lines, boolean tryTraces) { 59 final ArrayList<Anr> results = new ArrayList<Anr>(); 60 Anr anr = null; local 72 anr = new Anr(); [all...] |
Anr.java | 17 package com.android.bugreport.anr; 29 public class Anr {
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
Bugreport.java | 19 import com.android.bugreport.anr.Anr; 49 * The information about the first ANR that contained in the bugreport. If there 50 * was a monkey report, this will be that one. The first ANR is the most likely culprit. 52 public Anr anr; field in class:Bugreport 55 * The information about any ANR found in a monkey report. 57 public Anr monkeyAnr; 80 * The stack traces from the VM TRACES AT LAST ANR section.
|
/development/tools/bugreport/src/com/android/bugreport/html/ |
Renderer.java | 19 import com.android.bugreport.anr.Anr; 81 jsilver.render("anr-template.html", hdf, writer); 105 // Monkey Anr 110 // VM Traces Last ANR 111 makeVmTracesHdf(hdf.createChild("vmTracesLastAnr"), bugreport.anr, 115 makeVmTracesHdf(hdf.createChild("vmTracesJustNow"), bugreport.anr, 120 * Build the hdf for an Anr. 122 private void makeAnrHdf(Data hdf, Anr anr) { 155 final Anr anr = bugreport.anr; local [all...] |
/development/tools/bugreport/src/com/android/bugreport/monkey/ |
MonkeyLogParser.java | 19 import com.android.bugreport.anr.Anr; 20 import com.android.bugreport.anr.AnrParser; 62 final ArrayList<Anr> anrs = anrParser.parse(lines, true); 65 bugreport.anr = bugreport.monkeyAnr = anrs.get(0); 71 * Pull out the ANR lines from a monkey log.
|
/development/tools/bugreport/src/com/android/bugreport/inspector/ |
Inspector.java | 19 import com.android.bugreport.anr.Anr; 20 import com.android.bugreport.anr.AnrParser; 83 if (mBugreport.anr != null) { 84 inspectProcesses(mBugreport.anr.vmTraces); 85 markDeadlocks(mBugreport.anr.vmTraces, mBugreport.anr.pid); 96 if (mBugreport.anr != null) { 97 makeInterestingProcesses(mBugreport.anr.vmTraces); 106 if (mBugreport.anr != null) [all...] |
DeadlockDetector.java | 19 import com.android.bugreport.anr.Anr; 33 * Class to inspect an Anr object and determine which, if any threads are
|
/development/tools/bugreport/src/com/android/bugreport/ |
Main.java | 112 // Fills in the additional fields in the Anr object. 116 if (bugreport.anr == null) { 117 System.err.println("No anr!");
|
/external/libxcam/modules/isp/ |
x3a_isp_config.h | 45 struct atomisp_anr_config anr; member in struct:XCam::AtomIspConfigContent
|
x3a_isp_config.cpp | 120 anr = *config.anr_config; 121 isp_config.anr_config = &anr;
|
/tools/tradefederation/core/prod-tests/src/com/android/monkey/ |
MonkeyBrillopadForwarder.java | 216 AnrItem anr = (AnrItem) monkeyLog.getCrash(); local 218 crashTrace.append("Detected ANR:\n"); 219 crashTrace.append(anr.getStack());
|
/development/apps/Development/src/com/android/development/ |
BadBehaviorActivity.java | 144 if (getIntent().getBooleanExtra("anr", false)) { 145 Log.i(TAG, "in ANR activity -- about to hang"); 204 Button anr = (Button) findViewById(R.id.bad_behavior_anr); local 205 anr.setOnClickListener(new View.OnClickListener() { 207 Log.i(TAG, "ANR pressed -- about to hang"); 217 Log.i(TAG, "ANR activity pressed -- about to launch"); 218 startActivity(intent.putExtra("anr", true)); 225 Log.i(TAG, "ANR broadcast pressed -- about to send"); 233 Log.i(TAG, "ANR service pressed -- about to start"); 242 Log.i(TAG, "ANR system pressed -- about to engage") [all...] |
/build/make/ |
envsetup.sh | 1104 # to the usual ANR traces file [all...] |
/system/sepolicy/prebuilts/api/27.0/private/ |
file_contexts | 335 /data/anr(/.*)? u:object_r:anr_data_file:s0
|
/system/sepolicy/prebuilts/api/26.0/private/ |
file_contexts | 328 /data/anr(/.*)? u:object_r:anr_data_file:s0
|
/system/sepolicy/prebuilts/api/28.0/private/ |
file_contexts | 372 /data/anr(/.*)? u:object_r:anr_data_file:s0
|
/system/sepolicy/private/ |
file_contexts | 372 /data/anr(/.*)? u:object_r:anr_data_file:s0
|
/external/valgrind/helgrind/ |
libhb_core.c | 6955 UWord anr = 0; \/\/ nr of bytes addressable. local [all...] |
/build/make/core/ |
main.mk | 359 ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.stack-trace-dir=/data/anr [all...] |