/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ActionIntentCreatorTest.kt | 43 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 D | SystemAudioAutoInitiationAction.java | 139 return !(tv().hasAction(SystemAudioActionFromTv.class) in canChangeSystemAudio() 140 || tv().hasAction(SystemAudioActionFromAvr.class)); in canChangeSystemAudio()
|
H A D | HdmiCecLocalDeviceTv.java | 728 && !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 D | HdmiCecLocalDeviceAudioSystem.java | 422 && 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 D | UserTrackerImplTest.kt | 137 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 D | ComponentParseUtils.java | 51 || 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 D | NoteTaskControllerTest.kt | 267 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 D | PackageParsingDeferErrorTest.kt | 73 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 D | SystemUIDialogTest.java | 80 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 D | InstantWifiTest.java | 139 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 D | VcnManagementServiceTest.java | 454 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 D | Tile.java | 473 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 D | PowerRepositoryImplTest.kt | 86 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 D | TileRequestTrackerTest.java | 81 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 D | RingerModeLiveDataTest.kt | 99 assertTrue(intentFilterCaptor.value.hasAction(INTENT))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/ |
H A D | ActionReceiver.kt | 71 if (!receiverData.filter.hasAction(action)) {
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | WatchedIntentFilter.java | 254 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 D | TileLifecycleManagerTest.java | 172 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_ADDED)); in testPackageReceiverExported() 173 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_CHANGED)); in testPackageReceiverExported()
|
H A D | TileServiceManagerTest.java | 150 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_REMOVED)); in testUninstallReceiverExported()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | WatchedIntentHandlingTest.java | 69 assertTrue(f.hasAction(actions.next())); in testWatchedIntentFilter()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
H A D | BatteryControllerTest.java | 115 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 D | AutoAddTrackerTest.java | 175 mIntentFilterArgumentCaptor.getValue().hasAction(Intent.ACTION_SETTING_RESTORED)); in testBroadcastReceiverRegistered()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
H A D | UiModeManagerServiceTest.java | 182 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 D | TrustManagerServiceTest.java | 369 if (filter.hasAction(Intent.ACTION_PACKAGE_CHANGED)) { in registerReceiverAsUser()
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | IntentFilter.java | 678 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()
|