sdk/tools/dynamic-analyzer.git
9 years agoPROTOCOL: apply the feedback of reviews (fix some typo, comments, names) 50/40350/2
greatim [Tue, 2 Jun 2015 16:42:10 +0000 (01:42 +0900)]
PROTOCOL: apply the feedback of reviews (fix some typo, comments, names)

Fix some typos
Fix some boilerplates
Fix some comments
Fix some method and variable name (by code convention)
Fix some potential bugs

Change-Id: Ibf21c9cfde104ee8ff784102f9ec4cdef8a63f0c
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE 03/40303/2
greatim [Tue, 2 Jun 2015 06:49:16 +0000 (15:49 +0900)]
PROTOCOL: fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE

fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE

Change-Id: Ic0fcbfc37505d176056a73e6e03bcd51a0e1c7ab
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: add debug print routine for control channel 84/39984/2
greatim [Wed, 27 May 2015 07:52:14 +0000 (16:52 +0900)]
PROTOCOL: add debug print routine for control channel

Add debug print routine for control channel
Run "ps" commond as root privilege when get list of processes for running process analysis
Add protocol version enum

Change-Id: I859629d27bcfe88ee327ba88c58ce79bc4fb3c8b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Implement control channel communicator for protocol 4.0 18/39918/2
greatim [Tue, 26 May 2015 10:58:25 +0000 (19:58 +0900)]
PROTOCOL: Implement control channel communicator for protocol 4.0

Implement control channel communicator for protocol 4.0
Implement to get version by message in BaseCommunicator
Change the type of apis collection to map from list in DeviceStatusInfo
Move DATime class to model package

Change-Id: I9958046d33c45a0f4dd6d14f7ec0a3f1bace2d20
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: refactor debug print routine of data channel logs 71/39871/2
greatim [Mon, 25 May 2015 13:40:09 +0000 (22:40 +0900)]
PROTOCOL: refactor debug print routine of data channel logs

refactor debug print routine of data channel logs
parse logs (process info, memory map, ...) in data model instead of MessageParser

Change-Id: Iad39372513c98b0b805a9c36b93707118af687de
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Make sure Protocol 3.0 implementation 22/39722/2
greatim [Thu, 21 May 2015 12:30:33 +0000 (21:30 +0900)]
PROTOCOL: Make sure Protocol 3.0 implementation

Make sure to support protocol 3.0
Remove unused constants from AnalyerConstants (specially protocol constants)
Remove RuntimeConfiguration from Global.java

Change-Id: I93efb115265661b2b96d0c111d7453850b32f7a7
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL, SETTING: Remove protocol specific from settings 37/39637/2
greatim [Wed, 20 May 2015 07:35:29 +0000 (16:35 +0900)]
PROTOCOL, SETTING: Remove protocol specific from settings

Modify config files (setting, feature, template)
 - changed feature index value, removed protocol specific values, removed protocol file
Add IProtocolConfig interface and implementation
 - manage protocol specific values for configuration
Refactor sendConfiguration() of Communicator30
Change Feature enum names
Remove protocol specific from settings
 - remove protocol list from FeatureData
 - remove ProtocolData
 - remove protocol specific functions from SettingDataManager

Change-Id: I4c7ddc18cda23417fbd4c5e8a1c01c0132508450
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoSETTING: refactor SettingDataManager and related classes 14/39314/3
greatim [Wed, 13 May 2015 02:46:59 +0000 (11:46 +0900)]
SETTING: refactor SettingDataManager and related classes

Refactor SettingDataManager
Make Feature and Template enum (removed related constants from SettingConstatns)
Refactor and move setting related classes (FeatureData, FeatureDataValue, ProtocolData, TemplateData, TargetData)

Change-Id: I5980ed080ae8f6099167abc4b87be01a8c7c5838
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Remove protocol specific from ReplayManager and refactor Communicator30 66/39166/2
greatim [Mon, 11 May 2015 06:32:47 +0000 (15:32 +0900)]
PROTOCOL: Remove protocol specific from ReplayManager and refactor Communicator30

Move ApplicationInst, FunctionInst, LibraryInst to protocol package
Remove UserSpaceInst, ReplayEvent, EventObject (unnecessary)
Refactor ReplayManager (remove protocol specific)
Refactor Communicator30 (remove UserSpaceInst usage)
Remove Streamable interface usage (replaced ISerializable)

Add feature value to ProtocolConstants30
Move appType constant to ProtocolConstant30

Remove put() from ProtocolSerializer
Change Communicator40 to inherit from Communicator30
Refactor ReplayData (remove objectCount)

