Searched refs:ForegroundThread (Results 1 – 9 of 9) sorted by relevance
37 public final class ForegroundThread extends HandlerThread { class38 private static ForegroundThread sInstance;42 private ForegroundThread() { in ForegroundThread() method in ForegroundThread48 sInstance = new ForegroundThread(); in ensureThreadLocked()55 public static ForegroundThread get() { in get()56 synchronized (ForegroundThread.class) { in get()63 synchronized (ForegroundThread.class) { in getHandler()70 synchronized (ForegroundThread.class) { in getExecutor()
31 public class ForegroundThread extends HandlerThread { class35 private static ForegroundThread sInstance;41 private ForegroundThread() { in ForegroundThread() method in ForegroundThread42 super(ForegroundThread.class.getName()); in ForegroundThread()48 sInstance = new ForegroundThread(); in ensureInstanceLocked()61 public static ForegroundThread get() { in get()
30 assertNotNull(ForegroundThread.get()); in testSimple()31 assertNotNull(ForegroundThread.getExecutor()); in testSimple()32 assertNotNull(ForegroundThread.getHandler()); in testSimple()
26 import com.android.providers.media.util.ForegroundThread;49 ForegroundThread.getExecutor().execute(() -> { in onReceive()
96 import com.android.providers.media.util.ForegroundThread;1151 ForegroundThread.getExecutor(), in enqueueTranscodingSession()1157 session.setOnProgressUpdateListener(ForegroundThread.getExecutor(), in enqueueTranscodingSession()1626 ForegroundThread.getHandler().post(() -> {1649 final Handler handler = ForegroundThread.getHandler();1677 final Handler handler = ForegroundThread.getHandler();1847 ForegroundThread.getHandler().post(1853 ForegroundThread.getHandler().post(
68 import com.android.providers.media.util.ForegroundThread;547 ForegroundThread.getExecutor().execute(() -> { in endTransactionInternal()639 ForegroundThread.getExecutor().execute(() -> { in notifyChange()
208 import com.android.providers.media.util.ForegroundThread;396 ForegroundThread.getExecutor().execute(() -> { in updateVolumes()5553 ForegroundThread.waitForIdle();9372 ForegroundThread.getExecutor().execute(() -> {
62 import com.android.permission.util.ForegroundThread;128 private final Handler mListenerHandler = ForegroundThread.getHandler();219 runnable = new ThrottledRunnable(ForegroundThread.getHandler(), in maybeGrantDefaultRolesAsync()245 getOrCreateController(userId).grantDefaultRoles(ForegroundThread.getExecutor(), in maybeGrantDefaultRolesInternal()283 ForegroundThread.getHandler(), context); in getOrCreateController()
105 "src/com/android/providers/media/util/ForegroundThread.java",