Added debug messages and watchdog

am: 594931f5d9

Change-Id: Iaa6d60382dba87a19f6794201caf51ea7f90d23c
This commit is contained in:
Jack Yu
2019-08-23 02:38:59 -07:00
committed by android-build-merger

View File

@@ -42,6 +42,8 @@ public class DataServiceCallback {
private static final String TAG = DataServiceCallback.class.getSimpleName(); private static final String TAG = DataServiceCallback.class.getSimpleName();
private static final boolean DBG = true;
/** /**
* Result of data requests * Result of data requests
* @hide * @hide
@@ -81,6 +83,7 @@ public class DataServiceCallback {
IDataServiceCallback callback = mCallback.get(); IDataServiceCallback callback = mCallback.get();
if (callback != null) { if (callback != null) {
try { try {
if (DBG) Rlog.d(TAG, "onSetupDataCallComplete");
callback.onSetupDataCallComplete(result, response); callback.onSetupDataCallComplete(result, response);
} catch (RemoteException e) { } catch (RemoteException e) {
Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote"); Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote");
@@ -98,6 +101,7 @@ public class DataServiceCallback {
IDataServiceCallback callback = mCallback.get(); IDataServiceCallback callback = mCallback.get();
if (callback != null) { if (callback != null) {
try { try {
if (DBG) Rlog.d(TAG, "onDeactivateDataCallComplete");
callback.onDeactivateDataCallComplete(result); callback.onDeactivateDataCallComplete(result);
} catch (RemoteException e) { } catch (RemoteException e) {
Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote"); Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote");
@@ -169,6 +173,7 @@ public class DataServiceCallback {
IDataServiceCallback callback = mCallback.get(); IDataServiceCallback callback = mCallback.get();
if (callback != null) { if (callback != null) {
try { try {
if (DBG) Rlog.d(TAG, "onDataCallListChanged");
callback.onDataCallListChanged(dataCallList); callback.onDataCallListChanged(dataCallList);
} catch (RemoteException e) { } catch (RemoteException e) {
Rlog.e(TAG, "Failed to onDataCallListChanged on the remote"); Rlog.e(TAG, "Failed to onDataCallListChanged on the remote");