/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ActionIntentCreatorTest.kt | 43 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER) in testCreateShare() 54 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND) in testCreateShare() 79 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER) in testCreateShareWithSubject() 88 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND) in testCreateShareWithSubject() 103 assertThatIntent(output).hasAction(Intent.ACTION_CHOOSER) in testCreateShareWithText() 112 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND) in testCreateShareWithText() 129 assertThatIntent(output).hasAction(Intent.ACTION_EDIT) in testCreateEdit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | UserTrackerImplTest.kt | 181 assertThat(hasAction(Intent.ACTION_LOCALE_CHANGED)).isTrue() in <lambda>() 182 assertThat(hasAction(Intent.ACTION_USER_INFO_CHANGED)).isTrue() in <lambda>() 183 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE)).isTrue() in <lambda>() 184 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE)).isTrue() in <lambda>() 185 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_ADDED)).isTrue() in <lambda>() 186 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_REMOVED)).isTrue() in <lambda>() 187 assertThat(hasAction(Intent.ACTION_MANAGED_PROFILE_UNLOCKED)).isTrue() in <lambda>() 188 assertThat(hasAction(Intent.ACTION_PROFILE_ADDED)).isTrue() in <lambda>() 189 assertThat(hasAction(Intent.ACTION_PROFILE_REMOVED)).isTrue() in <lambda>() 190 assertThat(hasAction(Intent.ACTION_PROFILE_AVAILABLE)).isTrue() in <lambda>() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioAutoInitiationAction.java | 139 return !(tv().hasAction(SystemAudioActionFromTv.class) in canChangeSystemAudio() 140 || tv().hasAction(SystemAudioActionFromAvr.class)); in canChangeSystemAudio()
|
D | HdmiCecLocalDeviceTv.java | 209 if (hasAction(RequestActiveSourceAction.class)) { in onAddressAllocated() 776 && !hasAction(SetArcTransmissionStateAction.class)) { in onNewAvrAdded() 785 if (!mService.isCecControlEnabled() || hasAction(DeviceDiscoveryAction.class)) { in changeSystemAudioMode() 973 if (hasAction(RequestArcInitiationAction.class)) { in startArcAction() 983 if (hasAction(RequestArcTerminationAction.class)) { in startArcAction() 1434 if (!hasAction(RequestArcTerminationAction.class) && isArcEstablished()) { in disableArcIfExist()
|
D | HdmiCecLocalDeviceAudioSystem.java | 320 if (hasAction(SystemAudioInitiationActionFromAvr.class)) { in systemAudioControlOnPowerOn() 437 && hasAction(SystemAudioInitiationActionFromAvr.class)) { in handleGiveSystemAudioModeStatus() 1017 if (!hasAction(ArcInitiationActionFromAvr.class)) { in setSystemAudioMode() 1039 if (hasAction(SystemAudioInitiationActionFromAvr.class)) { in onSystemAudioControlFeatureSupportChanged() 1370 if (hasAction(DeviceDiscoveryAction.class)) { in launchDeviceDiscovery()
|
/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
D | ComponentParseUtils.java | 49 || intentFilter.hasAction(Intent.ACTION_SEND) in isImplicitlyExposedIntent() 50 || intentFilter.hasAction(Intent.ACTION_SENDTO) in isImplicitlyExposedIntent() 51 || intentFilter.hasAction(Intent.ACTION_SEND_MULTIPLE); in isImplicitlyExposedIntent()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/ |
D | PackageParsingDeferErrorTest.kt | 71 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue() in <lambda>() 92 assertThat(intentFilter.hasAction(TEST_ACTION)).isTrue() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskControllerTest.kt | 269 hasAction(ACTION_CREATE_NOTE) in <lambda>() 293 hasAction(ACTION_CREATE_NOTE) in <lambda>() 319 hasAction(ACTION_MAIN) in <lambda>() 450 hasAction(ACTION_CREATE_NOTE) in <lambda>() 672 hasAction(ACTION_CREATE_NOTE) in <lambda>() 757 hasAction(ACTION_CREATE_NOTE) in <lambda>() 922 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP) in <lambda>() 936 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP) in <lambda>() 949 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP) in <lambda>() 962 assertThat(intentCaptor.value).hasAction(ACTION_MANAGE_DEFAULT_APP) in <lambda>()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 471 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in getPackageChangeReceiver() 472 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in getPackageChangeReceiver() 473 && filter.hasAction(Intent.ACTION_PACKAGE_REMOVED) in getPackageChangeReceiver() 474 && filter.hasAction(Intent.ACTION_PACKAGE_DATA_CLEARED) in getPackageChangeReceiver() 475 && filter.hasAction(Intent.ACTION_PACKAGE_FULLY_REMOVED); in getPackageChangeReceiver() 655 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in testPackageChangeListenerRegistered() 656 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in testPackageChangeListenerRegistered() 657 && filter.hasAction(Intent.ACTION_PACKAGE_REMOVED); in testPackageChangeListenerRegistered() 666 return filter.hasAction(Intent.ACTION_PACKAGE_ADDED) in testPackageChangeListener_packageAdded() 667 && filter.hasAction(Intent.ACTION_PACKAGE_REPLACED) in testPackageChangeListener_packageAdded() [all …]
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | Tile.java | 434 boolean hasAction = hasExternalAction || this instanceof ActivityTile; in getType() 437 if (hasSwitch && hasAction) { in getType() 443 } else if (hasAction) { in getType()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialogTest.java | 99 assertTrue(intentFilterCaptor.getValue().hasAction(Intent.ACTION_SCREEN_OFF)); in testRegisterReceiver() 100 assertTrue(intentFilterCaptor.getValue().hasAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); in testRegisterReceiver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/data/repository/ |
D | PowerRepositoryImplTest.kt | 86 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_ON)).isTrue() in isInteractive_registersForBroadcasts() 87 assertThat(filterCaptor.value.hasAction(Intent.ACTION_SCREEN_OFF)).isTrue() in isInteractive_registersForBroadcasts()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | TileRequestTrackerTest.java | 81 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_REMOVED)); in testBroadcastReceiverRegistered() 82 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_DATA_CLEARED)); in testBroadcastReceiverRegistered()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/broadcast/ |
D | ActionReceiver.kt | 71 if (!receiverData.filter.hasAction(action)) { in addReceiverData()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | RingerModeLiveDataTest.kt | 94 assertTrue(intentFilterCaptor.value.hasAction(INTENT)) in testOnActive_intentFilterHasIntent()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | WatchedIntentFilter.java | 254 public final boolean hasAction(String action) { in hasAction() method in WatchedIntentFilter 255 return mFilter.hasAction(action); in hasAction()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | WatchedIntentHandlingTest.java | 69 assertTrue(f.hasAction(actions.next())); in testWatchedIntentFilter()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BackgroundJobsControllerTest.java | 144 filter.hasAction(Intent.ACTION_PACKAGE_RESTARTED) in setUp() 145 && filter.hasAction(Intent.ACTION_PACKAGE_UNSTOPPED)), in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 204 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_ADDED)); in testPackageReceiverExported() 205 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_CHANGED)); in testPackageReceiverExported()
|
D | TileServiceManagerTest.java | 173 assertTrue(filter.hasAction(Intent.ACTION_PACKAGE_REMOVED)); in testUninstallReceiverExported()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 213 if (filter.hasAction(Intent.ACTION_TIMEZONE_CHANGED)) { in setUp() 216 if (filter.hasAction(Intent.ACTION_SCREEN_OFF)) { in setUp() 219 if (filter.hasAction(Intent.ACTION_DREAMING_STARTED)) { in setUp() 222 if (filter.hasAction(Intent.ACTION_DOCK_EVENT)) { in setUp() 388 assertThat(intentFilter.hasAction(Intent.ACTION_SCREEN_OFF)).isFalse(); in setNightModeCustomType_bedtime_shouldHaveNoScreenOffRegistered()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuViewLayerTest.java | 148 (arg) -> arg.hasAction(ACTION_UNDO) && arg.hasAction(ACTION_DELETE);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 175 mIntentFilterArgumentCaptor.getValue().hasAction(Intent.ACTION_SETTING_RESTORED)); in testBroadcastReceiverRegistered()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 1739 && filter.hasAction(BatteryManager.ACTION_CHARGING) in testBatteryStateTrackerRegistersForImportantIntents() 1740 && filter.hasAction(BatteryManager.ACTION_DISCHARGING) in testBatteryStateTrackerRegistersForImportantIntents() 1741 && filter.hasAction(Intent.ACTION_BATTERY_LEVEL_CHANGED) in testBatteryStateTrackerRegistersForImportantIntents() 1742 && filter.hasAction(Intent.ACTION_BATTERY_LOW) in testBatteryStateTrackerRegistersForImportantIntents() 1743 && filter.hasAction(Intent.ACTION_BATTERY_OKAY) in testBatteryStateTrackerRegistersForImportantIntents() 1744 && filter.hasAction(Intent.ACTION_POWER_CONNECTED) in testBatteryStateTrackerRegistersForImportantIntents() 1745 && filter.hasAction(Intent.ACTION_POWER_DISCONNECTED))); in testBatteryStateTrackerRegistersForImportantIntents()
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 706 if (!hasAction(Intent.ACTION_VIEW) in handlesWebUris() 850 public final boolean hasAction(String action) { in hasAction() method in IntentFilter 891 return hasAction(action); in matchAction() 3227 if (!f2.hasAction(f1.getAction(i))) { in filterEquals()
|