Searched refs:TEST_INDEX (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetClccResponseTest.java | 30 private static final int TEST_INDEX = 1; field in HeadsetClccResponseTest 42 TEST_INDEX, in constructor() 50 assertThat(response.mIndex).isEqualTo(TEST_INDEX); in constructor() 63 TEST_INDEX, in buildString() 77 + TEST_INDEX in buildString() 98 TEST_INDEX, in buildString_withNoNumber() 112 + TEST_INDEX in buildString_withNoNumber()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | BpfInterfaceMapHelperTest.java | 52 private static final int TEST_INDEX = 1; field in BpfInterfaceMapHelperTest 77 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testGetIfNameByIndex() 78 assertEquals(TEST_INTERFACE_NAME, mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndex() 83 assertNull(mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndexNoEntry() 88 doThrow(new ErrnoException("", EPERM)).when(mBpfMap).getValue(new S32(TEST_INDEX)); in testGetIfNameByIndexException() 89 assertNull(mUpdater.getIfNameByIndex(TEST_INDEX)); in testGetIfNameByIndexException() 105 mBpfMap.updateEntry(new S32(TEST_INDEX), new InterfaceMapValue(TEST_INTERFACE_NAME)); in testDump()
|
/packages/modules/Connectivity/tests/common/java/android/net/util/ |
D | SocketUtilsTest.kt | 36 private const val TEST_INDEX = 123 constant 56 val pkAddress = SocketUtils.makePacketSocketAddress(ETH_P_ALL, TEST_INDEX) in testMakePacketSocketAddress_Q() 59 val pkAddress2 = SocketUtils.makePacketSocketAddress(TEST_INDEX, ByteArray(6) { FF_BYTE }) in testMakePacketSocketAddress_Q() 66 ETH_P_ALL, TEST_INDEX, ByteArray(6) { FF_BYTE }) in testMakePacketSocketAddress()
|