| /packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
| D | BluetoothDevicePreferenceTest.java | 391 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/ |
| D | PrivacyChipViewController.java | 59 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/ |
| D | CarTelemetryActivity.java | 143 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/ |
| D | CircularIconsView.java | 59 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/ |
| D | InterfaceEnabler.java | 38 mApplicationContext.getMainExecutor(), in enableInterface() 44 mApplicationContext.getMainExecutor(), in disableInterface()
|
| /packages/apps/Settings/src/com/android/settings/bluetooth/ |
| D | BluetoothDetailsHearingAidsPresetsController.java | 200 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()
|
| D | BluetoothDevicePreference.java | 134 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/ |
| D | PowerManagerHelper.java | 56 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/ |
| D | TetheringManagerModel.java | 43 .registerTetheringEventCallback(application.getMainExecutor(), mEventCallback); in TetheringManagerModel() 73 mTetheringManager.startTethering(type, getApplication().getMainExecutor(), in startTethering()
|
| /packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
| D | BluetoothBondedDevicesPreferenceController.java | 275 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/ |
| D | WifiDppInitiatorViewModel.java | 76 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/ |
| D | VirtualDeviceListController.java | 130 mContext.getMainExecutor().execute(() -> in onDeviceAdded() 139 mContext.getMainExecutor().execute(() -> in onDeviceRemoved() 150 mContext.getMainExecutor().execute(() -> in onDeviceChanged()
|
| D | VirtualDeviceDetailsHeaderController.java | 89 mContext.getMainExecutor().execute(this::updateSummary); in onVirtualDeviceCreated() 97 mContext.getMainExecutor().execute(this::updateSummary); in onVirtualDeviceClosed()
|
| /packages/apps/Settings/src/com/android/settings/wifi/repository/ |
| D | WifiHotspotRepository.java | 130 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/ |
| D | FanSpeedBarSegment.java | 69 getContext().getMainExecutor().execute(() -> { in playTurnOnAnimation() 81 getContext().getMainExecutor().execute(() -> { in playTurnOffAnimation()
|
| /packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
| D | PrivacyChip.java | 367 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/ |
| D | EthernetInterface.kt | 46 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/ |
| D | PermissionControllerTest.java | 151 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/ |
| D | ManageRoleHolderStateLiveData.java | 84 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/ |
| D | DistantDisplayController.java | 124 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/ |
| D | RcsFeatureController.java | 193 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/ |
| D | ActivityWindowControllerImpl.java | 138 mContext.getMainExecutor(), in setupRemoteCarTaskView() 161 mContext.getMainExecutor(), in taskViewControllerReady()
|
| /packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/ |
| D | FileUploadActivity.java | 185 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/ |
| D | CarLauncherViewModel.java | 100 mWindowContext.getMainExecutor(), carTaskViewControllerCallback); in initializeRemoteCarTaskView() 233 mWindowContext.getMainExecutor(), in onConnected()
|
| /packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
| D | NavigationModeSwitchRule.java | 171 targetContext.getMainExecutor().execute(() -> 174 targetContext.getMainExecutor().execute(() ->
|