Loading cmds/servicemanager/service_manager.c +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ static struct { { AID_RADIO, "radio.simphonebook" }, /* TODO: remove after phone services are updated: */ { AID_RADIO, "phone" }, { AID_RADIO, "sip" }, { AID_RADIO, "isms" }, { AID_RADIO, "iphonesubinfo" }, { AID_RADIO, "simphonebook" }, Loading services/java/com/android/server/SystemServer.java +0 −11 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.server; import com.android.server.am.ActivityManagerService; import com.android.server.sip.SipService; import com.android.internal.os.BinderInternal; import com.android.internal.os.SamplingProfilerIntegration; Loading Loading @@ -417,16 +416,6 @@ class ServerThread extends Thread { } catch (Throwable e) { Slog.e(TAG, "Failure starting DiskStats Service", e); } try { SipService sipService = SipService.create(context); if (sipService != null) { Slog.i(TAG, "Sip Service"); ServiceManager.addService("sip", sipService); } } catch (Throwable e) { Slog.e(TAG, "Failure starting SIP Service", e); } } // make sure the ADB_ENABLED setting value matches the secure property value Loading services/java/com/android/server/sip/SipHelper.java→voip/java/com/android/server/sip/SipHelper.java +0 −0 File moved. View file services/java/com/android/server/sip/SipService.java→voip/java/com/android/server/sip/SipService.java +8 −5 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import android.os.HandlerThread; import android.os.Looper; import android.os.Message; import android.os.RemoteException; import android.os.ServiceManager; import android.os.SystemClock; import android.text.TextUtils; import android.util.Log; Loading Loading @@ -90,12 +91,14 @@ public final class SipService extends ISipService.Stub { private ConnectivityReceiver mConnectivityReceiver; /** * Creates a {@code SipService} instance. Returns null if SIP API is not * supported. * Starts the SIP service. Do nothing if the SIP API is not supported on the * device. */ public static SipService create(Context context) { return (SipManager.isApiSupported(context) ? new SipService(context) : null); public static void start(Context context) { if (SipManager.isApiSupported(context)) { ServiceManager.addService("sip", new SipService(context)); Log.i(TAG, "SIP service started"); } } private SipService(Context context) { Loading services/java/com/android/server/sip/SipSessionGroup.java→voip/java/com/android/server/sip/SipSessionGroup.java +0 −0 File moved. View file Loading
cmds/servicemanager/service_manager.c +1 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ static struct { { AID_RADIO, "radio.simphonebook" }, /* TODO: remove after phone services are updated: */ { AID_RADIO, "phone" }, { AID_RADIO, "sip" }, { AID_RADIO, "isms" }, { AID_RADIO, "iphonesubinfo" }, { AID_RADIO, "simphonebook" }, Loading
services/java/com/android/server/SystemServer.java +0 −11 Original line number Diff line number Diff line Loading @@ -17,7 +17,6 @@ package com.android.server; import com.android.server.am.ActivityManagerService; import com.android.server.sip.SipService; import com.android.internal.os.BinderInternal; import com.android.internal.os.SamplingProfilerIntegration; Loading Loading @@ -417,16 +416,6 @@ class ServerThread extends Thread { } catch (Throwable e) { Slog.e(TAG, "Failure starting DiskStats Service", e); } try { SipService sipService = SipService.create(context); if (sipService != null) { Slog.i(TAG, "Sip Service"); ServiceManager.addService("sip", sipService); } } catch (Throwable e) { Slog.e(TAG, "Failure starting SIP Service", e); } } // make sure the ADB_ENABLED setting value matches the secure property value Loading
services/java/com/android/server/sip/SipHelper.java→voip/java/com/android/server/sip/SipHelper.java +0 −0 File moved. View file
services/java/com/android/server/sip/SipService.java→voip/java/com/android/server/sip/SipService.java +8 −5 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ import android.os.HandlerThread; import android.os.Looper; import android.os.Message; import android.os.RemoteException; import android.os.ServiceManager; import android.os.SystemClock; import android.text.TextUtils; import android.util.Log; Loading Loading @@ -90,12 +91,14 @@ public final class SipService extends ISipService.Stub { private ConnectivityReceiver mConnectivityReceiver; /** * Creates a {@code SipService} instance. Returns null if SIP API is not * supported. * Starts the SIP service. Do nothing if the SIP API is not supported on the * device. */ public static SipService create(Context context) { return (SipManager.isApiSupported(context) ? new SipService(context) : null); public static void start(Context context) { if (SipManager.isApiSupported(context)) { ServiceManager.addService("sip", new SipService(context)); Log.i(TAG, "SIP service started"); } } private SipService(Context context) { Loading
services/java/com/android/server/sip/SipSessionGroup.java→voip/java/com/android/server/sip/SipSessionGroup.java +0 −0 File moved. View file