Home
last modified time | relevance | path

Searched refs:hasAction (Results 1 – 25 of 43) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DActionIntentCreatorTest.kt43 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER)
54 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND)
79 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER)
88 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND)
103 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER)
112 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND)
129 assertThatIntent(output).hasAction(Intent.ACTION_EDIT)
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSystemAudioAutoInitiationAction.java139 return !(tv().hasAction(SystemAudioActionFromTv.class) in canChangeSystemAudio()
140 || tv().hasAction(SystemAudioActionFromAvr.class)); in canChangeSystemAudio()
H A DHdmiCecLocalDeviceTv.java728 && !hasAction(SetArcTransmissionStateAction.class)) { in onNewAvrAdded()
737 if (!mService.isCecControlEnabled() || hasAction(DeviceDiscoveryAction.class)) { in changeSystemAudioMode()
925 if (hasAction(RequestArcInitiationAction.class)) { in startArcAction()
935 if (hasAction(RequestArcTerminationAction.class)) { in startArcAction()
1380 if (!hasAction(RequestArcTerminationAction.class) && isArcEstablished()) { in disableArcIfExist()
H A DHdmiCecLocalDeviceAudioSystem.java422 && hasAction(SystemAudioInitiationActionFromAvr.class)) { in handleGiveSystemAudioModeStatus()
1002 if (!hasAction(ArcInitiationActionFromAvr.class)) { in setSystemAudioMode()
1338 if (hasAction(DeviceDiscoveryAction.class)) { in launchDeviceDiscovery()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
H A DUserTrackerImplTest.kt137 assertThat(hasAction(Intent.ACTION_USER_INFO_CHANGED)).isTrue()
138 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE)).isTrue()
139 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE)).isTrue()
140 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_ADDED)).isTrue()
141 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_REMOVED)).isTrue()
142 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_UNLOCKED)).isTrue()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
H A DComponentParseUtils.java51 || intentFilter.hasAction(Intent.ACTION_SEND) in isImplicitlyExposedIntent()
52 || intentFilter.hasAction(Intent.ACTION_SENDTO) in isImplicitlyExposedIntent()
53 || intentFilter.hasAction(Intent.ACTION_SEND_MULTIPLE); in isImplicitlyExposedIntent()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
H A DNoteTaskControllerTest.kt267 hasAction(ACTION_CREATE_NOTE)
291 hasAction(ACTION_CREATE_NOTE)
317 hasAction(ACTION_MAIN)
448 hasAction(ACTION_CREATE_NOTE)
670 hasAction(ACTION_CREATE_NOTE)
754 hasAction(ACTION_CREATE_NOTE)
917 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP)
931 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP)
944 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP)
957 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP)
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
H A DPackageParsingDeferErrorTest.kt73 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue()
94 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DSystemUIDialogTest.java80 assertTrue(intentFilterCaptor.getValue().hasAction(Intent.ACTION_SCREEN_OFF)); in testRegisterReceiver()
81 assertTrue(intentFilterCaptor.getValue().hasAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); in testRegisterReceiver()
/aosp14/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
H A DInstantWifiTest.java139 filter.hasAction(Intent.ACTION_SCREEN_ON) in verifyInstantWifiInitialization()
140 && filter.hasAction(Intent.ACTION_SCREEN_OFF)), eq(null), any()); in verifyInstantWifiInitialization()
144 filter.hasAction(WifiManager.WIFI_STATE_CHANGED_ACTION)), eq(null), any()); in verifyInstantWifiInitialization()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/
H A DVcnManagementServiceTest.java454 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in getPackageChangeReceiver()
455 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in getPackageChangeReceiver()
456 && filter.hasAction(Intent.ACTION_PACKAGE_REMOVED) in getPackageChangeReceiver()
457 && filter.hasAction(Intent.ACTION_PACKAGE_DATA_CLEARED) in getPackageChangeReceiver()
638 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in testPackageChangeListenerRegistered()
639 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in testPackageChangeListenerRegistered()
640 && filter.hasAction(Intent.ACTION_PACKAGE_REMOVED); in testPackageChangeListenerRegistered()
649 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in testPackageChangeListener_packageAdded()
650 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in testPackageChangeListener_packageAdded()
651 && filter.hasAction(Intent.ACTION_PACKAGE_REMOVED); in testPackageChangeListener_packageAdded()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DTile.java473 boolean hasAction = hasExternalAction || this instanceof ActivityTile; in getType()
476 if (hasSwitch && hasAction) { in getType()
482 } else if (hasAction) { in getType()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/
H A DPowerRepositoryImplTest.kt86 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_ON)).isTrue()
87 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_OFF)).isTrue()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
H A DTileRequestTrackerTest.java81 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_REMOVED)); in testBroadcastReceiverRegistered()
82 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_DATA_CLEARED)); in testBroadcastReceiverRegistered()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DRingerModeLiveDataTest.kt99 assertTrue(intentFilterCaptor.value.hasAction(INTENT))
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/
H A DActionReceiver.kt71 if (!receiverData.filter.hasAction(action)) {
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DWatchedIntentFilter.java254 public final boolean hasAction(String action) { in hasAction() method in WatchedIntentFilter
255 return mFilter.hasAction(action); in hasAction()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DTileLifecycleManagerTest.java172 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_ADDED)); in testPackageReceiverExported()
173 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_CHANGED)); in testPackageReceiverExported()
H A DTileServiceManagerTest.java150 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_REMOVED)); in testUninstallReceiverExported()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DWatchedIntentHandlingTest.java69 assertTrue(f.hasAction(actions.next())); in testWatchedIntentFilter()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DBatteryControllerTest.java115 filter.hasAction(Intent.ACTION_POWER_CONNECTED) in setUp()
116 && filter.hasAction(Intent.ACTION_POWER_DISCONNECTED))); in setUp()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DAutoAddTrackerTest.java175 mIntentFilterArgumentCaptor.getValue().hasAction(Intent.ACTION_SETTING_RESTORED)); in testBroadcastReceiverRegistered()
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/
H A DUiModeManagerServiceTest.java182 if (filter.hasAction(Intent.ACTION_TIMEZONE_CHANGED)) { in setUp()
185 if (filter.hasAction(Intent.ACTION_SCREEN_OFF)) { in setUp()
188 if (filter.hasAction(Intent.ACTION_DOCK_EVENT)) { in setUp()
354 assertThat(intentFilter.hasAction(Intent.ACTION_SCREEN_OFF)).isFalse(); in setNightModeCustomType_bedtime_shouldHaveNoScreenOffRegistered()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
H A DTrustManagerServiceTest.java369 if (filter.hasAction(Intent.ACTION_PACKAGE_CHANGED)) { in registerReceiverAsUser()
/aosp14/frameworks/base/core/java/android/content/
H A DIntentFilter.java678 if (!hasAction(Intent.ACTION_VIEW) in handlesWebUris()
812 public final boolean hasAction(String action) { in hasAction() method in IntentFilter
853 return hasAction(action); in matchAction()
3073 if (!f2.hasAction(f1.getAction(i))) { in filterEquals()

12