FileDocCategorySizeDatePackage
RttService.javaAPI DocAndroid 5.1 API18093Thu Mar 12 22:22:52 GMT 2015com.android.server.wifi

RttService

public class RttService extends com.android.server.SystemService

Fields Summary
public static final boolean
DBG
private static final String
TAG
RttServiceImpl
mImpl
Constructors Summary
public RttService(android.content.Context context)


       
        super(context);
        Log.i(TAG, "Creating " + Context.WIFI_RTT_SERVICE);
    
Methods Summary
public voidonBootPhase(int phase)

        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
            Log.i(TAG, "Registering " + Context.WIFI_RTT_SERVICE);
            if (mImpl == null) {
                mImpl = new RttServiceImpl(getContext());
            }
            mImpl.startService(getContext());
        }
    
public voidonStart()

        mImpl = new RttServiceImpl(getContext());

        Log.i(TAG, "Starting " + Context.WIFI_RTT_SERVICE);
        publishBinderService(Context.WIFI_RTT_SERVICE, mImpl);