Home
last modified time | relevance | path

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

1234567891011

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePreferenceTest.java391 verify(mCachedBluetoothDevice, times(1)).registerCallback(eq(mContext.getMainExecutor()), in onAttached_callbackNotRemoved_doNotRegisterCallback()
404 verify(mCachedBluetoothDevice, times(2)).registerCallback(eq(mContext.getMainExecutor()), in onAttached_callbackRemoved_registerCallback()
433 verify(mCachedBluetoothDevice).registerCallback(eq(mContext.getMainExecutor()), any()); in onAttached_memberDevicesAdded_registerAllCallback()
434 verify(mCachedDevice1).registerCallback(eq(mContext.getMainExecutor()), any()); in onAttached_memberDevicesAdded_registerAllCallback()
435 verify(mCachedDevice2).registerCallback(eq(mContext.getMainExecutor()), any()); in onAttached_memberDevicesAdded_registerAllCallback()
436 verify(mCachedDevice3).registerCallback(eq(mContext.getMainExecutor()), any()); in onAttached_memberDevicesAdded_registerAllCallback()
475 verify(mCachedBluetoothDevice, times(2)).registerCallback(eq(mContext.getMainExecutor()), in onDeviceAttributesChanged_memberDevicesChanged_registerOnlyExistDeviceCallback()
477 verify(mCachedDevice1, times(2)).registerCallback(eq(mContext.getMainExecutor()), any()); in onDeviceAttributesChanged_memberDevicesChanged_registerOnlyExistDeviceCallback()
478 verify(mCachedDevice2, times(2)).registerCallback(eq(mContext.getMainExecutor()), any()); in onDeviceAttributesChanged_memberDevicesChanged_registerOnlyExistDeviceCallback()
479 verify(mCachedDevice3, times(1)).registerCallback(eq(mContext.getMainExecutor()), any()); in onDeviceAttributesChanged_memberDevicesChanged_registerOnlyExistDeviceCallback()
[all …]
/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()
227 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/apps/Settings/src/com/android/settings/notification/modes/
DCircularIconsView.java59 setUiExecutor(context.getMainExecutor()); in CircularIconsView()
64 setUiExecutor(context.getMainExecutor()); in CircularIconsView()
69 setUiExecutor(context.getMainExecutor()); in CircularIconsView()
75 setUiExecutor(context.getMainExecutor()); in CircularIconsView()
/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.java200 mContext.getMainExecutor().execute(this::refresh); in onPresetSelected()
209 mContext.getMainExecutor().execute(() -> { in onPresetSelectionFailed()
239 mContext.getMainExecutor().execute(this::refresh); in onPresetInfoChanged()
248 mContext.getMainExecutor().execute(() -> { in onSetPresetNameFailed()
260 mContext.getMainExecutor().execute(() -> { in onSetPresetNameForGroupFailed()
DBluetoothDevicePreference.java134 cachedBluetoothDevice.registerCallback(getContext().getMainExecutor(), this); in onDeviceAttributesChanged()
209 cachedBluetoothDevice.registerCallback(getContext().getMainExecutor(), mCallback); in onAttached()
247 getContext().getMainExecutor(), mMetadataListener); in registerMetadataChangedListener()
423 context.getMainExecutor().execute(() -> in onClicked()
435 context.getMainExecutor().execute(() -> pair()); in onClicked()
/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/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/dpp/
DWifiDppInitiatorViewModel.java76 WifiManager.EASY_CONNECT_NETWORK_ROLE_STA, getApplication().getMainExecutor(), in startEasyConnectAsConfiguratorInitiator()
84 wifiManager.startEasyConnectAsEnrolleeInitiator(qrCode, getApplication().getMainExecutor(), in startEasyConnectAsEnrolleeInitiator()
/packages/apps/Settings/src/com/android/settings/connecteddevice/virtual/
DVirtualDeviceListController.java130 mContext.getMainExecutor().execute(() -> in onDeviceAdded()
139 mContext.getMainExecutor().execute(() -> in onDeviceRemoved()
150 mContext.getMainExecutor().execute(() -> in onDeviceChanged()
DVirtualDeviceDetailsHeaderController.java89 mContext.getMainExecutor().execute(this::updateSummary); in onVirtualDeviceCreated()
97 mContext.getMainExecutor().execute(this::updateSummary); in onVirtualDeviceClosed()
/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()
545 mWifiManager.registerActiveCountryCodeChangedCallback(mAppContext.getMainExecutor(), in startAutoRefresh()
608 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/apps/Settings/src/com/android/settings/network/ethernet/
DEthernetInterface.kt46 private val executor = ContextCompat.getMainExecutor(context) in interfaceUpdated()
71 ethernetManager?.addInterfaceStateListener(ContextCompat.getMainExecutor(context), this) in interfaceUpdated()
/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.java124 mContext.getMainExecutor(), mOnActiveSessionsChangedListener);
156 mContext.getMainExecutor(), mOnActiveSessionsChangedListener); in DistantDisplayController()
157 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/Car/SystemUI/src/com/android/systemui/car/wm/activity/window/
DActivityWindowControllerImpl.java138 mContext.getMainExecutor(), in setupRemoteCarTaskView()
161 mContext.getMainExecutor(), in taskViewControllerReady()
/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/Launcher/app/src/com/android/car/carlauncher/
DCarLauncherViewModel.java100 mWindowContext.getMainExecutor(), carTaskViewControllerCallback); in initializeRemoteCarTaskView()
233 mWindowContext.getMainExecutor(), in onConnected()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DNavigationModeSwitchRule.java171 targetContext.getMainExecutor().execute(() ->
174 targetContext.getMainExecutor().execute(() ->

1234567891011