Home
last modified time | relevance | path

Searched refs:setAttribute (Results 1 – 25 of 47) sorted by relevance

12

/tools/loganalysis/src/com/android/loganalysis/item/
DSmartMonkeyLogItem.java82 setAttribute(APPLICATIONS, new ArrayList<String>()); in SmartMonkeyLogItem()
83 setAttribute(PACKAGES, new ArrayList<String>()); in SmartMonkeyLogItem()
84 setAttribute(CRASH_TIMES, new DateSet()); in SmartMonkeyLogItem()
85 setAttribute(ANR_TIMES, new DateSet()); in SmartMonkeyLogItem()
86 setAttribute(INTERMEDIATE_TIME, new DateSet()); in SmartMonkeyLogItem()
87 setAttribute(THROTTLE, 0); in SmartMonkeyLogItem()
88 setAttribute(FINAL_COUNT, 0); in SmartMonkeyLogItem()
89 setAttribute(IS_FINISHED, false); in SmartMonkeyLogItem()
90 setAttribute(ABORTED, false); in SmartMonkeyLogItem()
91 setAttribute(INTERMEDIATE_COUNT, 0); in SmartMonkeyLogItem()
[all …]
DMonkeyLogItem.java91 setAttribute(PACKAGES, new StringSet()); in MonkeyLogItem()
92 setAttribute(CATEGORIES, new StringSet()); in MonkeyLogItem()
93 setAttribute(THROTTLE, 0); in MonkeyLogItem()
94 setAttribute(IGNORE_SECURITY_EXCEPTIONS, false); in MonkeyLogItem()
95 setAttribute(IS_FINISHED, false); in MonkeyLogItem()
96 setAttribute(NO_ACTIVITIES, false); in MonkeyLogItem()
97 setAttribute(INTERMEDIATE_COUNT, 0); in MonkeyLogItem()
111 setAttribute(START_TIME, time); in setStartTime()
125 setAttribute(STOP_TIME, time); in setStopTime()
167 setAttribute(THROTTLE, throttle); in setThrottle()
[all …]
DBugreportItem.java77 setAttribute(TIME, time); in setTime()
91 setAttribute(COMMAND_LINE, commandLine); in setCommandLine()
105 setAttribute(MEM_INFO, memInfo); in setMemInfo()
119 setAttribute(PROCRANK, procrank); in setProcrank()
133 setAttribute(TOP, top); in setTop()
147 setAttribute(KERNEL_LOG, systemLog); in setKernelLog()
161 setAttribute(LAST_KMSG, systemLog); in setLastKmsg()
175 setAttribute(SYSTEM_LOG, systemLog); in setSystemLog()
189 setAttribute(SYSTEM_PROPS, systemProps); in setSystemProps()
203 setAttribute(DUMPSYS, dumpsys); in setDumpsys()
[all …]
DTopItem.java56 setAttribute(attribute, 0); in TopItem()
71 setAttribute(USER, user); in setUser()
85 setAttribute(NICE, nice); in setNice()
99 setAttribute(SYSTEM, system); in setSystem()
113 setAttribute(IDLE, idle); in setIdle()
127 setAttribute(IOW, iow); in setIow()
141 setAttribute(IRQ, irq); in setIrq()
155 setAttribute(SIRQ, sirq); in setSirq()
169 setAttribute(TOTAL, total); in setTotal()
183 setAttribute(TEXT, text); in setText()
DMiscLogcatItem.java76 setAttribute(EVENT_TIME, time); in setEventTime()
90 setAttribute(PID, pid); in setPid()
104 setAttribute(TID, tid); in setTid()
118 setAttribute(APP, app); in setApp()
132 setAttribute(TAG, tag); in setTag()
146 setAttribute(LAST_PREAMBLE, preamble); in setLastPreamble()
160 setAttribute(PROCESS_PREAMBLE, preamble); in setProcessPreamble()
183 setAttribute(CATEGORY, category); in setCategory()
197 setAttribute(STACK, stack); in setStack()
DDmesgStageInfoItem.java51 setAttribute(STAGE_NAME, name); in DmesgStageInfoItem()
52 setAttribute(STAGE_START_TIME, startTime); in DmesgStageInfoItem()
53 setAttribute(STAGE_DURATION, duration); in DmesgStageInfoItem()
67 setAttribute(STAGE_NAME, stageName); in setStageName()
81 setAttribute(STAGE_START_TIME, startTime); in setStartTime()
95 setAttribute(STAGE_DURATION, duration); in setDuration()
DDmesgActionInfoItem.java51 setAttribute(SOURCE_NAME, source); in DmesgActionInfoItem()
52 setAttribute(ACTION_NAME, name); in DmesgActionInfoItem()
53 setAttribute(ACTION_START_TIME, startTime); in DmesgActionInfoItem()
67 setAttribute(SOURCE_NAME, sourceName); in setSourceName()
81 setAttribute(ACTION_NAME, stageName); in setActionName()
95 setAttribute(ACTION_START_TIME, startTime); in setStartTime()
DLocationDumpsItem.java70 setAttribute(PACKAGE, packageName); in LocationInfoItem()
71 setAttribute(EFFECTIVE_INTERVAL, effective); in LocationInfoItem()
72 setAttribute(MIN_INTERVAL, min); in LocationInfoItem()
73 setAttribute(MAX_INTERVAL, max); in LocationInfoItem()
74 setAttribute(REQUEST_PRIORITY, priority); in LocationInfoItem()
75 setAttribute(LOCATION_DURATION, duration); in LocationInfoItem()
DWakelockItem.java89 setAttribute(NAME, name); in WakelockInfoItem()
90 setAttribute(PROCESS_UID, processUID); in WakelockInfoItem()
91 setAttribute(HELD_TIME, heldTime); in WakelockInfoItem()
92 setAttribute(LOCKED_COUNT, lockedCount); in WakelockInfoItem()
93 setAttribute(CATEGORY, category); in WakelockInfoItem()
135 setAttribute(PROCESS_NAME, processName); in setWakelockProcessName()
DBatteryDischargeStatsInfoItem.java53 setAttribute(MAX_PERCENTAGE, percentage); in setMaxPercentage()
60 setAttribute(MIN_PERCENTAGE, percentage); in setMinPercentage()
67 setAttribute(DISCHARGE_PERCENTAGE, dischargePercentage); in setDischargePercentage()
74 setAttribute(DISCHARGE_DURATION, dischargeDuration); in setDischargeDuration()
81 setAttribute(PROJECTED_BATTERY_LIFE, projectedBatteryLife); in setProjectedBatteryLife()
DTransitionDelayItem.java59 setAttribute(COMPONENT_NAME, componentName); in setComponentName()
68 setAttribute(START_WINDOW_DELAY, startingWindowDelay); in setStartingWindowDelay()
76 setAttribute(TRANSITION_DELAY, transitionDelay); in setTransitionDelay()
88 setAttribute(DATE_TIME, dateTime); in setDateTime()
98 setAttribute(WINDOW_DRAWN_DELAY, windowDrawnDelay); in setWindowDrawnDelay()
DTraceFormatItem.java52 setAttribute(REGEX, regex); in setRegex()
68 setAttribute(PARAMS, parameters); in setParameters()
84 setAttribute(NUM_PARAMS, numericParameters); in setNumericParameters()
100 setAttribute(HEX_PARAMS, hexParameters); in setHexParameters()
116 setAttribute(STR_PARAMS, stringParameters); in setStringParameters()
DAnrItem.java83 setAttribute(category.toString(), usage); in setCpuUsage()
97 setAttribute(category.toString(), usage); in setLoad()
111 setAttribute(ACTIVITY, activity); in setActivity()
125 setAttribute(REASON, reason); in setReason()
139 setAttribute(TRACE, trace); in setTrace()
DProcessUsageItem.java58 setAttribute(SENSOR_NAME, name); in SensorInfoItem()
59 setAttribute(USAGE_DURATION, usageDuration); in SensorInfoItem()
99 setAttribute(PROCESS_UID, uid); in ProcessUsageInfoItem()
100 setAttribute(ALARM_WAKEUPS, alarmWakeups); in ProcessUsageInfoItem()
101 setAttribute(SENSOR_USAGE, sensorUsage); in ProcessUsageInfoItem()
DKernelLogItem.java54 setAttribute(START_TIME, Double.valueOf(0.0)); in KernelLogItem()
55 setAttribute(STOP_TIME, Double.valueOf(0.0)); in KernelLogItem()
56 setAttribute(EVENTS, new ItemList()); in KernelLogItem()
70 setAttribute(START_TIME, time); in setStartTime()
84 setAttribute(STOP_TIME, time); in setStopTime()
DSystemServicesTimingItem.java52 setAttribute(COMPONENT, component); in setComponent()
62 setAttribute(SUBCOMPONENT, subcomponent); in setSubcomponent()
72 setAttribute(DURATION, duration); in setDuration()
82 setAttribute(START_TIME, startTime); in setStartTime()
DDumpsysItem.java51 setAttribute(BATTERY_STATS, batteryStats); in setBatteryInfo()
56 setAttribute(PACKAGE_STATS, packageStats); in setPackageStats()
61 setAttribute(PROC_STATS, procStats); in setProcStats()
68 setAttribute(WIFI_STATS, wifiStats); in setWifiStats()
DMiscKernelLogItem.java67 setAttribute(EVENT_TIME, time); in setEventTime()
81 setAttribute(PREAMBLE, preamble); in setPreamble()
95 setAttribute(CATEGORY, category); in setCategory()
109 setAttribute(STACK, stack); in setStack()
DLogcatItem.java53 setAttribute(EVENTS, new ItemList()); in LogcatItem()
67 setAttribute(START_TIME, time); in setStartTime()
81 setAttribute(STOP_TIME, time); in setStopTime()
200 mergedLogcat.setAttribute(EVENTS, mergedEvents); in merge()
DDumpsysWifiStatsItem.java47 setAttribute(WIFI_DISCONNECT, numWifiDisconnects); in setNumWifiDisconnect()
54 setAttribute(WIFI_SCAN, numWifiScans); in setNumWifiScan()
61 setAttribute(WIFI_ASSOCIATION, numWifiAssociations); in setNumWifiAssociation()
DLowMemoryKillerItem.java59 setAttribute(PID, pid); in setPid()
73 setAttribute(PROCESS_NAME, name); in setProcessName()
87 setAttribute(ADJUSTMENT, adjustment); in setAdjustment()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DGenericItemTest.java59 mStringItem.setAttribute("string", mStringAttribute); in setUp()
61 mIntegerItem.setAttribute("integer", mIntegerAttribute); in setUp()
63 mFullItem1.setAttribute("string", mStringAttribute); in setUp()
64 mFullItem1.setAttribute("integer", mIntegerAttribute); in setUp()
66 mFullItem2.setAttribute("string", mStringAttribute); in setUp()
67 mFullItem2.setAttribute("integer", mIntegerAttribute); in setUp()
69 mInconsistentItem.setAttribute("string", "gnirts"); in setUp()
70 mInconsistentItem.setAttribute("integer", 2); in setUp()
166 item.setAttribute("string", mStringAttribute); in testAttributes()
167 item.setAttribute("integer", mIntegerAttribute); in testAttributes()
[all …]
DDvmLockSampleItemTest.java33 item.setAttribute(DvmLockSampleItem.PROCESS_NAME, "android.support.test.aupt"); in testToJson()
34 item.setAttribute(DvmLockSampleItem.SENSITIVITY_FLAG, false); in testToJson()
35 … item.setAttribute(DvmLockSampleItem.WAITING_THREAD_NAME, "Instr: android.support.test.aupt"); in testToJson()
36 item.setAttribute(DvmLockSampleItem.WAIT_TIME, 75); in testToJson()
37 item.setAttribute(DvmLockSampleItem.WAITING_SOURCE_FILE, "AccessibilityCache.java"); in testToJson()
38 item.setAttribute(DvmLockSampleItem.WAITING_SOURCE_LINE, 256); in testToJson()
39 item.setAttribute(DvmLockSampleItem.OWNER_FILE_NAME, "-"); in testToJson()
40 item.setAttribute(DvmLockSampleItem.OWNER_ACQUIRE_SOURCE_LINE, 96); in testToJson()
41 item.setAttribute(DvmLockSampleItem.SAMPLE_PERCENTAGE, 15); in testToJson()
/tools/loganalysis/src/com/android/loganalysis/parser/
DDvmLockSampleParser.java94 mItem.setAttribute(DvmLockSampleItem.PROCESS_NAME, in parse()
97 mItem.setAttribute(DvmLockSampleItem.SENSITIVITY_FLAG, in parse()
100 mItem.setAttribute(DvmLockSampleItem.WAITING_THREAD_NAME, in parse()
103 mItem.setAttribute(DvmLockSampleItem.WAIT_TIME, in parse()
106 mItem.setAttribute(DvmLockSampleItem.WAITING_SOURCE_FILE, in parse()
109 mItem.setAttribute(DvmLockSampleItem.WAITING_SOURCE_LINE, in parse()
114 mItem.setAttribute(DvmLockSampleItem.OWNER_FILE_NAME, in parse()
117 mItem.setAttribute(DvmLockSampleItem.OWNER_ACQUIRE_SOURCE_LINE, in parse()
120 mItem.setAttribute(DvmLockSampleItem.SAMPLE_PERCENTAGE, in parse()
/tools/platform-compat/java/android/processor/compat/changeid/
DXmlWriter.java84 newElement.setAttribute(XML_NAME_ATTR, change.name); in addChange()
85 newElement.setAttribute(XML_ID_ATTR, change.id.toString()); in addChange()
87 newElement.setAttribute(XML_DISABLED_ATTR, "true"); in addChange()
90 newElement.setAttribute(XML_LOGGING_ATTR, "true"); in addChange()
93 newElement.setAttribute(XML_ENABLED_AFTER_ATTR, change.enabledAfter.toString()); in addChange()
96 newElement.setAttribute(XML_DESCRIPTION_ATTR, change.description); in addChange()
100 metaData.setAttribute(XML_DEFINED_IN, change.qualifiedClass); in addChange()
103 metaData.setAttribute(XML_SOURCE_POSITION, change.sourcePosition); in addChange()

12