Searched refs:looper (Results 76 - 100 of 288) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DTelephonyNetworkFactory.java72 Looper looper, Context context, int phoneId, DcTracker dcTracker) {
73 super(looper, context, "TelephonyNetworkFactory[" + phoneId + "]", null);
74 mInternalHandler = new InternalHandler(looper);
127 public InternalHandler(Looper looper) { argument
128 super(looper);
70 TelephonyNetworkFactory(PhoneSwitcher phoneSwitcher, SubscriptionController subscriptionController, SubscriptionMonitor subscriptionMonitor, Looper looper, Context context, int phoneId, DcTracker dcTracker) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java191 Looper looper = mHandlerThread.getLooper();
192 mSimulatedCallState = new SimulatedGsmCallState(looper);
641 Looper looper = mHandlerThread.getLooper();
642 if (looper != null) {
643 looper.quit();
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DRemotePrintDocument.java553 public AsyncCommand(Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, argument
555 mHandler = new AsyncCommandHandler(looper);
686 AsyncCommandHandler(@NonNull Looper looper) { argument
687 super(looper);
720 public LayoutCommand(Looper looper, IPrintDocumentAdapter adapter, argument
723 super(looper, adapter, document, callback);
724 mHandler = new LayoutHandler(looper);
866 public LayoutHandler(Looper looper) { argument
867 super(looper, null, false);
988 public WriteCommand(Context context, Looper looper, IPrintDocumentAdapte argument
1155 WriteHandler(Looper looper) argument
[all...]
/frameworks/base/services/core/java/com/android/server/job/
H A DJobServiceContext.java141 JobPackageTracker tracker, Looper looper) {
142 this(service.getContext(), service.getLock(), batteryStats, tracker, service, looper);
147 JobPackageTracker tracker, JobCompletedListener completedListener, Looper looper) {
152 mCallbackHandler = new JobServiceHandler(looper);
307 // looper and at this point we can't get any binder callbacks from the client. Better
368 JobServiceHandler(Looper looper) { argument
369 super(looper);
140 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, JobPackageTracker tracker, Looper looper) argument
146 JobServiceContext(Context context, Object lock, IBatteryStats batteryStats, JobPackageTracker tracker, JobCompletedListener completedListener, Looper looper) argument
/frameworks/base/location/java/android/location/
H A DLocationManager.java235 ListenerTransport(LocationListener listener, Looper looper) { argument
238 if (looper == null) {
246 mListenerHandler = new Handler(looper) {
476 * the specified looper thread.
487 * @param looper a Looper object whose message queue will be used to
497 LocationListener listener, Looper looper) {
503 requestLocationUpdates(request, listener, looper, null);
508 * on the specified looper thread.
520 * @param looper a Looper object whose message queue will be used to
530 LocationListener listener, Looper looper) {
496 requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, Looper looper) argument
529 requestLocationUpdates(long minTime, float minDistance, Criteria criteria, LocationListener listener, Looper looper) argument
689 requestSingleUpdate(String provider, LocationListener listener, Looper looper) argument
719 requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) argument
833 requestLocationUpdates(LocationRequest request, LocationListener listener, Looper looper) argument
866 wrapListener(LocationListener listener, Looper looper) argument
878 requestLocationUpdates(LocationRequest request, LocationListener listener, Looper looper, PendingIntent intent) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp110 mDecodeLooper = looper();
113 mDecodeLooper->setName("sf2 decode looper");
237 if (mDecodeLooper != looper()) {
241 looper()->stop();
625 sp<ALooper> looper = new ALooper; local
626 looper->setName("sf2");
662 looper->registerHandler(controller);
668 CHECK_EQ(looper->start(true /* runOnCallingThread */), (status_t)OK);
670 looper->unregisterHandler(controller->id());
H A Dmuxer.cpp325 sp<ALooper> looper = new ALooper; local
326 looper->start();
331 looper->stop();
/frameworks/av/include/media/stagefright/
H A DMediaCodecSource.h44 const sp<ALooper> &looper,
88 const sp<ALooper> &looper,
H A DSimpleDecodingSource.h71 // Construct this using a codec, source and looper.
73 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp37 LooperThread(ALooper *looper, bool canCallJava) argument
39 mLooper(looper),
160 // If not running locally and this thread _is_ the looper thread,
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DDevice.java104 public DeviceHandler(Looper looper) { argument
105 super(looper);
/frameworks/base/core/java/android/app/
H A DAppImportanceMonitor.java73 public AppImportanceMonitor(Context context, Looper looper) { argument
75 mHandler = new Handler(looper) {
110 * Report when an app's importance changed. Called on looper given to constructor.
H A DUiAutomation.java177 * layer on the thread of the provided looper and perform requests for privileged
180 * @param looper The looper on which to execute accessibility callbacks.
185 public UiAutomation(Looper looper, IUiAutomationConnection connection) { argument
186 if (looper == null) {
193 mClient = new IAccessibilityServiceClientImpl(looper);
1040 public IAccessibilityServiceClientImpl(Looper looper) { argument
1041 super(null, looper, new Callbacks() {
/frameworks/base/core/java/android/app/job/
H A DJobService.java133 JobHandler(Looper looper) { argument
134 super(looper);
/frameworks/base/core/java/android/widget/
H A DFilter.java216 public RequestHandler(Looper looper) { argument
217 super(looper);
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
H A DTvRemoteProvider.java33 * {@link Context#getMainLooper main looper thread} of an application.
285 public ProviderHandler(Looper looper) { argument
286 super(looper, null, true);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java160 public MyHandler(Looper looper) { argument
161 super(looper, null , false);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCallbackHandler.java54 CallbackHandler(Looper looper) { argument
55 super(looper);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileServicesTests.java108 public TestTileServices(QSTileHost host, Looper looper) { argument
109 super(host, looper);
/frameworks/native/include/android/
H A Dsensor.h53 #include <android/looper.h>
378 * Creates a new sensor event queue and associate it with a looper.
385 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasObexClientSession.java66 ObexClientHandler(Looper looper, BluetoothMasObexClientSession inst) { argument
67 super(looper);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java124 public UpdateHandler(Looper looper) { argument
125 super(looper);
157 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { argument
161 mHandler = new UpdateHandler(looper);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java149 * This thread handles the messages enqueued in the looper. The normal sequence
150 * of events is that a new query shows up in the looper queue, followed by 0 or
156 * looper queue must be FIFO with respect to input from the synchronous startQuery
164 public CallerInfoWorkerHandler(Looper looper) { argument
165 super(looper);
226 protected Handler createHandler(Looper looper) { argument
227 return new CallerInfoWorkerHandler(looper);
/frameworks/native/include/gui/
H A DSensorEventQueue.h37 ALooper* looper; member in struct:ASensorEventQueue
/frameworks/base/wifi/java/android/net/wifi/nan/
H A DWifiNanSessionListener.java174 * Constructs a {@link WifiNanSessionListener} using the looper of the current
182 * Constructs a {@link WifiNanSessionListener} using the specified looper. I.e.
183 * all callbacks will delivered on the thread of the specified looper.
185 * @param looper The looper on which to execute the callbacks.
187 public WifiNanSessionListener(Looper looper) { argument
188 if (VDBG) Log.v(TAG, "ctor: looper=" + looper);
189 mHandler = new Handler(looper) {

Completed in 4522 milliseconds

1234567891011>>