/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | LooperCompatUtils.java | 35 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 D | Preconditions.java | 53 private static boolean isSameLooper(Looper looper) { argument 54 return Looper.myLooper() == looper;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | DelayedTaskHandler.java | 38 public DelayedTaskHandler(Looper looper, int defaultDelayMs) { argument 39 super(looper);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | LeakGuardHandlerWrapper.java | 34 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 D | RendererHandler.java | 31 RendererHandler(Looper looper, T renderer) { argument 32 super(looper);
|
H A D | ThreadSafeNavigationRenderer.java | 27 * 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 D | CarServiceLoaderEmbedded.java | 58 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 D | CarServiceLoader.java | 32 public CarServiceLoader(Context context, ServiceConnectionListener listener, Looper looper) { argument 35 mLooper = looper;
|
H A D | Car.java | 188 * @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 D | WeakHandler.java | 43 * @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 D | HandlerThread.cpp | 46 sp<Looper> looper = getLooper(); local 50 looper->wake();
|
/packages/services/Car/service/src/com/android/car/ |
H A D | CarServiceUtils.java | 77 * 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 D | Scheduler.java | 56 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 D | CarRadioManager.java | 61 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 D | SampleCache.java | 52 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 D | Car.java | 274 * @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 D | CarProjectionManager.java | 66 CarProjectionManager(IBinder service, Looper looper) { argument 68 mHandler = new Handler(looper);
|
H A D | CarAppContextManager.java | 89 CarAppContextManager(IBinder service, Looper looper) { argument 91 mHandler = new Handler(looper);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | AppStateBaseBridge.java | 128 public BackgroundHandler(Looper looper) { argument 129 super(looper);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
H A D | AppStateBaseBridge.java | 128 public BackgroundHandler(Looper looper) { argument 129 super(looper);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMnsObexClient.java | 85 /* 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 D | BluetoothTetheringNetworkFactory.java | 64 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 D | BluetoothPbapObexSession.java | 222 ObexClientHandler(Looper looper, BluetoothPbapObexSession inst) { argument 223 super(looper);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | CameraHolder.java | 73 MyHandler(Looper looper) { argument 74 super(looper);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
H A D | AddWifiNetworkTask.java | 77 Looper looper = thread.getLooper(); 78 mHandler = new Handler(looper);
|