Searched refs:handler (Results 1 - 25 of 312) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc53 size_t handler = 0;
56 while (handler < pathname.size()) {
57 if (separator == pathname[handler]) { // handler = 1st '/'
58 size_t next = handler + 1;
60 return handler;
61 switch (pathname[next]) { // next = handler + 1;
66 pathname.erase(handler, next - handler - 1);
67 // handler i
[all...]
/frameworks/compile/mclinker/lib/Support/Windows/
H A DPathV3.inc47 size_t handler = 0;
50 while (handler < pathname.size()) {
51 if (separator == pathname[handler]) { // handler = 1st '/'
52 size_t next = handler + 1;
54 return handler;
55 switch (pathname[next]) { // next = handler + 1;
60 pathname.erase(handler, next - handler - 1);
61 // handler i
[all...]
/frameworks/base/obex/javax/obex/
H A DSessionNotifier.java53 * the handler to handle the requests from the client. No authenticator is
82 * @param handler the request handler that will respond to OBEX requests
85 * @throws NullPointerException if <code>handler</code> is <code>null</code>
87 ObexSession acceptAndOpen(ServerRequestHandler handler) throws IOException; argument
91 * the handler to handle the requests from the client and the
119 * @param handler the request handler that will respond to OBEX requests
125 * @throws NullPointerException if <code>handler</code> is <code>null</code>
127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticato argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DTaskSingleDrainer.java41 * via the {@code handler}.
43 * @param handler a non-{@code null} handler to use to post runnables to
46 public TaskSingleDrainer(Handler handler, DrainListener listener) { argument
47 mTaskDrainer = new TaskDrainer<>(handler, listener);
52 * via the {@code handler}.
54 * @param handler a non-{@code null} handler to use to post runnables to
58 public TaskSingleDrainer(Handler handler, DrainListener listener, String name) { argument
59 mTaskDrainer = new TaskDrainer<>(handler, listene
[all...]
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptRegistry.java76 * Register a new UrlInterceptHandler. This handler will be called
79 * @param handler The new UrlInterceptHandler object
80 * @return true if the handler was not previously registered.
88 UrlInterceptHandler handler) {
89 if (!getHandlers().contains(handler)) {
90 getHandlers().addFirst(handler);
100 * @param handler A previously registered UrlInterceptHandler.
101 * @return true if the handler was found and removed from the list.
109 UrlInterceptHandler handler) {
110 return getHandlers().remove(handler);
87 registerHandler( UrlInterceptHandler handler) argument
108 unregisterHandler( UrlInterceptHandler handler) argument
[all...]
H A DWebMessagePort.java100 * Sets a callback to receive message events on the handler that is provided
104 * @param handler the handler to receive the message messages.
106 public abstract void setWebMessageCallback(WebMessageCallback callback, Handler handler); argument
/frameworks/base/telecomm/java/android/telecom/
H A DCallbackRecord.java23 * This class is used to associate a generic callback of type T with a handler to which commands and
32 public CallbackRecord(T callback, Handler handler) { argument
34 mHandler = handler;
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandler_Delegate.java35 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { argument
39 callback.sendMessageAtTime(handler, msg, uptimeMillis);
47 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); argument
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp37 const sp<ALooper> looper, const sp<AHandler> &handler) {
40 if (handler->id() != 0) {
41 CHECK(!"A handler must only be registered once.");
47 info.mHandler = handler;
51 handler->setID(handlerID, looper);
67 sp<AHandler> handler = info.mHandler.promote(); local
69 if (handler != NULL) {
70 handler->setID(0, NULL);
88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i));
142 sp<AHandler> handler local
36 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument
[all...]
/frameworks/base/services/core/java/com/android/server/twilight/
H A DTwilightManager.java22 void registerListener(TwilightListener listener, Handler handler); argument
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java42 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { argument
44 mEventHandlerDelegate = new NativeEventHandlerDelegate(listener, handler);
130 Handler handler) {
131 // find the looper for our new event handler
133 if (handler != null) {
134 looper = handler.getLooper();
139 // construct the event handler with this looper
141 // implement the event handler delegate
178 Handler handler() { method in class:SoundTriggerModule.NativeEventHandlerDelegate
193 Handler handler
129 NativeEventHandlerDelegate(final SoundTrigger.StatusListener listener, Handler handler) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp131 ConstAddress handler = (ConstAddress)sect_reg.begin(); local
135 Token token = scan<true>(handler, file_off, sect_reg);
146 handler += token.size;
148 if (handler == sect_reg.end()) {
150 } else if (handler > sect_reg.end()) {
169 ConstAddress handler = pRegion.begin() + pToken.data_off; local
171 ConstAddress handler_start = handler;
175 uint8_t version = *handler++;
181 ConstAddress aug_str_front = handler;
189 handler
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java32 * Helper for dumping state owned by a handler thread.
34 * Because the caller might be holding an important lock that the handler is
38 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, argument
41 if (handler.runWithScissors(new Runnable() {
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java40 RadioTuner.Callback callback, Handler handler) {
42 mEventHandlerDelegate = new NativeEventHandlerDelegate(callback, handler);
99 Handler handler) {
100 // find the looper for our new event handler
102 if (handler != null) {
103 looper = handler.getLooper();
108 // construct the event handler with this looper
110 // implement the event handler delegate
194 Handler handler() { method in class:RadioModule.NativeEventHandlerDelegate
210 Handler handler
39 RadioModule(int moduleId, RadioManager.BandConfig config, boolean withAudio, RadioTuner.Callback callback, Handler handler) argument
98 NativeEventHandlerDelegate(final RadioTuner.Callback callback, Handler handler) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DActivityRecognitionProxy.java41 Handler handler,
64 handler);
74 Handler handler,
81 handler,
39 ActivityRecognitionProxy( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
72 createAndBind( Context context, Handler handler, ActivityRecognitionHardware activityRecognitionHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
H A DFusedProxy.java44 * @param handler The handler needed for construction.
49 Handler handler,
74 handler);
81 * @param handler The handler needed for construction.
88 Handler handler,
95 handler,
47 FusedProxy( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
86 createAndBind( Context context, Handler handler, IFusedLocationHardware locationHardware, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNameResId) argument
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraExceptionHandler.java22 * A handler for all camera api runtime exceptions.
59 * @param handler The handler in which the callback will be invoked in.
61 public CameraExceptionHandler(CameraExceptionCallback callback, Handler handler) { argument
62 mHandler = handler;
70 * @param handler The handler in which the default callback will be invoked in.
72 public CameraExceptionHandler(Handler handler) { argument
73 mHandler = handler;
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java173 Handler handler = mGLHandlerThread.getHandler();
174 handler.sendMessageAtFrontOfQueue(handler.obtainMessage(MSG_CLEANUP));
190 Handler handler = mGLHandlerThread.getHandler();
196 if (!handler.hasMessages(MSG_NEW_FRAME)) {
197 handler.sendMessage(handler.obtainMessage(MSG_NEW_FRAME));
214 Handler handler = mGLHandlerThread.getHandler();
219 Message m = handler.obtainMessage(MSG_NEW_CONFIGURATION, /*arg1*/0, /*arg2*/0, configure);
220 handler
[all...]
/frameworks/base/media/java/android/media/projection/
H A DMediaProjection.java69 * @param handler The handler on which the callback should be invoked, or
74 public void registerCallback(Callback callback, Handler handler) { argument
78 if (handler == null) {
79 handler = new Handler();
81 mCallbacks.put(callback, new CallbackRecord(callback, handler));
102 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) {
107 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler);
127 * @param handler The {@link android.os.Handler} on which the callback should be
135 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) {
100 createVirtualDisplay(@onNull String name, int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
133 createVirtualDisplay(@onNull String name, int width, int height, int dpi, int flags, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
197 CallbackRecord(Callback callback, Handler handler) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java49 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { argument
51 mHandler = handler;
69 * @param handler The handler on which to invoke the listener.
71 public static RemoteDisplay listen(String iface, Listener listener, Handler handler, argument
79 if (handler == null) {
80 throw new IllegalArgumentException("handler must not be null");
83 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java106 * <p>Registering the same callback again will replace the handler with the
124 * @param handler The handler on which the callback should be invoked, or {@code null} to use
127 * @throws IllegalArgumentException if the handler is {@code null} but the current thread has
131 @Nullable Handler handler) {
132 if (handler == null) {
136 "No handler given, and current thread has no looper!");
138 handler = new Handler(looper);
141 CameraManagerGlobal.get().registerAvailabilityCallback(callback, handler);
159 * <p>Registering the same callback again will replace the handler wit
130 registerAvailabilityCallback(@onNull AvailabilityCallback callback, @Nullable Handler handler) argument
178 registerTorchCallback(@onNull TorchCallback callback, @Nullable Handler handler) argument
290 openCameraDeviceUserAsync(String cameraId, CameraDevice.StateCallback callback, Handler handler) argument
440 openCamera(@onNull String cameraId, @NonNull final CameraDevice.StateCallback callback, @Nullable Handler handler) argument
945 postSingleUpdate(final AvailabilityCallback callback, final Handler handler, final String id, final int status) argument
966 postSingleTorchUpdate(final TorchCallback callback, final Handler handler, final String id, final int status) argument
996 updateCallbackLocked(AvailabilityCallback callback, Handler handler) argument
1061 updateTorchCallbackLocked(TorchCallback callback, Handler handler) argument
1106 registerAvailabilityCallback(AvailabilityCallback callback, Handler handler) argument
1130 registerTorchCallback(TorchCallback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java57 /** User-specified state handler used for outgoing state callback events */
62 /** Internal handler; used for all incoming events to preserve total order */
112 * Use the same handler as the device's StateCallback for all the internal coming events
155 Handler handler) throws CameraAccessException {
167 handler = checkHandler(handler, callback);
171 " handler " + handler);
175 createCaptureCallbackProxy(handler, callback), mDeviceHandler));
180 Handler handler) throw
154 capture(CaptureRequest request, CaptureCallback callback, Handler handler) argument
179 captureBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument
214 setRepeatingRequest(CaptureRequest request, CaptureCallback callback, Handler handler) argument
236 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument
412 createUserStateCallbackProxy(Handler handler, StateCallback callback) argument
431 createCaptureCallbackProxy( Handler handler, CaptureCallback callback) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java182 * If a handler is specified, the callback will be invoked on that handler's thread.
183 * If no handler is specified, then the callback may be called on an arbitrary thread,
189 * @param handler The handler on which the listener should be invoked, or null
193 @Nullable Handler handler) {
198 Looper looper = handler != null ? handler.getLooper() :
374 Handler handler = st.mOnFrameAvailableHandler;
375 if (handler !
192 setOnFrameAvailableListener(@ullable final OnFrameAvailableListener listener, @Nullable Handler handler) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DGlobalSetting.java33 public GlobalSetting(Context context, Handler handler, String settingName) { argument
34 super(handler);
/frameworks/data-binding/
H A DpropLoader.gradle36 def addRepos(RepositoryHandler handler) {
38 handler.maven {
42 handler.jcenter()
43 handler.mavenCentral()

Completed in 534 milliseconds

1234567891011>>