Loading telephony/java/android/telephony/TelephonyManager.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -13965,7 +13965,12 @@ public class TelephonyManager { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { @Override @Override public void accept(boolean result) { public void accept(boolean result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }; }; telephony/java/android/telephony/ims/ImsMmTelManager.java +24 −4 Original line number Original line Diff line number Diff line Loading @@ -445,7 +445,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -487,7 +492,12 @@ public class ImsMmTelManager implements RegistrationManager { new IIntegerConsumer.Stub() { new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -807,7 +817,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result == 1)); executor.execute(() -> callback.accept(result == 1)); } finally { Binder.restoreCallingIdentity(identity); } } } }, capability, transportType); }, capability, transportType); } catch (ServiceSpecificException sse) { } catch (ServiceSpecificException sse) { Loading Loading @@ -1452,7 +1467,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException sse) { } catch (ServiceSpecificException sse) { Loading telephony/java/android/telephony/ims/ImsRcsManager.java +12 −2 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,12 @@ public class ImsRcsManager { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -345,7 +350,12 @@ public class ImsRcsManager { new IIntegerConsumer.Stub() { new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading
telephony/java/android/telephony/TelephonyManager.java +6 −1 Original line number Original line Diff line number Diff line Loading @@ -13965,7 +13965,12 @@ public class TelephonyManager { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { IBooleanConsumer aidlConsumer = callback == null ? null : new IBooleanConsumer.Stub() { @Override @Override public void accept(boolean result) { public void accept(boolean result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }; };
telephony/java/android/telephony/ims/ImsMmTelManager.java +24 −4 Original line number Original line Diff line number Diff line Loading @@ -445,7 +445,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { iTelephony.getImsMmTelRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -487,7 +492,12 @@ public class ImsMmTelManager implements RegistrationManager { new IIntegerConsumer.Stub() { new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -807,7 +817,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { iTelephony.isMmTelCapabilitySupported(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result == 1)); executor.execute(() -> callback.accept(result == 1)); } finally { Binder.restoreCallingIdentity(identity); } } } }, capability, transportType); }, capability, transportType); } catch (ServiceSpecificException sse) { } catch (ServiceSpecificException sse) { Loading Loading @@ -1452,7 +1467,12 @@ public class ImsMmTelManager implements RegistrationManager { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { iTelephony.getImsMmTelFeatureState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> callback.accept(result)); executor.execute(() -> callback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException sse) { } catch (ServiceSpecificException sse) { Loading
telephony/java/android/telephony/ims/ImsRcsManager.java +12 −2 Original line number Original line Diff line number Diff line Loading @@ -299,7 +299,12 @@ public class ImsRcsManager { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { imsRcsController.getImsRcsRegistrationState(mSubId, new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> stateCallback.accept(result)); executor.execute(() -> stateCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading Loading @@ -345,7 +350,12 @@ public class ImsRcsManager { new IIntegerConsumer.Stub() { new IIntegerConsumer.Stub() { @Override @Override public void accept(int result) { public void accept(int result) { final long identity = Binder.clearCallingIdentity(); try { executor.execute(() -> transportTypeCallback.accept(result)); executor.execute(() -> transportTypeCallback.accept(result)); } finally { Binder.restoreCallingIdentity(identity); } } } }); }); } catch (ServiceSpecificException | RemoteException e) { } catch (ServiceSpecificException | RemoteException e) { Loading