/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/ |
D | BatteryChargingTrackerTest.java | 120 assertThat(intentFilter.hasAction(Intent.ACTION_POWER_CONNECTED), is(true)); in testGetIntentFilter_beforeApi23() 121 assertThat(intentFilter.hasAction(Intent.ACTION_POWER_DISCONNECTED), is(true)); in testGetIntentFilter_beforeApi23() 130 assertThat(intentFilter.hasAction(BatteryManager.ACTION_CHARGING), is(true)); in testGetIntentFilter_afterApi23() 131 assertThat(intentFilter.hasAction(BatteryManager.ACTION_DISCHARGING), is(true)); in testGetIntentFilter_afterApi23()
|
D | StorageNotLowTrackerTest.java | 88 assertThat(intentFilter.hasAction(Intent.ACTION_DEVICE_STORAGE_OK), is(true)); in testGetIntentFilter() 89 assertThat(intentFilter.hasAction(Intent.ACTION_DEVICE_STORAGE_LOW), is(true)); in testGetIntentFilter()
|
D | BatteryNotLowTrackerTest.java | 150 assertThat(intentFilter.hasAction(Intent.ACTION_BATTERY_OKAY), is(true)); in testGetIntentFilter() 151 assertThat(intentFilter.hasAction(Intent.ACTION_BATTERY_LOW), is(true)); in testGetIntentFilter()
|
D | NetworkStateTrackerTest.java | 95 assertThat(intentFilter.hasAction(ConnectivityManager.CONNECTIVITY_ACTION), is(true)); in testStartTracking_beforeApi24()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SystemAudioAutoInitiationAction.java | 123 return !(tv().hasAction(SystemAudioActionFromTv.class) in canChangeSystemAudio() 124 || tv().hasAction(SystemAudioActionFromAvr.class)); in canChangeSystemAudio()
|
D | HdmiCecLocalDeviceTv.java | 573 if (hasAction(DeviceDiscoveryAction.class)) { in handleReportPhysicalAddress() 803 && !hasAction(SetArcTransmissionStateAction.class)) { in onNewAvrAdded() 823 if (!mService.isControlEnabled() || hasAction(DeviceDiscoveryAction.class)) { in changeSystemAudioMode() 990 if (!hasAction(RequestArcInitiationAction.class)) { in startArcAction() 995 if (!hasAction(RequestArcTerminationAction.class)) { in startArcAction() 1665 if (!hasAction(RequestArcTerminationAction.class) && isArcEstablished()) { in disableArcIfExist()
|
D | HdmiCecLocalDevice.java | 674 <T extends HdmiCecFeatureAction> boolean hasAction(final Class<T> clazz) { in hasAction() method in HdmiCecLocalDevice
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | UserManagerHelperTest.java | 306 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_REMOVED)).isTrue(); in registerUserChangeReceiver() 307 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_ADDED)).isTrue(); in registerUserChangeReceiver() 308 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_INFO_CHANGED)).isTrue(); in registerUserChangeReceiver() 309 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_SWITCHED)).isTrue(); in registerUserChangeReceiver() 310 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_STOPPED)).isTrue(); in registerUserChangeReceiver() 311 assertThat(filterCaptor.getValue().hasAction(Intent.ACTION_USER_UNLOCKED)).isTrue(); in registerUserChangeReceiver()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiTrafficPollerTest.java | 90 intentFilter -> intentFilter.hasAction(WifiManager.NETWORK_STATE_CHANGED_ACTION) && in setUp() 91 intentFilter.hasAction(Intent.ACTION_SCREEN_ON) && in setUp() 92 intentFilter.hasAction(Intent.ACTION_SCREEN_OFF))); in setUp()
|
D | WifiServiceImplTest.java | 1632 return filter.hasAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in matches() 2656 filter.hasAction(Intent.ACTION_PACKAGE_FULLY_REMOVED))); in testPackageRemovedBroadcastHandling() 2677 filter.hasAction(Intent.ACTION_PACKAGE_FULLY_REMOVED))); in testPackageRemovedBroadcastHandlingWithNoUid() 2696 filter.hasAction(Intent.ACTION_PACKAGE_FULLY_REMOVED))); in testPackageRemovedBroadcastHandlingWithNoPackageName() 2715 filter.hasAction(Intent.ACTION_USER_REMOVED))); in testUserRemovedBroadcastHandling() 2731 filter.hasAction(Intent.ACTION_USER_REMOVED))); in testUserRemovedBroadcastHandlingWithWrongIntentAction() 2796 return filter.hasAction(PowerManager.ACTION_DEVICE_IDLE_MODE_CHANGED); in matches() 2832 filter.hasAction(TelephonyIntents.ACTION_SIM_STATE_CHANGED))); in testSimStateChangeDoesNotResetCountryCode()
|
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/ |
D | EmojiExtractTextLayout.java | 169 final boolean hasAction = ei.actionLabel != null in onUpdateExtractingViews() 174 if (hasAction) { in onUpdateExtractingViews()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialogTest.java | 60 assertTrue(intentFilterCaptor.getValue().hasAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); in testRegisterReceiver()
|
/frameworks/base/core/java/android/content/ |
D | IntentFilter.java | 595 if (!hasAction(Intent.ACTION_VIEW) in handlesWebUris() 730 public final boolean hasAction(String action) { in hasAction() method in IntentFilter 743 return hasAction(action); in matchAction()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 4675 assertFalse(hasAction(info, 4677 assertTrue(hasAction(info, 4680 assertFalse(hasAction(info, AccessibilityNodeInfoCompat.ACTION_SCROLL_BACKWARD)); 4681 assertTrue(hasAction(info, AccessibilityNodeInfoCompat.ACTION_SCROLL_FORWARD)); 4693 assertTrue(hasAction(info2, 4695 assertFalse(hasAction(info2, 4698 assertTrue(hasAction(info2, AccessibilityNodeInfoCompat.ACTION_SCROLL_BACKWARD)); 4699 assertFalse(hasAction(info2, AccessibilityNodeInfoCompat.ACTION_SCROLL_FORWARD)); 4737 private boolean hasAction(AccessibilityNodeInfoCompat info, Object action) { 4823 assertTrue("test sanity", hasAction(info, itemZeroDirection)); [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 130 any(), argThat(f -> f.hasAction(ACTION_CONFIGURATION_CHANGED)), any(), any())) in setUp()
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/ |
D | RemotePlaybackClient.java | 803 if (filter.hasAction(MediaControlIntent.ACTION_SEND_MESSAGE)) { in doesRouteSupportMessaging()
|
D | MediaRouter.java | 1185 if (filter.hasCategory(category) && filter.hasAction(action)) { in supportsControlAction()
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
D | RemotePlaybackClient.java | 804 if (filter.hasAction(MediaControlIntent.ACTION_SEND_MESSAGE)) { in doesRouteSupportMessaging()
|
D | MediaRouter.java | 1186 if (filter.hasCategory(category) && filter.hasAction(action)) { in supportsControlAction()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | InstantAppResolver.java | 483 && filter.hasAction(Intent.ACTION_VIEW) in computeResolveFilters()
|
D | PackageManagerService.java | 7482 if (rij.filter != null && rij.filter.hasAction(action)) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2700 final boolean hasAction = ei.actionLabel != null || ( in onUpdateExtractingViews() 2704 if (hasAction) { in onUpdateExtractingViews()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IntentResolver.java | 82 if (!f2.hasAction(f1.getAction(i))) { in filterEquals()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 3850 if (!aii.hasAction(Intent.ACTION_VIEW)) continue; in hasDomainURLs() 3851 if (!aii.hasAction(Intent.ACTION_DEFAULT)) continue; in hasDomainURLs() 5269 || intent.hasAction(Intent.ACTION_SEND) in isImplicitlyExposedIntent() 5270 || intent.hasAction(Intent.ACTION_SENDTO) in isImplicitlyExposedIntent() 5271 || intent.hasAction(Intent.ACTION_SEND_MULTIPLE); in isImplicitlyExposedIntent()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 7880 method public final boolean hasAction(java.lang.String);
|