diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2019-10-14 14:06:38 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2019-10-14 14:23:19 -0700 |
commit | 17c72fbb603bcb3ae6d4dd52ae9219050e072004 (patch) | |
tree | 8b7436d7a8591287142f9688738ad0e8e8753338 /src_ui_overrides | |
parent | 4009493f3c6ea3592bcf3730f21fbe821d4899e4 (diff) | |
download | Launcher3-17c72fbb603bcb3ae6d4dd52ae9219050e072004.tar.gz |
Unifying various tracing calls
Change-Id: Iedf6662ad1d7281b850bdc43b3a1e373ce535ac6
Diffstat (limited to 'src_ui_overrides')
-rw-r--r-- | src_ui_overrides/com/android/launcher3/uioverrides/DejankBinderTracker.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/DejankBinderTracker.java b/src_ui_overrides/com/android/launcher3/uioverrides/DejankBinderTracker.java deleted file mode 100644 index 47f6ac6f75..0000000000 --- a/src_ui_overrides/com/android/launcher3/uioverrides/DejankBinderTracker.java +++ /dev/null @@ -1,57 +0,0 @@ -/** - * Copyright (C) 2019 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 com.android.launcher3.uioverrides; - -import android.os.IBinder; - -import java.util.function.BiConsumer; -import java.util.function.Supplier; - -/** - * A binder proxy transaction listener for tracking non-whitelisted binder calls. - */ -public class DejankBinderTracker { - public static void whitelistIpcs(Runnable runnable) {} - - public static <T> T whitelistIpcs(Supplier<T> supplier) { - return null; - } - - public static void allowBinderTrackingInTests() {} - - public static void disallowBinderTrackingInTests() {} - - public DejankBinderTracker(BiConsumer<String, Integer> unexpectedTransactionCallback) { } - - public void startTracking() {} - - public void stopTracking() {} - - public Object onTransactStarted(IBinder binder, int transactionCode, int flags) { - return null; - } - - public Object onTransactStarted(IBinder binder, int transactionCode) { - return null; - } - - public void onTransactEnded(Object session) {} - - public static boolean isMainThread() { - return true; - } -} |