Home
last modified time | relevance | path

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

12345678910

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioVolumeGroupCallbackTest.java111 Executor executor = mContext.getMainExecutor(); in registerVolumeGroupCallbackToAudioManager_success()
112 mCoreAudioVolumeGroupCallback.init(mContext.getMainExecutor()); in registerVolumeGroupCallbackToAudioManager_success()
120 mCoreAudioVolumeGroupCallback.init(mContext.getMainExecutor()); in unregisterVolumeGroupCallbackToAudioManager_success()
147 Executor executor = mContext.getMainExecutor(); in onAudioVolumeGroupChanged_withValidGroupId_dispatchesVolumeChange()
148 mCoreAudioVolumeGroupCallback.init(mContext.getMainExecutor()); in onAudioVolumeGroupChanged_withValidGroupId_dispatchesVolumeChange()
165 Executor executor = mContext.getMainExecutor(); in onAudioVolumeGroupChanged_withValidGroupId_bailsOut()
166 mCoreAudioVolumeGroupCallback.init(mContext.getMainExecutor()); in onAudioVolumeGroupChanged_withValidGroupId_bailsOut()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DPrivacyChipViewController.java59 mContext.getMainExecutor().execute(() -> {
200 mContext.getMainExecutor().execute(() -> { in addPrivacyChipView()
204 mUserTracker.addCallback(mUserSwitchCallback, mContext.getMainExecutor()); in addPrivacyChipView()
231 mContext.getMainExecutor().execute(() -> { in setChipVisibility()
/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/
DCarTelemetryActivity.java143 getMainExecutor().execute(() -> { in onServiceBound()
249 getMainExecutor().execute(() -> { in refreshHistory()
307 getMainExecutor().execute(() -> { in printLog()
332 getMainExecutor().execute(() -> { in onRemoveButtonClicked()
343 getMainExecutor().execute(() -> { in onInfoButtonClicked()
356 getMainExecutor().execute(() -> { in onClearButtonClicked()
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/
DInterfaceEnabler.java38 mApplicationContext.getMainExecutor(), in enableInterface()
44 mApplicationContext.getMainExecutor(), in disableInterface()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsController.java195 mContext.getMainExecutor().execute(this::refresh); in onPresetSelected()
204 mContext.getMainExecutor().execute(() -> { in onPresetSelectionFailed()
234 mContext.getMainExecutor().execute(this::refresh); in onPresetInfoChanged()
243 mContext.getMainExecutor().execute(() -> { in onSetPresetNameFailed()
255 mContext.getMainExecutor().execute(() -> { in onSetPresetNameForGroupFailed()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/
DPowerManagerHelper.java56 mCarPowerManager.setListener(getMainExecutor(), mCarPowerStateListener); in PowerManagerHelper()
77 private static Executor getMainExecutor() { in getMainExecutor() method in PowerManagerHelper
/packages/apps/Settings/src/com/android/settings/network/tether/
DTetheringManagerModel.java43 .registerTetheringEventCallback(application.getMainExecutor(), mEventCallback); in TetheringManagerModel()
73 mTetheringManager.startTethering(type, getApplication().getMainExecutor(), in startTethering()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppInitiatorViewModel.java76 WifiManager.EASY_CONNECT_NETWORK_ROLE_STA, getApplication().getMainExecutor(), in startEasyConnectAsConfiguratorInitiator()
84 wifiManager.startEasyConnectAsEnrolleeInitiator(qrCode, getApplication().getMainExecutor(), in startEasyConnectAsEnrolleeInitiator()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java275 getContext().getMainExecutor().execute(() -> { in updateBluetoothActionItemAvailability()
285 getContext().getMainExecutor().execute(() -> { in updatePhoneActionItemAvailability()
297 getContext().getMainExecutor().execute(() -> { in updateMediaActionItemAvailability()
308 getContext().getMainExecutor().execute(() -> { in disableAllActionItems()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java130 mWifiManager.registerSoftApCallback(mAppContext.getMainExecutor(), mSoftApCallback); in WifiHotspotRepository()
141 mWifiManager.queryLastConfiguredTetheredApPassphraseSinceBoot(mAppContext.getMainExecutor(), in queryLastPasswordIfNeeded()
271 mAppContext.getMainExecutor(), mLastPasswordListener); in setSecurityType()
544 mWifiManager.registerActiveCountryCodeChangedCallback(mAppContext.getMainExecutor(), in startAutoRefresh()
607 mTetheringManager.startTethering(TETHERING_WIFI, mAppContext.getMainExecutor(), in startTethering()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
DFanSpeedBarSegment.java69 getContext().getMainExecutor().execute(() -> { in playTurnOnAnimation()
81 getContext().getMainExecutor().execute(() -> { in playTurnOffAnimation()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DPrivacyChip.java367 getContext().getMainExecutor().execute(() -> { in animateToOrangeCircle()
382 getContext().getMainExecutor().execute(() -> { in showIndicatorBorder()
459 getContext().getMainExecutor().execute(() -> { in reset()
485 getContext().getMainExecutor().execute(() -> { in setIconHighlighted()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionControllerTest.java151 request, doDryRun, REASON_MALWARE, sContext.getMainExecutor())); in revokePermissions()
154 return revokePermissions(request, doDryRun, REASON_MALWARE, sContext.getMainExecutor()); in revokePermissions()
298 false, REASON_INSTALLER_POLICY_VIOLATION, sContext.getMainExecutor())); in revokePermissionsPolicyViolationFromWrongPackage()
342 sContext.getMainExecutor(), in revokePermissionsWithNullRequests()
356 sContext.getMainExecutor(), null); in revokePermissionsWithNullCallback()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DManageRoleHolderStateLiveData.java84 Executor executor = context.getMainExecutor(); in setRoleHolderAsUser()
134 Executor executor = context.getMainExecutor(); in clearRoleHoldersAsUser()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DDistantDisplayController.java119 mContext.getMainExecutor(), mOnActiveSessionsChangedListener);
151 mContext.getMainExecutor(), mOnActiveSessionsChangedListener); in DistantDisplayController()
152 mUserTracker.addCallback(mUserChangedCallback, context.getMainExecutor()); in DistantDisplayController()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DRcsFeatureController.java193 mContext.getMainExecutor()); in RcsFeatureController()
207 mContext.getMainExecutor()); in RcsFeatureController()
218 mContext.getMainExecutor(), LOG_TAG); in connect()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DWalletRoleObserverTest.java81 when(mContext.getMainExecutor()).thenReturn(mExecutor); in setUp()
89 verify(mContext).getMainExecutor(); in testConstructor()
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DSmartForwardingActivity.java133 }, ContextCompat.getMainExecutor(this)); in enableSmartForwarding()
156 }, ContextCompat.getMainExecutor(this)); in disableSmartForwarding()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/
DActivityWindowControllerImpl.java138 mContext.getMainExecutor(), in setupRemoteCarTaskView()
161 mContext.getMainExecutor(), in taskViewControllerReady()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java81 mWindowContext.getMainExecutor(), carTaskViewControllerCallback); in CarLauncherViewModel()
206 mWindowContext.getMainExecutor(), in onConnected()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java170 targetContext.getMainExecutor().execute(() ->
173 targetContext.getMainExecutor().execute(() ->
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DMobileNetworkPreferenceControllerTest.java123 mContext.getMainExecutor(), mController.mTelephonyCallback); in goThroughLifecycle_isAvailable_shouldListenToServiceChange()
146 mContext.getMainExecutor(), mController.mTelephonyCallback); in serviceStateChange_shouldUpdatePrefSummary()
/packages/services/Car/car-lib/src/android/car/app/
DCarDisplayCompatContainer.java172 mCarActivityManager.getCarTaskViewController(mActivity, mActivity.getMainExecutor(), in startActivity()
238 mActivity.getMainExecutor(), in onConnected()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DFileUploadActivity.java185 getMainExecutor()); in initLayout()
221 mProvisioningManager.registerRcsProvisioningCallback(getMainExecutor(), mCallback); in registerProvisioning()
250 NAF_PREFIX + uploadUrl, getMainExecutor())); in initFileTransferController()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DHibernatedAppsItemManager.java45 permController.getUnusedAppCount(mContext.getMainExecutor(), in startLoading()

12345678910