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

Commit afd6a7ca authored by Anton Hansson's avatar Anton Hansson Committed by Android (Google) Code Review
Browse files

Merge "Add atom for sdk extension tests"

parents 6cd4ee4c 5a48e4b6
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -391,6 +391,7 @@ message Atom {
        WifiHealthStatReported wifi_health_stat_reported = 251 [(module) = "wifi"];
        WifiFailureStatReported wifi_failure_stat_reported = 252 [(module) = "wifi"];
        WifiConnectionResultReported wifi_connection_result_reported = 253 [(module) = "wifi"];
        SdkExtensionStatus sdk_extension_status = 354;
    }

    // Pulled events will start at field 10000.
@@ -8337,3 +8338,27 @@ message CellBroadcastMessageError {
    // Exception message (or log message) associated with the error (max 1000 chars)
    optional string exception_message = 2;
}

/**
 * Logs when the SDK Extensions test app has polled the current version.
 * This is atom ID 354.
 *
 * Logged from:
 *   vendor/google_testing/integration/packages/apps/SdkExtensionsTestApp/
 */
message SdkExtensionStatus {
    enum ApiCallStatus {
        CALL_NOT_ATTEMPTED = 0;
        CALL_SUCCESSFUL = 1;
        CALL_FAILED = 2;
    }

    optional ApiCallStatus result = 1;

    // The R extension version, i.e. android.os.ext.SdkExtension.getExtensionVersion(R).
    optional int32 r_extension_version = 2;

    // A number identifying which particular symbol's call failed, if any. 0 means no missing symbol.
    // "Failed" here can mean a symbol that wasn't meant to be visible was, or the other way around.
    optional int32 failed_call_symbol = 3;
}