Home
last modified time | relevance | path

Searched refs:mExecutor (Results 1 – 25 of 269) sorted by relevance

1234567891011

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
H A DConditionMonitorTest.java116 mExecutor.runAllReady(); in testOverridingCondition()
128 mExecutor.runAllReady(); in testOverridingCondition()
139 mExecutor.runAllReady(); in testOverridingCondition()
165 mExecutor.runAllReady(); in testMultipleOverridingConditions()
179 mExecutor.runAllReady(); in testMultipleOverridingConditions()
195 mExecutor.runAllReady(); in testUpdateRemovedCallback()
200 mExecutor.runAllReady(); in testUpdateRemovedCallback()
208 mExecutor.runAllReady(); in addCallback_addFirstCallback_addCallbackToAllConditions()
214 mExecutor.runAllReady(); in addCallback_addFirstCallback_addCallbackToAllConditions()
223 mExecutor.runAllReady(); in addCallback_addFirstCallback_reportWithDefaultValue()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/
H A DDreamOverlayStateControllerTest.java79 mExecutor.runAllReady(); in testStateChange_overlayActive()
86 mExecutor.runAllReady(); in testStateChange_overlayActive()
90 mExecutor.runAllReady(); in testStateChange_overlayActive()
103 mExecutor.runAllReady(); in testCallback()
115 mExecutor.runAllReady(); in testCallback()
125 mExecutor.runAllReady(); in testNotifyOnCallbackAdd()
129 mExecutor.runAllReady(); in testNotifyOnCallbackAdd()
138 mExecutor.runAllReady(); in testNotifyOnCallbackAddOverlayDisabled()
142 mExecutor.runAllReady(); in testNotifyOnCallbackAddOverlayDisabled()
166 mExecutor.runAllReady(); in testComplicationFilteringWhenShouldShowComplications()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileLifecycleManagerTest.java122 mExecutor); in setUp()
161 mExecutor.runAllReady(); in testBind()
170 mExecutor.runAllReady(); in testPackageReceiverExported()
181 mExecutor.runAllReady(); in testUnbind()
183 mExecutor.runAllReady(); in testUnbind()
190 mExecutor.runAllReady(); in testTileServiceCallbacks()
207 mExecutor.runAllReady(); in testAddedBeforeBind()
322 mExecutor); in testFalseBindCallsUnbind()
343 mExecutor); in testVersionUDoesNotBindsAllowBackgroundActivity()
364 mExecutor); in testVersionLessThanUBindsAllowBackgroundActivity()
[all …]
/aosp14/frameworks/base/core/java/android/service/voice/
H A DSoftwareHotwordDetector.java59 private final Executor mExecutor; field in SoftwareHotwordDetector
71 mExecutor = executor != null ? executor : new HandlerExecutor( in SoftwareHotwordDetector()
78 new InitializationStateListener(mExecutor, mCallback), in initialize()
83 Binder.withCleanCallingIdentity(() -> mExecutor.execute(() -> in onDetectorRemoteException()
100 new BinderCallback(mExecutor, mCallback)); in startRecognition()
157 private final Executor mExecutor; field in SoftwareHotwordDetector.BinderCallback
161 this.mExecutor = executor; in BinderCallback()
206 private final Executor mExecutor; field in SoftwareHotwordDetector.InitializationStateListener
210 this.mExecutor = executor; in InitializationStateListener()
293 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onStatusReported()
[all …]
H A DVisualQueryDetector.java64 private final Executor mExecutor; field in VisualQueryDetector
74 mExecutor = executor; in VisualQueryDetector()
247 super(mManagerService, mExecutor, /* callback= */ null); in VisualQueryDetectorInitializationDelegate()
286 private final Executor mExecutor; field in VisualQueryDetector.BinderCallback
290 this.mExecutor = executor; in BinderCallback()
298 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onQueryDetected()
305 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onQueryFinished()
312 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onQueryRejected()
335 private final Executor mExecutor; field in VisualQueryDetector.InitializationStateListener
341 this.mExecutor = executor; in InitializationStateListener()
[all …]
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DObservableServiceConnectionTest.java95 mExecutor, in setUp()
112 mExecutor.runAll(); in testConnect()
122 mExecutor.runAll(); in testConnect()
129 mExecutor.runAll(); in testDisconnectBeforeBind()
131 mExecutor.runAll(); in testDisconnectBeforeBind()
139 mExecutor.runAll(); in testDisconnect()
145 mExecutor.runAll(); in testDisconnect()
161 mExecutor.runAll(); in testBindingDied()
167 mExecutor.runAll(); in testBindingDied()
178 mExecutor.runAll(); in testNullBinding()
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java40 private final Executor mExecutor; field in CallbackProxies.SessionStateCallbackProxy
45 mExecutor = checkNotNull(executor, "executor must not be null"); in SessionStateCallbackProxy()
53 mExecutor.execute(() -> mCallback.onConfigured(session)); in onConfigured()
64 mExecutor.execute(() -> mCallback.onConfigureFailed(session)); in onConfigureFailed()
74 mExecutor.execute(() -> mCallback.onReady(session)); in onReady()
84 mExecutor.execute(() -> mCallback.onActive(session)); in onActive()
94 mExecutor.execute(() -> mCallback.onCaptureQueueEmpty(session)); in onCaptureQueueEmpty()
104 mExecutor.execute(() -> mCallback.onClosed(session)); in onClosed()
114 mExecutor.execute(() -> mCallback.onSurfacePrepared(session, surface)); in onSurfacePrepared()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
H A DRepeatableExecutorTest.java40 private RepeatableExecutor mExecutor; field in RepeatableExecutorTest
48 mExecutor = new RepeatableExecutorImpl(mFakeExecutor); in setUp()
56 mExecutor.execute(mCountingTask); in testExecute()
64 mExecutor.executeRepeatedly(mCountingTask, DELAY, DELAY); in testRepeats()
76 mExecutor.executeRepeatedly(mCountingTask, 2 * DELAY, DELAY); in testNoExecutionBeforeStartDelay()
86 mExecutor.executeRepeatedly(mCountingTask, 2 * DELAY, DELAY); in testExecuteAfterStartDelay()
98 mExecutor.executeRepeatedly(mCountingTask, 0L, DELAY); in testExecuteWithZeroStartDelay()
108 mExecutor.executeRepeatedly(mCountingTask, DELAY, DELAY); in testAdvanceTimeTwice()
122 Runnable cancel = mExecutor.executeRepeatedly(mCountingTask, DELAY, DELAY); in testCancel()
135 Runnable cancel = mExecutor.executeRepeatedly(mCountingTask, DELAY, DELAY); in testCancelAfterStart()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/
H A DTouchInsetManager.java47 private final Executor mExecutor; field in TouchInsetManager.TouchInsetSession
75 mExecutor = executor; in TouchInsetSession()
83 mExecutor.execute(() -> { in addViewToTracking()
96 mExecutor.execute(() -> { in removeViewFromTracking()
105 mExecutor.execute(() -> { in updateTouchRegions()
136 mExecutor.execute(() -> { in clear()
146 private final Executor mExecutor; field in TouchInsetManager
153 mExecutor = executor; in TouchInsetManager()
168 mExecutor.execute(() -> completer.set( in checkWithinTouchRegion()
209 mExecutor.execute(() -> { in setTouchRegions()
[all …]
/aosp14/frameworks/base/core/java/android/telephony/
H A DTelephonyCallback.java1645 private Executor mExecutor; field in TelephonyCallback.IPhoneStateListenerStub
1649 mExecutor = executor; in IPhoneStateListenerStub()
1777 () -> mExecutor.execute( in onPreciseDataConnectionStateChanged()
1800 () -> mExecutor.execute( in onVoiceActivationStateChanged()
1810 () -> mExecutor.execute( in onDataActivationStateChanged()
1820 () -> mExecutor.execute( in onUserMobileDataStateChanged()
1829 () -> mExecutor.execute( in onDisplayInfoChanged()
1852 () -> mExecutor.execute( in onEmergencyNumberListChanged()
1863 () -> mExecutor.execute( in onOutgoingEmergencyCall()
1875 () -> mExecutor.execute( in onOutgoingEmergencySms()
[all …]
H A DPhoneStateListener.java1322 private Executor mExecutor; field in PhoneStateListener.IPhoneStateListenerStub
1326 mExecutor = executor; in IPhoneStateListenerStub()
1453 () -> mExecutor.execute( in onPreciseDataConnectionStateChanged()
1462 () -> mExecutor.execute( in onDataConnectionRealTimeInfoChanged()
1479 () -> mExecutor.execute( in onVoiceActivationStateChanged()
1488 () -> mExecutor.execute( in onDataActivationStateChanged()
1497 () -> mExecutor.execute( in onUserMobileDataStateChanged()
1506 () -> mExecutor.execute( in onDisplayInfoChanged()
1531 () -> mExecutor.execute( in onEmergencyNumberListChanged()
1541 () -> mExecutor.execute( in onOutgoingEmergencyCall()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/condition/
H A DSelfExecutingMonitor.java30 private final FakeExecutor mExecutor; field in SelfExecutingMonitor
37 mExecutor = executor; in SelfExecutingMonitor()
43 mExecutor.runAllReady(); in addSubscription()
50 mExecutor.runNextReady(); in removeSubscription()
59 final FakeExecutor mExecutor = new FakeExecutor(mFakeSystemClock); in createInstance() local
60 return new SelfExecutingMonitor(mExecutor); in createInstance()
/aosp14/frameworks/base/telephony/java/android/telephony/mbms/
H A DInternalStreamingServiceCallback.java27 private final Executor mExecutor; field in InternalStreamingServiceCallback
33 mExecutor = executor; in InternalStreamingServiceCallback()
44 mExecutor.execute(new Runnable() { in onError()
63 mExecutor.execute(new Runnable() { in onStreamStateUpdated()
82 mExecutor.execute(new Runnable() { in onMediaDescriptionUpdated()
101 mExecutor.execute(new Runnable() { in onBroadcastSignalStrengthUpdated()
120 mExecutor.execute(new Runnable() { in onStreamMethodUpdated()
H A DInternalGroupCallSessionCallback.java26 private final Executor mExecutor; field in InternalGroupCallSessionCallback
33 mExecutor = executor; in InternalGroupCallSessionCallback()
44 mExecutor.execute(new Runnable() { in onError()
63 mExecutor.execute(new Runnable() { in onAvailableSaisUpdated()
82 mExecutor.execute(new Runnable() { in onServiceInterfaceAvailable()
101 mExecutor.execute(new Runnable() { in onMiddlewareReady()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
H A DObservableServiceConnectionTest.java115 mIntent, mUserTracker, mExecutor, mTransformer); in testConnect()
119 mExecutor.runAllReady(); in testConnect()
126 mExecutor.runAllReady(); in testConnect()
135 mIntent, mUserTracker, mExecutor, mTransformer); in testDisconnect()
138 mExecutor.runAllReady(); in testDisconnect()
148 mExecutor.runAllReady(); in testDisconnect()
166 mIntent, mUserTracker, mExecutor, mTransformer); in testUnbind()
169 mExecutor.runAllReady(); in testUnbind()
178 mExecutor.runAllReady(); in testUnbind()
182 mExecutor.runAllReady(); in testUnbind()
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/ims/aidl/
H A DSipDelegateConnectionAidlWrapper.java62 mExecutor.execute(() ->
74 mExecutor.execute(() ->
86 mExecutor.execute(() ->
97 mExecutor.execute(() ->
109 mExecutor.execute(() ->
123 mExecutor.execute(() ->
134 mExecutor.execute(() ->
145 mExecutor.execute(() ->
154 private final Executor mExecutor; field in SipDelegateConnectionAidlWrapper
167 mExecutor = executor; in SipDelegateConnectionAidlWrapper()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
H A DAsyncSensorManager.java59 private final Executor mExecutor; field in AsyncSensorManager
66 mExecutor = threadFactory.buildExecutorOnNewThread("async_sensor"); in AsyncSensorManager()
89 mExecutor.execute(() -> { in registerListenerImpl()
121 mExecutor.execute(() -> mInner.registerDynamicSensorCallback(callback, handler)); in registerDynamicSensorCallbackImpl()
126 mExecutor.execute(() -> mInner.unregisterDynamicSensorCallback(callback)); in unregisterDynamicSensorCallbackImpl()
137 mExecutor.execute(() -> { in requestTriggerSensorImpl()
150 mExecutor.execute(() -> { in cancelTriggerSensorImpl()
170 mExecutor.execute(() -> { in registerPluginListener()
186 mExecutor.execute(() -> { in unregisterPluginListener()
206 mExecutor.execute(() -> mInner.setOperationParameter(parameter)); in setOperationParameterImpl()
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DDomainSelectionService.java518 private final @NonNull Executor mExecutor; field in DomainSelectionService.TransportSelectorCallbackWrapper
526 mExecutor = executor; in TransportSelectorCallbackWrapper()
586 private final @NonNull Executor mExecutor; field in DomainSelectionService.TransportSelectorCallbackWrapper.ITransportSelectorResultCallbackAdapter
592 mExecutor = executor; in ITransportSelectorResultCallbackAdapter()
626 mExecutor = executor; in IDomainSelectorAdapter()
670 private final @NonNull Executor mExecutor; field in DomainSelectionService.WwanSelectorCallbackWrapper
677 mExecutor = executor; in WwanSelectorCallbackWrapper()
722 mExecutor = executor; in IWwanSelectorResultCallbackAdapter()
738 private @NonNull Executor mExecutor; field in DomainSelectionService
847 if (mExecutor == null) { in getCachedExecutor()
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerConstantsTest.java48 ExecutorService mExecutor; field in WindowManagerConstantsTest
55 mExecutor = Executors.newSingleThreadExecutor(); in setUp()
64 mExecutor.shutdown(); in tearDown()
75 mConstants.start(mExecutor); in test_constantsAreLoaded_initially()
84 mConstants.start(mExecutor); in test_constantsAreLoaded_afterChange()
100 mConstants.start(mExecutor); in test_changedGestureExclusionLimit_invokesCallback()
110 mConstants.start(mExecutor); in test_changedPreQStickyImmersive_invokesCallback()
122 mConstants.start(mExecutor); in test_minimumExclusionLimitIs_200dp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/telephony/
H A DTelephonyListenerManagerTest.java49 private FakeExecutor mExecutor = new FakeExecutor(new FakeSystemClock()); field in TelephonyListenerManagerTest
59 mTelephonyManager, mExecutor, mTelephonyCallback); in setUp()
71 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testAddListenerRegisters_ActiveDataSubscriptionIdListener()
83 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testAddListenerRegisters_CallStateListener()
95 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testAddListenerRegisters_ServiceStateListener()
109 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testAddListenerRegisters_mixed()
120 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testRemoveListenerUnregisters_ActiveDataSubscriptionIdListener()
140 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testRemoveListenerUnregisters_CallStateListener()
160 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testRemoveListenerUnregisters_ServiceStateListener()
182 .registerTelephonyCallback(mExecutor, mTelephonyCallback); in testRemoveListenerUnregisters_mixed()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DKeyguardIndicationRotateTextViewControllerTest.java69 private DelayableExecutor mExecutor; field in KeyguardIndicationRotateTextViewControllerTest
181 verify(mExecutor).executeDelayed(any(), anyLong()); in testShowTwoRotatingMessages()
211 reset(mExecutor); in testUpdateRotatingMessageForUndisplayedIndication()
235 reset(mExecutor); in testUpdateImmediately()
246 verify(mExecutor).executeDelayed(any(), anyLong()); in testUpdateImmediately()
250 reset(mExecutor); in testUpdateImmediately()
259 verify(mExecutor).executeDelayed(any(), anyLong()); in testUpdateImmediately()
268 reset(mExecutor); in testSameMessage_noIndicationUpdate()
288 reset(mExecutor); in testTransientIndication()
297 verify(mExecutor).executeDelayed(any(), anyLong()); in testTransientIndication()
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A DTaskOrganizer.java47 private final Executor mExecutor; field in TaskOrganizer
56 mExecutor = executor != null ? executor : Runnable::run; in TaskOrganizer()
299 return mExecutor; in getExecutor()
305 mExecutor.execute(() -> TaskOrganizer.this.addStartingWindow(windowInfo));
310 mExecutor.execute(() -> TaskOrganizer.this.removeStartingWindow(removalInfo));
315 mExecutor.execute(() -> TaskOrganizer.this.copySplashScreenView(taskId));
325 mExecutor.execute(() -> TaskOrganizer.this.onTaskAppeared(taskInfo, leash));
330 mExecutor.execute(() -> TaskOrganizer.this.onTaskVanished(taskInfo));
335 mExecutor.execute(() -> TaskOrganizer.this.onTaskInfoChanged(info));
340 mExecutor.execute(() -> TaskOrganizer.this.onBackPressedOnTaskRoot(info));
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/scrim/
H A DBouncerlessScrimController.java57 private final Executor mExecutor; field in BouncerlessScrimController
62 mExecutor.execute(() -> mCallbacks.add(listener)); in addCallback()
67 mExecutor.execute(() -> mCallbacks.remove(listener)); in removeCallback()
76 mExecutor = executor; in BouncerlessScrimController()
86 mExecutor.execute(() -> mCallbacks.forEach(callback -> callback.onWakeup())); in expand()
88 mExecutor.execute(() -> mCallbacks.forEach(callback -> callback.onExpansion(event))); in expand()
/aosp14/frameworks/base/core/java/android/credentials/
H A DCredentialManager.java552 private final Executor mExecutor; field in CredentialManager.PrepareGetCredentialTransport
561 mExecutor = executor; in PrepareGetCredentialTransport()
581 mExecutor.execute( in onError()
656 mExecutor = executor; in GetCredentialTransport()
693 mExecutor.execute( in onError()
714 mExecutor = executor; in CreateCredentialTransport()
751 mExecutor.execute( in onError()
767 mExecutor = executor; in ClearCredentialStateTransport()
785 mExecutor.execute( in onError()
802 mExecutor = executor; in SetEnabledProvidersTransport()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/credentials/
H A DCredentialManagerTest.java82 private Executor mExecutor; field in CredentialManagerTest
153 mExecutor = Runnable::run; in setup()
173 null, mGetRequest, null, mExecutor, result -> {})); in testGetCredential_nullActivity()
242 mMockActivity, mGetRequest, cancellation, mExecutor, callback); in testGetCredential_cancel()
333 mMockActivity, mCreateRequest, cancellation, mExecutor, callback); in testCreateCredential_cancel()
356 mMockActivity, mCreateRequest, null, mExecutor, callback); in testCreateCredential_failed()
384 mMockActivity, mCreateRequest, null, mExecutor, callback); in testCreateCredential_success()
416 mClearRequest, null, mExecutor, null)); in testClearCredentialState_nullCallback()
425 mClearRequest, cancellation, mExecutor, result -> {}); in testClearCredential_alreadyCancelled()
551 null, null, 0, mExecutor, response -> {})); in testSetEnabledProviders_nullProviders()
[all …]

1234567891011