Home
last modified time | relevance | path

Searched refs:getMainExecutor (Results 1 – 25 of 203) sorted by relevance

123456789

/aosp12/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/watchdog/
H A DCarWatchdogManagerPermissionTest.java77 () -> mCarWatchdogManager.registerClient(mContext.getMainExecutor(), client, in testRegisterClient()
87 mCarWatchdogManager.registerClient(mContext.getMainExecutor(), client, in testUnregisterClient()
116 mCarWatchdogManager.registerClient(mContext.getMainExecutor(), client, in testTellClientAlive()
156 mContext.getMainExecutor(), in testAddResourceOveruseListenerForSystem()
167 mCarWatchdogManager.addResourceOveruseListenerForSystem(mContext.getMainExecutor(), in testRemoveResourceOveruseListenerForSystem()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
H A DBluetoothBondedDevicesPreferenceController.java235 getContext().getMainExecutor().execute(() -> { in updateBluetoothActionItemAvailability()
245 getContext().getMainExecutor().execute(() -> { in updatePhoneActionItemAvailability()
256 getContext().getMainExecutor().execute(() -> { in updateMediaActionItemAvailability()
266 getContext().getMainExecutor().execute(() -> { in disableAllActionItems()
/aosp12/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
H A DClusterHomeApplication.java117 mHomeManager.registerClusterStateListener(getMainExecutor(), mClusterHomeListener); in initClusterHome()
124 mHomeManager.registerClusterStateListener(getMainExecutor(), mClusterHomeListener); in initClusterHome()
126 mUserManager.addListener(getMainExecutor(), mUserLifecycleListener); in initClusterHome()
212 getMainExecutor().execute(ClusterHomeApplication.this::handleTaskStackChanged);
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/dpp/
H A DWifiDppInitiatorViewModel.java76 WifiManager.EASY_CONNECT_NETWORK_ROLE_STA, getApplication().getMainExecutor(), in startEasyConnectAsConfiguratorInitiator()
84 wifiManager.startEasyConnectAsEnrolleeInitiator(qrCode, getApplication().getMainExecutor(), in startEasyConnectAsEnrolleeInitiator()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
H A DFanSpeedBarSegment.java69 getContext().getMainExecutor().execute(() -> { in playTurnOnAnimation()
81 getContext().getMainExecutor().execute(() -> { in playTurnOffAnimation()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
H A DPrivacyChipViewController.java75 mContext.getMainExecutor().execute(() -> {
244 mContext.getMainExecutor().execute(() -> { in setChipVisibility()
283 mContext.getMainExecutor().execute(() -> { in setUser()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScrollCaptureController.java169 mSessionFuture.addListener(this::onStartComplete, mContext.getMainExecutor()); in run()
206 }, mContext.getMainExecutor()); in requestNextTile()
320 }, mContext.getMainExecutor()); in finishCapture()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
H A DManageRoleHolderStateLiveData.java84 Executor executor = context.getMainExecutor(); in setRoleHolderAsUser()
134 Executor executor = context.getMainExecutor(); in clearRoleHoldersAsUser()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
H A DClusterHomeManagerTest.java162 getContext().getMainExecutor(), mClusterStateListener); in setUp()
165 getContext().getMainExecutor(), mClusterNavigationStateListener); in setUp()
258 getContext().getMainExecutor(), mClusterStateListener)); in testNoHalProperty_throwsException()
263 getContext().getMainExecutor(), mClusterNavigationStateListener)); in testNoHalProperty_throwsException()
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/
H A DRcsFeatureController.java186 mContext.getMainExecutor()); in RcsFeatureController()
200 mContext.getMainExecutor()); in RcsFeatureController()
211 mContext.getMainExecutor(), LOG_TAG); in connect()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
H A DMicPrivacyChip.java325 getContext().getMainExecutor().execute(() -> { in animateToOrangeCircle()
406 getContext().getMainExecutor().execute(() -> { in reset()
432 getContext().getMainExecutor().execute(() -> { in setIconHighlighted()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
H A DAppOpsActiveWatcherTest.java63 AppOpsManager.OPSTR_RECORD_AUDIO}, getContext().getMainExecutor(), listener); in testWatchActiveOps()
120 getContext().getMainExecutor(), listener); in testWatchActiveOps()
/aosp12/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
H A DSmartForwardingActivity.java125 }, ContextCompat.getMainExecutor(this)); in enableSmartForwarding()
148 }, ContextCompat.getMainExecutor(this)); in disableSmartForwarding()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DSplitScreenTransitions.java177 mTransitions.getMainExecutor(), remoteTransition); in startEnterTransition()
231 mTransitions.getMainExecutor().execute(() -> { in startExampleAnimation()
279 mTransitions.getMainExecutor().execute(() -> { in startExampleResizeAnimation()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/
H A DSplitScreenTransitions.java177 mTransitions.getMainExecutor(), remoteTransition); in startEnterTransition()
231 mTransitions.getMainExecutor().execute(() -> { in startExampleAnimation()
279 mTransitions.getMainExecutor().execute(() -> { in startExampleResizeAnimation()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/
H A DMobileNetworkPreferenceControllerTest.java122 mContext.getMainExecutor(), mController.mTelephonyCallback); in goThroughLifecycle_isAvailable_shouldListenToServiceChange()
145 mContext.getMainExecutor(), mController.mTelephonyCallback); in serviceStateChange_shouldUpdatePrefSummary()
/aosp12/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
H A DDisplayAreaButton.java46 context.getMainExecutor().execute(() -> setSelected(/* selected= */ false));
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitScreenTransitions.java137 mTransitions.getMainExecutor().execute(() -> { in startExampleAnimation()
185 mTransitions.getMainExecutor().execute(() -> { in startExampleResizeAnimation()
325 mTransitions.getMainExecutor().execute(() -> { in dismissSplit()
/aosp12/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
H A DFileUploadActivity.java185 getMainExecutor()); in initLayout()
220 mProvisioningManager.registerRcsProvisioningCallback(getMainExecutor(), mCallback); in registerProvisioning()
249 NAF_PREFIX + uploadUrl, getMainExecutor())); in initFileTransferController()
H A DUceActivity.java95 mImsRcsManager.getUceAdapter().requestCapabilities(contactList, getMainExecutor(), in initLayout()
136 getMainExecutor(), new RcsUceAdapter.CapabilitiesCallback() { in initLayout()
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DNavigationModeSwitchRule.java183 targetContext.getMainExecutor().execute(() ->
186 targetContext.getMainExecutor().execute(() ->
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
H A DProfilesListPreferenceController.java56 getContext().getMainExecutor().execute(() -> getFragmentController().goBack()); in updateState()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
H A DGlobalConcurrencyModule.java73 return context.getMainExecutor(); in provideMainExecutor()
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DNetworkPreferenceCategoryController.java47 context.getMainExecutor()); in NetworkPreferenceCategoryController()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
H A DTestableDeviceConfigTest.java157 ActivityThread.currentApplication().getMainExecutor(), changeListener); in testListener_setProperty()
182 ActivityThread.currentApplication().getMainExecutor(), changeListener); in testListener_setProperties()

123456789