Searched refs:handler (Results 1 - 25 of 267) 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.inc46 size_t handler = 0;
49 while (handler < pathname.size()) {
50 if (separator == pathname[handler]) { // handler = 1st '/'
51 size_t next = handler + 1;
53 return handler;
54 switch(pathname[next]) { // next = handler + 1;
59 pathname.erase(handler, next - handler - 1);
60 // 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...]
H A DTaskDrainer.java70 * via the {@code handler}.
72 * @param handler a non-{@code null} handler to use to post runnables to
75 public TaskDrainer(Handler handler, DrainListener listener) { argument
76 mHandler = checkNotNull(handler, "handler must not be null");
83 * via the {@code handler}.
85 * @param handler a non-{@code null} handler to use to post runnables to
89 public TaskDrainer(Handler handler, DrainListene argument
[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...]
/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/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.java45 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { argument
47 mEventHandlerDelegate = new NativeEventHandlerDelegate(listener, handler);
133 Handler handler) {
134 // find the looper for our new event handler
136 if (handler != null) {
137 looper = handler.getLooper();
142 // construct the event handler with this looper
144 // implement the event handler delegate
181 Handler handler() { method in class:SoundTriggerModule.NativeEventHandlerDelegate
196 Handler handler
132 NativeEventHandlerDelegate(final SoundTrigger.StatusListener listener, Handler handler) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp137 ConstAddress handler = (ConstAddress)sect_reg.begin(); local
142 Token token = scan<true>(handler, file_off, sect_reg);
152 handler += token.size;
154 if (handler == sect_reg.end())
156 else if (handler > sect_reg.end()) {
176 ConstAddress handler = pRegion.begin() + pToken.data_off; local
178 ConstAddress handler_start = handler;
182 uint8_t version = *handler++;
188 ConstAddress aug_str_front = handler;
196 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, long timeout) { argument
40 if (handler.runWithScissors(new Runnable() {
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp35 const sp<ALooper> looper, const sp<AHandler> &handler) {
38 if (handler->id() != 0) {
39 CHECK(!"A handler must only be registered once.");
45 info.mHandler = handler;
49 handler->setID(handlerID);
65 sp<AHandler> handler = info.mHandler.promote(); local
67 if (handler != NULL) {
68 handler->setID(0);
85 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i));
113 sp<AHandler> handler; local
34 registerHandler( const sp<ALooper> looper, const sp<AHandler> &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
H A DGeocoderProxy.java43 int initialPackageNamesResId, Handler handler) {
45 defaultServicePackageNameResId, initialPackageNamesResId, handler);
55 int initialPackageNamesResId, Handler handler) {
59 defaultServicePackageNameResId, initialPackageNamesResId, null, handler);
41 createAndBind(Context context, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler) argument
53 GeocoderProxy(Context context, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, 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/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.java70 * @param handler The handler on which the callback should be invoked, or
75 public void registerCallback(Callback callback, Handler handler) { argument
79 if (handler == null) {
80 handler = new Handler();
82 mCallbacks.put(callback, new CallbackRecord(callback, handler));
103 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) {
108 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler);
128 * @param handler The {@link android.os.Handler} on which the callback should be
136 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) {
101 createVirtualDisplay(@onNull String name, int width, int height, int dpi, boolean isSecure, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
134 createVirtualDisplay(@onNull String name, int width, int height, int dpi, int flags, @Nullable Surface surface, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
198 CallbackRecord(Callback callback, Handler handler) argument
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java48 private RemoteDisplay(Listener listener, Handler handler) { argument
50 mHandler = handler;
67 * @param handler The handler on which to invoke the listener.
69 public static RemoteDisplay listen(String iface, Listener listener, Handler handler) { argument
76 if (handler == null) {
77 throw new IllegalArgumentException("handler must not be null");
80 RemoteDisplay display = new RemoteDisplay(listener, handler);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraCaptureSessionImpl.java56 /** User-specified state handler used for outgoing state callback events */
61 /** 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
147 Handler handler) throws CameraAccessException {
154 handler = checkHandler(handler, callback);
158 " handler " + handler);
162 createCaptureCallbackProxy(handler, callback), mDeviceHandler));
167 Handler handler) throw
146 capture(CaptureRequest request, CaptureCallback callback, Handler handler) argument
166 captureBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument
189 setRepeatingRequest(CaptureRequest request, CaptureCallback callback, Handler handler) argument
209 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback callback, Handler handler) argument
368 createUserStateCallbackProxy(Handler handler, StateCallback callback) argument
387 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() :
366 Handler handler = st.mOnFrameAvailableHandler;
367 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/volley/src/com/android/volley/toolbox/
H A DClearCacheRequest.java51 Handler handler = new Handler(Looper.getMainLooper());
52 handler.postAtFrontOfQueue(mCallback);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java84 * @param handler the handler on which the listener should be invoked, or
97 * configured as outputs for this session. Or if the handler is
106 public abstract int capture(CaptureRequest request, CaptureCallback listener, Handler handler) argument
129 * @param handler the handler on which the listener should be invoked, or
142 * configured as outputs. Or if the handler is null, the
151 Handler handler) throws CameraAccessException;
183 * @param handler the handler o
150 captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument
206 setRepeatingRequest(CaptureRequest request, CaptureCallback listener, Handler handler) argument
266 setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java261 public AccountManager(Context context, IAccountManager service, Handler handler) { argument
264 mMainHandler = handler;
525 * @param handler the handler on which to invoke the callback, or null for the main thread
531 AccountManagerCallback<String> callback, Handler handler) {
534 return new Future2Task<String>(handler, callback) {
567 * @param handler {@link Handler} identifying the callback thread,
574 AccountManagerCallback<Boolean> callback, Handler handler) {
577 return new Future2Task<Boolean>(handler, callback) {
611 * @param handler {
529 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument
572 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
617 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
686 renameAccount( final Account account, final String newName, AccountManagerCallback<Account> callback, Handler handler) argument
755 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
808 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
826 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument
848 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument
1145 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1235 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1313 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1382 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1405 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument
1457 copyAccountToUser( final Account account, final UserHandle user, AccountManagerCallback<Boolean> callback, Handler handler) argument
1564 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1578 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1640 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1691 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1715 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument
1725 postToHandler(Handler handler, final OnAccountsUpdateListener listener, final Account[] accounts) argument
1750 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
1877 BaseFutureTask(Handler handler) argument
1937 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument
2029 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
2224 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
2348 addOnAccountsUpdatedListener(final OnAccountsUpdateListener listener, Handler handler, boolean updateImmediately) argument
[all...]

Completed in 2049 milliseconds

1234567891011