Nvnflinger services: Difference between revisions
No edit summary |
|||
Line 23: | Line 23: | ||
TransactParcel is used by 1.0.0 official user-processes, while starting with {unknown version} TransactParcelAuto is used instead. | TransactParcel is used by 1.0.0 official user-processes, while starting with {unknown version} TransactParcelAuto is used instead. | ||
For IHOSBinderDriver, the below '''ID''' is loaded from the layer's [[Display_services#NativeWindow]]. | |||
== TransactParcel == | == TransactParcel == | ||
Takes a s32 ( | Takes a s32 ('''ID'''), an u32 ('''code'''), a type-0x5 input buffer ('''parcel_data'''), a type-0x6 output buffer ('''parcel_reply''') and an input u32 ('''flags'''). Each word is placed immediately after the previous word. | ||
Analogous to "onTransact" from "android.os.IServiceManager". | Analogous to "onTransact" from "android.os.IServiceManager". | ||
== AdjustRefcount == | == AdjustRefcount == | ||
Takes 3 input s32s: | Takes 3 input s32s: '''ID''', '''addval''', and '''type'''. Each word immediately follows the previous word. No additional output. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 50: | Line 52: | ||
== GetNativeHandle == | == GetNativeHandle == | ||
Takes an input s32 ( | Takes an input s32 ('''ID''') and u32, with the latter immediately following the previous word. Returns an output event handle. | ||
== TransactParcelAuto == | == TransactParcelAuto == | ||
Takes a s32 ( | Takes a s32 ('''ID'''), an u32 ('''code'''), a type-0x21 input buffer ('''parcel_data'''), a type-0x22 output buffer ('''parcel_reply''') and an input u32 ('''flags'''). Each word is placed immediately after the previous word. |