Home
last modified time | relevance | path

Searched refs:CompanionDeviceManager (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/companion/core/src/android/companion/cts/core/
DCoreTestBase.kt4 import android.companion.CompanionDeviceManager
24 protected val NO_OP_LISTENER: CompanionDeviceManager.OnAssociationsChangedListener =
25 CompanionDeviceManager.OnAssociationsChangedListener { } in <lambda>()
27 protected val NO_OP_CALLBACK: CompanionDeviceManager.Callback =
28 object : CompanionDeviceManager.Callback() {
DAssociationsCleanUpTest.kt21 import android.companion.CompanionDeviceManager in <lambda>()
105 private fun CompanionDeviceManager.getAssociationForPackage( in CompanionDeviceManager() method
DDisassociateTest.kt21 import android.companion.CompanionDeviceManager
144 private fun CompanionDeviceManager.getMyAssociationLinkedTo( in CompanionDeviceManager() method
DBackupAndRestoreTest.kt22 import android.companion.CompanionDeviceManager in <lambda>()
261 private fun CompanionDeviceManager.getAssociationForPackage( in CompanionDeviceManager() method
DAssociateTest.kt20 import android.companion.CompanionDeviceManager.FLAG_CALL_METADATA
DTransportsListenerTest.kt21 import android.companion.CompanionDeviceManager.MESSAGE_REQUEST_PING in <lambda>()
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/
DMainActivity.kt25 import android.companion.CompanionDeviceManager
33 val cdm: CompanionDeviceManager by lazy { val java = CompanionDeviceManager::class.java in <lambda>()
53 object : CompanionDeviceManager.Callback() { in onAttachedToWindow()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java22 import android.companion.CompanionDeviceManager;
48 private CompanionDeviceManager mCompanionDeviceManager;
58 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()
79 CompanionDeviceManager.Callback callback = new CompanionDeviceManager.Callback() { in test()
132 = data.getParcelableExtra(CompanionDeviceManager.EXTRA_DEVICE); in onActivityResult()
DCompanionDeviceServiceTestActivity.java25 import android.companion.CompanionDeviceManager;
55 private CompanionDeviceManager mCompanionDeviceManager;
89 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()
143 data.getParcelableExtra(CompanionDeviceManager.EXTRA_ASSOCIATION, in onActivityResult()
256 final CompanionDeviceManager.Callback mCallback =
257 new CompanionDeviceManager.Callback() {
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRecordingCdmEventObserver.kt20 import android.companion.CompanionDeviceManager
38 CompanionDeviceManager.Callback(),
39 CompanionDeviceManager.OnAssociationsChangedListener,
DRecordingOnAssociationsChangedListener.kt19 import android.companion.CompanionDeviceManager
23 CompanionDeviceManager.OnAssociationsChangedListener,
DTestBase.kt26 import android.companion.CompanionDeviceManager
75 protected val cdm: CompanionDeviceManager by lazy { in <lambda>()
76 context.getSystemService(CompanionDeviceManager::class.java)!! in <lambda>()
159 private fun CompanionDeviceManager.disassociateAll() = in runShellCommand() method
229 fun assertApplicationBinds(cdm: CompanionDeviceManager) { in assertApplicationBinds()
237 fun assertApplicationUnbinds(cdm: CompanionDeviceManager) { in assertApplicationUnbinds()
245 fun assertApplicationRemainsBound(cdm: CompanionDeviceManager) { in assertApplicationRemainsBound()
424 cdm: CompanionDeviceManager in getAssociationForPackage()
DRecordingCallback.kt20 import android.companion.CompanionDeviceManager
31 ) : CompanionDeviceManager.Callback(),
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt31 import android.companion.CompanionDeviceManager in <lambda>()
67 val cdm: CompanionDeviceManager by lazy { val java = CompanionDeviceManager::class.java in <lambda>()
181 object : CompanionDeviceManager.Callback() { in <lambda>()
207 val rawDevice = data?.getParcelableExtra<Parcelable?>(CompanionDeviceManager.EXTRA_DEVICE) in <lambda>()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt30 import android.companion.CompanionDeviceManager in <lambda>()
31 import android.companion.CompanionDeviceManager.REASON_CANCELED in <lambda>()
32 import android.companion.CompanionDeviceManager.REASON_DISCOVERY_TIMEOUT in <lambda>()
33 import android.companion.CompanionDeviceManager.REASON_USER_REJECTED in <lambda>()
34 import android.companion.CompanionDeviceManager.RESULT_DISCOVERY_TIMEOUT in <lambda>()
35 import android.companion.CompanionDeviceManager.RESULT_USER_REJECTED in <lambda>()
269 CompanionDeviceManager.EXTRA_ASSOCIATION, in <lambda>()
DAssociationEndToEndSelfManagedTest.kt8 import android.companion.CompanionDeviceManager
87 data.getParcelableExtra(CompanionDeviceManager.EXTRA_ASSOCIATION) in test_userRejected()
DForceCancelConfirmationTest.kt19 import android.companion.CompanionDeviceManager.REASON_CANCELED
DSystemDataTransferTest.kt24 import android.companion.CompanionDeviceManager in <lambda>()
291 CompanionDeviceManager.EXTRA_ASSOCIATION, in <lambda>()
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/
DFakeAssociationRule.java34 import android.companion.CompanionDeviceManager;
72 private CompanionDeviceManager.OnAssociationsChangedListener mOnAssociationsChangedListener;
77 private CompanionDeviceManager mCompanionDeviceManager;
85 mCompanionDeviceManager = mContext.getSystemService(CompanionDeviceManager.class); in FakeAssociationRule()
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCallbackUtils.kt20 import android.companion.CompanionDeviceManager
33 class AssociationCallback : CompanionDeviceManager.Callback() {
DCompanionDeviceManagerSnippet.kt24 import android.companion.CompanionDeviceManager
46 as CompanionDeviceManager
96 CompanionDeviceManager.EXTRA_ASSOCIATION, in associate()
DBluetoothConnector.kt23 import android.companion.CompanionDeviceManager
30 private val cdm: CompanionDeviceManager
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java28 import android.companion.CompanionDeviceManager;
68 private CompanionDeviceManager mCompanionDeviceManager;
89 mCompanionDeviceManager = getSystemService(CompanionDeviceManager.class); in onCreate()
276 private CompanionDeviceManager.Callback mCallback = new CompanionDeviceManager.Callback() {
/cts/tests/tests/companion/
DREADME.md1 CTS tests for `CompanionDeviceManager` are split into 2 modules:
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java50 import android.companion.CompanionDeviceManager;
117 private CompanionDeviceManager mCompanionDeviceManager;
148 mCompanionDeviceManager = mContext.getSystemService(CompanionDeviceManager.class); in setUp()
621 new CompanionDeviceManager.Callback() { in attachTransportToCdm()

12