Home
last modified time | relevance | path

Searched refs:addAction (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt194 .addAction(action1) in getId_returnsId()
209 .addAction(action1) in getTitle_returnsTitle()
224 .addAction(action1) in getSubtitle_withDefaultBuilder_returnsNull()
240 .addAction(action1) in getSubtitle_whenSetExplicitly_returnsSubtitle()
255 .addAction(action1) in getSummary_returnsSummary()
270 .addAction(action1) in getSeverityLevel_returnsSeverityLevel()
285 .addAction(action1) in getIssueCategory_withDefaultBuilder_returnsGeneralCategory()
300 .addAction(action1) in getIssueCategory_whenSetExplicitly_returnsIssueCategory()
316 .addAction(action1) in getActions_returnsActions()
317 .addAction(action2) in getActions_returnsActions()
[all …]
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/servicemonitor/
DPackageWatcher.java42 sPackageFilt.addAction(Intent.ACTION_PACKAGE_ADDED);
43 sPackageFilt.addAction(Intent.ACTION_PACKAGE_REMOVED);
44 sPackageFilt.addAction(Intent.ACTION_PACKAGE_CHANGED);
46 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_SUSPENDED);
47 sNonDataFilt.addAction(Intent.ACTION_PACKAGES_UNSUSPENDED);
48 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
49 sExternalFilt.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAccessibilityEventRouter.java70 addAction(info); in AccessibilityEventRouter()
74 addAction(info); in AccessibilityEventRouter()
77 addAction(info); in AccessibilityEventRouter()
101 private void addAction(AccessibilityNodeInfoCompat info) { in addAction() method in AccessibilityEventRouter
102 info.addAction(AccessibilityActionCompat.ACTION_CLICK); in addAction()
104 info.addAction(AccessibilityNodeInfoCompat.ACTION_LONG_CLICK); in addAction()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java188 .addAction( in initImportanceHighBotton()
191 .addAction( in initImportanceHighBotton()
194 .addAction( in initImportanceHighBotton()
315 .addAction( in initCustomizableMessageButton()
320 .addAction( in initCustomizableMessageButton()
384 .addAction( in initMessagingStyleButtonForDiffPerson()
389 .addAction( in initMessagingStyleButtonForDiffPerson()
440 .addAction( in initMessagingStyleButtonForMessageSameGroup()
445 .addAction( in initMessagingStyleButtonForMessageSameGroup()
475 .addAction( in initMessagingStyleButtonForSamePerson()
[all …]
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
DDialogsActivity.java106 addAction("Request write", () -> { in onCreate()
109 addAction("Request trash", () -> { in onCreate()
112 addAction("Request untrash", () -> { in onCreate()
115 addAction("Request delete", () -> { in onCreate()
118 addAction("Request favorite", () -> { in onCreate()
122 addAction("Request unfavorite", () -> { in onCreate()
174 private Button addAction(String title, Supplier<PendingIntent> supplier) { in addAction() method in DialogsActivity
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java42 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
43 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
44 INTENT_FILTER.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED);
45 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED);
46 INTENT_FILTER.addAction(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED);
47 INTENT_FILTER.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED);
48 INTENT_FILTER.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED);
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DPackageIntentReceiver.java36 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in PackageIntentReceiver()
37 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in PackageIntentReceiver()
43 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in PackageIntentReceiver()
44 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in PackageIntentReceiver()
/packages/apps/Settings/src/com/android/settings/notification/
DAdjustVolumeRestrictedPreferenceController.java64 filter.addAction(AudioManager.VOLUME_CHANGED_ACTION); in getIntentFilter()
65 filter.addAction(AudioManager.STREAM_MUTE_CHANGED_ACTION); in getIntentFilter()
66 filter.addAction(AudioManager.MASTER_MUTE_CHANGED_ACTION); in getIntentFilter()
67 filter.addAction(AudioManager.STREAM_DEVICES_CHANGED_ACTION); in getIntentFilter()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleLinearLayoutManager.java100 info.addAction(mActionMoveUp); in onInitializeAccessibilityNodeInfoForItem()
101 info.addAction(mActionMoveTop); in onInitializeAccessibilityNodeInfoForItem()
104 info.addAction(mActionMoveDown); in onInitializeAccessibilityNodeInfoForItem()
105 info.addAction(mActionMoveBottom); in onInitializeAccessibilityNodeInfoForItem()
108 info.addAction(mActionRemove); in onInitializeAccessibilityNodeInfoForItem()
/packages/apps/Nfc/src/com/android/nfc/
DRegisteredComponentCache.java73 intentFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in RegisteredComponentCache()
74 intentFilter.addAction(Intent.ACTION_PACKAGE_CHANGED); in RegisteredComponentCache()
75 intentFilter.addAction(Intent.ACTION_PACKAGE_REMOVED); in RegisteredComponentCache()
80 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE); in RegisteredComponentCache()
81 sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE); in RegisteredComponentCache()
85 userFilter.addAction(Intent.ACTION_USER_SWITCHED); in RegisteredComponentCache()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java236 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in init()
237 filter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in init()
238 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in init()
239 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in init()
240 filter.addAction(BluetoothA2dpSink.ACTION_CONNECTION_STATE_CHANGED); in init()
241 filter.addAction(BluetoothHidDevice.ACTION_CONNECTION_STATE_CHANGED); in init()
242 filter.addAction(BluetoothHidHost.ACTION_CONNECTION_STATE_CHANGED); in init()
243 filter.addAction(BluetoothAvrcpController.ACTION_CONNECTION_STATE_CHANGED); in init()
244 filter.addAction(BluetoothPan.ACTION_CONNECTION_STATE_CHANGED); in init()
245 filter.addAction(BluetoothMap.ACTION_CONNECTION_STATE_CHANGED); in init()
[all …]
DPhonePolicy.java267 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
268 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
269 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in start()
270 filter.addAction(BluetoothCsipSetCoordinator.ACTION_CSIS_CONNECTION_STATE_CHANGED); in start()
271 filter.addAction(BluetoothVolumeControl.ACTION_CONNECTION_STATE_CHANGED); in start()
272 filter.addAction(BluetoothDevice.ACTION_ACL_CONNECTED); in start()
273 filter.addAction(BluetoothDevice.ACTION_UUID); in start()
274 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in start()
275 filter.addAction(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); in start()
276 filter.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); in start()
[all …]
DActiveDeviceManager.java626 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in start()
627 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); in start()
628 filter.addAction(BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED); in start()
629 filter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED); in start()
630 filter.addAction(BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED); in start()
631 filter.addAction(BluetoothHearingAid.ACTION_CONNECTION_STATE_CHANGED); in start()
632 filter.addAction(BluetoothHearingAid.ACTION_ACTIVE_DEVICE_CHANGED); in start()
633 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_CONNECTION_STATE_CHANGED); in start()
634 filter.addAction(BluetoothLeAudio.ACTION_LE_AUDIO_ACTIVE_DEVICE_CHANGED); in start()
635 filter.addAction(BluetoothHapClient.ACTION_HAP_CONNECTION_STATE_CHANGED); in start()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicesService.java175 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECT_REQUESTED); in onCreate()
176 filter.addAction(BluetoothDevice.ACTION_ACL_DISCONNECTED); in onCreate()
177 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in onCreate()
178 filter.addAction(BluetoothHidHost.ACTION_CONNECTION_STATE_CHANGED); in onCreate()
179 filter.addAction(BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED); // Headset connection in onCreate()
180 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); // Bluetooth toggle in onCreate()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothConnectionRetryManager.java367 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in init()
369 filter.addAction(BluetoothUtils.A2DP_SINK_CONNECTION_STATE_CHANGED); in init()
370 filter.addAction(BluetoothUtils.HFP_CLIENT_CONNECTION_STATE_CHANGED); in init()
371 filter.addAction(BluetoothUtils.MAP_CLIENT_CONNECTION_STATE_CHANGED); in init()
372 filter.addAction(BluetoothUtils.PAN_CONNECTION_STATE_CHANGED); in init()
373 filter.addAction(BluetoothUtils.PBAP_CLIENT_CONNECTION_STATE_CHANGED); in init()
DBluetoothDeviceManager.java288 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in start()
289 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in start()
292 filter.addAction(BluetoothUtils.A2DP_SINK_CONNECTION_STATE_CHANGED); in start()
293 filter.addAction(BluetoothUtils.HFP_CLIENT_CONNECTION_STATE_CHANGED); in start()
294 filter.addAction(BluetoothUtils.MAP_CLIENT_CONNECTION_STATE_CHANGED); in start()
295 filter.addAction(BluetoothUtils.PAN_CONNECTION_STATE_CHANGED); in start()
296 filter.addAction(BluetoothUtils.PBAP_CLIENT_CONNECTION_STATE_CHANGED); in start()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordingStorageStatusManager.java158 filter.addAction(Intent.ACTION_MEDIA_MOUNTED); in RecordingStorageStatusManager()
159 filter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); in RecordingStorageStatusManager()
160 filter.addAction(Intent.ACTION_MEDIA_EJECT); in RecordingStorageStatusManager()
161 filter.addAction(Intent.ACTION_MEDIA_REMOVED); in RecordingStorageStatusManager()
162 filter.addAction(Intent.ACTION_MEDIA_BAD_REMOVAL); in RecordingStorageStatusManager()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingService.java161 .addAction(pairAction) in onStartCommand()
162 .addAction(dismissAction); in onStartCommand()
165 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in onStartCommand()
166 filter.addAction(BluetoothDevice.ACTION_PAIRING_CANCEL); in onStartCommand()
167 filter.addAction(ACTION_DISMISS_PAIRING); in onStartCommand()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsPackageMonitor.java98 filter.addAction(Intent.ACTION_PACKAGE_ADDED); in registerReceiver()
99 filter.addAction(Intent.ACTION_PACKAGE_REMOVED); in registerReceiver()
100 filter.addAction(Intent.ACTION_PACKAGE_REPLACED); in registerReceiver()
101 filter.addAction(Intent.ACTION_PACKAGE_CHANGED); in registerReceiver()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallServiceNotifier.java328 builder.addAction(0, "Add Call", createIncomingAudioCall(context)); in addAddCallAction()
336 builder.addAction(0, "1-way Video", createOneWayVideoCallIntent(context)); in addAddOneWayVideoCallAction()
344 builder.addAction(0, "2-way Video", createTwoWayVideoCallIntent(context)); in addAddTwoWayVideoCallAction()
351 builder.addAction(0, "Exit", createExitIntent(context)); in addExitAction()
358 builder.addAction(0, "Show Accts", createShowAllPhoneAccountsIntent(context)); in addShowAllPhoneAccountsAction()
365 builder.addAction(0, "Reg.Acct.", createRegisterPhoneAccountIntent(context)); in addRegisterPhoneAccountAction()
/packages/services/Car/service/src/com/android/car/
DOnShutdownReboot.java56 filter.addAction(Intent.ACTION_SHUTDOWN); in OnShutdownReboot()
57 filter.addAction(Intent.ACTION_REBOOT); in OnShutdownReboot()
62 public OnShutdownReboot addAction(BiConsumer<Context, Intent> action) { in addAction() method in OnShutdownReboot
/packages/apps/Settings/src/com/android/settings/datetime/
DTimeChangeListenerMixin.java43 filter.addAction(Intent.ACTION_TIME_TICK); in onResume()
44 filter.addAction(Intent.ACTION_TIME_CHANGED); in onResume()
45 filter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in onResume()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/tests/
DBluetoothRequestPermissionTest.java95 filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_STARTED); in onCreate()
96 filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_FINISHED); in onCreate()
97 filter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in onCreate()
98 filter.addAction(BluetoothDevice.ACTION_FOUND); in onCreate()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingService.java155 filter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in onStartCommand()
156 filter.addAction(BluetoothDevice.ACTION_PAIRING_CANCEL); in onStartCommand()
157 filter.addAction(ACTION_DISMISS_PAIRING); in onStartCommand()
219 .addAction(pairAction) in createPairingNotification()
220 .addAction(dismissAction); in createPairingNotification()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DDisplayAreaComponent.java71 filter.addAction(Intent.ACTION_BOOT_COMPLETED); in start()
84 packageChangeFilter.addAction(Intent.ACTION_PACKAGE_ADDED); in start()
85 packageChangeFilter.addAction(Intent.ACTION_PACKAGE_REPLACED); in start()

12345678910>>...16