/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | CoreTestBase.kt | 4 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() {
|
D | AssociationsCleanUpTest.kt | 21 import android.companion.CompanionDeviceManager in <lambda>() 105 private fun CompanionDeviceManager.getAssociationForPackage( in CompanionDeviceManager() method
|
D | DisassociateTest.kt | 21 import android.companion.CompanionDeviceManager 144 private fun CompanionDeviceManager.getMyAssociationLinkedTo( in CompanionDeviceManager() method
|
D | BackupAndRestoreTest.kt | 22 import android.companion.CompanionDeviceManager in <lambda>() 261 private fun CompanionDeviceManager.getAssociationForPackage( in CompanionDeviceManager() method
|
D | AssociateTest.kt | 20 import android.companion.CompanionDeviceManager.FLAG_CALL_METADATA
|
D | TransportsListenerTest.kt | 21 import android.companion.CompanionDeviceManager.MESSAGE_REQUEST_PING in <lambda>()
|
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/ |
D | MainActivity.kt | 25 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/ |
D | CompanionDeviceTestActivity.java | 22 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()
|
D | CompanionDeviceServiceTestActivity.java | 25 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/ |
D | RecordingCdmEventObserver.kt | 20 import android.companion.CompanionDeviceManager 38 CompanionDeviceManager.Callback(), 39 CompanionDeviceManager.OnAssociationsChangedListener,
|
D | RecordingOnAssociationsChangedListener.kt | 19 import android.companion.CompanionDeviceManager 23 CompanionDeviceManager.OnAssociationsChangedListener,
|
D | TestBase.kt | 26 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()
|
D | RecordingCallback.kt | 20 import android.companion.CompanionDeviceManager 31 ) : CompanionDeviceManager.Callback(),
|
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/ |
D | CompanionDeviceTestAppActivity.kt | 31 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/ |
D | UiAutomationTestBase.kt | 30 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>()
|
D | AssociationEndToEndSelfManagedTest.kt | 8 import android.companion.CompanionDeviceManager 87 data.getParcelableExtra(CompanionDeviceManager.EXTRA_ASSOCIATION) in test_userRejected()
|
D | ForceCancelConfirmationTest.kt | 19 import android.companion.CompanionDeviceManager.REASON_CANCELED
|
D | SystemDataTransferTest.kt | 24 import android.companion.CompanionDeviceManager in <lambda>() 291 CompanionDeviceManager.EXTRA_ASSOCIATION, in <lambda>()
|
/cts/tests/tests/virtualdevice/common/src/android/virtualdevice/cts/common/ |
D | FakeAssociationRule.java | 34 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/ |
D | CallbackUtils.kt | 20 import android.companion.CompanionDeviceManager 33 class AssociationCallback : CompanionDeviceManager.Callback() {
|
D | CompanionDeviceManagerSnippet.kt | 24 import android.companion.CompanionDeviceManager 46 as CompanionDeviceManager 96 CompanionDeviceManager.EXTRA_ASSOCIATION, in associate()
|
D | BluetoothConnector.kt | 23 import android.companion.CompanionDeviceManager 30 private val cdm: CompanionDeviceManager
|
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/ |
D | MainActivity.java | 28 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/ |
D | README.md | 1 CTS tests for `CompanionDeviceManager` are split into 2 modules:
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | WearableSensingManagerIsolatedServiceTest.java | 50 import android.companion.CompanionDeviceManager; 117 private CompanionDeviceManager mCompanionDeviceManager; 148 mCompanionDeviceManager = mContext.getSystemService(CompanionDeviceManager.class); in setUp() 621 new CompanionDeviceManager.Callback() { in attachTransportToCdm()
|