Home
last modified time | relevance | path

Searched refs:macAddress (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/companion/common/src/android/companion/cts/common/
DAppHelper.kt29 fun associate(macAddress: MacAddress, role: String = "") = in associate()
30 runShellCommand("cmd companiondevice associate $userId $packageName $macAddress $role") in associate()
32 fun disassociate(macAddress: MacAddress) = in associate()
33 runShellCommand("cmd companiondevice disassociate $userId $packageName $macAddress") in associate()
DTestBase.kt423 macAddress: MacAddress, in getAssociationForPackage()
426 it.belongsToPackage(userId, packageName) && it.deviceMacAddress == macAddress in getAssociationForPackage()
427 } ?: fail("Association for u$userId/$packageName linked to address $macAddress does not exist") in getAssociationForPackage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DBleScanner.java56 String macAddress = bluetoothDevice.getAddress();
74 macAddress,
123 String macAddress, in onBleScanResult() argument
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDisassociateTest.kt145 macAddress: MacAddress in CompanionDeviceManager()
146 ): AssociationInfo = myAssociations.find { it.deviceMacAddress == macAddress } in CompanionDeviceManager()
147 ?: fail("Association linked to address $macAddress does not exist")
DBackupAndRestoreTest.kt206 private fun assertAssociationsAddedFor(app: AppHelper, macAddress: MacAddress) = waitFor { in <lambda>()
209 it.deviceMacAddress == macAddress in <lambda>()
214 throw AssertionError("Device $macAddress was not associated with ${app.packageName}.") in <lambda>()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DEnrollmentSpecificIdTest.java148 final byte[] macAddress; in calculateEsid()
151 macAddress = "".getBytes(); in calculateEsid()
153 macAddress = macAddresses[0].getBytes(); in calculateEsid()
157 + macAddress.length; in calculateEsid()
162 fixedIdentifiers.put(macAddress); in calculateEsid()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleRxTxOffsetPrecisionActivity.java182 macAddress, in startTestAsDut() argument
223 macAddress, in startTestAsReferenceDevice() argument
DBleRssiPrecisionActivity.java153 macAddress, in startTest() argument
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DSensitiveNotificationRedactionTest.kt359 val macAddress = MacAddress.fromString("00:00:00:00:00:AA") in testListenerWithCdmAssociationGetsUnredacted() constant
363 "${mContext.userId} ${mContext.packageName} $macAddress" in testListenerWithCdmAssociationGetsUnredacted()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyManagerTest.java1672 private void assertMacAddress(String macAddress) { in assertMacAddress() argument
1674 assertTrue("MAC Address " + macAddress + " does not match pattern " + macPattern, in assertMacAddress()
1675 Pattern.matches(macPattern, macAddress)); in assertMacAddress()