Loading telephony/java/android/telephony/data/DataServiceCallback.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -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 Loading Loading @@ -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"); Loading @@ -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"); Loading Loading @@ -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"); Loading Loading
telephony/java/android/telephony/data/DataServiceCallback.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -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 Loading Loading @@ -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"); Loading @@ -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"); Loading Loading @@ -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"); Loading