Merge "Revert "Initialize binder latency histograms collection via Bind...""
This commit is contained in:
@@ -107,7 +107,6 @@ import android.net.ConnectivityManager;
|
||||
import android.net.Proxy;
|
||||
import android.net.TrafficStats;
|
||||
import android.net.Uri;
|
||||
import android.net.wifi.WifiFrameworkInitializer;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Binder;
|
||||
import android.os.BluetoothServiceManager;
|
||||
@@ -7901,8 +7900,6 @@ public final class ActivityThread extends ClientTransactionHandler
|
||||
BluetoothFrameworkInitializer.setBluetoothServiceManager(new BluetoothServiceManager());
|
||||
BluetoothFrameworkInitializer.setBinderCallsStatsInitializer(context -> {
|
||||
BinderCallsStats.startForBluetooth(context); });
|
||||
WifiFrameworkInitializer.setBinderCallsStatsInitializer(context -> {
|
||||
BinderCallsStats.startForWifi(context); });
|
||||
}
|
||||
|
||||
private void purgePendingResources() {
|
||||
|
||||
@@ -1169,15 +1169,7 @@ public class BinderCallsStats implements BinderInternal.Observer {
|
||||
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public static void startForWifi(Context context) {
|
||||
new BinderCallsStats.SettingsObserver(
|
||||
context,
|
||||
new BinderCallsStats(
|
||||
new BinderCallsStats.Injector(),
|
||||
com.android.internal.os.BinderLatencyProto.Dims.WIFI));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Settings observer for other processes (not system_server).
|
||||
|
||||
Reference in New Issue
Block a user