Searched refs:handler (Results 1 - 25 of 383) 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/packages/SystemUI/src/com/android/systemui/recents/events/ui/dragndrop/
H A DDragStartInitializeDropTargetsEvent.java32 public final RecentsViewTouchHandler handler; field in class:DragStartInitializeDropTargetsEvent
35 RecentsViewTouchHandler handler) {
38 this.handler = handler;
34 DragStartInitializeDropTargetsEvent(Task task, TaskView taskView, RecentsViewTouchHandler handler) argument
/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DRttServiceTest.java91 private BidirectionalAsyncChannel connectChannel(Handler handler) { argument
94 handler);
100 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, argument
102 Message message = sendRangingRequest(channel, handler, clientKey, params);
109 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, argument
118 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
124 Handler handler, int clientKey) {
125 Message message = sendEnableResponder(channel, handler, clientKey,
136 Handler handler, int clientKey, int reason) {
137 Message message = sendEnableResponder(channel, handler, clientKe
123 sendEnableResponderSucceed(BidirectionalAsyncChannel channel, Handler handler, int clientKey) argument
135 sendEnableResponderFailed(BidirectionalAsyncChannel channel, Handler handler, int clientKey, int reason) argument
144 sendEnableResponder(BidirectionalAsyncChannel channel, Handler handler, int clientKey, ResponderConfig config) argument
[all...]
/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/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/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/base/core/java/com/android/internal/util/
H A DWakeupMessage.java52 public WakeupMessage(Context context, Handler handler, argument
55 mHandler = handler;
63 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd, int arg1) { argument
64 this(context, handler, cmdName, cmd, arg1, 0, null);
67 public WakeupMessage(Context context, Handler handler, argument
69 this(context, handler, cmdName, cmd, arg1, arg2, null);
72 public WakeupMessage(Context context, Handler handler, String cmdName, int cmd) { argument
73 this(context, handler, cmdName, cmd, 0, 0, null);
90 * run on the handler yet.
103 // be marked as unscheduled so that it can be rescheduled in the message handler
[all...]
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);
100 Handler handler) {
101 // find the looper for our new event handler
103 if (handler != null) {
104 looper = handler.getLooper();
109 // construct the event handler with this looper
111 // implement the event handler delegate
199 Handler handler() { method in class:RadioModule.NativeEventHandlerDelegate
215 Handler handler
39 RadioModule(int moduleId, RadioManager.BandConfig config, boolean withAudio, RadioTuner.Callback callback, Handler handler) argument
99 NativeEventHandlerDelegate(final RadioTuner.Callback callback, Handler handler) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java132 private BidirectionalAsyncChannel connectChannel(Handler handler) { argument
135 handler);
141 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { argument
143 order.verify(handler).handleMessage(messageCaptor.capture());
147 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, argument
155 order.verify(handler).handleMessage(argThat(messageMatcher));
159 private static void verifyScanResultsRecieved(InOrder order, Handler handler, int listenerId, argument
161 Message scanResultMessage = verifyHandleMessageAndGetMessage(order, handler,
174 private static void verifySingleScanCompletedRecieved(InOrder order, Handler handler, argument
176 Message completedMessage = verifyHandleMessageAndGetMessage(order, handler,
216 verifySuccessfulResponse(InOrder order, Handler handler, int arg2) argument
238 verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, int requestId1, ScanResults results1, int requestId2, ScanResults results2, int listenerRequestId, ScanResults listenerResults) argument
278 verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, int requestId1, ScanResults results1, int requestId2, ScanResults results2) argument
284 verifyFailedResponse(InOrder order, Handler handler, int arg2, int expectedErrorReason, String expectedErrorDescription) argument
1473 verifyPnoNetworkFoundRecieved(InOrder order, Handler handler, int listenerId, ScanResult[] expected) argument
1496 expectHwPnoScanWithNoBackgroundScan(InOrder order, Handler handler, int requestId, WifiNative.PnoSettings nativeSettings, ScanResults results) argument
1510 expectHwPnoScanWithBackgroundScan(InOrder order, Handler handler, int requestId, WifiNative.ScanSettings nativeScanSettings, WifiNative.PnoSettings nativePnoSettings, ScanResults results) argument
1528 expectHwPnoScanWithBackgroundScanWithNoIE(InOrder order, Handler handler, int requestId, WifiNative.ScanSettings nativeBackgroundScanSettings, WifiNative.ScanSettings nativeSingleScanSettings, WifiNative.PnoSettings nativePnoSettings, ScanResults results) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioRouting.java56 * @param handler Specifies the {@link Handler} object for the thread on which to execute
61 Handler handler);
60 addOnRoutingChangedListener(OnRoutingChangedListener listener, Handler handler) argument
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/services/core/java/com/android/server/location/
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/base/services/core/java/com/android/server/twilight/
H A DTwilightManager.java30 * @param handler the {@link Handler} to use to notify the listener
32 void registerListener(@NonNull TwilightListener listener, @NonNull Handler handler); 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/
H A DCameraManager.java105 * <p>Registering the same callback again will replace the handler with the
123 * @param handler The handler on which the callback should be invoked, or {@code null} to use
126 * @throws IllegalArgumentException if the handler is {@code null} but the current thread has
130 @Nullable Handler handler) {
131 if (handler == null) {
135 "No handler given, and current thread has no looper!");
137 handler = new Handler(looper);
140 CameraManagerGlobal.get().registerAvailabilityCallback(callback, handler);
158 * <p>Registering the same callback again will replace the handler wit
129 registerAvailabilityCallback(@onNull AvailabilityCallback callback, @Nullable Handler handler) argument
177 registerTorchCallback(@onNull TorchCallback callback, @Nullable Handler handler) argument
287 openCameraDeviceUserAsync(String cameraId, CameraDevice.StateCallback callback, Handler handler, final int uid) argument
437 openCamera(@onNull String cameraId, @NonNull final CameraDevice.StateCallback callback, @Nullable Handler handler) argument
459 openCameraForUid(@onNull String cameraId, @NonNull final CameraDevice.StateCallback callback, @Nullable Handler handler, int clientUid) argument
959 postSingleUpdate(final AvailabilityCallback callback, final Handler handler, final String id, final int status) argument
980 postSingleTorchUpdate(final TorchCallback callback, final Handler handler, final String id, final int status) argument
1010 updateCallbackLocked(AvailabilityCallback callback, Handler handler) argument
1075 updateTorchCallbackLocked(TorchCallback callback, Handler handler) argument
1120 registerAvailabilityCallback(AvailabilityCallback callback, Handler handler) argument
1149 registerTorchCallback(TorchCallback callback, Handler handler) argument
[all...]
/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...]

Completed in 327 milliseconds

1234567891011>>