/tools/loganalysis/src/com/android/loganalysis/item/ |
D | SmartMonkeyLogItem.java | 100 return (Date) getAttribute(START_TIME); in getStartTime() 121 return (Date) getAttribute(INTERMEDIATE_TIME); in getIntermediateTime() 128 return (Date) getAttribute(STOP_TIME); in getStopTime() 143 return (List<String>) getAttribute(PACKAGES); in getPackages() 151 ((List<String>) getAttribute(PACKAGES)).add(thePackage); in addPackage() 159 return (List<String>) getAttribute(APPLICATIONS); in getApplications() 167 ((List<String>) getAttribute(APPLICATIONS)).add(theApp); in addApplication() 174 return (Integer) getAttribute(THROTTLE); in getThrottle() 188 return (Integer) getAttribute(TARGET_INVOCATIONS); in getTargetInvocations() 203 return (Long) getAttribute(TOTAL_DURATION); in getTotalDuration() [all …]
|
D | MonkeyLogItem.java | 104 return (Date) getAttribute(START_TIME); in getStartTime() 118 return (Date) getAttribute(STOP_TIME); in getStopTime() 132 return (StringSet) getAttribute(PACKAGES); in getPackages() 139 ((StringSet) getAttribute(PACKAGES)).add(thePackage); in addPackage() 146 return (StringSet) getAttribute(CATEGORIES); in getCategories() 153 ((StringSet) getAttribute(CATEGORIES)).add(category); in addCategory() 160 return (Integer) getAttribute(THROTTLE); in getThrottle() 174 return (Long) getAttribute(SEED); in getSeed() 188 return (Integer) getAttribute(TARGET_COUNT); in getTargetCount() 202 return (Boolean) getAttribute(IGNORE_SECURITY_EXCEPTIONS); in getIgnoreSecurityExceptions() [all …]
|
D | BugreportItem.java | 70 return (Date) getAttribute(TIME); in getTime() 84 return (CommandLineItem) getAttribute(COMMAND_LINE); in getCommandLine() 98 return (MemInfoItem) getAttribute(MEM_INFO); in getMemInfo() 112 return (ProcrankItem) getAttribute(PROCRANK); in getProcrank() 126 return (TopItem) getAttribute(TOP); in getTop() 140 return (KernelLogItem) getAttribute(KERNEL_LOG); in getKernelLog() 154 return (KernelLogItem) getAttribute(LAST_KMSG); in getLastKmsg() 168 return (LogcatItem) getAttribute(SYSTEM_LOG); in getSystemLog() 182 return (SystemPropsItem) getAttribute(SYSTEM_PROPS); in getSystemProps() 196 return (DumpsysItem) getAttribute(DUMPSYS); in getDumpsys() [all …]
|
D | TopItem.java | 64 return (Integer) getAttribute(USER); in getUser() 78 return (Integer) getAttribute(NICE); in getNice() 92 return (Integer) getAttribute(SYSTEM); in getSystem() 106 return (Integer) getAttribute(IDLE); in getIdle() 120 return (Integer) getAttribute(IOW); in getIow() 134 return (Integer) getAttribute(IRQ); in getIrq() 148 return (Integer) getAttribute(SIRQ); in getSirq() 162 return (Integer) getAttribute(TOTAL); in getTotal() 176 return (String) getAttribute(TEXT); in getText()
|
D | MiscLogcatItem.java | 69 return (Date) getAttribute(EVENT_TIME); in getEventTime() 83 return (Integer) getAttribute(PID); in getPid() 97 return (Integer) getAttribute(TID); in getTid() 111 return (String) getAttribute(APP); in getApp() 125 return (String) getAttribute(TAG); in getTag() 139 return (String) getAttribute(LAST_PREAMBLE); in getLastPreamble() 153 return (String) getAttribute(PROCESS_PREAMBLE); in getProcessPreamble() 176 return (String) getAttribute(CATEGORY); in getCategory() 190 return (String) getAttribute(STACK); in getStack()
|
D | TransitionDelayItem.java | 55 return (String) getAttribute(COMPONENT_NAME); in getComponentName() 63 return getAttribute(START_WINDOW_DELAY) != null ? (Long) getAttribute(START_WINDOW_DELAY) in getStartingWindowDelay() 72 return (Long) getAttribute(TRANSITION_DELAY); in getTransitionDelay() 84 return (String) getAttribute(DATE_TIME); in getDateTime() 92 return getAttribute(WINDOW_DRAWN_DELAY) != null in getWindowDrawnDelay() 93 ? (Long) getAttribute(WINDOW_DRAWN_DELAY) in getWindowDrawnDelay()
|
D | GenericItem.java | 84 mergeObjects(getAttribute(attribute), item.getAttribute(attribute))); in mergeAttributes() 101 if (!areConsistent(getAttribute(attribute), item.getAttribute(attribute))) { in isConsistent() 122 if (!areEqual(getAttribute(attribute), item.getAttribute(attribute))) { in equals() 134 Object val = getAttribute(attribute); in hashCode() 189 protected Object getAttribute(String attribute) throws IllegalArgumentException { in getAttribute() method in GenericItem
|
D | LocationDumpsItem.java | 82 return (String) getAttribute(PACKAGE); in getPackage() 89 return (int) getAttribute(EFFECTIVE_INTERVAL); in getEffectiveInterval() 96 return (int) getAttribute(MIN_INTERVAL); in getMinInterval() 103 return (int) getAttribute(MAX_INTERVAL); in getMaxInterval() 110 return (String) getAttribute(REQUEST_PRIORITY); in getPriority() 117 return (int) getAttribute(LOCATION_DURATION); in getDuration()
|
D | BatteryDischargeStatsInfoItem.java | 88 return (int) getAttribute(MAX_PERCENTAGE); in getMaxPercentage() 95 return (int) getAttribute(MIN_PERCENTAGE); in getMinPercentage() 102 return (int) getAttribute(DISCHARGE_PERCENTAGE); in getDischargePercentage() 109 return (long) getAttribute(DISCHARGE_DURATION); in getDischargeDuration() 116 return (long) getAttribute(PROJECTED_BATTERY_LIFE); in getProjectedBatteryLife()
|
D | DmesgServiceInfoItem.java | 51 return (String) getAttribute(SERVICE_NAME); in getServiceName() 65 return (Long) getAttribute(SERVICE_START_TIME); in getStartTime() 79 return (Long) getAttribute(SERVICE_END_TIME); in getEndTime() 93 if (null != getAttribute(SERVICE_END_TIME) && null != getAttribute(SERVICE_START_TIME)) { in getServiceDuration()
|
D | TraceFormatItem.java | 47 return (Pattern) getAttribute(REGEX); in getRegex() 60 return (List<String>) getAttribute(PARAMS); in getParameters() 76 return (List<String>) getAttribute(NUM_PARAMS); in getNumericParameters() 92 return (List<String>) getAttribute(HEX_PARAMS); in getHexParameters() 108 return (List<String>) getAttribute(STR_PARAMS); in getStringParameters()
|
D | AnrItem.java | 76 return (Double) getAttribute(category.toString()); in getCpuUsage() 90 return (Double) getAttribute(category.toString()); in getLoad() 104 return (String) getAttribute(ACTIVITY); in getActivity() 118 return (String) getAttribute(REASON); in getReason() 132 return (String) getAttribute(TRACE); in getTrace()
|
D | ProcessUsageItem.java | 66 return (String) getAttribute(SENSOR_NAME); in getSensorName() 73 return (long) getAttribute(USAGE_DURATION); in getUsageDurationMs() 108 return (int) getAttribute(ALARM_WAKEUPS); in getAlarmWakeups() 116 return (LinkedList<SensorInfoItem>) getAttribute(SENSOR_USAGE); in getSensorUsage() 123 return (String) getAttribute(PROCESS_UID); in getProcessUID()
|
D | WakelockItem.java | 100 return (String) getAttribute(NAME); in getName() 107 return (String) getAttribute(PROCESS_UID); in getProcessUID() 114 return (Long) getAttribute(HELD_TIME); in getHeldTime() 121 return (Integer) getAttribute(LOCKED_COUNT); in getLockedCount() 128 return (WakeLockCategory) getAttribute(CATEGORY); in getCategory()
|
D | DumpsysItem.java | 75 return (DumpsysBatteryStatsItem) getAttribute(BATTERY_STATS); in getBatteryStats() 80 return (DumpsysPackageStatsItem) getAttribute(PACKAGE_STATS); in getPackageStats() 85 return (DumpsysProcStatsItem) getAttribute(PROC_STATS); in getProcStats() 92 return (DumpsysWifiStatsItem) getAttribute(WIFI_STATS); in getWifiStats()
|
D | MiscKernelLogItem.java | 60 return (Double) getAttribute(EVENT_TIME); in getEventTime() 74 return (String) getAttribute(PREAMBLE); in getPreamble() 88 return (String) getAttribute(CATEGORY); in getCategory() 102 return (String) getAttribute(STACK); in getStack()
|
D | KernelLogItem.java | 63 return (Double) getAttribute(START_TIME); in getStartTime() 77 return (Double) getAttribute(STOP_TIME); in getStopTime() 91 return (ItemList) getAttribute(EVENTS); in getEvents() 103 ((ItemList) getAttribute(EVENTS)).add(event); in addEvent()
|
D | LogcatItem.java | 60 return (Date) getAttribute(START_TIME); in getStartTime() 74 return (Date) getAttribute(STOP_TIME); in getStopTime() 88 return (ItemList) getAttribute(EVENTS); in getEvents() 95 ((ItemList) getAttribute(EVENTS)).add(event); in addEvent()
|
D | DumpsysWifiStatsItem.java | 68 return (int) getAttribute(WIFI_DISCONNECT); in getNumWifiDisconnects() 75 return (int) getAttribute(WIFI_SCAN); in getNumWifiScans() 82 return (int) getAttribute(WIFI_ASSOCIATION); in getNumWifiAssociations()
|
D | LowMemoryKillerItem.java | 52 return (int) getAttribute(PID); in getPid() 66 return (String) getAttribute(PROCESS_NAME); in getProcessName() 80 return (int) getAttribute(ADJUSTMENT); in getAdjustment()
|
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
D | DvmLockSampleParserTest.java | 36 … assertEquals("android.support.test.aupt", item.getAttribute(DvmLockSampleItem.PROCESS_NAME)); in testSingleDvmLine() 37 assertEquals(Boolean.FALSE, item.getAttribute(DvmLockSampleItem.SENSITIVITY_FLAG)); in testSingleDvmLine() 38 …assertEquals("Instr: android.support.test.aupt", item.getAttribute(DvmLockSampleItem.WAITING_THREA… in testSingleDvmLine() 39 assertEquals(75, item.getAttribute(DvmLockSampleItem.WAIT_TIME)); in testSingleDvmLine() 40 … assertEquals("AccessibilityCache.java", item.getAttribute(DvmLockSampleItem.WAITING_SOURCE_FILE)); in testSingleDvmLine() 41 assertEquals(256, item.getAttribute(DvmLockSampleItem.WAITING_SOURCE_LINE)); in testSingleDvmLine() 42 … assertEquals("AccessibilityCache.java", item.getAttribute(DvmLockSampleItem.OWNER_FILE_NAME)); in testSingleDvmLine() 43 assertEquals(96, item.getAttribute(DvmLockSampleItem.OWNER_ACQUIRE_SOURCE_LINE)); in testSingleDvmLine() 44 assertEquals(15, item.getAttribute(DvmLockSampleItem.SAMPLE_PERCENTAGE)); in testSingleDvmLine()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | AnnotationsMerger.kt | 364 var signature: String? = item.getAttribute(ATTR_NAME) in mergeDocument() 513 val qualifiedName = element.getAttribute(ATTR_NAME) in getAnnotationName() 564 val name = annotationElement.getAttribute(ATTR_NAME) in createAnnotation() 572 val valName1 = valueElement1.getAttribute(ATTR_NAME) in createAnnotation() 573 val value1 = valueElement1.getAttribute(ATTR_VAL) in createAnnotation() 574 val valName2 = valueElement2.getAttribute(ATTR_NAME) in createAnnotation() 575 val value2 = valueElement2.getAttribute(ATTR_VAL) in createAnnotation() 598 val valName = valueElement.getAttribute(ATTR_NAME) in createAnnotation() 599 var value = valueElement.getAttribute(ATTR_VAL) in createAnnotation() 676 val valName = valueElement.getAttribute(ATTR_NAME) in createAnnotation() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 144 mNumTestsExpected = Integer.parseInt(rootNode.getAttribute("tests")); in getTestSuitesInfo() 145 mTotalRunTime = (long) (Double.parseDouble(rootNode.getAttribute("time")) * 1000d); in getTestSuitesInfo() 164 String classname = testcase.getAttribute("classname"); in processTestResult() 165 String testname = testcase.getAttribute("name"); in processTestResult() 166 String runtime = testcase.getAttribute("time"); in processTestResult() 169 skipped = SKIPPED_VALUE.equals(testcase.getAttribute(RESULT_ATTRIBUTE)); in processTestResult() 187 .getAttribute("message"); in processTestResult()
|
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
D | GenericItemTest.java | 163 assertNull(item.getAttribute("string")); in testAttributes() 164 assertNull(item.getAttribute("integer")); in testAttributes() 169 assertEquals(mStringAttribute, item.getAttribute("string")); in testAttributes() 170 assertEquals(mIntegerAttribute, item.getAttribute("integer")); in testAttributes() 175 assertNull(item.getAttribute("string")); in testAttributes() 176 assertNull(item.getAttribute("integer")); in testAttributes()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | AndroidBinXmlParser.java | 166 return getAttribute(index).getNameResourceId(); in getAttributeNameResourceId() 177 return getAttribute(index).getName(); in getAttributeName() 189 return getAttribute(index).getNamespace(); in getAttributeNamespace() 201 int type = getAttribute(index).getValueType(); in getAttributeValueType() 226 return getAttribute(index).getIntValue(); in getAttributeIntValue() 238 return getAttribute(index).getBooleanValue(); in getAttributeBooleanValue() 250 return getAttribute(index).getStringValue(); in getAttributeStringValue() 253 private Attribute getAttribute(int index) { in getAttribute() method in AndroidBinXmlParser
|