Home
last modified time | relevance | path

Searched refs:execute (Results 1 – 25 of 909) sorted by relevance

12345678910>>...37

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
DParseableCommandTest.kt48 override fun execute(pw: PrintWriter) {} in testFactoryMethods() method
54 override fun execute(pw: PrintWriter) {} in testFactoryMethods() method
69 override fun execute(pw: PrintWriter) {} in testFactoryMethods() method
100 override fun execute(pw: PrintWriter) {} in factoryMethods_enforceShortNameRules() method
109 override fun execute(pw: PrintWriter) {} in factoryMethods_enforceShortNameRules() method
122 override fun execute(pw: PrintWriter) {} in factoryMethods_enforceLongNames_notPrefixed() method
131 override fun execute(pw: PrintWriter) {} in factoryMethods_enforceLongNames_notPrefixed() method
141 override fun execute(pw: PrintWriter) {} in executeDoesNotPropagateExceptions() method
150 cmd.execute(pw, throwingCommand) in executeDoesNotPropagateExceptions()
161 override fun execute(pw: PrintWriter) {} in executeFailingCommand_callsOnParseFailed() method
[all …]
/frameworks/base/telephony/java/android/telephony/satellite/
DSatelliteManager.java557 executor.execute(() -> Binder.withCleanCallingIdentity( in requestEnabled()
565 executor.execute(() -> Binder.withCleanCallingIdentity( in requestEnabled()
570 executor.execute(() -> Binder.withCleanCallingIdentity( in requestEnabled()
605 executor.execute(() -> Binder.withCleanCallingIdentity(() -> in requestIsEnabled()
609 executor.execute(() -> Binder.withCleanCallingIdentity(() -> in requestIsEnabled()
614 executor.execute(() -> Binder.withCleanCallingIdentity(() -> in requestIsEnabled()
622 executor.execute(() -> Binder.withCleanCallingIdentity(() -> callback.onError( in requestIsEnabled()
627 executor.execute(() -> Binder.withCleanCallingIdentity(() -> callback.onError( in requestIsEnabled()
662 executor.execute(() -> Binder.withCleanCallingIdentity(() -> in requestIsDemoModeEnabled()
666 executor.execute(() -> Binder.withCleanCallingIdentity(() -> in requestIsDemoModeEnabled()
[all …]
/frameworks/base/core/java/android/telephony/
DTelephonyCallback.java1741 () -> mExecutor.execute(() -> listener.onServiceStateChanged(serviceState))); in onServiceStateChanged()
1754 () -> mExecutor.execute(() -> listener.onMessageWaitingIndicatorChanged(mwi))); in onMessageWaitingIndicatorChanged()
1763 () -> mExecutor.execute(() -> listener.onCallForwardingIndicatorChanged(cfi))); in onCallForwardingIndicatorChanged()
1775 () -> mExecutor.execute(() -> listener.onCellLocationChanged(location))); in onCellLocationChanged()
1788 () -> mExecutor.execute(() -> listener.onCallStateChanged(state))); in onCallStateChanged()
1799 () -> mExecutor.execute(() -> in onDataConnectionStateChanged()
1804 () -> mExecutor.execute(() -> in onDataConnectionStateChanged()
1814 () -> mExecutor.execute(() -> listener.onDataActivity(direction))); in onDataActivity()
1823 () -> mExecutor.execute(() -> listener.onSignalStrengthsChanged( in onSignalStrengthsChanged()
1832 () -> mExecutor.execute(() -> listener.onCellInfoChanged(cellInfo))); in onCellInfoChanged()
[all …]
DPhoneStateListener.java1334 () -> mExecutor.execute(() -> psl.onServiceStateChanged(serviceState))); in onServiceStateChanged()
1342 () -> mExecutor.execute(() -> psl.onSignalStrengthChanged(asu))); in onSignalStrengthChanged()
1350 () -> mExecutor.execute(() -> psl.onMessageWaitingIndicatorChanged(mwi))); in onMessageWaitingIndicatorChanged()
1358 () -> mExecutor.execute(() -> psl.onCallForwardingIndicatorChanged(cfi))); in onCallForwardingIndicatorChanged()
1370 () -> mExecutor.execute(() -> psl.onCellLocationChanged(location))); in onCellLocationChanged()
1378 () -> mExecutor.execute(() -> psl.onCallStateChanged(state, incomingNumber))); in onLegacyCallStateChanged()
1391 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onDataConnectionStateChanged()
1398 Binder.withCleanCallingIdentity(() -> mExecutor.execute( in onDataConnectionStateChanged()
1411 () -> mExecutor.execute(() -> psl.onDataActivity(direction))); in onDataActivity()
1419 () -> mExecutor.execute(() -> psl.onSignalStrengthsChanged(signalStrength))); in onSignalStrengthsChanged()
[all …]
/frameworks/base/core/java/android/app/ondeviceintelligence/
DOnDeviceIntelligenceManager.java107 () -> callbackExecutor.execute(() -> versionConsumer.accept(0))); in getVersion()
111 () -> callbackExecutor.execute(() -> versionConsumer.accept(version))); in getVersion()
152 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in getFeature()
159 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in getFeature()
186 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in listFeatures()
193 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in listFeatures()
224 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in getFeatureDetails()
231 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in getFeatureDetails()
269 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in requestFeatureDownload()
275 Binder.withCleanCallingIdentity(() -> callbackExecutor.execute( in requestFeatureDownload()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCallbackProxies.java53 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFlagCommandTest.kt66 cmd.execute(pw, listOf(flagA.name)) in <lambda>()
72 cmd.execute(pw, listOf(stringFlag.name)) in <lambda>()
78 cmd.execute(pw, listOf(intFlag.name)) in <lambda>()
84 cmd.execute(pw, listOf(flagB.name, "on")) in <lambda>()
90 cmd.execute(pw, listOf(stringFlag.name, "set", "foobar")) in <lambda>()
96 cmd.execute(pw, listOf(intFlag.name, "put", "123")) in <lambda>()
102 cmd.execute(pw, listOf(flagB.name, "toggle")) in <lambda>()
108 cmd.execute(pw, listOf(flagA.name, "erase")) in <lambda>()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
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(() ->
231 mExecutor.execute(() -> mStateCallback.onDestroyed( in binderDied()
281 mExecutor.execute(() -> mMessageCallback.onMessageSendFailure(transactionId, reason)); in notifyLocalMessageFailedToSend()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java89 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()
213 mExecutor.execute(() -> { in unregisterListenerImpl()
/frameworks/base/telephony/java/android/telephony/mbms/
DInternalStreamingServiceCallback.java44 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()
DInternalGroupCallSessionCallback.java44 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()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DInitializerImpl.java64 sExecutor.execute(callback::onSuccess); in init()
66 executor.execute(callback::onSuccess); in init()
84 sExecutor.execute(callback::onSuccess); in deinit()
86 executor.execute(callback::onSuccess); in deinit()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/
DInitializerImpl.java64 sExecutor.execute(callback::onSuccess); in init()
66 executor.execute(callback::onSuccess); in init()
84 sExecutor.execute(callback::onSuccess); in deinit()
86 executor.execute(callback::onSuccess); in deinit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaSessionBasedFilter.kt74 backgroundExecutor.execute { in <lambda>()
103 backgroundExecutor.execute { in <lambda>()
151 backgroundExecutor.execute { dispatchSmartspaceMediaDataLoaded(key, data) } in <lambda>()
156 backgroundExecutor.execute { in <lambda>()
163 backgroundExecutor.execute { dispatchSmartspaceMediaDataRemoved(key, immediately) } in <lambda>()
172 foregroundExecutor.execute { in <lambda>()
178 foregroundExecutor.execute { in <lambda>()
184 foregroundExecutor.execute { in <lambda>()
190 foregroundExecutor.execute { in <lambda>()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java199 executor.execute(() -> callback.onComplete(resultCode, profiles)); in requestAllProfiles()
231 executor.execute(() -> callback.onComplete(resultCode, profile)); in requestProfile()
268 executor.execute(() -> callback.onComplete(resultCode, profile)); in requestEnabledProfileForPort()
301 executor.execute(() -> callback.onComplete(resultCode, null)); in disableProfile()
339 executor.execute(() -> callback.onComplete(resultCode, profile)); in switchToProfile()
376 executor.execute(() -> callback.onComplete(resultCode, profile)); in switchToProfile()
409 executor.execute(() -> callback.onComplete(resultCode, null)); in setNickname()
441 executor.execute(() -> callback.onComplete(resultCode, null)); in deleteProfile()
474 executor.execute(() -> callback.onComplete(resultCode, null)); in resetMemory()
505 executor.execute(() -> callback.onComplete(resultCode, address)); in requestDefaultSmdpAddress()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DVibratorHelper.java84 mExecutor.execute(() -> in vibrate()
97 mExecutor.execute(() -> mVibrator.vibrate(uid, opPkg, vibe, reason, attributes)); in vibrate()
107 mExecutor.execute(() -> mVibrator.vibrate(effect, attributes)); in vibrate()
117 mExecutor.execute(() -> mVibrator.vibrate(effect)); in vibrate()
127 mExecutor.execute(() -> mVibrator.vibrate(effect, attributes)); in vibrate()
144 mExecutor.execute(mVibrator::cancel); in cancel()
/frameworks/base/core/java/android/window/
DTaskOrganizer.java280 mExecutor.execute(() -> TaskOrganizer.this.addStartingWindow(windowInfo));
285 mExecutor.execute(() -> TaskOrganizer.this.removeStartingWindow(removalInfo));
290 mExecutor.execute(() -> TaskOrganizer.this.copySplashScreenView(taskId));
295 mExecutor.execute(() -> TaskOrganizer.this.onAppSplashScreenViewRemoved(taskId));
300 mExecutor.execute(() -> TaskOrganizer.this.onTaskAppeared(taskInfo, leash));
305 mExecutor.execute(() -> TaskOrganizer.this.onTaskVanished(taskInfo));
310 mExecutor.execute(() -> TaskOrganizer.this.onTaskInfoChanged(info));
315 mExecutor.execute(() -> TaskOrganizer.this.onBackPressedOnTaskRoot(info));
320 mExecutor.execute(() -> TaskOrganizer.this.onImeDrawnOnTask(taskId));
/frameworks/base/telephony/java/android/service/euicc/
DEuiccService.java813 mExecutor.execute(new Runnable() { in downloadSubscription()
840 mExecutor.execute(new Runnable() { in getEid()
857 mExecutor.execute( in getAvailableMemoryInBytes()
884 mExecutor.execute(new Runnable() { in startOtaIfNecessary()
903 mExecutor.execute(new Runnable() { in getOtaStatus()
921 mExecutor.execute(new Runnable() { in getDownloadableSubscriptionMetadata()
954 mExecutor.execute(new Runnable() { in getDefaultDownloadableSubscriptionList()
971 mExecutor.execute(new Runnable() { in getEuiccProfileInfoList()
987 mExecutor.execute(new Runnable() { in getEuiccInfo()
1004 mExecutor.execute(new Runnable() { in deleteSubscription()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTaskController.java115 mShellExecutor.execute(() -> { in TaskViewTaskController()
187 mShellExecutor.execute(() -> { in startShortcutActivity()
214 mShellExecutor.execute(() -> { in startActivity()
261 mShellExecutor.execute(() -> { in prepareActivityOptions()
290 mShellExecutor.execute(() -> { in performRelease()
305 mListenerExecutor.execute(() -> { in notifyReleased()
337 mListenerExecutor.execute(() -> { in updateTaskVisibility()
378 mListenerExecutor.execute(() -> { in onTaskAppeared()
407 mListenerExecutor.execute(() -> { in onBackPressedOnTaskRoot()
461 mShellExecutor.execute(() -> { in surfaceCreated()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/
DTouchInsetManager.java83 mExecutor.execute(() -> { in addViewToTracking()
96 mExecutor.execute(() -> { in removeViewFromTracking()
105 mExecutor.execute(() -> { in updateTouchRegions()
136 mExecutor.execute(() -> { in clear()
168 mExecutor.execute(() -> completer.set( in checkWithinTouchRegion()
209 mExecutor.execute(() -> { in setTouchRegions()
228 mExecutor.execute(() -> { in clearRegion()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java60 fakeExecutor.execute(runnable); in testNoDelay()
64 fakeExecutor.execute(runnable); in testNoDelay()
84 fakeExecutor.execute(runnable); in testNoDelay()
85 fakeExecutor.execute(runnable); in testNoDelay()
234 fakeExecutor.execute(runnableA); in testExecutionOrder()
235 fakeExecutor.execute(runnableB); in testExecutionOrder()
236 fakeExecutor.execute(runnableC); in testExecutionOrder()
237 fakeExecutor.execute(runnableD); in testExecutionOrder()
249 fakeExecutor.execute(runnableB); in testExecutionOrder()
251 fakeExecutor.execute(runnableD); in testExecutionOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/
DBouncerlessScrimController.java62 mExecutor.execute(() -> mCallbacks.add(listener)); in addCallback()
67 mExecutor.execute(() -> mCallbacks.remove(listener)); in removeCallback()
86 mExecutor.execute(() -> mCallbacks.forEach(callback -> callback.onWakeup())); in expand()
88 mExecutor.execute(() -> mCallbacks.forEach(callback -> callback.onExpansion(event))); in expand()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DObservableServiceConnection.java157 mBgExecutor.execute(this::bindInternal); in bind()
180 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_UNBIND)); in unbind()
192 mBgExecutor.execute(() -> { in addCallback()
222 mBgExecutor.execute(() -> mCallbacks.removeIf(el-> el.get() == callback)); in removeCallback()
248 mBgExecutor.execute(() -> { in onServiceConnected()
287 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_DISCONNECTED)); in onServiceDisconnected()
292 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_BINDING_DIED)); in onBindingDied()
297 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_NULL_BINDING)); in onNullBinding()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/
DHingeSensorAngleProvider.kt44 singleThreadBgExecutor.execute { in start()
45 if (started) return@execute in start()
61 singleThreadBgExecutor.execute { in stop()
62 if (!started) return@execute in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayStatusBarItemsProvider.java74 mExecutor.execute(() -> { in addCallback()
89 mExecutor.execute(() -> { in removeCallback()
99 mExecutor.execute(() -> { in addStatusBarItem()
111 mExecutor.execute(() -> { in removeStatusBarItem()

12345678910>>...37