builds a name to be used in the perf trace framework . the framework has length requirements for names , so this ensures the generated name does not exceed the maximum trimming the base name if necessary . concode_field_sep List<String> sFilter concode_elem_sep String MEMORY_TRACE_NAME_SUFFIX concode_elem_sep boolean sTrackMemory concode_elem_sep String mTypeStr concode_elem_sep JSONArray sPerfTraceStrings concode_elem_sep boolean sEnabled concode_elem_sep boolean sTrackTiming concode_elem_sep int MAX_NAME_LENGTH concode_elem_sep long sBeginNanoTime concode_elem_sep File sOutputFile concode_field_sep String makeMemoryTraceNameFromTimingName concode_elem_sep void dumpPerf concode_elem_sep void savePerfString concode_elem_sep void savePerfString concode_elem_sep void setTimingTrackingEnabled concode_elem_sep boolean enabled concode_elem_sep void setOutputFile concode_elem_sep void setFilter concode_elem_sep void instant concode_elem_sep void setEnabled concode_elem_sep void setMemoryTrackingEnabled concode_elem_sep boolean matchesFilter concode_elem_sep String toString concode_elem_sep void end concode_elem_sep void end concode_elem_sep void begin concode_elem_sep void begin
String function ( String arg0 , String arg1 ) { int loc0 = arg1 . length ( ) ; if ( arg0 . length ( ) + loc0 > MAX_NAME_LENGTH ) { arg0 = arg0 . substring ( 0 , MAX_NAME_LENGTH - loc0 ) ; } return arg0 + arg1 ; }