diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2015-03-04 12:29:19 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2015-03-05 11:22:37 -0800 |
commit | 172da26d4515f295d938864e47f5ce0309728571 (patch) | |
tree | a71441dc582a6832abb6b8b750d3569704e7994d /api | |
parent | 7d088428f32a864570d830e45d07a2fe143f6fbd (diff) | |
download | frameworks_base-172da26d4515f295d938864e47f5ce0309728571.zip frameworks_base-172da26d4515f295d938864e47f5ce0309728571.tar.gz frameworks_base-172da26d4515f295d938864e47f5ce0309728571.tar.bz2 |
Deprecate things that rely on Debug.startAllocCounting.
android.os.Debug.startAllocCounting() is deprecated but other things
that rely on it or do not make sense without it aren't deprecated.
Bug: 8241521
Change-Id: Ib769cb8f4e96f41ed310e17e7345acb2a630a076
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 48 | ||||
-rw-r--r-- | api/system-current.txt | 50 |
2 files changed, 49 insertions, 49 deletions
diff --git a/api/current.txt b/api/current.txt index 707999b..b5d0c39 100644 --- a/api/current.txt +++ b/api/current.txt @@ -4459,10 +4459,10 @@ package android.app { method public void setInTouchMode(boolean); method public void start(); method public android.app.Activity startActivitySync(android.content.Intent); - method public void startAllocCounting(); + method public deprecated void startAllocCounting(); method public void startPerformanceSnapshot(); method public void startProfiling(); - method public void stopAllocCounting(); + method public deprecated void stopAllocCounting(); method public void stopProfiling(); method public void waitForIdle(java.lang.Runnable); method public void waitForIdleSync(); @@ -22025,47 +22025,47 @@ package android.os { method public static final int getBinderProxyObjectCount(); method public static int getBinderReceivedTransactions(); method public static int getBinderSentTransactions(); - method public static int getGlobalAllocCount(); - method public static int getGlobalAllocSize(); - method public static int getGlobalClassInitCount(); - method public static int getGlobalClassInitTime(); + method public static deprecated int getGlobalAllocCount(); + method public static deprecated int getGlobalAllocSize(); + method public static deprecated int getGlobalClassInitCount(); + method public static deprecated int getGlobalClassInitTime(); method public static deprecated int getGlobalExternalAllocCount(); method public static deprecated int getGlobalExternalAllocSize(); method public static deprecated int getGlobalExternalFreedCount(); method public static deprecated int getGlobalExternalFreedSize(); - method public static int getGlobalFreedCount(); - method public static int getGlobalFreedSize(); - method public static int getGlobalGcInvocationCount(); + method public static deprecated int getGlobalFreedCount(); + method public static deprecated int getGlobalFreedSize(); + method public static deprecated int getGlobalGcInvocationCount(); method public static int getLoadedClassCount(); method public static void getMemoryInfo(android.os.Debug.MemoryInfo); method public static long getNativeHeapAllocatedSize(); method public static long getNativeHeapFreeSize(); method public static long getNativeHeapSize(); method public static long getPss(); - method public static int getThreadAllocCount(); - method public static int getThreadAllocSize(); + method public static deprecated int getThreadAllocCount(); + method public static deprecated int getThreadAllocSize(); method public static deprecated int getThreadExternalAllocCount(); method public static deprecated int getThreadExternalAllocSize(); - method public static int getThreadGcInvocationCount(); + method public static deprecated int getThreadGcInvocationCount(); method public static boolean isDebuggerConnected(); method public static void printLoadedClasses(int); - method public static void resetAllCounts(); - method public static void resetGlobalAllocCount(); - method public static void resetGlobalAllocSize(); - method public static void resetGlobalClassInitCount(); - method public static void resetGlobalClassInitTime(); + method public static deprecated void resetAllCounts(); + method public static deprecated void resetGlobalAllocCount(); + method public static deprecated void resetGlobalAllocSize(); + method public static deprecated void resetGlobalClassInitCount(); + method public static deprecated void resetGlobalClassInitTime(); method public static deprecated void resetGlobalExternalAllocCount(); method public static deprecated void resetGlobalExternalAllocSize(); method public static deprecated void resetGlobalExternalFreedCount(); method public static deprecated void resetGlobalExternalFreedSize(); - method public static void resetGlobalFreedCount(); - method public static void resetGlobalFreedSize(); - method public static void resetGlobalGcInvocationCount(); - method public static void resetThreadAllocCount(); - method public static void resetThreadAllocSize(); + method public static deprecated void resetGlobalFreedCount(); + method public static deprecated void resetGlobalFreedSize(); + method public static deprecated void resetGlobalGcInvocationCount(); + method public static deprecated void resetThreadAllocCount(); + method public static deprecated void resetThreadAllocSize(); method public static deprecated void resetThreadExternalAllocCount(); method public static deprecated void resetThreadExternalAllocSize(); - method public static void resetThreadGcInvocationCount(); + method public static deprecated void resetThreadGcInvocationCount(); method public static deprecated int setAllocationLimit(int); method public static deprecated int setGlobalAllocationLimit(int); method public static deprecated void startAllocCounting(); @@ -22084,7 +22084,7 @@ package android.os { field public static final int SHOW_CLASSLOADER = 2; // 0x2 field public static final int SHOW_FULL_DETAIL = 1; // 0x1 field public static final int SHOW_INITIALIZED = 4; // 0x4 - field public static final int TRACE_COUNT_ALLOCS = 1; // 0x1 + field public static final deprecated int TRACE_COUNT_ALLOCS = 1; // 0x1 } public static deprecated class Debug.InstructionCount { diff --git a/api/system-current.txt b/api/system-current.txt index 2ffc4e1..1a8082f 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -4549,10 +4549,10 @@ package android.app { method public void setInTouchMode(boolean); method public void start(); method public android.app.Activity startActivitySync(android.content.Intent); - method public void startAllocCounting(); + method public deprecated void startAllocCounting(); method public void startPerformanceSnapshot(); method public void startProfiling(); - method public void stopAllocCounting(); + method public deprecated void stopAllocCounting(); method public void stopProfiling(); method public void waitForIdle(java.lang.Runnable); method public void waitForIdleSync(); @@ -23614,47 +23614,47 @@ package android.os { method public static final int getBinderProxyObjectCount(); method public static int getBinderReceivedTransactions(); method public static int getBinderSentTransactions(); - method public static int getGlobalAllocCount(); - method public static int getGlobalAllocSize(); - method public static int getGlobalClassInitCount(); - method public static int getGlobalClassInitTime(); + method public static deprecated int getGlobalAllocCount(); + method public static deprecated int getGlobalAllocSize(); + method public static deprecated int getGlobalClassInitCount(); + method public static deprecated int getGlobalClassInitTime(); method public static deprecated int getGlobalExternalAllocCount(); method public static deprecated int getGlobalExternalAllocSize(); method public static deprecated int getGlobalExternalFreedCount(); method public static deprecated int getGlobalExternalFreedSize(); - method public static int getGlobalFreedCount(); - method public static int getGlobalFreedSize(); - method public static int getGlobalGcInvocationCount(); + method public static deprecated int getGlobalFreedCount(); + method public static deprecated int getGlobalFreedSize(); + method public static deprecated int getGlobalGcInvocationCount(); method public static int getLoadedClassCount(); method public static void getMemoryInfo(android.os.Debug.MemoryInfo); method public static long getNativeHeapAllocatedSize(); method public static long getNativeHeapFreeSize(); method public static long getNativeHeapSize(); method public static long getPss(); - method public static int getThreadAllocCount(); - method public static int getThreadAllocSize(); + method public static deprecated int getThreadAllocCount(); + method public static deprecated int getThreadAllocSize(); method public static deprecated int getThreadExternalAllocCount(); method public static deprecated int getThreadExternalAllocSize(); - method public static int getThreadGcInvocationCount(); + method public static deprecated int getThreadGcInvocationCount(); method public static boolean isDebuggerConnected(); method public static void printLoadedClasses(int); - method public static void resetAllCounts(); - method public static void resetGlobalAllocCount(); - method public static void resetGlobalAllocSize(); - method public static void resetGlobalClassInitCount(); - method public static void resetGlobalClassInitTime(); + method public static deprecated void resetAllCounts(); + method public static deprecated void resetGlobalAllocCount(); + method public static deprecated void resetGlobalAllocSize(); + method public static deprecated void resetGlobalClassInitCount(); + method public static deprecated void resetGlobalClassInitTime(); method public static deprecated void resetGlobalExternalAllocCount(); method public static deprecated void resetGlobalExternalAllocSize(); method public static deprecated void resetGlobalExternalFreedCount(); method public static deprecated void resetGlobalExternalFreedSize(); - method public static void resetGlobalFreedCount(); - method public static void resetGlobalFreedSize(); - method public static void resetGlobalGcInvocationCount(); - method public static void resetThreadAllocCount(); - method public static void resetThreadAllocSize(); + method public static deprecated void resetGlobalFreedCount(); + method public static deprecated void resetGlobalFreedSize(); + method public static deprecated void resetGlobalGcInvocationCount(); + method public static deprecated void resetThreadAllocCount(); + method public static deprecated void resetThreadAllocSize(); method public static deprecated void resetThreadExternalAllocCount(); method public static deprecated void resetThreadExternalAllocSize(); - method public static void resetThreadGcInvocationCount(); + method public static deprecated void resetThreadGcInvocationCount(); method public static deprecated int setAllocationLimit(int); method public static deprecated int setGlobalAllocationLimit(int); method public static deprecated void startAllocCounting(); @@ -23673,7 +23673,7 @@ package android.os { field public static final int SHOW_CLASSLOADER = 2; // 0x2 field public static final int SHOW_FULL_DETAIL = 1; // 0x1 field public static final int SHOW_INITIALIZED = 4; // 0x4 - field public static final int TRACE_COUNT_ALLOCS = 1; // 0x1 + field public static final deprecated int TRACE_COUNT_ALLOCS = 1; // 0x1 } public static deprecated class Debug.InstructionCount { @@ -30894,8 +30894,8 @@ package android.telecom { method public void unregisterPhoneAccount(android.telecom.PhoneAccountHandle); field public static final java.lang.String ACTION_CHANGE_PHONE_ACCOUNTS = "android.telecom.action.CHANGE_PHONE_ACCOUNTS"; field public static final java.lang.String ACTION_CONNECTION_SERVICE_CONFIGURE = "android.telecom.action.CONNECTION_SERVICE_CONFIGURE"; - field public static final java.lang.String ACTION_SHOW_CALL_ACCESSIBILITY_SETTINGS = "android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS"; field public static final java.lang.String ACTION_PHONE_ACCOUNT_REGISTERED = "android.telecom.action.PHONE_ACCOUNT_REGISTERED"; + field public static final java.lang.String ACTION_SHOW_CALL_ACCESSIBILITY_SETTINGS = "android.telecom.action.SHOW_CALL_ACCESSIBILITY_SETTINGS"; field public static final java.lang.String ACTION_SHOW_CALL_SETTINGS = "android.telecom.action.SHOW_CALL_SETTINGS"; field public static final java.lang.String ACTION_SHOW_RESPOND_VIA_SMS_SETTINGS = "android.telecom.action.SHOW_RESPOND_VIA_SMS_SETTINGS"; field public static final char DTMF_CHARACTER_PAUSE = 44; // 0x002c ',' |