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

Commit 117cb432 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8112519 from 203ff82d to tm-d1-release

Change-Id: I1617a9404c4bb731abcaee88dec48103e3274aea
parents 3d52d7f8 203ff82d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -46,6 +46,14 @@ cc_binary {
    srcs: ["main.cpp"],
}

cc_binary {
    name: "servicemanager.microdroid",
    defaults: ["servicemanager_defaults"],
    init_rc: ["servicemanager.microdroid.rc"],
    srcs: ["main.cpp"],
    bootstrap: true,
}

cc_binary {
    name: "servicemanager.recovery",
    stem: "servicemanager",
+13 −0
Original line number Diff line number Diff line
service servicemanager /system/bin/servicemanager.microdroid
    class core animation
    user system
    group system readproc
    critical
    onrestart restart apexd
    onrestart restart audioserver
    onrestart restart gatekeeperd
    onrestart class_restart --only-enabled main
    onrestart class_restart --only-enabled hal
    onrestart class_restart --only-enabled early_hal
    task_profiles ServiceCapacityLow
    shutdown critical
+6 −0
Original line number Diff line number Diff line
@@ -244,6 +244,12 @@ prebuilt_etc {
    defaults: ["frameworks_native_data_etc_defaults"],
}

prebuilt_etc {
    name: "go_handheld_core_hardware.prebuilt.xml",
    src: "go_handheld_core_hardware.xml",
    defaults: ["frameworks_native_data_etc_defaults"],
}

prebuilt_etc {
    name: "handheld_core_hardware.prebuilt.xml",
    src: "handheld_core_hardware.xml",
+7 −1
Original line number Diff line number Diff line
@@ -39,6 +39,12 @@ struct AChoreographer;
 */
typedef struct AChoreographer AChoreographer;


/**
 * The identifier of a frame timeline.
 */
typedef int64_t AVsyncId;

struct AChoreographerFrameCallbackData;
/**
 * Opaque type that provides access to an AChoreographerFrameCallbackData object.
@@ -203,7 +209,7 @@ size_t AChoreographerFrameCallbackData_getPreferredFrameTimelineIndex(
/**
 * The vsync ID token used to map Choreographer data.
 */
int64_t AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
AVsyncId AChoreographerFrameCallbackData_getFrameTimelineVsyncId(
        const AChoreographerFrameCallbackData* data, size_t index) __INTRODUCED_IN(33);

/**
+14 −3
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@

#include <sys/cdefs.h>

#include <android/choreographer.h>
#include <android/data_space.h>
#include <android/hardware_buffer.h>
#include <android/hdr_metadata.h>
@@ -596,13 +597,23 @@ void ASurfaceTransaction_setEnableBackPressure(ASurfaceTransaction* transaction,
                                               __INTRODUCED_IN(31);

/**
 * Sets the frame timeline to use.
 * Sets the frame timeline to use in Surface Flinger.
 *
 * A frame timeline should be chosen based on what frame deadline the application
 * can meet when rendering the frame and the application's desired present time.
 * By setting a frame timeline, Surface Flinger tries to present the frame at the corresponding
 * expected present time.
 *
 * To receive frame timelines, a callback must be posted to Choreographer using
 * AChoreographer_postExtendedFrameCallback(). The \a vsnycId can then be extracted from the
 * callback payload using AChoreographerFrameCallbackData_getFrameTimelineVsyncId().
 *
 * \param vsyncId The vsync ID received from AChoreographer, setting the frame's present target to
 * the corresponding expected present time and deadline from the frame to be rendered.
 * the corresponding expected present time and deadline from the frame to be rendered. A stale or
 * invalid value will be ignored.
 */
void ASurfaceTransaction_setFrameTimeline(ASurfaceTransaction* transaction,
                                          int64_t vsyncId) __INTRODUCED_IN(33);
                                          AVsyncId vsyncId) __INTRODUCED_IN(33);

__END_DECLS

Loading