Home
last modified time | relevance | path

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

12

/tools/loganalysis/src/com/android/loganalysis/item/
DMonkeyLogItem.java104 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 …]
DSmartMonkeyLogItem.java100 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 …]
DBugreportItem.java70 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 …]
DTopItem.java64 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()
DTransitionDelayItem.java55 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()
DMiscLogcatItem.java69 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()
DDmesgServiceInfoItem.java51 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()
DBatteryDischargeStatsInfoItem.java88 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()
DGenericTimingItem.java44 return (String) getAttribute(NAME); in getName()
54 return (Double) getAttribute(END_TIME) - (Double) getAttribute(START_TIME); in getDuration()
59 return (Double) getAttribute(START_TIME); in getStartTime()
64 return (Double) getAttribute(END_TIME); in getEndTime()
DTraceFormatItem.java47 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()
DLocationDumpsItem.java82 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()
DGenericItem.java84 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
DSystemServicesTimingItem.java47 return (String) getAttribute(COMPONENT); in getComponent()
57 return (String) getAttribute(SUBCOMPONENT); in getSubcomponent()
67 return (Double) getAttribute(DURATION); in getDuration()
77 return (Double) getAttribute(START_TIME); in getStartTime()
DDumpsysItem.java75 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()
DAnrItem.java76 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()
DMiscKernelLogItem.java60 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()
DDumpsysWifiStatsItem.java68 return (int) getAttribute(WIFI_DISCONNECT); in getNumWifiDisconnects()
75 return (int) getAttribute(WIFI_SCAN); in getNumWifiScans()
82 return (int) getAttribute(WIFI_ASSOCIATION); in getNumWifiAssociations()
DLowMemoryKillerItem.java52 return (int) getAttribute(PID); in getPid()
66 return (String) getAttribute(PROCESS_NAME); in getProcessName()
80 return (int) getAttribute(ADJUSTMENT); in getAdjustment()
DTracesItem.java55 return (Integer) getAttribute(PID); in getPid()
69 return (String) getAttribute(APP); in getApp()
83 return (String) getAttribute(STACK); in getStack()
DProcessUsageItem.java66 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()
DWakelockItem.java100 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()
DDmesgStageInfoItem.java60 return (String) getAttribute(STAGE_NAME); in getStageName()
74 return (Long) getAttribute(STAGE_START_TIME); in getStartTime()
88 return (Long) getAttribute(STAGE_DURATION); in getDuration()
DDmesgActionInfoItem.java60 return (String) getAttribute(SOURCE_NAME); in getSourceName()
74 return (String) getAttribute(ACTION_NAME); in getActionName()
88 return (Long) getAttribute(ACTION_START_TIME); in getStartTime()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DDvmLockSampleParserTest.java36 … 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/carrier_settings/python/
Dupdate_apn.py109 ret.mcc_mnc = (apn_node.getAttribute('mcc') + apn_node.getAttribute('mnc'))
110 mvno_type = apn_node.getAttribute('mvno_type')
111 mvno_data = apn_node.getAttribute('mvno_match_data')
205 apn.name = node.getAttribute('carrier')
206 apn.value = node.getAttribute('apn')
207 apn.type.extend(map_apntype(node.getAttribute('type')))
210 setattr(apn, key, APN_PROTOCOL_MAP[node.getAttribute(key).lower()])
215 setattr(apn, 'bearer_bitmask', node.getAttribute(key))
218 setattr(apn, key, APN_SKIPXLAT_MAP[int(node.getAttribute(key))])
221 setattr(apn, key, node.getAttribute(key))
[all …]

12