Searched refs:looper (Results 1 - 25 of 71) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DLooperCompatUtils.java35 public static void quitSafely(final Looper looper) { argument
37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely);
39 looper.quit();
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DPreconditions.java53 private static boolean isSameLooper(Looper looper) { argument
54 return Looper.myLooper() == looper;
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DDelayedTaskHandler.java38 public DelayedTaskHandler(Looper looper, int defaultDelayMs) { argument
39 super(looper);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DLeakGuardHandlerWrapper.java34 public LeakGuardHandlerWrapper(@Nonnull final T ownerInstance, final Looper looper) { argument
35 super(looper);
/packages/services/Car/service/src/com/android/car/cluster/renderer/
H A DRendererHandler.java31 RendererHandler(Looper looper, T renderer) { argument
32 super(looper);
H A DThreadSafeNavigationRenderer.java27 * looper. It is guaranteed that all calls will be invoked in order they were called.
40 public static NavigationRenderer createFor(Looper looper, NavigationRenderer renderer) { argument
41 return renderer == null ? null : new ThreadSafeNavigationRenderer(looper, renderer);
44 private ThreadSafeNavigationRenderer(Looper looper, NavigationRenderer renderer) { argument
45 mHandler = new NavigationRendererHandler(looper, renderer);
73 NavigationRendererHandler(Looper looper, NavigationRenderer renderer) { argument
74 super(looper, renderer);
/packages/services/Car/car-support-lib/src/android/support/car/
H A DCarServiceLoaderEmbedded.java58 Looper looper) {
59 super(context, listener, looper);
60 mCar = android.car.Car.createCar(context, mServiceConnection, looper);
61 mHandler = new CallbackHandler(looper);
137 private CallbackHandler(Looper looper) { argument
138 super(looper);
57 CarServiceLoaderEmbedded(Context context, ServiceConnectionListener listener, Looper looper) argument
H A DCarServiceLoader.java32 public CarServiceLoader(Context context, ServiceConnectionListener listener, Looper looper) { argument
35 mLooper = looper;
H A DCar.java188 * @param looper Looper to dispatch all listeners. If null, it will use main thread. Note that
193 ServiceConnectionListener serviceConnectionListener, @Nullable Looper looper) {
195 return new Car(context, serviceConnectionListener, looper);
214 @Nullable Looper looper) {
217 if (looper == null) {
220 mLooper = looper;
233 Context context, ServiceConnectionListener serviceConnectionListener, Looper looper)
252 serviceConnectionListener, looper);
265 * @param looper
269 public Car(Context context, CarServiceLoader serviceLoader, @Nullable Looper looper) { argument
192 createCar(Context context, ServiceConnectionListener serviceConnectionListener, @Nullable Looper looper) argument
213 Car(Context context, ServiceConnectionListener serviceConnectionListener, @Nullable Looper looper) argument
232 loadCarServiceLoader(String carServiceLoaderClassName, Context context, ServiceConnectionListener serviceConnectionListener, Looper looper) argument
[all...]
/packages/apps/TV/common/src/com/android/tv/common/
H A DWeakHandler.java43 * @param looper The looper, must not be null.
46 public WeakHandler(@NonNull Looper looper, T ref) { argument
47 super(looper);
/packages/services/Car/libvehiclenetwork/native/
H A DHandlerThread.cpp46 sp<Looper> looper = getLooper(); local
50 looper->wake();
/packages/services/Car/service/src/com/android/car/
H A DCarServiceUtils.java77 * Execute a runnable in the given looper
78 * @param looper Looper to run the action.
81 public static void runOnLooper(Looper looper, Runnable action) { argument
82 new Handler(looper).post(action);
100 * @param looper Looper to run the action.
103 public static void runOnLooperSync(Looper looper, Runnable action) { argument
104 if (Looper.myLooper() == looper) {
108 Handler handler = new Handler(looper);
/packages/apps/TV/src/com/android/tv/dvr/
H A DScheduler.java56 HandlerWrapper(Looper looper, ScheduledRecording scheduledRecording, RecordingTask recordingTask) { argument
57 super(looper, recordingTask);
84 public Scheduler(Looper looper, DvrManager dvrManager, DvrSessionManager sessionManager, argument
88 mLooper = looper;
/packages/services/Car/car-lib/src/android/car/hardware/radio/
H A DCarRadioManager.java61 EventCallbackHandler(CarRadioManager mgr, Looper looper) { argument
62 super(looper);
115 public CarRadioManager(IBinder service, Looper looper) throws CarNotConnectedException { argument
117 mHandler = new EventCallbackHandler(this, looper);
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
H A DSampleCache.java52 Looper looper) throws IOException {
54 cacheListener, looper);
59 Looper looper, SampleCache prev) throws IOException {
62 new SampleCache(samplePool, file, startPositionUs, cacheListener, looper);
316 long createdTimeMs, CacheManager.CacheListener cacheListener, Looper looper)
320 mIoHandler = new Handler(looper,
327 CacheManager.CacheListener cacheListener, Looper looper) throws IOException {
331 mIoHandler = new Handler(looper, handlerCallback);
50 createSampleCache(SamplePool samplePool, File file, long startPositionUs, CacheManager.CacheListener cacheListener, Looper looper) argument
57 createSampleCacheFromFile(SamplePool samplePool, File cacheDir, String filename, long startPositionUs, CacheManager.CacheListener cacheListener, Looper looper, SampleCache prev) argument
315 SampleCache(SamplePool samplePool, File file, long startPositionUs, long createdTimeMs, CacheManager.CacheListener cacheListener, Looper looper) argument
326 SampleCache(SamplePool samplePool, File file, long startPositionUs, CacheManager.CacheListener cacheListener, Looper looper) argument
/packages/services/Car/car-lib/src/android/car/
H A DCar.java274 * @param looper Looper to dispatch all listeners. If null, it will use main thread. Note that
279 @Nullable Looper looper) {
285 return new Car(context, serviceConnectionListener, looper);
303 @Nullable Looper looper) {
306 if (looper == null) {
309 mLooper = looper;
323 * @param looper
327 public Car(Context context, ICar service, @Nullable Looper looper) { argument
329 if (looper == null) {
332 mLooper = looper;
278 createCar(Context context, ServiceConnection serviceConnectionListener, @Nullable Looper looper) argument
302 Car(Context context, ServiceConnection serviceConnectionListener, @Nullable Looper looper) argument
[all...]
H A DCarProjectionManager.java66 CarProjectionManager(IBinder service, Looper looper) { argument
68 mHandler = new Handler(looper);
H A DCarAppContextManager.java89 CarAppContextManager(IBinder service, Looper looper) { argument
91 mHandler = new Handler(looper);
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppStateBaseBridge.java128 public BackgroundHandler(Looper looper) { argument
129 super(looper);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DAppStateBaseBridge.java128 public BackgroundHandler(Looper looper) { argument
129 super(looper);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMnsObexClient.java85 /* This will block until the looper have started, hence it will be safe to use it,
87 Looper looper = thread.getLooper();
88 mHandler = new MnsObexClientHandler(looper);
118 private MnsObexClientHandler(Looper looper) { argument
119 super(looper);
205 Looper looper = mHandler.getLooper();
206 if (looper != null) {
207 looper.quit();
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DBluetoothTetheringNetworkFactory.java64 public BluetoothTetheringNetworkFactory(Context context, Looper looper, PanService panService) { argument
65 super(looper, context, NETWORK_TYPE, new NetworkCapabilities());
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DBluetoothPbapObexSession.java222 ObexClientHandler(Looper looper, BluetoothPbapObexSession inst) { argument
223 super(looper);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraHolder.java73 MyHandler(Looper looper) { argument
74 super(looper);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
H A DAddWifiNetworkTask.java77 Looper looper = thread.getLooper();
78 mHandler = new Handler(looper);

Completed in 1444 milliseconds

123