* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact:
- * Jooyoul Lee <jy.exe.lee@samsung.com>
+ * Hyunjong Park <phjwithyou.park@samsung.com>
* Juyoung Kim <j0.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
+/*
+ * Dynamic Analyzer
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Hyunjong Park <phjwithyou.park@samsung.com>
+ * Juyoung Kim <j0.kim@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
+
package org.tizen.dynamicanalyzer.ui.network.data;
import java.sql.PreparedStatement;
case LogCenterConstants.SOCKET_API_CONNECT: {
String[] strInput = parameter.split(CommonConstants.COMMA);
if (strInput.length <= 0) {
+ DALogger.getInstance().error(
+ "argument length is wrong : " + input.getApiName());
return;
}
apiAddress = strInput[1].trim();
case LogCenterConstants.SOCKET_API_RECV_END:
setEndSeries(apiAddress, apiFD, time,
NetworkSeriesType.ACCESS_TYPE_READ);
- payloadInfo = DownloadContentfileManager.getDowonloadFilePath(payloadInfo);
+ payloadInfo = DownloadContentfileManager
+ .getDowonloadFilePath(payloadInfo);
break;
case LogCenterConstants.SOCKET_API_SEND_START:
setStartSeries(apiAddress, apiFD, time, -1,
case LogCenterConstants.SOCKET_API_SEND_END:
setEndSeries(apiAddress, apiFD, time,
NetworkSeriesType.ACCESS_TYPE_WRITE);
- payloadInfo = DownloadContentfileManager.getDowonloadFilePath(payloadInfo);
+ payloadInfo = DownloadContentfileManager
+ .getDowonloadFilePath(payloadInfo);
break;
case LogCenterConstants.SOCKET_API_EVENT_START:
setStartSeries(apiAddress, apiFD, time, -1,
case LogCenterConstants.SOCKET_API_BIND: {
String[] strInput = parameter.split(CommonConstants.COMMA);
if (strInput.length <= 0) {
+ DALogger.getInstance().error(
+ "argument length is wrong : " + input.getApiName());
return;
}
apiAddress = strInput[1].trim();
if (apiName.contains("epoll_ctl")) { //$NON-NLS-1$
String[] strInput = parameter.split(CommonConstants.COMMA);
if (strInput.length <= 0) {
+ DALogger.getInstance().error(
+ "argument length is wrong : " + input.getApiName());
return;
}
String clientFD = strInput[0].trim();
+/*
+ * Dynamic Analyzer
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Hyunjong Park <phjwithyou.park@samsung.com>
+ * Jooyoul Lee <jy.exe.lee@samsung.com>
+ * Juyoung Kim <j0.kim@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
package org.tizen.dynamicanalyzer.ui.network.data;
import java.sql.PreparedStatement;
* Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact:
- * Jooyoul Lee <jy.exe.lee@samsung.com>
+ * Hyunjong Park <phjwithyou.park@samsung.com>
* Juyoung Kim <j0.kim@samsung.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
import org.tizen.dynamicanalyzer.ui.network.data.NetworkSeriesDBManager;
public class NetworkSeriesType {
- public static final int HEAP_MEMORY = 128;
- public static int STATUS_TYPE_OPEN = 0;
- public static int STATUS_TYPE_CONNECTED = 1;
- public static int ACCESS_TYPE_WAIT = 2;
- public static int ACCESS_TYPE_READ = 3;
- public static int ACCESS_TYPE_WRITE = 4;
+ public final static int STATUS_TYPE_OPEN = 0;
+ public final static int STATUS_TYPE_CONNECTED = 1;
+ public final static int ACCESS_TYPE_WAIT = 2;
+ public final static int ACCESS_TYPE_READ = 3;
+ public final static int ACCESS_TYPE_WRITE = 4;
private int rid = 0;
private String destinationAddress = CommonConstants.EMPTY;