Searched defs:looper (Results 1 - 25 of 164) sorted by relevance

1234567

/frameworks/av/media/libstagefright/foundation/
H A DAHandler.cpp27 sp<ALooper> AHandler::looper() { function in class:android::AHandler
H A DALooperRoster.cpp35 const sp<ALooper> looper, const sp<AHandler> &handler) {
44 info.mLooper = looper;
83 sp<ALooper> looper = info.mLooper.promote(); local
84 if (looper == NULL) {
88 // At this point 'looper' might be the only sp<> keeping
94 activeLoopers.add(looper);
103 sp<ALooper> looper = findLooper(msg->target()); local
105 if (looper == NULL) {
108 looper->post(msg, delayUs);
150 sp<ALooper> looper local
34 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument
162 sp<ALooper> looper = findLooper(msg->target()); local
[all...]
H A DALooper.cpp34 LooperThread(ALooper *looper, bool canCallJava) argument
36 mLooper(looper),
153 // If not running locally and this thread _is_ the looper thread,
/frameworks/base/core/java/com/android/internal/view/
H A DWindowManagerPolicyThread.java29 public static void set(Thread thread, Looper looper) { argument
31 mLooper = looper;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DHistoryHandler.java30 HistoryHandler(Looper looper) { argument
31 super(looper);
/frameworks/native/include/gui/
H A DSensorEventQueue.h36 ALooper* looper; member in struct:ASensorEventQueue
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp66 sp<ALooper> looper = new ALooper; local
73 looper->registerHandler(rtp_pusher);
76 looper->registerHandler(rtcp_pusher);
80 looper->registerHandler(session);
176 looper->start(false /* runOnCallingThread */);
227 looper->stop();
/frameworks/base/location/java/android/location/
H A DCountryDetector.java57 * looper once the country changed and detected.
65 public ListenerTransport(CountryListener listener, Looper looper) { argument
67 if (looper != null) {
68 mHandler = new Handler(looper);
118 * @param looper a Looper object whose message queue will be used to
119 * implement the callback mechanism. If looper is null then the
122 public void addCountryListener(CountryListener listener, Looper looper) { argument
125 ListenerTransport transport = new ListenerTransport(listener, looper);
/frameworks/base/core/java/android/app/
H A DAppImportanceMonitor.java75 public AppImportanceMonitor(Context context, Looper looper) { argument
77 mHandler = new Handler(looper) {
112 * Report when an app's importance changed. Called on looper given to constructor.
H A DIntentService.java59 public ServiceHandler(Looper looper) { argument
60 super(looper);
H A DVoiceInteractor.java351 Looper looper) {
355 mHandlerCaller = new HandlerCaller(context, looper, mHandlerCallerCallback, true);
350 VoiceInteractor(IVoiceInteractor interactor, Context context, Activity activity, Looper looper) argument
/frameworks/base/core/java/android/app/job/
H A DJobService.java116 JobHandler(Looper looper) { argument
117 super(looper);
/frameworks/base/core/java/android/view/
H A DDisplayEventReceiver.java53 * @param looper The looper to use when invoking callbacks.
55 public DisplayEventReceiver(Looper looper) { argument
56 if (looper == null) {
57 throw new IllegalArgumentException("looper must not be null");
60 mMessageQueue = looper.getQueue();
H A DInputEventSender.java53 * @param looper The looper to use when invoking callbacks.
55 public InputEventSender(InputChannel inputChannel, Looper looper) { argument
59 if (looper == null) {
60 throw new IllegalArgumentException("looper must not be null");
64 mMessageQueue = looper.getQueue();
H A DInputFilter.java124 * @param looper The looper to run callbacks on.
126 public InputFilter(Looper looper) { argument
127 mH = new H(looper);
220 public H(Looper looper) { argument
221 super(looper);
H A DInputEventReceiver.java58 * @param looper The looper to use when invoking callbacks.
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { argument
64 if (looper == null) {
65 throw new IllegalArgumentException("looper must not be null");
69 mMessageQueue = looper.getQueue();
196 InputChannel inputChannel, Looper looper);
195 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
/frameworks/base/native/android/
H A Dlooper.cpp20 #include <android/looper.h>
32 static inline ALooper* Looper_to_ALooper(Looper* looper) { argument
33 return reinterpret_cast<ALooper*>(looper);
44 void ALooper_acquire(ALooper* looper) { argument
45 ALooper_to_Looper(looper)->incStrong((void*)ALooper_acquire);
48 void ALooper_release(ALooper* looper) { argument
49 ALooper_to_Looper(looper)->decStrong((void*)ALooper_acquire);
53 sp<Looper> looper = Looper::getForThread(); local
54 if (looper == NULL) {
55 ALOGE("ALooper_pollOnce: No looper fo
64 sp<Looper> looper = Looper::getForThread(); local
74 ALooper_wake(ALooper* looper) argument
78 ALooper_addFd(ALooper* looper, int fd, int ident, int events, ALooper_callbackFunc callback, void* data) argument
83 ALooper_removeFd(ALooper* looper, int fd) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DFakeWindowImpl.java40 Looper looper, InputEventReceiver.Factory inputEventReceiverFactory,
51 mClientChannel, looper);
39 FakeWindowImpl(WindowManagerService service, Looper looper, InputEventReceiver.Factory inputEventReceiverFactory, String name, int windowType, int layoutParamsFlags, boolean canReceiveKeys, boolean hasFocus, boolean touchFullscreen) argument
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java61 public WorkerHandler(Looper looper) { argument
62 super(looper);
138 protected Handler createHandler(Looper looper) { argument
139 return new WorkerHandler(looper);
/frameworks/base/core/java/android/widget/
H A DFilter.java216 public RequestHandler(Looper looper) { argument
217 super(looper);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrinterRegistry.java166 public MyHandler(Looper looper) { argument
167 super(looper, null , false);
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java64 public CompatHandler(Looper looper) { argument
65 super(looper, null, true);
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp70 const android::sp<android::ALooper> &looper,
121 looper, mime.c_str(), false /* encoder */);
375 sp<ALooper> looper = new ALooper; local
376 looper->start();
416 looper->registerHandler(player);
425 decode(looper, argv[0], useAudio, useVideo, surface);
432 looper->stop();
69 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface) argument
H A Dmuxer.cpp53 const android::sp<android::ALooper> &looper,
298 sp<ALooper> looper = new ALooper; local
299 looper->start();
301 int result = muxing(looper, argv[0], useAudio, useVideo, outputFileName,
304 looper->stop();
52 muxing( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const char *outputFileName, bool enableTrim, int trimStartTimeMs, int trimEndTimeMs, int rotationDegrees) argument
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java97 public UpdateHandler(Looper looper) { argument
98 super(looper);
130 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { argument
134 mHandler = new UpdateHandler(looper);

Completed in 491 milliseconds

1234567