• Home
  • Raw
  • Download

Lines Matching refs:binder

19 #include <binder/IBinder.h>
29 // Stability encodes how a binder changes over time. There are two levels of
39 // wires in the future). For instance, writeInt32 in binder translates to
48 // libbinder for regular binder calls, and everything on the system uses the
53 // Given a binder interface at a certain stability, there may be some
55 // VINTF stability binder is required to be in the VINTF manifest. This API
57 static void forceDowngradeToLocalStability(const sp<IBinder>& binder);
72 // This allows correctly downgrading the binder's stability to either system/vendor,
75 // Given a binder interface at a certain stability, there may be some
77 // VINTF stability binder is required to be in the VINTF manifest. This API
79 static void forceDowngradeToVendorStability(const sp<IBinder>& binder);
81 // Given a binder interface at a certain stability, there may be some
83 // VINTF stability binder is required to be in the VINTF manifest. This API
85 static void forceDowngradeToSystemStability(const sp<IBinder>& binder);
89 // This must be called as soon as the binder in question is constructed. No thread safety
92 static void markCompilationUnit(IBinder* binder);
95 // This must be called as soon as the binder in question is constructed. No thread safety
99 static void markVintf(IBinder* binder);
102 static std::string debugToString(const sp<IBinder>& binder);
106 // This must be called as soon as the binder in question is constructed. No thread safety
112 static void markVndk(IBinder* binder);
114 // Returns true if the binder needs to be declared in the VINTF manifest or
115 // else false if the binder is local to the current partition.
116 static bool requiresVintfDeclaration(const sp<IBinder>& binder);
128 static void tryMarkCompilationUnit(IBinder* binder);
144 // Downgrades binder stability to the specified level.
145 static void forceDowngradeToStability(const sp<IBinder>& binder, Level level);
152 // applies stability to binder if stability level is known
153 __attribute__((warn_unused_result)) static status_t setRepr(IBinder* binder, int32_t setting,
157 static int16_t getRepr(IBinder* binder);
159 // whether a transaction on binder is allowed, if the transaction