Change-Id: I2ab31cc6113c452786642b4673b081d36409b290
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: make sub package for each protocol version 94/39094/2
greatim [Fri, 8 May 2015 12:44:59 +0000 (21:44 +0900)]
PROTOCOL: make sub package for each protocol version

Make sub package for each protocol version and move related classes
remove BasicMessage (unnecessary)

Change-Id: I1d0decf091f62d39d1004d39149551b4b23859d2
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: rename makeData() to parse() of LogData classes 93/39093/2
greatim [Fri, 8 May 2015 12:25:19 +0000 (21:25 +0900)]
PROTOCOL: rename makeData() to parse() of LogData classes

Rename makeData() to parse() of LogData classes
Remove IParseDataMessage and DataMessageParser30 class (design change)
Refactor LogDataFactory
Set protocol version value to LogData

Change-Id: I9740339e09085337ce4496215bd0a3269478705b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: add a few of new classes for protocol compatibility (especially for Data... 62/39062/2
greatim [Thu, 7 May 2015 17:40:32 +0000 (02:40 +0900)]
PROTOCOL: add a few of new classes for protocol compatibility (especially for Data Channel)

add some protocol related classes
 - protocol version management class
 - data message parser interface
 - data message parser implementation class for protocol 3.0
 - protocol mutable constants class
 - protocol immutable constants class
merge ProtocolParser and ByteStreamData (removed ByteStreamData)
move constants related protocol to ProtocolConstants and ProtocolConstants30 (removed DataChannelConstants)
remove configuration history list from Project.java (not used)
add extra data class for Data channel message (like process info, memory map, error data, ...)

Change-Id: I5f724517755ddd2835f8d750aa0df0a838c9ce32
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Implement protocol compatibility layer for control channel 84/38684/2
greatim [Fri, 24 Apr 2015 11:06:46 +0000 (20:06 +0900)]
PROTOCOL: Implement protocol compatibility layer for control channel

Implement protocol compatibility layer for control channel
DeviceInfo does not manage socket information anymore. (communicator does)
Make BaseCommunicator to manage control socket connection and protocol version information (protocol common part)
Make SubCommunicator to manage data socket connection and handle protocol specific function (protocol specific part)
Refactor DACommunicator and CommunicatorUtils (mainly method diet)
Refactor Communicator30.java as subclass of SubCommunicator
Make ProtocolParser and ProtocolSerializer to parse and make protocol messages
Make ProtocolNotSupportedException for unsupported message by some protocol versions
Refactor trivially : ProcessInformation, DeviceStatusInfo, Toolbar, BinarySettingProcessor

Change-Id: I80e0b958134c7fc2eff62f075081d49e70f4f24e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCOMMUNICATOR: refactor DACommunicator and Toolbar 30/38130/2
greatim [Mon, 13 Apr 2015 12:06:13 +0000 (21:06 +0900)]
COMMUNICATOR: refactor DACommunicator and Toolbar

Seperate device management from DACommunicator (make new class DeviceManager)
Refactor toolbar about updating device combo and application combo

Change-Id: I413b477fb08fa9b5a1b9f98ed948590b7fa6efb4
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoFile : bug fix about null pointer exception 51/37751/1
hyeran74.kim [Fri, 3 Apr 2015 10:10:45 +0000 (19:10 +0900)]
File : bug fix about null pointer exception

Change-Id: Ib807e747bec7fe7a8bbf5a978d37ca42a111b3e0
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoMerge changes Ic5c80657,Iaefcd816 into tizen
woojin jung [Fri, 3 Apr 2015 08:23:49 +0000 (01:23 -0700)]
Merge changes Ic5c80657,Iaefcd816 into tizen

* changes:
  CALLSTACK: refactor callstack inserter
  INTERNAL: fix a bug in memory log data

9 years agoMerge "CALLSTACK: refactoring callstack manager" into tizen
woojin jung [Fri, 3 Apr 2015 06:46:23 +0000 (23:46 -0700)]
Merge "CALLSTACK: refactoring callstack manager" into tizen

9 years agoMerge "Setting : modify usability" into tizen
woojin jung [Fri, 3 Apr 2015 02:40:45 +0000 (19:40 -0700)]
Merge "Setting : modify usability" into tizen

9 years agoSetting : modify usability 14/37414/3
heeyoung [Thu, 26 Mar 2015 06:39:13 +0000 (15:39 +0900)]
Setting : modify usability

romove focus of tooltip
modify cancel operation in option tab
change screenshot periodically minimum value

Change-Id: I4d2e265b4e6a00e28bdb66f312bd2a7b04182f1f
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "Summary : fix bug of reallocation logic" into tizen
woojin jung [Thu, 26 Mar 2015 09:07:26 +0000 (02:07 -0700)]
Merge "Summary : fix bug of reallocation logic" into tizen

9 years agoCALLSTACK: refactor callstack inserter 18/37418/2
greatim [Thu, 26 Mar 2015 07:44:54 +0000 (16:44 +0900)]
CALLSTACK: refactor callstack inserter

refactor callstack inserter
move callstack manager to project package
move project.save() to save command action
do not insert callstack unit at runtime (insert at save time)
minimize synchronized call of page data managers (causes deadlock)

Change-Id: Ic5c8065788cdf14b490e1c58ec01614c1d156b89
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix a bug in memory log data 25/37325/1
greatim [Tue, 24 Mar 2015 11:37:04 +0000 (20:37 +0900)]
INTERNAL: fix a bug in memory log data

fix a bug at memory log parsing

Change-Id: Iaefcd816f44e586199021cce254489586657a5d3
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCALLSTACK: refactoring callstack manager 00/37300/1
greatim [Tue, 24 Mar 2015 09:25:25 +0000 (18:25 +0900)]
CALLSTACK: refactoring callstack manager

seperate callstack manager for "runtime" and "range"
seperate profile data maker too. (runtime and range)

Change-Id: I925f66bee9c955514516b98f4d8d907bab55dead
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge branch 'da-opt' into tizen 38/37238/1
greatim [Mon, 23 Mar 2015 08:33:57 +0000 (17:33 +0900)]
Merge branch 'da-opt' into tizen

Change-ID: Id2d81a63efc1c2ae0235795de1894cdceab01882

9 years agoINTERNAL: refactor clear() function of each page data manager 21/37021/1
greatim [Wed, 18 Mar 2015 08:15:55 +0000 (17:15 +0900)]
INTERNAL: refactor clear() function of each page data manager

refactor clear() function of each page data manager and caller of clear()

Change-Id: I57f8cae046d7bba76c20f7712ad0842b780ed845
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: insert thread remaining data to db using inserter 84/36884/1
greatim [Mon, 16 Mar 2015 14:01:21 +0000 (23:01 +0900)]
INTERNAL: insert thread remaining data to db using inserter

insert thread remaining data to db using inserter on onThreadStop()

Change-Id: I014395f890af19ee5275a1d49337fd4182f7bca3
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: remove startTrace() and stopTrace() in toolbar 59/36759/3
greatim [Fri, 13 Mar 2015 06:23:24 +0000 (15:23 +0900)]
INTERNAL: remove startTrace() and stopTrace() in toolbar

Remove startTrace() and stopTrace() function in toolbar
Instead, use startTrace() and stopTrace() in CommandAction
change dispose() function name to close() in Project.java

Change-Id: I25bd65eb5b2739a4606bef34b9210942155329c0
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: remove DACommunicator.isRunning() usage 64/36664/3
greatim [Wed, 11 Mar 2015 12:27:23 +0000 (21:27 +0900)]
INTERNAL: remove DACommunicator.isRunning() usage

remove DACommunicator.isRunning(), replace it to DAState
refactor some function of thread data manager and thread db tables

Change-Id: I5456b3ef781931e5834a205c69495acadfbb1e7f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: make DAState class for host state management 30/36630/3
greatim [Wed, 11 Mar 2015 05:59:58 +0000 (14:59 +0900)]
INTERNAL: make DAState class for host state management

make DAState class for host state management (moved from Global.java)
remove all AnalyzerManager.isRunning() call and replace it to use DAState

Change-Id: I0323c9ad27193217fdadcefd9387e35749b2ff01
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: make sure all image thread is stopped when tracing is stopped 39/36539/3
greatim [Mon, 9 Mar 2015 16:52:04 +0000 (01:52 +0900)]
INTERNAL: make sure all image thread is stopped when tracing is stopped

make sure all image processing thread is terminated when tracing is terminated.

Change-Id: I2ee1cddacbed8c725c69bf821045f11409ff67a9
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: stop forced when DA exit 33/36533/2
greatim [Mon, 9 Mar 2015 14:52:38 +0000 (23:52 +0900)]
INTERNAL: stop forced when DA exit

stop thread by force when DA exit
change some caller code of AnalyzerManager.isExit()

Change-Id: I1c49b5174f618ed2238bab2ef7ccb6bee3d45c26
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: refactor DAResult and warning dialog 71/36371/3
greatim [Thu, 5 Mar 2015 12:25:35 +0000 (21:25 +0900)]
INTERNAL: refactor DAResult and warning dialog

refactor DAResult
add global function to show warning dialog with message or DAResult

Change-Id: I15d7fdbb5e02645311dd12cab13b1911a32b9798
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: add resource monitor timer 37/36337/3
greatim [Thu, 5 Mar 2015 09:24:41 +0000 (18:24 +0900)]
INTERNAL: add resource monitor timer

add resource monitor timer to monitor memory usage of DA
refactor UpdateViewTimer

Change-Id: Ib19fe8f2ee40bcbc5a23a0960397c347311f992e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix some bugs 70/36270/2
greatim [Wed, 4 Mar 2015 12:15:13 +0000 (21:15 +0900)]
INTERNAL: fix some bugs

add checking project validness at StopTraceManager
add checking thread interruption when major data thread is looping
add checking string size is zero or not when parsing log data

Change-Id: If51dd5e30faf3c167b4cf08531010179fcfe19da
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix some bugs and typo (feedback of commit 9a47faf3768e4) 61/36261/2
greatim [Wed, 4 Mar 2015 08:59:53 +0000 (17:59 +0900)]
INTERNAL: fix some bugs and typo (feedback of commit 9a47faf3768e4)

feedback of commit 9a47faf3768e4
rename ToolbarArea -> Toolbar and change to enum
add some boilerplate
change some names (function, enum value, nl text, etc..)

Change-Id: I3a4ffbc2908108066a7d8d4e334efe352162a028
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoSummary : fix bug of reallocation logic 22/36422/1
seokgil.kang [Fri, 6 Mar 2015 08:45:14 +0000 (17:45 +0900)]
Summary : fix bug of reallocation logic

Change-Id: Icde9964e4d89536287025bd469ce286cfde3dd42
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
9 years agoNL: rename some nl variable name (setting -> configuration) 39/36239/1
greatim [Wed, 4 Mar 2015 05:50:36 +0000 (14:50 +0900)]
NL: rename some nl variable name (setting -> configuration)

rename some nl variable name (setting -> configuration)
change (prepare for profiling -> Prepareing to trace)

Change-Id: I17fc6e234de72f5dc315a0c08f40830fad2d69ea
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: refactor major thread class for unity 36/36236/1
greatim [Wed, 4 Mar 2015 05:00:07 +0000 (14:00 +0900)]
INTERNAL: refactor major thread class for unity

create DataThread class for major thread like
data channel thread, message parser, log parser, page data thread, db inserter.
use offer() function instead put() function of blocking queue.

Change-Id: Ic02b4d2368c63c5259d64b321f9ef295b354367f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: apply synchronization to current state 65/36165/1
greatim [Tue, 3 Mar 2015 07:57:35 +0000 (16:57 +0900)]
INTERNAL: apply synchronization to current state

fix some bugs in StartTraceManager.java
rename Global.setCurrentState to Global.changeCurrentState and apply synchronization

Change-Id: Id8a338a118d6a22c928eac1aaafc60197c971d2e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: show error with progress when tracing stopped 42/36142/1
greatim [Mon, 2 Mar 2015 18:39:24 +0000 (03:39 +0900)]
INTERNAL: show error with progress when tracing stopped

show error with progress when tracing stopped

Change-Id: Ifb9b638582adfec362962a1d0a887bdaf1a0aaff
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCombo : remove focus out event 91/35991/1
heeyoung [Fri, 27 Feb 2015 08:40:25 +0000 (17:40 +0900)]
Combo : remove focus out event

Change-Id: I042d28b303226fd30be473548b87993d3ae16038
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoProgressDialog : set default button listener 19/35819/1
heeyoung [Wed, 25 Feb 2015 05:24:20 +0000 (14:24 +0900)]
ProgressDialog : set default button listener

Change-Id: I864f72fcca093100da844b602d533c7e67d4c1fc
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge branch 'tizen' into da-opt 75/35775/1
greatim [Tue, 24 Feb 2015 12:12:48 +0000 (21:12 +0900)]
Merge branch 'tizen' into da-opt

Signed-off-by: greatim <jaewon81.lim@samsung.com>
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/common/AnalyzerManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/CommunicatorUtils.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/database/DBInserter.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/nl/AnalyzerLabels.properties
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/communicator/Communicator30.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/LogParser.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/LogQueue.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/MessageParser.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/PageDataManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/ui/BinarySettingProgressManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StartProcessManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StopLogProcessor.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StopProcessManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ToolbarArea.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/OpenTraceInputReader.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/OpenTraceProgressManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/SettingDialog.java

Change-Id: Ia2b424c745bc47c723408c69a5fa35192952b6b8

9 years agoINTERNAL: refactor host state management and trace start/stop management 77/34677/2
greatim [Fri, 30 Jan 2015 10:55:37 +0000 (19:55 +0900)]
INTERNAL: refactor host state management and trace start/stop management

refactor host state management
refactor trace start / stop management
refactor some lod data models
refactor AnalyzerManager, DAResult, etc.
remove unnecessary files

Change-Id: Ieda51365c24c5a97b3df6716303a3a7cd99d08f8
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "Page Tab : add a null check" into tizen
woojin jung [Mon, 16 Feb 2015 01:14:08 +0000 (17:14 -0800)]
Merge "Page Tab : add a null check" into tizen

9 years agoMISC update the -Xmx size to 512MB
JuYoung Kim [Fri, 13 Feb 2015 03:10:17 +0000 (12:10 +0900)]
MISC update the -Xmx size to 512MB

Change-Id: I76640aad5324896efa565e4c1ec6772678efa2c2
Signed-off-by: JuYoung Kim <j0.kim@samsung.com>
9 years agoPage Tab : add a null check 87/35387/1
heeyoung [Fri, 13 Feb 2015 02:18:11 +0000 (11:18 +0900)]
Page Tab : add a null check

Change-Id: I5be61ee00a2db3e06fd0590452039b89a7ff1db5
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoPage Tab : Add the page tab view when Open button is clicked in OpenTrace dialog 49/35249/2
heeyoung [Wed, 11 Feb 2015 07:57:01 +0000 (16:57 +0900)]
Page Tab : Add the page tab view when Open button is clicked in OpenTrace dialog

Change-Id: Ic9b52be990429e8ec0a7eecc42500901dbab80b8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoINTERNEL: fix some potential bugs 29/35229/1
greatim [Wed, 11 Feb 2015 03:29:05 +0000 (12:29 +0900)]
INTERNEL: fix some potential bugs

fix some potential bugs including (dereference null return)

Change-Id: I4d62dbe8e96ec161385886f830014d83fc9982e1
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCALLSTACK, FUNCTION PROFILING : remove potential bugs 12/35212/1
woojin [Tue, 10 Feb 2015 15:06:02 +0000 (00:06 +0900)]
CALLSTACK, FUNCTION PROFILING : remove potential bugs

1. safer usage of locks
2. remove potential NullPointerException
3. remove dead code

Change-Id: Icb8dd27c9038d00f100a6142ccefbf5ded47d888
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoINTERNAL: fix some potential bugs 98/35198/1
greatim [Tue, 10 Feb 2015 11:58:07 +0000 (20:58 +0900)]
INTERNAL: fix some potential bugs

fix some potential bugs including double-checked locking bug

Change-Id: Iead801b8d4410d5d045e7f5870df2dd267ffaec5
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "Fix potential bugs." into tizen
woojin jung [Tue, 10 Feb 2015 09:12:47 +0000 (01:12 -0800)]
Merge "Fix potential bugs." into tizen

9 years agoMerge "File : deal with null pointer exception" into tizen
woojin jung [Tue, 10 Feb 2015 09:05:04 +0000 (01:05 -0800)]
Merge "File : deal with null pointer exception" into tizen

9 years agoFix potential bugs. 87/35187/1
jungwook.ryu [Tue, 10 Feb 2015 08:57:24 +0000 (17:57 +0900)]
Fix potential bugs.

Change-Id: I1e4b60c8055b2ff706bec23841db8b1572870474
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoFile : deal with null pointer exception 85/35185/1
hyeran74.kim [Tue, 10 Feb 2015 08:30:22 +0000 (17:30 +0900)]
File : deal with null pointer exception

Change-Id: I5bb06a3a33d3bc629b619744bf47be270ce6d231
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoSetting : modify input range of function sampling rate 63/35163/1
heeyoung [Tue, 10 Feb 2015 05:23:11 +0000 (14:23 +0900)]
Setting : modify input range of function sampling rate

Change-Id: I1453861caff150a32587c5d935f2897edf287e2d

9 years agoDB: fix a potential bug of database connection management 46/35046/1
greatim [Fri, 6 Feb 2015 11:22:08 +0000 (20:22 +0900)]
DB: fix a potential bug of database connection management

fix a potential bug of database connection management (list sync problem)

Change-Id: I118e3cdfbe7b0f720db1dc4874d287282f128f93
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoBUILD : update changelog 30/35030/1
woojin [Fri, 6 Feb 2015 08:34:12 +0000 (17:34 +0900)]
BUILD : update changelog

update changelog, pkg version

Change-Id: Idd6c7d63cdc0e6883e7acb6e8b020f541c1ad7f8
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoINTERNAL: fix a bug that cannot insert whole data at stress test 07/34907/1
greatim [Wed, 4 Feb 2015 09:09:08 +0000 (18:09 +0900)]
INTERNAL: fix a bug that cannot insert whole data at stress test

fix a bug that page data manager thread is terminated before whole data inserted.

Change-Id: I20e850ebcc5c4cac8c80e3f31ee406d03b681d86
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoChart : change setOutlineColors() method parameter 39/34739/1
heeyoung [Mon, 2 Feb 2015 08:10:09 +0000 (17:10 +0900)]
Chart : change setOutlineColors() method parameter

Change-Id: I3cf84ec3f08d16cede256b69124dfefeec2cf5aa
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoLOG : improve Logger 14/34614/1
seokgil.kang [Thu, 29 Jan 2015 11:50:11 +0000 (20:50 +0900)]
LOG : improve Logger
1. move the log-level setting  to the setting file of DA
2. add exception() method and replace e.printStackTrace() to the Logger.exception(e)
3. move the part that writes the contents of the log to the file to Logger class

Change-Id: Id65dc7924172b7f70ef8007ae0d2de1551f8eab3
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
9 years agoSetting : set settingDialog state (open/close) 18/34418/1
heeyoung [Tue, 27 Jan 2015 05:46:53 +0000 (14:46 +0900)]
Setting : set settingDialog state (open/close)

Change-Id: Ia498464e2b056e808835239c37af8580f9bbf7f8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agodo not review 49/34349/1
greatim [Sat, 24 Jan 2015 06:59:33 +0000 (15:59 +0900)]
do not review

Change-Id: I6e9d0fdfcc5e691514c6d3eb4ecf9d31a4f68c3a
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "ProgressDialog : modify button listener setter method" into tizen
juyoung kim [Fri, 23 Jan 2015 04:07:58 +0000 (20:07 -0800)]
Merge "ProgressDialog : modify button listener setter method" into tizen

9 years agoMerge "CALLTRACE : fix bug - sometimes calltrace shows nothing" into tizen
juyoung kim [Fri, 23 Jan 2015 01:30:17 +0000 (17:30 -0800)]
Merge "CALLTRACE : fix bug - sometimes calltrace shows nothing" into tizen

9 years agoCALLTRACE : fix bug - sometimes calltrace shows nothing 60/34260/1
woojin [Thu, 22 Jan 2015 11:15:11 +0000 (20:15 +0900)]
CALLTRACE : fix bug - sometimes calltrace shows nothing

modify windowing table
1. if the number of selected records is not the same with that of requested records, select again
2. when table is full of records, do not select again even if item count is increased

Change-Id: I62f3cc871b9cff7d309619e2cc1940acc2310565
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoProgressDialog : modify button listener setter method 44/34244/1
heeyoung [Thu, 22 Jan 2015 09:44:51 +0000 (18:44 +0900)]
ProgressDialog : modify button listener setter method

Change-Id: I2d74d4010dd77ca63ffc867ccf04d37a01376619
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : add unit test about setting data 15/34115/1
heeyoung [Wed, 21 Jan 2015 09:20:10 +0000 (18:20 +0900)]
Setting : add unit test about setting data

Change-Id: I08ddc8a26d4ab4d23e0aa3be62144d034741b8e8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "ProgressDialog : modify progress text setter method" into tizen
juyoung kim [Wed, 21 Jan 2015 08:27:03 +0000 (00:27 -0800)]
Merge "ProgressDialog : modify progress text setter method" into tizen

9 years agoProgressDialog : modify progress text setter method 02/34102/1
heeyoung [Wed, 21 Jan 2015 07:12:24 +0000 (16:12 +0900)]
ProgressDialog : modify progress text setter method

Change-Id: I2ddbe4dba2b5b6e8f1371f6c0e2b08a7bc81fef6
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : modify selected feature list apply/revert 97/34097/1
heeyoung [Wed, 21 Jan 2015 05:33:05 +0000 (14:33 +0900)]
Setting : modify selected feature list apply/revert

Change-Id: I47268fe9da3b5aac7049ff4c62019cb1eede20d1
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : add application detail information string 29/34029/1
heeyoung [Tue, 20 Jan 2015 08:56:30 +0000 (17:56 +0900)]
Setting : add application detail information string

Change-Id: I05ebf52a5320c933cdc2e3a8f56ae46c5e676970
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "Setting, Combo : remove potential bugs" into tizen
juyoung kim [Mon, 19 Jan 2015 12:31:41 +0000 (04:31 -0800)]
Merge "Setting, Combo : remove potential bugs" into tizen

9 years agoMerge "thread : change comparison of string objects using equals Signed-off-by: Hyunj...
juyoung kim [Mon, 19 Jan 2015 12:31:32 +0000 (04:31 -0800)]
Merge "thread : change comparison of string objects using equals Signed-off-by: Hyunjong.park <phjwithyou.park@samsung.com>" into tizen

9 years agoSetting, Combo : remove potential bugs 70/33870/1
heeyoung [Fri, 16 Jan 2015 02:58:16 +0000 (11:58 +0900)]
Setting, Combo : remove potential bugs

Change-Id: Ib4c8f81c2bb19f2d0f76bfeb3c1dec705a27a2e8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoFile : deal with null pointer exception 66/33866/2
hyeran74.kim [Fri, 16 Jan 2015 01:56:10 +0000 (10:56 +0900)]
File : deal with null pointer exception

Change-Id: Id8beaed36d5be6548eef08489d45f802d9179ab8
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agothread : change comparison of string objects using equals 65/33865/1
Hyunjong.park [Fri, 16 Jan 2015 01:43:32 +0000 (10:43 +0900)]
thread : change comparison of string objects using equals
Signed-off-by: Hyunjong.park <phjwithyou.park@samsung.com>
Change-Id: I6cd15ca2f31dba5b2bd86a746584c72b7a1bc1ce

9 years agoUnittest : export common unittest package 10/33810/1
heeyoung [Thu, 15 Jan 2015 08:49:09 +0000 (17:49 +0900)]
Unittest : export common unittest package

Change-Id: I25120b2feee9b09e4ccd0dd0b8267585c6560b8d
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : define settingFilePath (used in the unit test) 08/33808/1
heeyoung [Thu, 15 Jan 2015 08:41:38 +0000 (17:41 +0900)]
Setting : define settingFilePath (used in the unit test)

Change-Id: I17ea37fe2d708aadb75f35e4685584ddae7b6b32
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : modify method name 05/33805/1
heeyoung [Thu, 15 Jan 2015 08:27:01 +0000 (17:27 +0900)]
Setting : modify method name
(changeAvailableFeatureList -> changeSelectecFeatureList)

Change-Id: I1a516df4e699c39a06cd80991b08bed75d3b0e40
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years ago[SETTING] add error popup when user try to add binary setting without device connection 37/33537/1
greatim [Tue, 13 Jan 2015 07:35:26 +0000 (16:35 +0900)]
[SETTING] add error popup when user try to add binary setting without device connection

add error popup when user try to add binary setting without device connection

Change-Id: Ic04bf6479b5dbb023101380db00dd07bd80e1f4e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years ago[SETTING] fix exception when select debug rpm in binary setting tab 89/33489/2
greatim [Mon, 12 Jan 2015 08:24:46 +0000 (17:24 +0900)]
[SETTING] fix exception when select debug rpm in binary setting tab

fix exception when select debug rpm in binary setting tab

Change-Id: I5791f9a342451efbf0c3f356d07c8f3efce1bd95
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years ago[UTIL] refactor ByteUtil 16/33416/5
greatim [Fri, 9 Jan 2015 07:50:40 +0000 (16:50 +0900)]
[UTIL] refactor ByteUtil

Refactoring ByteUtil for performance and reliability. (fix a bug of toBytes for int)
Remove ByteSwapper and unittest for ByteSwapper (not necessary anymore)
Use long instead of UnsignedInt in MessageParser.java

Change-Id: I37e4133e82cbdb47752e6199dd798ff999db20f0
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "ProgressDialog : add warning style" into tizen
juyoung kim [Mon, 12 Jan 2015 09:32:23 +0000 (01:32 -0800)]
Merge "ProgressDialog : add warning style" into tizen

9 years agoProgressDialog : add warning style 72/33472/2
heeyoung [Mon, 12 Jan 2015 05:15:27 +0000 (14:15 +0900)]
ProgressDialog : add warning style

Change-Id: Iea341141799487511f09d61242ca5b6ae8d14b91
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "[CALLSTACK] insert callstackdata into DB for every 5000 data" into tizen
juyoung kim [Mon, 12 Jan 2015 06:49:26 +0000 (22:49 -0800)]
Merge "[CALLSTACK] insert callstackdata into DB for every 5000 data" into tizen

9 years ago[CALLSTACK] remove NullPointerException 61/33461/1
woojin [Mon, 12 Jan 2015 00:57:29 +0000 (09:57 +0900)]
[CALLSTACK] remove NullPointerException

modify code to prevent NullPointerException when failed to get DB connection

Change-Id: I9fb443859c94883177ef3443a58ad753f10e235d
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years ago[CALLSTACK] insert callstackdata into DB for every 5000 data 60/33460/1
woojin [Mon, 12 Jan 2015 00:31:27 +0000 (09:31 +0900)]
[CALLSTACK] insert callstackdata into DB for every 5000 data

increase the number of callstackdata held before DB insertion
100 -> 5000
it decreases making time of probe callstack drastically when sampling feature is off

Change-Id: I92fc3f89cc6eb13d71075ff20b68e7d4c7f84907
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoLOG : change the System.out.println() to Logger.debug() and support the System.out... 89/33389/1
seokgil.kang [Fri, 9 Jan 2015 04:24:37 +0000 (13:24 +0900)]
LOG : change the System.out.println() to Logger.debug() and support the System.out.print() feature

Change-Id: Ib5d4abc0b4f754c649b3b854e87de081f94330bf
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
9 years agoMerge "ProgressDialog : refactoring (duplicated code cleanup)" into tizen
juyoung kim [Fri, 9 Jan 2015 02:52:12 +0000 (18:52 -0800)]
Merge "ProgressDialog : refactoring (duplicated code cleanup)" into tizen

9 years agochange the warning message of overflow
JuYoung Kim [Thu, 8 Jan 2015 09:07:00 +0000 (18:07 +0900)]
change the warning message of overflow

Change-Id: I2b5690f3d113b5ec2073ac8593236314486dbb4c
Signed-off-by: JuYoung Kim <j0.kim@samsung.com>
9 years agoProgressDialog : refactoring (duplicated code cleanup) 04/33304/1
heeyoung [Thu, 8 Jan 2015 06:41:59 +0000 (15:41 +0900)]
ProgressDialog : refactoring (duplicated code cleanup)

Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
Change-Id: Ib2a1d479c845d882dd60f9971b603019d54bf9b7

9 years agoMerge remote-tracking branch 'origin/da-unittest' into tizen 01/33201/1
hyeran74.kim [Wed, 7 Jan 2015 01:26:18 +0000 (10:26 +0900)]
Merge remote-tracking branch 'origin/da-unittest' into tizen

Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/manager/FileDataMaker.java

Change-Id: Ife7081247235e6bbc6443df692ddbb9810d39cac
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoFile : added functions to make random objects and test 75/33075/1 da-unittest
hyeran74.kim [Mon, 5 Jan 2015 08:07:22 +0000 (17:07 +0900)]
File : added functions to make random objects and test

Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
Change-Id: I4a543c690aeb6134121f94a97e786db6d37f5acb

9 years agoLifecycle : Add database table for LifeCycle 69/33069/1
jungwook.ryu [Tue, 30 Dec 2014 06:06:24 +0000 (15:06 +0900)]
Lifecycle : Add database table for LifeCycle

Change-Id: I583adf68f883195375130d267cf203c9e7c0d60c
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoopengl : show buffer size in detail view 39/32639/3
Hyunjong.park [Mon, 22 Dec 2014 02:02:21 +0000 (11:02 +0900)]
opengl : show buffer size in detail view
Signed-off-by: Hyunjong.park <phjwithyou.park@samsung.com>
Change-Id: I1210b22c615a643c3f239364d33a72371dc7f43e
Signed-off-by: Hyunjong.park <phjwithyou.park@samsung.com>
9 years agoFile : added file unit test 04/30904/4
hyeran74.kim [Thu, 27 Nov 2014 01:42:08 +0000 (10:42 +0900)]
File : added file unit test

Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
Change-Id: Ia9cf06a98c6b8ae3207e0beba7a40aa0c76d40d5
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoMerge "INTERNAL: stop toolbar timer as soon as the stop button is pressed" into tizen
juyoung kim [Fri, 19 Dec 2014 07:17:59 +0000 (23:17 -0800)]
Merge "INTERNAL: stop toolbar timer as soon as the stop button is pressed" into tizen

9 years agoMerge "INTERNAL: stop tracing by force when some log from swap is missing" into tizen
juyoung kim [Fri, 19 Dec 2014 07:17:30 +0000 (23:17 -0800)]
Merge "INTERNAL: stop tracing by force when some log from swap is missing" into tizen

9 years agoMerge "DEBUG: change some thread names for debugging" into tizen
juyoung kim [Fri, 19 Dec 2014 07:16:26 +0000 (23:16 -0800)]
Merge "DEBUG: change some thread names for debugging" into tizen