/frameworks/compile/mclinker/lib/Support/Windows/ |
D | PathV3.inc | 46 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 is the first '/' 61 slash_stack.push(handler); 65 ++next; // next = handler + 2 [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | EhFrameReader.cpp | 137 ConstAddress handler = (ConstAddress)sect_reg.begin(); in read() local 142 Token token = scan<true>(handler, file_off, sect_reg); in read() 152 handler += token.size; in read() 154 if (handler == sect_reg.end()) in read() 156 else if (handler > sect_reg.end()) { in read() 176 ConstAddress handler = pRegion.begin() + pToken.data_off; in addCIE() local 178 ConstAddress handler_start = handler; in addCIE() 182 uint8_t version = *handler++; in addCIE() 188 ConstAddress aug_str_front = handler; in addCIE() 196 handler = aug_str_back + 1; in addCIE() [all …]
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | PathV3.inc | 53 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 is the first '/' 68 slash_stack.push(handler); 72 ++next; // next = handler + 2 [all …]
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | SoundTriggerModule.java | 45 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) { in SoundTriggerModule() argument 47 mEventHandlerDelegate = new NativeEventHandlerDelegate(listener, handler); in SoundTriggerModule() 133 Handler handler) { in NativeEventHandlerDelegate() argument 136 if (handler != null) { in NativeEventHandlerDelegate() 137 looper = handler.getLooper(); in NativeEventHandlerDelegate() 181 Handler handler() { in handler() method in SoundTriggerModule.NativeEventHandlerDelegate 196 Handler handler = delegate.handler(); in postEventFromNative() local 197 if (handler != null) { in postEventFromNative() 198 Message m = handler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() 199 handler.sendMessage(m); in postEventFromNative()
|
/frameworks/base/core/java/android/webkit/ |
D | UrlInterceptRegistry.java | 88 UrlInterceptHandler handler) { in registerHandler() argument 89 if (!getHandlers().contains(handler)) { in registerHandler() 90 getHandlers().addFirst(handler); in registerHandler() 109 UrlInterceptHandler handler) { in unregisterHandler() argument 110 return getHandlers().remove(handler); in unregisterHandler() 131 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); in getSurrogate() local 132 CacheResult result = handler.service(url, headers); in getSurrogate() 159 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); in getPluginData() local 160 PluginData data = handler.getPluginData(url, headers); in getPluginData()
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/base/ |
D | IdlingResourceRegistry.java | 70 private final Handler handler; field in IdlingResourceRegistry 78 this.handler = new Handler(looper, dispatcher); in IdlingResourceRegistry() 87 handler.post(new Runnable() { in register() 122 Message m = handler.obtainMessage(DYNAMIC_RESOURCE_HAS_IDLED); in registerToIdleCallback() 124 handler.sendMessage(m); in registerToIdleCallback() 164 Message timeoutWarning = handler.obtainMessage(IDLE_WARNING_REACHED, TIMEOUT_MESSAGE_TAG); in scheduleTimeoutMessages() 165 handler.sendMessageDelayed(timeoutWarning, warning.getIdleTimeoutUnit().toMillis( in scheduleTimeoutMessages() 167 Message timeoutError = handler.obtainMessage(TIMEOUT_OCCURRED, TIMEOUT_MESSAGE_TAG); in scheduleTimeoutMessages() 170 handler.sendMessageDelayed(timeoutError, error.getIdleTimeoutUnit().toMillis( in scheduleTimeoutMessages() 192 Message raceBuster = handler.obtainMessage(POSSIBLE_RACE_CONDITION_DETECTED, in getBusyResources() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraCaptureSessionImpl.java | 147 Handler handler) throws CameraAccessException { in capture() argument 154 handler = checkHandler(handler, callback); in capture() 158 " handler " + handler); in capture() 162 createCaptureCallbackProxy(handler, callback), mDeviceHandler)); in capture() 167 Handler handler) throws CameraAccessException { in captureBurst() argument 176 handler = checkHandler(handler, callback); in captureBurst() 181 ", callback " + callback + " handler " + handler); in captureBurst() 185 createCaptureCallbackProxy(handler, callback), mDeviceHandler)); in captureBurst() 190 Handler handler) throws CameraAccessException { in setRepeatingRequest() argument 197 handler = checkHandler(handler, callback); in setRepeatingRequest() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManager.java | 261 public AccountManager(Context context, IAccountManager service, Handler handler) { in AccountManager() argument 264 mMainHandler = handler; in AccountManager() 531 AccountManagerCallback<String> callback, Handler handler) { in getAuthTokenLabel() argument 534 return new Future2Task<String>(handler, callback) { in getAuthTokenLabel() 574 AccountManagerCallback<Boolean> callback, Handler handler) { 577 return new Future2Task<Boolean>(handler, callback) { 619 AccountManagerCallback<Account[]> callback, Handler handler) { 621 return new Future2Task<Account[]>(handler, callback) { 690 Handler handler) { 695 return new Future2Task<Account>(handler, callback) { [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ALooperRoster.cpp | 35 const sp<ALooper> looper, const sp<AHandler> &handler) { in registerHandler() argument 38 if (handler->id() != 0) { in registerHandler() 45 info.mHandler = handler; in registerHandler() 49 handler->setID(handlerID); in registerHandler() 65 sp<AHandler> handler = info.mHandler.promote(); in unregisterHandler() local 67 if (handler != NULL) { in unregisterHandler() 68 handler->setID(0); in unregisterHandler() 113 sp<AHandler> handler; in deliverMessage() local 126 handler = info.mHandler.promote(); in deliverMessage() 128 if (handler == NULL) { in deliverMessage() [all …]
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | EventsTest.java | 171 Handler handler = new Handler(); in FutureReleaseListener() local 172 handler.postDelayed(new Runnable() { in FutureReleaseListener() 182 Handler handler = new Handler(); in onAnimationEnd() local 183 handler.postDelayed(new Runnable() { in onAnimationEnd() 368 Handler handler = new Handler(); in testPlayingCancel() 372 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingCancel() 391 Handler handler = new Handler(); in testPlayingEnd() 395 handler.postDelayed(new Ender(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingEnd() 415 Handler handler = new Handler(); in testPlayingDelayedCancel() 419 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingDelayedCancel() [all …]
|
D | ViewPropertyAnimatorTest.java | 107 Handler handler = new Handler(); in FutureReleaseListener() local 108 handler.postDelayed(new Runnable() { in FutureReleaseListener() 118 Handler handler = new Handler(); in onAnimationEnd() local 119 handler.postDelayed(new Runnable() { in onAnimationEnd() 255 Handler handler = new Handler(); in testPlayingCancel() 259 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingCancel() 279 Handler handler = new Handler(); in testPlayingDelayedCancel() 283 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DURATION); in testPlayingDelayedCancel() 307 Handler handler = new Handler(); in testPlayingDelayedCancelMidDelay() 310 handler.postDelayed(new Canceler(mAnimator, mFuture), ANIM_MID_DELAY); in testPlayingDelayedCancelMidDelay()
|
/frameworks/base/libs/hwui/ |
D | RenderNode.cpp | 377 void RenderNode::setViewProperties(OpenGLRenderer& renderer, T& handler) { in setViewProperties() argument 379 properties().debugOutputProperties(handler.level() + 1); in setViewProperties() 414 SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( in setViewProperties() 417 handler(op, PROPERTY_SAVECOUNT, properties().getClipToBounds()); in setViewProperties() 423 ClipRectOp* op = new (handler.allocator()) ClipRectOp( in setViewProperties() 426 handler(op, PROPERTY_SAVECOUNT, properties().getClipToBounds()); in setViewProperties() 433 …renderer.setClippingRoundRect(handler.allocator(), bounds, mProperties.getRevealClip().getRadius()… in setViewProperties() 435 renderer.setClippingOutline(handler.allocator(), &(mProperties.getOutline())); in setViewProperties() 582 DeferOperationHandler handler(deferStruct, level); in defer() local 583 issueOperations<DeferOperationHandler>(deferStruct.mRenderer, handler); in defer() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | GLThreadManager.java | 171 Handler handler = mGLHandlerThread.getHandler(); in quit() local 172 handler.sendMessageAtFrontOfQueue(handler.obtainMessage(MSG_CLEANUP)); in quit() 188 Handler handler = mGLHandlerThread.getHandler(); in queueNewFrame() local 194 if (!handler.hasMessages(MSG_NEW_FRAME)) { in queueNewFrame() 195 handler.sendMessage(handler.obtainMessage(MSG_NEW_FRAME)); in queueNewFrame() 210 Handler handler = mGLHandlerThread.getHandler(); in setConfigurationAndWait() local 215 Message m = handler.obtainMessage(MSG_NEW_CONFIGURATION, /*arg1*/0, /*arg2*/0, configure); in setConfigurationAndWait() 216 handler.sendMessage(m); in setConfigurationAndWait()
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 976 AnimationHandler handler = getOrCreateAnimationHandler(); in cancel() local 978 || handler.mPendingAnimations.contains(this) in cancel() 979 || handler.mDelayedAnims.contains(this)) { in cancel() 992 endAnimation(handler); in cancel() 998 AnimationHandler handler = getOrCreateAnimationHandler(); in end() local 999 if (!handler.mAnimations.contains(this) && !handler.mPendingAnimations.contains(this)) { in end() 1002 startAnimation(handler); in end() 1008 endAnimation(handler); in end() 1074 protected void endAnimation(AnimationHandler handler) { in endAnimation() argument 1075 handler.mAnimations.remove(this); in endAnimation() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgent.java | 56 Handler handler, CameraStartPreviewCallback cb) { in getNewInstance() argument 57 if (handler == null || cb == null) { in getNewInstance() 60 return new CameraStartPreviewCallbackForward(handler, cb); in getNewInstance() 96 Handler handler, CameraOpenCallback cb) { in getNewInstance() argument 97 if (handler == null || cb == null) { in getNewInstance() 100 return new CameraOpenCallbackForward(handler, cb); in getNewInstance() 294 public void openCamera(final Handler handler, final int cameraId, in openCamera() argument 300 CameraOpenCallbackForward.getNewInstance(handler, callback)).sendToTarget(); in openCamera() 335 Handler handler); in setCameraDefaultExceptionCallback() argument 401 public void reconnect(final Handler handler, final CameraOpenCallback cb) { in reconnect() argument [all …]
|
D | AndroidCameraAgentImpl.java | 80 Handler handler) { in setCameraDefaultExceptionCallback() argument 83 mCameraExceptionCallbackHandler = handler; in setCameraDefaultExceptionCallback() 761 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallback() argument 767 handler, AndroidCameraProxyImpl.this, cb)) in setPreviewDataCallback() 774 public void setOneShotPreviewCallback(final Handler handler, in setOneShotPreviewCallback() argument 781 .getNewInstance(handler, AndroidCameraProxyImpl.this, cb)) in setOneShotPreviewCallback() 789 final Handler handler, final CameraPreviewDataCallback cb) { in setPreviewDataCallbackWithBuffer() argument 795 .getNewInstance(handler, AndroidCameraProxyImpl.this, cb)) in setPreviewDataCallbackWithBuffer() 802 public void autoFocus(final Handler handler, final CameraAFCallback cb) { in autoFocus() argument 811 handler.post(new Runnable() { in autoFocus() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 123 public void registerAvailabilityCallback(AvailabilityCallback callback, Handler handler) { in registerAvailabilityCallback() argument 124 if (handler == null) { in registerAvailabilityCallback() 130 handler = new Handler(looper); in registerAvailabilityCallback() 134 Handler oldHandler = mCallbackMap.put(callback, handler); in registerAvailabilityCallback() 137 mServiceListener.updateCallbackLocked(callback, handler); in registerAvailabilityCallback() 247 CameraDevice.StateCallback callback, Handler handler) in openCameraDeviceUserAsync() argument 261 handler, in openCameraDeviceUserAsync() 383 Handler handler) in openCamera() argument 390 } else if (handler == null) { in openCamera() 392 handler = new Handler(); in openCamera() [all …]
|
/frameworks/base/media/java/android/media/projection/ |
D | MediaProjection.java | 75 public void registerCallback(Callback callback, Handler handler) { in registerCallback() argument 79 mCallbacks.put(callback, new CallbackRecord(callback, handler)); in registerCallback() 100 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() argument 105 DisplayManager.VIRTUAL_DISPLAY_FLAG_PRESENTATION, callback, handler); in createVirtualDisplay() 134 @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) { in createVirtualDisplay() argument 137 this, name, width, height, dpi, surface, flags, callback, handler); in createVirtualDisplay() 197 public CallbackRecord(Callback callback, Handler handler) { in CallbackRecord() argument 199 mHandler = handler; in CallbackRecord()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TaskSingleDrainer.java | 46 public TaskSingleDrainer(Handler handler, DrainListener listener) { in TaskSingleDrainer() argument 47 mTaskDrainer = new TaskDrainer<>(handler, listener); in TaskSingleDrainer() 58 public TaskSingleDrainer(Handler handler, DrainListener listener, String name) { in TaskSingleDrainer() argument 59 mTaskDrainer = new TaskDrainer<>(handler, listener, name); in TaskSingleDrainer()
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerTestActivity.java | 49 private Handler handler; field in PowerTestActivity 88 handler = new Handler() { in onCreate() 131 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT), in navigate() 162 handler.postDelayed(pageDoneRunner, manualDelay); in handleTimeout() 180 return handler; in getHandler() 222 handler.postDelayed(new WebViewStatusChecker(), 500); in onPageFinished() 255 handler.removeMessages(MSG_TIMEOUT); in run() 257 handler.postDelayed(pageDoneRunner, manualDelay); in run()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SurfaceTexture.java | 193 @Nullable Handler handler) { in setOnFrameAvailableListener() argument 198 Looper looper = handler != null ? handler.getLooper() : in setOnFrameAvailableListener() 366 Handler handler = st.mOnFrameAvailableHandler; in postEventFromNative() local 367 if (handler != null) { in postEventFromNative() 368 handler.sendEmptyMessage(0); in postEventFromNative()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CallManager.java | 518 CallManagerHandler handler = mHandlerMap.get(phone); in registerForPhoneStates() local 519 if (handler != null) { in registerForPhoneStates() 525 handler = new CallManagerHandler(); in registerForPhoneStates() 526 mHandlerMap.put(phone, handler); in registerForPhoneStates() 529 phone.registerForPreciseCallStateChanged(handler, EVENT_PRECISE_CALL_STATE_CHANGED, null); in registerForPhoneStates() 530 phone.registerForDisconnect(handler, EVENT_DISCONNECT, null); in registerForPhoneStates() 531 phone.registerForNewRingingConnection(handler, EVENT_NEW_RINGING_CONNECTION, null); in registerForPhoneStates() 532 phone.registerForUnknownConnection(handler, EVENT_UNKNOWN_CONNECTION, null); in registerForPhoneStates() 533 phone.registerForIncomingRing(handler, EVENT_INCOMING_RING, null); in registerForPhoneStates() 534 phone.registerForRingbackTone(handler, EVENT_RINGBACK_TONE, null); in registerForPhoneStates() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | RemotePrintDocument.java | 813 public LayoutResultCallback(Handler handler) { in LayoutResultCallback() argument 814 mWeakHandler = new WeakReference<>(handler); in LayoutResultCallback() 819 Handler handler = mWeakHandler.get(); in onLayoutStarted() local 820 if (handler != null) { in onLayoutStarted() 821 handler.obtainMessage(LayoutHandler.MSG_ON_LAYOUT_STARTED, in onLayoutStarted() 828 Handler handler = mWeakHandler.get(); in onLayoutFinished() local 829 if (handler != null) { in onLayoutFinished() 830 handler.obtainMessage(LayoutHandler.MSG_ON_LAYOUT_FINISHED, in onLayoutFinished() 837 Handler handler = mWeakHandler.get(); in onLayoutFailed() local 838 if (handler != null) { in onLayoutFailed() [all …]
|
/frameworks/base/media/java/android/media/ |
D | RemoteDisplay.java | 48 private RemoteDisplay(Listener listener, Handler handler) { in RemoteDisplay() argument 50 mHandler = handler; in RemoteDisplay() 69 public static RemoteDisplay listen(String iface, Listener listener, Handler handler) { in listen() argument 76 if (handler == null) { in listen() 80 RemoteDisplay display = new RemoteDisplay(listener, handler); in listen()
|
/frameworks/opt/net/wifi/service/lib/ |
D | wifi_hal.cpp | 8 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { in wifi_cleanup() argument 61 wifi_scan_cmd_params params, wifi_scan_result_handler handler) { in wifi_start_gscan() argument 80 wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler) { in wifi_set_bssid_hotlist() argument 89 wifi_significant_change_params params, wifi_significant_change_handler handler) { in wifi_set_significant_change_handler() argument 107 wifi_interface_handle iface, wifi_stats_result_handler handler) { in wifi_get_link_stats() argument 123 unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) { in wifi_rtt_range_request() argument
|