summaryrefslogtreecommitdiffstats
path: root/core/java/android/net/http
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-11-27 12:52:48 +0000
committerNarayan Kamath <narayan@google.com>2014-11-27 12:52:48 +0000
commit3ec2def9a3b90eefb28aa02dce8a67056d20dd76 (patch)
tree0c2ac0800e14f3453b970bb76b98eb5cd7ad4cb6 /core/java/android/net/http
parent87c5f3621037eda3c4d141e5681d4acbbaa13944 (diff)
downloadframeworks_base-3ec2def9a3b90eefb28aa02dce8a67056d20dd76.zip
frameworks_base-3ec2def9a3b90eefb28aa02dce8a67056d20dd76.tar.gz
frameworks_base-3ec2def9a3b90eefb28aa02dce8a67056d20dd76.tar.bz2
Delete unused class from android.net.http.
Foundation for moving a lot of these classes out of the frameworks and @removing these APIs. Change-Id: I590cdd2867b923533de189ec956b4dd3f82efa46
Diffstat (limited to 'core/java/android/net/http')
-rw-r--r--core/java/android/net/http/Timer.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/core/java/android/net/http/Timer.java b/core/java/android/net/http/Timer.java
deleted file mode 100644
index cc15a30..0000000
--- a/core/java/android/net/http/Timer.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2006 The Android Open Source Project
- *
- * 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.
- */
-
-package android.net.http;
-
-import android.os.SystemClock;
-
-/**
- * {@hide}
- * Debugging tool
- */
-class Timer {
-
- private long mStart;
- private long mLast;
-
- public Timer() {
- mStart = mLast = SystemClock.uptimeMillis();
- }
-
- public void mark(String message) {
- long now = SystemClock.uptimeMillis();
- if (HttpLog.LOGV) {
- HttpLog.v(message + " " + (now - mLast) + " total " + (now - mStart));
- }
- mLast = now;
- }
-}