Home
last modified time | relevance | path

Searched refs:invalidId (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java1298 int invalidId = -1; in testVolumeControlOffsetDescriptor() local
1308 Assert.assertFalse(descriptor.setValue(invalidId, testValue)); in testVolumeControlOffsetDescriptor()
1310 Assert.assertEquals(0, descriptor.getValue(invalidId)); in testVolumeControlOffsetDescriptor()
1313 Assert.assertFalse(descriptor.setDescription(invalidId, testDesc)); in testVolumeControlOffsetDescriptor()
1315 Assert.assertEquals(null, descriptor.getDescription(invalidId)); in testVolumeControlOffsetDescriptor()
1318 Assert.assertFalse(descriptor.setLocation(invalidId, testLocation)); in testVolumeControlOffsetDescriptor()
1320 Assert.assertEquals(0, descriptor.getLocation(invalidId)); in testVolumeControlOffsetDescriptor()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorHidlUnitTest_1_0.cpp332 constexpr int invalidId = 0x10; in TEST_F() local
333 read = c->getExtendedInfo(invalidId); in TEST_F()
DEvsEnumeratorUnitTest.cpp483 constexpr int invalidId = 0x10; in TEST_F() local
484 EXPECT_FALSE(c0->getExtendedInfo(invalidId, &read).isOk()); in TEST_F()
DEvsEnumeratorHidlUnitTest.cpp614 constexpr int invalidId = 0x10; in TEST_F() local
615 EXPECT_TRUE(c->getExtendedInfo_1_1(invalidId, [&result, &read](const auto& r, const auto& v) { in TEST_F()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java1579 String invalidId = INVALID_STR; in testInvalidPhoneAccountHandleIdThrowsException() local
1580 PhoneAccountHandle handle = makeQuickAccountHandle(invalidId); in testInvalidPhoneAccountHandleIdThrowsException()
1586 assertEquals(invalidId, account.getAccountHandle().getId()); in testInvalidPhoneAccountHandleIdThrowsException()