Home
last modified time | relevance | path

Searched defs:handler (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/packages/services/Car/cpp/watchdog/server/src/
DLooperWrapper.cpp43 void LooperWrapper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
51 void LooperWrapper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
60 void LooperWrapper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
68 void LooperWrapper::removeMessages(const android::sp<MessageHandler>& handler, int what) { in removeMessages()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java67 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSilentModeHwStateMonitoring() local
83 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedSilentMode() local
97 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedNonSilentMode() local
111 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testUpdateKernelSilentMode() local
163 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toForced() local
183 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toNonForced() local
215 private void assertSilentMode(SilentModeHandler handler, boolean expectedMode) in assertSilentMode()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java229 private BidirectionalAsyncChannel connectChannel(Handler handler) { in connectChannel()
232 handler); in connectChannel() local
238 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { in verifyHandleMessageAndGetMessage()
269 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, in verifyHandleMessageAndGetMessage()
277 private static void verifyScanResultsReceived(InOrder order, Handler handler, int listenerId, in verifyScanResultsReceived()
292 private static void verifySingleScanCompletedReceived(InOrder order, Handler handler, in verifySingleScanCompletedReceived()
334 private static void verifySuccessfulResponse(InOrder order, Handler handler, int arg2) { in verifySuccessfulResponse()
356 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults()
396 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults()
402 private static void verifyFailedResponse(InOrder order, Handler handler, int arg2, in verifyFailedResponse()
[all …]
/packages/services/Car/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp49 bool waitForSilentMode(SilentModeHandler* handler, bool expectedSilentMode) { in waitForSilentMode()
69 explicit SilentModeHandlerPeer(SilentModeHandler* handler) : mHandler(handler) {} in SilentModeHandlerPeer()
128 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
145 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
161 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
176 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
/packages/services/Car/cpp/evs/manager/1.1/stats/
DLooperWrapper.cpp47 void LooperWrapper::sendMessage(const sp<MessageHandler>& handler, in sendMessage()
58 const sp<MessageHandler>& handler, in sendMessageAtTime()
68 void LooperWrapper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.java38 public static <A> void consumeAsync(Handler handler, in consumeAsync()
51 public static <A extends QuietlyCloseable> void consumeCloseableAsync(Handler handler, in consumeCloseableAsync()
65 final Handler handler, final Consumer<A> consumer) { in createAsyncConsumer()
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/
DConnectivityManagerShim.java40 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork()
45 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in registerSystemDefaultNetworkCallback()
50 int uid, @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in registerDefaultNetworkCallbackForUid()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowPermissionControllerManager.java35 protected void __constructor__(Context context, @NonNull Handler handler) { in __constructor__()
42 Handler handler) { in getAppPermissions()
53 Handler handler) { in countPermissionApps()
/packages/modules/NetworkStack/apishim/31/com/android/networkstack/apishim/api31/
DConnectivityManagerShimImpl.java63 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in requestBackgroundNetwork()
72 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in registerSystemDefaultNetworkCallback()
81 int uid, @NonNull NetworkCallback networkCallback, @NonNull Handler handler) { in registerDefaultNetworkCallbackForUid()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/
DShadowLooperExecutor.java49 Handler handler = directlyOn(mRealExecutor, LooperExecutor.class, "getHandler"); in getHandler() local
60 public void setHandler(@Nullable Handler handler) { in setHandler()
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.cpp72 void LooperStub::sendMessage(const android::sp<MessageHandler>& handler, const Message& message) { in sendMessage()
76 void LooperStub::sendMessageAtTime(nsecs_t uptime, const android::sp<MessageHandler>& handler, in sendMessageAtTime()
88 void LooperStub::removeMessages(const android::sp<MessageHandler>& handler) { in removeMessages()
94 void LooperStub::removeMessages(const android::sp<MessageHandler>& handler, int what) { in removeMessages()
/packages/apps/Dialer/java/com/android/dialer/util/
DSettingsUtil.java46 Context context, Handler handler, int type, String key, int msg) { in updateRingtoneName()
75 public static void getRingtoneName(Context context, Handler handler, Uri ringtoneUri, int msg) { in getRingtoneName()
80 Context context, Handler handler, Uri ringtoneUri, int msg, boolean defaultRingtone) { in getRingtoneName()
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DLooperWrapper.cpp29 void LooperWrapper::sendMessageDelayed(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageDelayed()
34 void LooperWrapper::removeMessages(const android::sp<MessageHandler>& handler, int what) { in removeMessages()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DConnectivityManagerShimImpl.java47 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork()
59 @NonNull Handler handler) throws UnsupportedApiLevelException { in registerSystemDefaultNetworkCallback()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DConnectivityManagerShimImpl.java62 @NonNull NetworkCallback networkCallback, @NonNull Handler handler) in requestBackgroundNetwork()
75 @NonNull Handler handler) { in registerSystemDefaultNetworkCallback()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowCar.java51 @Nullable Handler handler, long waitTimeoutMs, in createCar()
61 public static Car createCar(Context context, @Nullable Handler handler) { in createCar()
/packages/apps/Settings/src/com/android/settings/accessibility/
DSettingsContentObserver.java31 public SettingsContentObserver(Handler handler) { in SettingsContentObserver()
37 public SettingsContentObserver(Handler handler, List<String> keysToObserve) { in SettingsContentObserver()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp4Socket.java49 private IkeUdp4Socket(FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdp4Socket()
65 IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession, Handler handler) in getInstance()
DIkeUdp6Socket.java49 protected IkeUdp6Socket(FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdp6Socket()
65 IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession, Handler handler) in getInstance()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraCaptureSessionProxy.java96 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture()
106 … public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) in captureBurst()
127 Handler handler) throws CameraAccessException, CameraCaptureSessionClosedException { in setRepeatingBurst()
136 … public int setRepeatingRequest(CaptureRequest request, CaptureCallback listener, Handler handler) in setRepeatingRequest()
DCameraCaptureSessionProxy.java72 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture()
76 handler) throws CameraAccessException, CameraCaptureSessionClosedException; in captureBurst()
84 handler) throws CameraAccessException, CameraCaptureSessionClosedException; in setRepeatingBurst()
87 handler) throws CameraAccessException, CameraCaptureSessionClosedException; in setRepeatingRequest()
/packages/services/Car/car-lib/src/android/car/
DCarBugreportManager.java117 Handler handler) { in CarBugreportManagerCallbackWrapper()
125 Handler handler = mWeakHandler.get(); in onProgress() local
134 Handler handler = mWeakHandler.get(); in onError() local
143 Handler handler = mWeakHandler.get(); in onFinished() local
/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/
DMockedVehicleHal.java69 VehicleHalPropertyHandler handler) { in addProperty()
103 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(value.prop); in injectEvent() local
158 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(requestedPropValue.prop); in get() local
168 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(propValue.prop); in set() local
181 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(opt.propId); in subscribe() local
208 VehicleHalPropertyHandler handler = mPropertyHandlerMap.get(propId); in unsubscribe() local
/packages/apps/Dialer/java/com/android/incallui/legacyblocking/
DBlockedNumberContentObserver.java44 @NonNull private final Handler handler; field in BlockedNumberContentObserver
65 @NonNull Context context, @NonNull Handler handler, String number, long timeAddedMillis) { in BlockedNumberContentObserver()
/packages/modules/Connectivity/tests/unit/java/android/net/
DConnectivityManagerTest.java224 Handler handler = new Handler(Looper.getMainLooper()); in testCallbackRelease() local
253 Handler handler = new Handler(Looper.getMainLooper()); in testCallbackRecycling() local
302 Handler handler = new Handler(Looper.getMainLooper()); in noDoubleCallbackRegistration() local
322 Handler handler = mock(Handler.class); in testArgumentValidation() local
388 Handler handler = new Handler(ConnectivityThread.getInstanceLooper()); in testRequestType() local

12345678910>>...15