Searched refs:hasComponent (Results 1 – 12 of 12) sorted by relevance
23 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;123 intended(hasComponent(ChooseLockGeneric.class.getName())); in launchWithoutPin_setsPin()139 intended(hasComponent(ConfirmLockPassword.InternalActivity.class.getName())); in launchWithPin_confirmsPin()159 intended(hasComponent(mHasFace && !mHasFingerprint in launchWithPinAndPwHandle_confirmsPin()175 intended(hasComponent(ChooseLockGeneric.class.getName())); in launchWithStrongBiometricAllowed_doNotEnrollWeak()
40 fun hasComponent() { in hasComponent() method in com.android.intentresolver.ext.IntentExtTest41 assertThat(Intent().hasComponent()).isFalse() in hasComponent()42 assertThat(Intent().setComponent(ComponentName("A", "B")).hasComponent()).isTrue() in hasComponent()
28 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;83 intended(hasComponent(AdminIntegratedFlowPrepareActivity.class.getName())); in onNextButtonClicked_shouldRunPrepareActivity_runsPrepareActivity()95 intended(hasComponent(AdminIntegratedFlowPrepareActivity.class.getName()), times(0)); in onNextButtonClicked_shouldNotRunPrepareActivity_doesNotRunPrepareActivity()
30 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;386 intended(allOf(hasComponent(TEST_ACTIVITY), hasAction(ACTION_STATE_USER_SETUP_COMPLETE))); in testSuccess_Nfc()
26 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;85 hasComponent(SettingsActivity.class.getName()), in testSettings_aboutTap_launchesActivity()100 hasComponent(SettingsActivity.class.getName()), in testSettings_developerOptionsTap_launchesActivityWithFragment()
23 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;91 intended(hasComponent(BluetoothOppBtEnablingActivity.class.getName())); in onCreate_clickOnEnable_launchEnablingActivity()
22 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;145 intended(hasComponent(BluetoothOppIncomingFileConfirmActivity.class.getName())); in onReceive_withActionIncomingFileConfirm_startsIncomingFileConfirmActivity()206 intended(hasComponent(BluetoothOppTransferHistory.class.getName())); in onReceive_withActionOutboundTransfer_startsTransferHistoryActivity()227 intended(hasComponent(BluetoothOppTransferHistory.class.getName())); in onReceive_withActionInboundTransfer_startsTransferHistoryActivity()
25 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;160 intended(hasComponent(BluetoothOppBtEnableActivity.class.getName())); in launchDevicePicker_bluetoothNotEnabled_launchEnableActivity()
26 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;157 hasComponent(TokenActivity.class.getName()))); in startTokenActivity()171 hasComponent(TokenActivity.class.getName()))) in returnedFromTokenActivityOK()194 hasComponent(TokenActivity.class.getName()))) in returnedFromTokenActivityCancelled()
36 fun Intent.hasComponent(): Boolean = (component != null) method
35 bool hasComponent(
55 bool hasComponent(const std::vector<PowerComponent>& components, PowerComponent component) { in hasComponent() function