Lines Matching refs:binder

41 void Stability::forceDowngradeToStability(const sp<IBinder>& binder, Level level) {  in forceDowngradeToStability()  argument
46 LOG_ALWAYS_FATAL_IF(!binder || !binder->localBinder(), "Can only downgrade local binder"); in forceDowngradeToStability()
49 status_t result = setRepr(binder.get(), stability.repr(), REPR_LOG | REPR_ALLOW_DOWNGRADE); in forceDowngradeToStability()
53 void Stability::forceDowngradeToLocalStability(const sp<IBinder>& binder) { in forceDowngradeToLocalStability() argument
54 forceDowngradeToStability(binder, getLocalLevel()); in forceDowngradeToLocalStability()
57 void Stability::forceDowngradeToSystemStability(const sp<IBinder>& binder) { in forceDowngradeToSystemStability() argument
58 forceDowngradeToStability(binder, Level::SYSTEM); in forceDowngradeToSystemStability()
61 void Stability::forceDowngradeToVendorStability(const sp<IBinder>& binder) { in forceDowngradeToVendorStability() argument
62 forceDowngradeToStability(binder, Level::VENDOR); in forceDowngradeToVendorStability()
70 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit() argument
72 status_t result = setRepr(binder, stability.repr(), REPR_LOG); in markCompilationUnit()
76 void Stability::markVintf(IBinder* binder) { in markVintf() argument
78 status_t result = setRepr(binder, stability.repr(), REPR_LOG); in markVintf()
82 void Stability::debugLogStability(const std::string& tag, const sp<IBinder>& binder) { in debugLogStability() argument
83 auto stability = getCategory(binder.get()); in debugLogStability()
87 void Stability::markVndk(IBinder* binder) { in markVndk() argument
89 status_t result = setRepr(binder, stability.repr(), REPR_LOG); in markVndk()
93 bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { in requiresVintfDeclaration() argument
94 return check(getCategory(binder.get()), Level::VINTF); in requiresVintfDeclaration()
97 void Stability::tryMarkCompilationUnit(IBinder* binder) { in tryMarkCompilationUnit() argument
99 (void) setRepr(binder, stability.repr(), REPR_NONE); in tryMarkCompilationUnit()
134 if (binder == nullptr) {
172 BBinder* local = binder->localBinder();
176 binder->remoteBinder()->mStability = setting.repr();
182 Stability::Category Stability::getCategory(IBinder* binder) { in getCategory() argument
183 if (binder == nullptr) { in getCategory()
187 BBinder* local = binder->localBinder(); in getCategory()
192 return Category::fromRepr(binder->remoteBinder()->mStability); in getCategory()