blob: edd0c9c3aa833bc481fc8d12991ec536eabb26b5 [file] [log] [blame]
/*
* 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.os;
/** Empty class to act as a test mock */
public class Debug {
public static void startAllocCounting() {}
public static int getGlobalGcInvocationCount() {
return 0;
}
public static int getThreadAllocCount() {
return 0;
}
public static int getGlobalFreedCount() {
return 0;
}
public static int getGlobalAllocCount() {
return 0;
}
public static String getRuntimeStat(String stat) {
return stat;
}
}