Home
last modified time | relevance | path

Searched refs:hasComponent (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/componenttests/src/com/android/settings/biometrics/
DBiometricEnrollActivityTest.java23 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()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ext/
DIntentExtTest.kt40 fun hasComponent() { in hasComponent() method in com.android.intentresolver.ext.IntentExtTest
41 assertThat(Intent().hasComponent()).isFalse() in hasComponent()
42 assertThat(Intent().setComponent(ComponentName("A", "B")).hasComponent()).isTrue() in hasComponent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DLandingActivityTest.java28 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()
DProvisioningActivityTest.java30 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;
386 intended(allOf(hasComponent(TEST_ACTIVITY), hasAction(ACTION_STATE_USER_SETUP_COMPLETE))); in testSuccess_Nfc()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/settings/
DSettingsActivityTest.java26 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()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppBtEnableActivityTest.java23 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;
91 intended(hasComponent(BluetoothOppBtEnablingActivity.class.getName())); in onCreate_clickOnEnable_launchEnablingActivity()
DBluetoothOppReceiverTest.java22 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()
DBluetoothOppLauncherActivityTest.java25 import static androidx.test.espresso.intent.matcher.IntentMatchers.hasComponent;
160 intended(hasComponent(BluetoothOppBtEnableActivity.class.getName())); in launchDevicePicker_bluetoothNotEnabled_launchEnableActivity()
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/
DLoginTest.java26 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()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ext/
DIntentExt.kt36 fun Intent.hasComponent(): Boolean = (component != null) method
/packages/services/Car/cpp/powerpolicy/client/include/
DPowerPolicyClientBase.h35 bool hasComponent(
/packages/services/Car/cpp/powerpolicy/client/src/
DPowerPolicyClientBase.cpp55 bool hasComponent(const std::vector<PowerComponent>& components, PowerComponent component) { in hasComponent() function