Merge "profcollect: Update binder method names" am: 453966a20b

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1593776

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic8e37ba3f93486906bfcdcab48ebb08d9fe12bdc
This commit is contained in:
Yi Kong
2021-03-03 09:00:38 +00:00
committed by Automerger Merge Worker

View File

@@ -102,7 +102,7 @@ public final class ProfcollectForwardingService extends SystemService {
return false; return false;
} }
try { try {
return !mIProfcollect.GetSupportedProvider().isEmpty(); return !mIProfcollect.get_supported_provider().isEmpty();
} catch (RemoteException e) { } catch (RemoteException e) {
Log.e(LOG_TAG, e.getMessage()); Log.e(LOG_TAG, e.getMessage());
return false; return false;
@@ -191,7 +191,7 @@ public final class ProfcollectForwardingService extends SystemService {
} }
try { try {
sSelfService.mIProfcollect.ProcessProfile(); sSelfService.mIProfcollect.process(false);
} catch (RemoteException e) { } catch (RemoteException e) {
Log.e(LOG_TAG, e.getMessage()); Log.e(LOG_TAG, e.getMessage());
} }
@@ -234,7 +234,7 @@ public final class ProfcollectForwardingService extends SystemService {
if (DEBUG) { if (DEBUG) {
Log.d(LOG_TAG, "Tracing on app launch event: " + packageName); Log.d(LOG_TAG, "Tracing on app launch event: " + packageName);
} }
mIProfcollect.TraceOnce("applaunch"); mIProfcollect.trace_once("applaunch");
} catch (RemoteException e) { } catch (RemoteException e) {
Log.e(LOG_TAG, e.getMessage()); Log.e(LOG_TAG, e.getMessage());
} }
@@ -296,7 +296,7 @@ public final class ProfcollectForwardingService extends SystemService {
} }
try { try {
mIProfcollect.CreateProfileReport(); mIProfcollect.report();
} catch (RemoteException e) { } catch (RemoteException e) {
Log.e(LOG_TAG, e.getMessage()); Log.e(LOG_TAG, e.getMessage());
} }