/hardware/interfaces/audio/2.0/vts/functional/utility/ |
D | AssertOk.h | 49 Result expected, Result result) { in assertResult() argument 50 return ::testing::AssertionResult(expected == result) in assertResult() 54 << "\nWhich is: " << ::testing::PrintToString(expected); in assertResult() 60 Result expected, in assertResult() argument 63 return assertResult(e_expr, r_expr, expected, Result{ret}); in assertResult() 69 const char* e_expr, const char* r_expr, const std::vector<Result>& expected, in assertResult() argument 71 if (std::find(expected.begin(), expected.end(), result) != expected.end()) { in assertResult() 78 << "\n Which is: " << ::testing::PrintToString(expected); in assertResult() 83 const char* e_expr, const char* r_expr, const std::vector<Result>& expected, in assertResult() argument 86 return assertResult(e_expr, r_expr, expected, Result{ret}); in assertResult() [all …]
|
/hardware/libhardware/modules/sensors/tests/ |
D | SensorEventQueue_test.cpp | 16 bool checkWritableBufferSize(SensorEventQueue* queue, int requested, int expected) { in checkWritableBufferSize() argument 19 if (actual != expected) { in checkWritableBufferSize() 20 printf("Expected buffer size was %d; actual was %d\n", expected, actual); in checkWritableBufferSize() 26 bool checkSize(SensorEventQueue* queue, int expected) { in checkSize() argument 28 if (actual != expected) { in checkSize() 29 printf("Expected queue size was %d; actual was %d\n", expected, actual); in checkSize() 35 bool checkInt(const char* msg, int expected, int actual) { in checkInt() argument 36 if (actual != expected) { in checkInt() 37 printf("%s; expected %d; actual was %d\n", msg, expected, actual); in checkInt()
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 193 std::vector<float> dataIn(512*512), dataOut(256*256), expected(256*256); in TEST_F() local 214 expected[i*256 + j] = dataIn[(i+128)*512 + (j+128)]; in TEST_F() 217 EXPECT_EQ(expected, dataOut); in TEST_F() 245 std::vector<float> dataIn(128*128*128), dataOut(64*64*64), expected(64*64*64); in TEST_F() local 267 expected[i*64*64 + j*64 + k] = dataIn[(i+32)*128*128 + (j+32)*128 + (k+32)]; in TEST_F() 271 EXPECT_EQ(expected, dataOut); in TEST_F() 294 std::vector<float> dataIn(512*512), dataOut(256*256), expected; in TEST_F() local 325 expected.push_back(i * 512 + j); in TEST_F() 328 EXPECT_EQ(expected, dataOut); in TEST_F() 351 std::vector<uint8_t> dataIn(64*64), dataOut(32*32), expected(32*32); in TEST_F() local [all …]
|
D | VtsScriptTests.cpp | 208 std::vector<uint8_t> dataIn(64), dataOut(64), expected(64); in TEST_F() local 210 std::generate(expected.begin(), expected.end(), [](){ static uint8_t val = 1; return val++; }); in TEST_F() 230 EXPECT_EQ(expected, dataOut); in TEST_F() 311 std::vector<int> dataIn(64), dataOut(64), expected(64, 5); in TEST_F() local 321 EXPECT_EQ(expected, dataOut); in TEST_F() 427 std::vector<uint8_t> dataIn(128, 128), dataOut(128, 0), expected(128, 7+1); in TEST_F() local 487 EXPECT_EQ(expected, dataOut); in TEST_F() 504 std::vector<uint8_t> dataIn(128, 128), dataOut(128, 0), expected(128, 128 + 1); in TEST_F() local 547 EXPECT_EQ(expected, dataOut); in TEST_F()
|
/hardware/interfaces/gnss/1.0/ |
D | types.hal | 87 * Represents expected horizontal position accuracy, radial, in meters 93 * Represents expected vertical position accuracy in meters 99 * Represents expected speed accuracy in meter per seconds 105 * Represents expected bearing accuracy in degrees
|
D | IGnssNavigationMessage.hal | 43 * expected that the HAL will not generate any updates upon returning
|
D | IGnssMeasurementCallback.hal | 78 * The expected behavior here is for GNSS HAL to set all the flags that applies. 145 * For local hardware clock, this value is expected to be monotonically 260 * It is expected, esp. during periods where there are few GNSS signals 276 * by calculating or reporting expected measurements based on known or estimated 474 * However, it is expected that the data is only accurate when:
|
/hardware/interfaces/automotive/evs/1.0/ |
D | IEvsDisplay.hal | 41 * then expected to request the VISIBLE_ON_NEXT_FRAME state, and then begin providing 42 * video. When the display is no longer required, the client is expected to request 77 * buffers are expected to be returned before the IEvsDisplay interface is destroyed.
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | VehicleObjectPool.h | 219 bool check(hidl_vec<VecType>* vec, bool expected) { in check() argument 220 return vec->size() == (expected ? mVectorSize : 0); in check()
|
/hardware/intel/common/libmix/mix_video/src/ |
D | mixframemanager.c | 320 guint64 expected, guint64 tolerance, guint64 *frametimestamp) { in get_expected_frame_from_array() argument 330 if (!array || !expected || !tolerance || !frametimestamp || expected < tolerance) { in get_expected_frame_from_array() 375 if (lowest_timestamp <= expected + tolerance) in get_expected_frame_from_array()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalTestUtils.h | 189 std::initializer_list<T> expected, in assertAllExistsAnyOrder() argument 192 std::set<T> expectedSet = expected; in assertAllExistsAnyOrder()
|
/hardware/libhardware/tests/keymaster/ |
D | keymaster_test.cpp | 546 Unique_EVP_PKEY expected(EVP_PKCS82PKEY(expectedPkcs8.get())); in TEST_F() local 548 ASSERT_EQ(1, EVP_PKEY_cmp(expected.get(), actual.get())) in TEST_F() 582 Unique_EVP_PKEY expected(EVP_PKCS82PKEY(expectedPkcs8.get())); in TEST_F() local 584 ASSERT_EQ(1, EVP_PKEY_cmp(expected.get(), actual.get())) in TEST_F() 932 Unique_EVP_PKEY expected(d2i_PUBKEY((EVP_PKEY**) NULL, &tmp, in TEST_F() local 935 Unique_EC_KEY ecKey(EVP_PKEY_get1_EC_KEY(expected.get())); in TEST_F()
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 29 template <size_t actual, size_t expected> void check_member(void) { in check_member() 30 static_assert(actual == expected, ""); in check_member()
|
/hardware/interfaces/power/1.0/ |
D | types.hal | 23 * then CPU and GPU load is expected soon, and it may be appropriate 33 * events are incoming. CPU and GPU load may be expected soon,
|
/hardware/interfaces/usb/1.0/ |
D | IUsbCallback.hal | 21 * Caller is expected to register the callback object using setCallback method
|
/hardware/interfaces/vibrator/1.0/ |
D | IVibrator.hal | 65 * @return lengthMs The length of time the event is expected to take in
|
/hardware/interfaces/media/omx/1.0/vts/functional/ |
D | README.md | 12 …ds testing these (omx core). Every standard OMX compatible component is expected to pass these tes…
|
/hardware/interfaces/wifi/1.0/ |
D | IWifiChipEventCallback.hal | 64 * It is not expected that driver will necessarily always empty the ring
|
D | IWifiChip.hal | 81 * available combinations, [{STA} <= 1] and [{AP} <= 1] then it is expected 83 * is not expected that both a STA and AP interface could be created. If it 87 * When switching between two available combinations it is expected that 652 * The driver is expected to start maintaining these stats once the chip
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | VtsHalSensorsV1_0TargetTest.cpp | 666 SensorFlagBits expected = expectedReportModeForType(type); in assertTypeMatchReportMode() local 668 ASSERT_TRUE(expected == (SensorFlagBits) -1 || expected == reportMode) in assertTypeMatchReportMode() 670 << "expected=" << static_cast<int>(expected); in assertTypeMatchReportMode()
|
/hardware/interfaces/camera/device/3.2/ |
D | ICameraDeviceSession.hal | 124 * This call is expected to be heavyweight and possibly take several hundred 195 * expected to be in flight at once, to maintain full output frame rate. 296 * All requests currently in the HAL are expected to be returned as soon as 335 * 3.1. Call notify with CAMERA3_MSG_ERROR_RESULT if some of the expected
|
/hardware/interfaces/camera/device/1.0/ |
D | ICameraDevicePreviewCallback.hal | 94 * Set the expected buffering mode for the preview output.
|
/hardware/interfaces/graphics/bufferqueue/1.0/ |
D | IGraphicBufferProducer.hal | 155 * buffer to the given slot index, and the client is expected to mirror the 239 * Once the client is done filling this buffer, it is expected to transfer 245 * expected to call requestBuffer immediately. 248 * expected to release all of the mirrored slot->buffer mappings. 366 * expected to release all of the mirrored slot->buffer mappings.
|
/hardware/interfaces/audio/2.0/ |
D | IStreamIn.hal | 126 * Audio driver is expected to reset the value to 0 and restart counting
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 824 void CheckKm0CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm0CryptoParam() argument 827 EXPECT_TRUE(contains(key_characteristics_.teeEnforced, ttag, expected)); in CheckKm0CryptoParam() 830 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)); in CheckKm0CryptoParam() 836 void CheckKm1CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm1CryptoParam() argument 839 EXPECT_TRUE(contains(key_characteristics_.teeEnforced, ttag, expected)); in CheckKm1CryptoParam() 842 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)); in CheckKm1CryptoParam() 848 void CheckKm2CryptoParam(TypedTag<tag_type, tag> ttag, ValueT expected) { in CheckKm2CryptoParam() argument 851 EXPECT_TRUE(contains(key_characteristics_.teeEnforced, ttag, expected)); in CheckKm2CryptoParam() 854 EXPECT_TRUE(contains(key_characteristics_.softwareEnforced, ttag, expected)); in CheckKm2CryptoParam()
|