Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92893c09 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8292183 from 0b549805 to tm-d1-release

Change-Id: I732787d69723ecd35d32fa73ecc58c0f1f5bb44c
parents 628fe6e8 0b549805
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@


// These values are called out in the EVS design doc (as of Mar 8, 2017)
static const int kMaxStreamStartMilliseconds = 500;
static const int kMaxStreamStartMilliseconds = 1000;
static const int kMinimumFramesPerSecond = 10;

static const int kSecondsToMilliseconds = 1000;
@@ -332,11 +332,6 @@ TEST_P(EvsHidlTest, CameraStreamPerformance) {
        printf("Measured time to first frame %0.2f ms\n", timeToFirstFrame * kNanoToMilliseconds);
        ALOGI("Measured time to first frame %0.2f ms", timeToFirstFrame * kNanoToMilliseconds);

        // Check aspect ratio
        unsigned width = 0, height = 0;
        frameHandler->getFrameDimension(&width, &height);
        EXPECT_GE(width, height);

        // Wait a bit, then ensure we get at least the required minimum number of frames
        sleep(5);
        nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC);
@@ -370,7 +365,7 @@ TEST_P(EvsHidlTest, CameraStreamBuffering) {
    ALOGI("Starting CameraStreamBuffering test");

    // Arbitrary constant (should be > 1 and not too big)
    static const unsigned int kBuffersToHold = 6;
    static const unsigned int kBuffersToHold = 2;

    // Get the camera list
    loadCameraList();
+1 −6
Original line number Diff line number Diff line
@@ -499,11 +499,6 @@ TEST_P(EvsHidlTest, CameraStreamPerformance) {
                  << std::scientific << timeToFirstFrame * kNanoToMilliseconds
                  << " ms.";

        // Check aspect ratio
        unsigned width = 0, height = 0;
        frameHandler->getFrameDimension(&width, &height);
        EXPECT_GE(width, height);

        // Wait a bit, then ensure we get at least the required minimum number of frames
        sleep(5);
        nsecs_t end = systemTime(SYSTEM_TIME_MONOTONIC);
@@ -541,7 +536,7 @@ TEST_P(EvsHidlTest, CameraStreamBuffering) {
    LOG(INFO) << "Starting CameraStreamBuffering test";

    // Arbitrary constant (should be > 1 and not too big)
    static const unsigned int kBuffersToHold = 6;
    static const unsigned int kBuffersToHold = 2;

    // Get the camera list
    loadCameraList();
+7 −1
Original line number Diff line number Diff line
@@ -42,5 +42,11 @@ aidl_interface {
            },
        },
    },
    versions: ["1"],
    versions_with_info: [
        {
            version: "1",
            imports: [],
        },
    ],

}
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
/* @hide */
@VintfStability
parcelable BlocklistedSource {
  android.hardware.gnss.GnssConstellationType constellation = android.hardware.gnss.GnssConstellationType.UNKNOWN;
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.gnss;
/* @hide */
@VintfStability
parcelable CorrelationVector {
  double frequencyOffsetMps;
Loading