Example usage for android.os HandlerThread subclass-usage

List of usage examples for android.os HandlerThread subclass-usage

Introduction

In this page you can find the example usage for android.os HandlerThread subclass-usage.

Usage

From source file com.philliphsu.clock2.chronometer.ChronometerNotificationThread.java

/**
 * Created by Phillip Hsu on 9/10/2016.
 *
 * A thread that updates a chronometer-based notification. While notifications
 * have built-in support for using a chronometer, it lacks pause/resume functionality
 * and the ability to choose between count up or count down.

From source file com.finchuk.clock2.chronometer.ChronometerNotificationThread.java

/**
 * Created by Oleksandr Finchuk on 07/06/2017.
 *
 * A thread that updates a chronometer-based notification. While notifications
 * have built-in support for using a chronometer, it lacks pause/resume functionality
 * and the ability to choose between count up or count down.

From source file com.adjust.sdk.PackageHandler.java

public class PackageHandler extends HandlerThread implements IPackageHandler {
    private static final String PACKAGE_QUEUE_FILENAME = "AdjustIoPackageQueue";

    private final InternalHandler internalHandler;
    private IRequestHandler requestHandler;
    private ActivityHandler activityHandler;

From source file com.adeven.adjustio.RequestHandler.java

import org.json.JSONObject;

public class RequestHandler extends HandlerThread {
    private static final int CONNECTION_TIMEOUT = Constants.ONE_MINUTE;
    private static final int SOCKET_TIMEOUT = Constants.ONE_MINUTE;

From source file com.adjust.sdk.RequestHandler.java

public class RequestHandler extends HandlerThread implements IRequestHandler {
    private static final int CONNECTION_TIMEOUT = Constants.ONE_MINUTE;
    private static final int SOCKET_TIMEOUT = Constants.ONE_MINUTE;

    private InternalHandler internalHandler;
    private IPackageHandler packageHandler;

From source file com.adjust.sdk.ActivityHandler.java

public class ActivityHandler extends HandlerThread implements IActivityHandler {

    private static long TIMER_INTERVAL;
    private static long TIMER_START;
    private static long SESSION_INTERVAL;
    private static long SUBSESSION_INTERVAL;

From source file cn.sharesdk.analysis.server.ServiceHelper.java

public class ServiceHelper extends HandlerThread implements Callback {

    private final static int UPLOAD_LOG = 5;
    private final static int SAVE_SEND_LOG = 7;
    private final static int EXIT_APP = 10;