Home
last modified time | relevance | path

Searched refs:mainThread (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellConcurrencyModule.java97 HandlerThread mainThread = new HandlerThread("wmshell.main", THREAD_PRIORITY_DISPLAY); in createShellMainThread() local
98 return mainThread; in createShellMainThread()
111 @Nullable @ShellMainThread HandlerThread mainThread, in provideShellMainHandler() argument
114 if (mainThread == null) { in provideShellMainHandler()
116 mainThread = createShellMainThread(); in provideShellMainHandler()
117 mainThread.start(); in provideShellMainHandler()
120 mainThread.getLooper().setTraceTag(Trace.TRACE_TAG_WINDOW_MANAGER); in provideShellMainHandler()
121 mainThread.getLooper().setSlowLogThresholdMs(MSGQ_SLOW_DISPATCH_THRESHOLD_MS, in provideShellMainHandler()
124 return Handler.createAsync(mainThread.getLooper()); in provideShellMainHandler()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodContext.java53 public RavenwoodContext(String packageName, HandlerThread mainThread) { in RavenwoodContext() argument
55 mMainThread = mainThread; in RavenwoodContext()
/frameworks/base/core/java/android/window/
DWindowProviderService.java196 public final Context createServiceBaseContext(ActivityThread mainThread, in createServiceBaseContext() argument
198 final Context context = super.createServiceBaseContext(mainThread, packageInfo); in createServiceBaseContext()
/frameworks/base/core/java/android/app/
DService.java1004 public Context createServiceBaseContext(ActivityThread mainThread, LoadedApk packageInfo) {
1005 return ContextImpl.createAppContext(mainThread, packageInfo);
DContextImpl.java3361 static ContextImpl createSystemContext(ActivityThread mainThread) { in createSystemContext() argument
3362 LoadedApk packageInfo = new LoadedApk(mainThread); in createSystemContext()
3363 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, in createSystemContext()
3392 static ContextImpl createAppContext(ActivityThread mainThread, LoadedApk packageInfo) { in createAppContext() argument
3393 return createAppContext(mainThread, packageInfo, null); in createAppContext()
3396 static ContextImpl createAppContext(ActivityThread mainThread, LoadedApk packageInfo, in createAppContext() argument
3399 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, in createAppContext()
3409 static ContextImpl createActivityContext(ActivityThread mainThread, in createActivityContext() argument
3437 ContextImpl context = new ContextImpl(null, mainThread, packageInfo, ContextParams.EMPTY, in createActivityContext()
3471 private ContextImpl(@Nullable ContextImpl container, @NonNull ActivityThread mainThread, in ContextImpl() argument
[all …]
/frameworks/av/services/audioflinger/
DIAfThread.h554 const sp<IAfThreadCallback>& afThreadCallback, IAfPlaybackThread* mainThread,
DThreads.cpp7656 IAfPlaybackThread* mainThread, audio_io_handle_t id, bool systemReady) { in create() argument
7657 return sp<DuplicatingThread>::make(afThreadCallback, mainThread, id, systemReady); in create()
7661 IAfPlaybackThread* mainThread, audio_io_handle_t id, bool systemReady) in DuplicatingThread() argument
7662 : MixerThread(afThreadCallback, mainThread->getOutput(), id, in DuplicatingThread()
7666 addOutputTrack(mainThread); in DuplicatingThread()
DThreads.h1871 IAfPlaybackThread* mainThread,