Loading power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/ChannelMessage.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -35,10 +35,11 @@ package android.hardware.power; @FixedSize @VintfStability parcelable ChannelMessage { int sessionID; long timeStampNanos; android.hardware.power.ChannelMessage.ChannelMessageContents data; @FixedSize @VintfStability union ChannelMessageContents { int[20] tids = {(-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */}; long[16] reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; long targetDuration; android.hardware.power.SessionHint hint; android.hardware.power.ChannelMessage.ChannelMessageContents.SessionModeSetter mode; Loading power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/WorkDurationFixedV1.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ package android.hardware.power; @FixedSize @VintfStability parcelable WorkDurationFixedV1 { long timeStampNanos; long durationNanos; long workPeriodStartTimestampNanos; long cpuDurationNanos; Loading power/aidl/android/hardware/power/ChannelMessage.aidl +8 −5 Original line number Diff line number Diff line Loading @@ -37,6 +37,12 @@ parcelable ChannelMessage { */ int sessionID; /** * Timestamp in nanoseconds based on CLOCK_MONOTONIC when the message was sent, * used to ensure all messages can be processed in a coherent order. */ long timeStampNanos; /** * A union defining the different messages that can be passed through the * channel. Each type corresponds to a different call in IPowerHintSession. Loading @@ -47,12 +53,9 @@ parcelable ChannelMessage { @VintfStability union ChannelMessageContents { /** * List of TIDs for this session to change to. Can be used in cases * where HintManagerService is not needed to validate the TIDs, such as * when all TIDs directly belong to the process that owns the session. * Reserves the maximum fixed size for the ChannelMessage. */ int[20] tids = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; long[16] reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; /** * Setting this field will update the session’s target duration, equivalent Loading power/aidl/android/hardware/power/WorkDurationFixedV1.aidl +0 −6 Original line number Diff line number Diff line Loading @@ -19,12 +19,6 @@ package android.hardware.power; @FixedSize @VintfStability parcelable WorkDurationFixedV1 { /** * Timestamp in nanoseconds based on CLOCK_MONOTONIC when the duration * sample was measured. */ long timeStampNanos; /** * Total work duration in nanoseconds. */ Loading Loading
power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/ChannelMessage.aidl +2 −1 Original line number Diff line number Diff line Loading @@ -35,10 +35,11 @@ package android.hardware.power; @FixedSize @VintfStability parcelable ChannelMessage { int sessionID; long timeStampNanos; android.hardware.power.ChannelMessage.ChannelMessageContents data; @FixedSize @VintfStability union ChannelMessageContents { int[20] tids = {(-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */, (-1) /* -1 */}; long[16] reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; long targetDuration; android.hardware.power.SessionHint hint; android.hardware.power.ChannelMessage.ChannelMessageContents.SessionModeSetter mode; Loading
power/aidl/aidl_api/android.hardware.power/current/android/hardware/power/WorkDurationFixedV1.aidl +0 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,6 @@ package android.hardware.power; @FixedSize @VintfStability parcelable WorkDurationFixedV1 { long timeStampNanos; long durationNanos; long workPeriodStartTimestampNanos; long cpuDurationNanos; Loading
power/aidl/android/hardware/power/ChannelMessage.aidl +8 −5 Original line number Diff line number Diff line Loading @@ -37,6 +37,12 @@ parcelable ChannelMessage { */ int sessionID; /** * Timestamp in nanoseconds based on CLOCK_MONOTONIC when the message was sent, * used to ensure all messages can be processed in a coherent order. */ long timeStampNanos; /** * A union defining the different messages that can be passed through the * channel. Each type corresponds to a different call in IPowerHintSession. Loading @@ -47,12 +53,9 @@ parcelable ChannelMessage { @VintfStability union ChannelMessageContents { /** * List of TIDs for this session to change to. Can be used in cases * where HintManagerService is not needed to validate the TIDs, such as * when all TIDs directly belong to the process that owns the session. * Reserves the maximum fixed size for the ChannelMessage. */ int[20] tids = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}; long[16] reserved = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; /** * Setting this field will update the session’s target duration, equivalent Loading
power/aidl/android/hardware/power/WorkDurationFixedV1.aidl +0 −6 Original line number Diff line number Diff line Loading @@ -19,12 +19,6 @@ package android.hardware.power; @FixedSize @VintfStability parcelable WorkDurationFixedV1 { /** * Timestamp in nanoseconds based on CLOCK_MONOTONIC when the duration * sample was measured. */ long timeStampNanos; /** * Total work duration in nanoseconds. */ Loading