Home
last modified time | relevance | path

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

12345678910>>...26

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DUserRestrictionsPolicyHandlerTest.java75 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgressDebug_withoutKioskPackageName_shouldThrowException() local
91 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgress_withoutKioskPackageName_shouldThrowException() local
112 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgressDebug_withSetExpectedUserRestrictions() local
136 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgress_withSetExpectedUserRestrictions() local
161 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgress_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
186 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgress_withDisallowUnknownSourcesShouldSetExpectedUserRestrictions() local
212 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onProvisionInProgress_withDebuggingAllowed_shouldNotDisallowDebuggingFeatures() local
233 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onLockedDebug_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
260 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onLocked_withDisableOutgoingCallShouldSetExpectedUserRestrictions() local
283 UserRestrictionsPolicyHandler handler = new UserRestrictionsPolicyHandler(mMockDpm, in onLocked_withDisableOutgoingCallAndUnknownSourcesShouldSetExpectedUserRestrictions() local
[all …]
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/appcard/
DAppCardService.kt33 private val handler = IncomingHandler(Looper.getMainLooper()) in <lambda>() constant in com.android.systemui.car.appcard.AppCardService
81 val handler = null in <lambda>() constant
96 val handler = null in <lambda>() constant
110 val handler = null in <lambda>() constant
117 val handler = null in <lambda>() constant
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DSilentModeHandlerUnitTest.java71 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSilentModeHwStateMonitoring() local
87 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedSilentMode() local
101 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testRebootForForcedNonSilentMode() local
115 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testUpdateKernelSilentMode() local
171 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testStopSilentModeHwStateMonitoring() local
189 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toForced() local
209 SilentModeHandler handler = new SilentModeHandler(mCarPowerManagementService, in testSetSilentMode_toNonForced() local
243 private void assertSilentMode(SilentModeHandler handler, boolean isForcedMode, in assertSilentMode()
/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/cpp/powerpolicy/server/tests/
DSilentModeHandlerTest.cpp61 explicit SilentModeHandlerPeer(SilentModeHandler* handler) : mHandler(handler) {} in SilentModeHandlerPeer()
128 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
144 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
159 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
176 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
194 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
212 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
231 SilentModeHandler handler(carPowerPolicyServer.get()); in TEST_F() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapUtilsTest.java178 Handler handler = new Handler(handlerThread.getLooper()); in fetchAndSetContacts_whenCursorIsNull_returnsMinusOne() local
204 Handler handler = new Handler(handlerThread.getLooper()); in fetchAndSetContacts_whenIsLoadTrue_returnsContactsSetSize() local
231 Handler handler = new Handler(handlerThread.getLooper()); in fetchAndSetContacts_whenIsLoadFalse_returnsContactsSetSize() local
251 Handler handler = new Handler(handlerThread.getLooper()); in updateSecondaryVersionCounter_whenCursorIsNull_shouldNotCrash() local
286 Handler handler = new Handler(handlerThread.getLooper()); in updateSecondaryVersionCounter_whenContactsAreAdded() local
313 Handler handler = new Handler(handlerThread.getLooper()); in updateSecondaryVersionCounter_whenContactsAreDeleted() local
/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DLooperWrapper.cpp45 void LooperWrapper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
54 void LooperWrapper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
64 void LooperWrapper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
/packages/services/Car/cpp/evs/manager/1.1/stats/
DLooperWrapper.cpp47 void LooperWrapper::sendMessage(const sp<MessageHandler>& handler, const Message& message) { in sendMessage()
56 void LooperWrapper::sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler, in sendMessageAtTime()
66 void LooperWrapper::removeMessages(const sp<MessageHandler>& handler) { in removeMessages()
/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()
49 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/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManagerTest.java108 Handler handler = new Handler(thread.getLooper()); in testLockTimeout() local
124 private void acquireLock(Handler handler, CloseableReentrantLock lock) in acquireLock()
130 private void releaseLock(Handler handler, CloseableReentrantLock lock) in releaseLock()
136 private void waitForHandler(Handler handler) throws InterruptedException, TimeoutException { in waitForHandler()
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.cpp74 void LooperStub::sendMessage(const android::sp<MessageHandler>& handler, const Message& message) { in sendMessage()
78 void LooperStub::sendMessageAtTime(nsecs_t uptime, const android::sp<MessageHandler>& handler, in sendMessageAtTime()
96 void LooperStub::removeMessages(const android::sp<MessageHandler>& handler) { in removeMessages()
102 void LooperStub::removeMessages(const android::sp<MessageHandler>& handler, int what) { in removeMessages()
/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/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/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_mock.h36 explicit MockLink(os::Handler* handler, l2cap::internal::ParameterProvider* parameter_provider) in MockLink()
39 os::Handler* handler, in MockLink()
/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputUtils.java55 public static DvrPlayback configureDvrPlayback(Tuner tuner, Handler handler, int dataFormat) { in configureDvrPlayback()
96 public static void tune(Tuner tuner, Handler handler) { in tune()
119 public static Filter createSectionFilter(Tuner tuner, Handler handler, in createSectionFilter()
134 public static Filter createAvFilter(Tuner tuner, Handler handler, in createAvFilter()
/packages/services/Car/car-lib/src/android/car/
DCarBugreportManager.java124 Handler handler) { in CarBugreportManagerCallbackWrapper()
132 Handler handler = mWeakHandler.get(); in onProgress() local
141 Handler handler = mWeakHandler.get(); in onError() local
150 Handler handler = mWeakHandler.get(); in onFinished() local
/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/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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java118 TestableHandler handler = spy(new TestableHandler(Looper.getMainLooper())); in sendConnectCancelMessage() local
129 TestableHandler handler = spy(new TestableHandler(Looper.getMainLooper())); in sendConnectTimeoutMessage() local
140 TestableHandler handler = spy(new TestableHandler(Looper.getMainLooper())); in updateMasInstances() local
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSerialDexLoaderUnitTest.java48 TestVerificationHandler handler = new TestVerificationHandler(/*shouldPass=*/ true); in loadSingleDex_succeeds() local
97 TestVerificationHandler handler = new TestVerificationHandler(/*shouldPass=*/ false); in failedSingleVerification() local
107 TestVerificationHandler handler = new TestVerificationHandler(/* shouldPass= */ false); in getDexListFails_handlesException() local
118 TestVerificationHandler handler = new TestVerificationHandler(/* shouldPass= */ false); in loadSymbolsFails_handlesException() local
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMulticastPacketReader.java71 @NonNull ParcelFileDescriptor socket, @NonNull Handler handler, in MulticastPacketReader()
115 public void addPacketHandler(@NonNull PacketHandler handler) { in addPacketHandler()
124 public void removePacketHandler(@NonNull PacketHandler handler) { in removePacketHandler()
/packages/modules/Bluetooth/system/gd/l2cap/le/
Dfixed_channel_manager.cc27 … OnConnectionFailureCallback on_fail_callback, os::Handler* handler) { in ConnectServices()
39 … OnConnectionOpenCallback on_connection_open, os::Handler* handler) { in RegisterService()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfixed_channel_manager.cc27 os::Handler* handler) { in ConnectServices()
39 … OnConnectionOpenCallback on_connection_open, os::Handler* handler) { in RegisterService()

12345678910>>...26