Searched refs:handler (Results 1 - 25 of 454) 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/support/buildSrc/
H A Drepos.gradle36 * Adds maven repositories to the given repository handler.
38 def addMavenRepositories(RepositoryHandler handler) {
40 handler.maven {
45 handler.mavenCentral()
46 handler.jcenter()
50 handler.maven {
/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.java101 private BidirectionalAsyncChannel connectChannel(Handler handler) { argument
104 handler);
110 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, argument
112 Message message = sendRangingRequest(channel, handler, clientKey, params);
119 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, argument
128 verify(handler, atLeastOnce()).handleMessage(messageCaptor.capture());
134 Handler handler, int clientKey) {
135 Message message = sendEnableResponder(channel, handler, clientKey,
146 Handler handler, int clientKey, int reason) {
147 Message message = sendEnableResponder(channel, handler, clientKe
133 sendEnableResponderSucceed(BidirectionalAsyncChannel channel, Handler handler, int clientKey) argument
145 sendEnableResponderFailed(BidirectionalAsyncChannel channel, Handler handler, int clientKey, int reason) argument
154 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/av/media/libaudiohal/
H A DHalDeathHandlerHidl.cpp39 void HalDeathHandler::registerAtExitHandler(void* cookie, AtExitHandler handler) { argument
41 mHandlers.insert({cookie, handler});
53 for (const auto& handler : mHandlers) {
54 handler.second();
/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/android/accessibilityservice/
H A DFingerprintGestureController.java102 * @param handler The handler to use for the callback. If {@code null}, callbacks will happen
106 @NonNull FingerprintGestureCallback callback, @Nullable Handler handler) {
108 mCallbackHandlerMap.put(callback, handler);
136 Handler handler = handlerMap.valueAt(i);
137 if (handler != null) {
138 handler.post(() -> callback.onGestureDetectionAvailabilityChanged(active));
157 Handler handler = handlerMap.valueAt(i);
158 if (handler != null) {
159 handler
105 registerFingerprintGestureCallback( @onNull FingerprintGestureCallback callback, @Nullable Handler handler) argument
[all...]
H A DAccessibilityButtonController.java101 * specified {@link Handler}'s thread, or on the services's main thread if the handler is
105 * @param handler the handler on which the callback should execute, must be non-null
108 @NonNull Handler handler) {
110 Preconditions.checkNotNull(handler);
116 mCallbacks.put(callback, handler);
161 final Handler handler = entries.valueAt(i);
162 handler.post(() -> callback.onClicked(this));
186 final Handler handler = entries.valueAt(i);
187 handler
107 registerAccessibilityButtonCallback(@onNull AccessibilityButtonCallback callback, @NonNull 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...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java149 private BidirectionalAsyncChannel connectChannel(Handler handler) { argument
152 handler);
158 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { argument
160 order.verify(handler).handleMessage(messageCaptor.capture());
164 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, argument
172 order.verify(handler).handleMessage(argThat(messageMatcher));
176 private static void verifyScanResultsReceived(InOrder order, Handler handler, int listenerId, argument
178 Message scanResultMessage = verifyHandleMessageAndGetMessage(order, handler,
191 private static void verifySingleScanCompletedReceived(InOrder order, Handler handler, argument
193 Message completedMessage = verifyHandleMessageAndGetMessage(order, handler,
233 verifySuccessfulResponse(InOrder order, Handler handler, int arg2) argument
255 verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, int requestId1, ScanResults results1, int requestId2, ScanResults results2, int listenerRequestId, ScanResults listenerResults) argument
295 verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, int requestId1, ScanResults results1, int requestId2, ScanResults results2) argument
301 verifyFailedResponse(InOrder order, Handler handler, int arg2, int expectedErrorReason, String expectedErrorDescription) argument
1811 verifyPnoNetworkFoundReceived(InOrder order, Handler handler, int listenerId, ScanResult[] expected) argument
1834 expectHwPnoScanWithNoBackgroundScan(InOrder order, Handler handler, int requestId, WifiNative.PnoSettings nativeSettings, ScanResults results) argument
1848 expectHwPnoScanWithBackgroundScan(InOrder order, Handler handler, int requestId, WifiNative.ScanSettings nativeScanSettings, WifiNative.PnoSettings nativePnoSettings, ScanResults results) argument
1866 expectHwPnoScanWithBackgroundScanWithNoIE(InOrder order, Handler handler, int requestId, WifiNative.ScanSettings nativeBackgroundScanSettings, WifiNative.ScanSettings nativeSingleScanSettings, WifiNative.PnoSettings nativePnoSettings, ScanResults results) argument
[all...]
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DHostCallbacks.java25 HostCallbacks(FragmentActivity activity, Handler handler, int windowAnimations) { argument
26 super(activity, handler, windowAnimations);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java43 RadioTuner.Callback callback, Handler handler) {
45 mEventHandlerDelegate = new NativeEventHandlerDelegate(callback, handler);
105 Handler handler) {
106 // find the looper for our new event handler
108 if (handler != null) {
109 looper = handler.getLooper();
114 // construct the event handler with this looper
116 // implement the event handler delegate
204 Handler handler() { method in class:RadioModule.NativeEventHandlerDelegate
220 Handler handler
42 RadioModule(int moduleId, RadioManager.BandConfig config, boolean withAudio, RadioTuner.Callback callback, Handler handler) argument
104 NativeEventHandlerDelegate(final RadioTuner.Callback callback, Handler handler) 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
/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;

Completed in 735 milliseconds

1234567891011>>