Loading wifi/java/android/net/wifi/nan/WifiNanManager.java +12 −14 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class WifiNanManager { try { mService.enableUsage(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -269,7 +269,7 @@ public class WifiNanManager { try { mService.disableUsage(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -283,10 +283,8 @@ public class WifiNanManager { try { return mService.isUsageEnabled(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } return false; } /** Loading Loading @@ -329,7 +327,7 @@ public class WifiNanManager { } catch (RemoteException e) { mClientId = INVALID_CLIENT_ID; mLooper = null; e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } } Loading Loading @@ -364,7 +362,7 @@ public class WifiNanManager { try { mService.disconnect(clientId, binder); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -407,7 +405,7 @@ public class WifiNanManager { mService.publish(clientId, publishConfig, new WifiNanSessionCallbackProxy(this, looper, true, callback)); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -429,7 +427,7 @@ public class WifiNanManager { try { mService.updatePublish(clientId, sessionId, publishConfig); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -469,7 +467,7 @@ public class WifiNanManager { mService.subscribe(clientId, subscribeConfig, new WifiNanSessionCallbackProxy(this, looper, false, callback)); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -495,7 +493,7 @@ public class WifiNanManager { try { mService.updateSubscribe(clientId, sessionId, subscribeConfig); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -519,7 +517,7 @@ public class WifiNanManager { try { mService.terminateSession(clientId, sessionId); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -546,7 +544,7 @@ public class WifiNanManager { try { mService.sendMessage(clientId, sessionId, peerId, message, messageId, retryCount); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -575,7 +573,7 @@ public class WifiNanManager { rangingKey = mService.startRanging(clientId, sessionId, new RttManager.ParcelableRttParams(params)); } catch (RemoteException e) { e.rethrowAsRuntimeException(); throw e.rethrowFromSystemServer(); } synchronized (mLock) { Loading Loading
wifi/java/android/net/wifi/nan/WifiNanManager.java +12 −14 Original line number Diff line number Diff line Loading @@ -254,7 +254,7 @@ public class WifiNanManager { try { mService.enableUsage(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -269,7 +269,7 @@ public class WifiNanManager { try { mService.disableUsage(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -283,10 +283,8 @@ public class WifiNanManager { try { return mService.isUsageEnabled(); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } return false; } /** Loading Loading @@ -329,7 +327,7 @@ public class WifiNanManager { } catch (RemoteException e) { mClientId = INVALID_CLIENT_ID; mLooper = null; e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } } Loading Loading @@ -364,7 +362,7 @@ public class WifiNanManager { try { mService.disconnect(clientId, binder); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -407,7 +405,7 @@ public class WifiNanManager { mService.publish(clientId, publishConfig, new WifiNanSessionCallbackProxy(this, looper, true, callback)); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -429,7 +427,7 @@ public class WifiNanManager { try { mService.updatePublish(clientId, sessionId, publishConfig); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -469,7 +467,7 @@ public class WifiNanManager { mService.subscribe(clientId, subscribeConfig, new WifiNanSessionCallbackProxy(this, looper, false, callback)); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -495,7 +493,7 @@ public class WifiNanManager { try { mService.updateSubscribe(clientId, sessionId, subscribeConfig); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -519,7 +517,7 @@ public class WifiNanManager { try { mService.terminateSession(clientId, sessionId); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading @@ -546,7 +544,7 @@ public class WifiNanManager { try { mService.sendMessage(clientId, sessionId, peerId, message, messageId, retryCount); } catch (RemoteException e) { e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer(); } } Loading Loading @@ -575,7 +573,7 @@ public class WifiNanManager { rangingKey = mService.startRanging(clientId, sessionId, new RttManager.ParcelableRttParams(params)); } catch (RemoteException e) { e.rethrowAsRuntimeException(); throw e.rethrowFromSystemServer(); } synchronized (mLock) { Loading