Home
last modified time | relevance | path

Searched refs:CompanionActivity (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCompanionDeviceManagerSnippet.kt25 import android.companion.cts.common.CompanionActivity
81 CompanionActivity.launchAndWait(context) in associate()
82 CompanionActivity.startIntentSender(pendingConfirmation) in associate()
87 val (_, result) = CompanionActivity.waitForActivityResult() in associate()
88 CompanionActivity.safeFinish() in associate()
89 CompanionActivity.waitUntilGone() in associate()
111 CompanionActivity.launchAndWait(context) in requestPermissionTransferUserConsent()
112 CompanionActivity.startIntentSender(pendingIntent) in requestPermissionTransferUserConsent()
117 CompanionActivity.waitForActivityResult() in requestPermissionTransferUserConsent()
118 CompanionActivity.safeFinish() in requestPermissionTransferUserConsent()
[all …]
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DForceCancelConfirmationTest.kt20 import android.companion.cts.common.CompanionActivity
68 CompanionActivity.startIntentSender(pendingIntent) in test_cancel_confirmation()
84 CompanionActivity.launchAndWait(context) in test_cancel_confirmation_not_exist()
85 CompanionActivity.startIntentSender(pendingIntent) in test_cancel_confirmation_not_exist()
DUiAutomationTestBase.kt37 import android.companion.cts.common.CompanionActivity in <lambda>()
90 Assume.assumeTrue(CompanionActivity.waitUntilGone()) in <lambda>()
111 CompanionActivity.safeFinish() in <lambda>()
112 CompanionActivity.waitUntilGone() in <lambda>()
187 val (resultCode: Int, _) = CompanionActivity.waitForActivityResult() in <lambda>()
219 val (resultCode: Int, _) = CompanionActivity.waitForActivityResult() in <lambda>()
265 val (resultCode: Int, data: Intent?) = CompanionActivity.waitForActivityResult() in <lambda>()
352 CompanionActivity.launchAndWait(context) in <lambda>()
353 CompanionActivity.startIntentSender(pendingConfirmation) in <lambda>()
DAssociationEndToEndSelfManagedTest.kt9 import android.companion.cts.common.CompanionActivity
83 val (resultCode: Int, data: Intent?) = CompanionActivity.waitForActivityResult() in test_userRejected()
DSystemDataTransferTest.kt27 import android.companion.cts.common.CompanionActivity in <lambda>()
288 val (_: Int, associationData: Intent?) = CompanionActivity.waitForActivityResult() in <lambda>()
305 CompanionActivity.startIntentSender(pendingUserConsent!!) in <lambda>()
316 val (resultCode: Int, _: Intent?) = CompanionActivity.waitForActivityResult() in <lambda>()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DCompanionActivity.kt33 class CompanionActivity : Activity() { class
55 private var unsafeInstance: CompanionActivity? = null
56 val instance: CompanionActivity
60 val intent = Intent(context, CompanionActivity::class.java) in launchAndWait()