Loading telephony/java/android/telephony/mbms/InternalDownloadProgressListener.java +9 −9 Original line number Diff line number Diff line Loading @@ -43,19 +43,19 @@ public class InternalDownloadProgressListener extends IDownloadProgressListener. return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppListener.onProgressUpdated(request, fileInfo, currentDownloadSize, fullDownloadSize, currentDecodedSize, fullDecodedSize); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading telephony/java/android/telephony/mbms/InternalDownloadSessionCallback.java +27 −27 Original line number Diff line number Diff line Loading @@ -40,18 +40,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onFileServicesUpdated(final List<FileServiceInfo> services) { Loading @@ -59,18 +59,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onFileServicesUpdated(services); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onMiddlewareReady() { Loading @@ -78,18 +78,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onMiddlewareReady(); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading telephony/java/android/telephony/mbms/InternalDownloadStatusListener.java +9 −9 Original line number Diff line number Diff line Loading @@ -42,18 +42,18 @@ public class InternalDownloadStatusListener extends IDownloadStatusListener.Stub return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppListener.onStatusUpdated(request, fileInfo, status); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading telephony/java/android/telephony/mbms/InternalGroupCallCallback.java +27 −27 Original line number Diff line number Diff line Loading @@ -38,18 +38,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onGroupCallStateChanged(final int state, final int reason) { Loading @@ -57,18 +57,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onGroupCallStateChanged(state, reason); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onBroadcastSignalStrengthUpdated(final int signalStrength) { Loading @@ -76,18 +76,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onBroadcastSignalStrengthUpdated(signalStrength); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } /** Prevents this callback from calling the app */ public void stop() { Loading telephony/java/android/telephony/mbms/InternalGroupCallSessionCallback.java +36 −36 Original line number Diff line number Diff line Loading @@ -39,18 +39,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onAvailableSaisUpdated(final List currentSais, final List availableSais) { Loading @@ -58,18 +58,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onAvailableSaisUpdated(currentSais, availableSais); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onServiceInterfaceAvailable(final String interfaceName, final int index) { Loading @@ -77,18 +77,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onServiceInterfaceAvailable(interfaceName, index); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onMiddlewareReady() { Loading @@ -96,18 +96,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onMiddlewareReady(); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } /** Prevents this callback from calling the app */ public void stop() { Loading Loading
telephony/java/android/telephony/mbms/InternalDownloadProgressListener.java +9 −9 Original line number Diff line number Diff line Loading @@ -43,19 +43,19 @@ public class InternalDownloadProgressListener extends IDownloadProgressListener. return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppListener.onProgressUpdated(request, fileInfo, currentDownloadSize, fullDownloadSize, currentDecodedSize, fullDecodedSize); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading
telephony/java/android/telephony/mbms/InternalDownloadSessionCallback.java +27 −27 Original line number Diff line number Diff line Loading @@ -40,18 +40,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onFileServicesUpdated(final List<FileServiceInfo> services) { Loading @@ -59,18 +59,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onFileServicesUpdated(services); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onMiddlewareReady() { Loading @@ -78,18 +78,18 @@ public class InternalDownloadSessionCallback extends IMbmsDownloadSessionCallbac return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onMiddlewareReady(); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading
telephony/java/android/telephony/mbms/InternalDownloadStatusListener.java +9 −9 Original line number Diff line number Diff line Loading @@ -42,18 +42,18 @@ public class InternalDownloadStatusListener extends IDownloadStatusListener.Stub return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppListener.onStatusUpdated(request, fileInfo, status); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } public void stop() { mIsStopped = true; Loading
telephony/java/android/telephony/mbms/InternalGroupCallCallback.java +27 −27 Original line number Diff line number Diff line Loading @@ -38,18 +38,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onGroupCallStateChanged(final int state, final int reason) { Loading @@ -57,18 +57,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onGroupCallStateChanged(state, reason); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onBroadcastSignalStrengthUpdated(final int signalStrength) { Loading @@ -76,18 +76,18 @@ public class InternalGroupCallCallback extends IGroupCallCallback.Stub { return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onBroadcastSignalStrengthUpdated(signalStrength); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } /** Prevents this callback from calling the app */ public void stop() { Loading
telephony/java/android/telephony/mbms/InternalGroupCallSessionCallback.java +36 −36 Original line number Diff line number Diff line Loading @@ -39,18 +39,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onError(errorCode, message); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onAvailableSaisUpdated(final List currentSais, final List availableSais) { Loading @@ -58,18 +58,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onAvailableSaisUpdated(currentSais, availableSais); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onServiceInterfaceAvailable(final String interfaceName, final int index) { Loading @@ -77,18 +77,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onServiceInterfaceAvailable(interfaceName, index); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } @Override public void onMiddlewareReady() { Loading @@ -96,18 +96,18 @@ public class InternalGroupCallSessionCallback extends IMbmsGroupCallSessionCallb return; } long token = Binder.clearCallingIdentity(); try { mExecutor.execute(new Runnable() { @Override public void run() { long token = Binder.clearCallingIdentity(); try { mAppCallback.onMiddlewareReady(); } }); } finally { Binder.restoreCallingIdentity(token); } } }); } /** Prevents this callback from calling the app */ public void stop() { Loading