Searched refs:Stability (Results 1 – 19 of 19) sorted by relevance
24 void Stability::markCompilationUnit(IBinder* binder) { in markCompilationUnit()29 void Stability::markVintf(IBinder* binder) { in markVintf()34 void Stability::debugLogStability(const std::string& tag, const sp<IBinder>& binder) { in debugLogStability()38 void Stability::markVndk(IBinder* binder) { in markVndk()43 bool Stability::requiresVintfDeclaration(const sp<IBinder>& binder) { in requiresVintfDeclaration()47 void Stability::tryMarkCompilationUnit(IBinder* binder) { in tryMarkCompilationUnit()51 Stability::Level Stability::getLocalStability() { in getLocalStability()70 status_t Stability::set(IBinder* binder, int32_t stability, bool log) { in set()113 Stability::Level Stability::get(IBinder* binder) { in get()118 return static_cast<Stability::Level>(local->mStability); in get()[all …]
224 using android::internal::Stability; in transact()226 auto stability = Stability::get(this); in transact()227 auto required = privateVendor ? Stability::VENDOR : Stability::getLocalStability(); in transact()229 if (CC_UNLIKELY(!Stability::check(stability, required))) { in transact()231 Stability::stabilityString(stability).c_str(), in transact()232 Stability::stabilityString(required).c_str()); in transact()
106 "Stability.cpp",
133 internal::Stability::tryMarkCompilationUnit(context.get()); in getContextObject()
174 internal::Stability::tryMarkCompilationUnit(binder.get()); in finishFlattenBinder()175 return writeInt32(internal::Stability::get(binder.get())); in finishFlattenBinder()185 status = internal::Stability::set(binder.get(), stability, true /*log*/); in finishUnflattenBinder()
35 using android::internal::Stability; // for testing only!77 Stability::markCompilationUnit(iface.get()); // <- for test only in system()83 Stability::markVintf(iface.get()); // <- for test only in vintf()89 Stability::markVndk(iface.get()); // <- for test only in vendor()104 Stability::debugLogStability("sendAndCallBinder got binder", binder); in sendAndCallBinder()126 EXPECT_FALSE(Stability::requiresVintfDeclaration(nullptr)); in TEST()127 EXPECT_FALSE(Stability::requiresVintfDeclaration(BadStableBinder::undef())); in TEST()128 EXPECT_FALSE(Stability::requiresVintfDeclaration(BadStableBinder::system())); in TEST()129 EXPECT_FALSE(Stability::requiresVintfDeclaration(BadStableBinder::vendor())); in TEST()131 EXPECT_TRUE(Stability::requiresVintfDeclaration(BadStableBinder::vintf())); in TEST()[all …]
24 using ::android::internal::Stability;36 Stability::markVndk(binder->getBinder().get()); in AIBinder_markVendorStability()40 Stability::markCompilationUnit(binder->getBinder().get()); in AIBinder_markSystemStability()44 Stability::markVintf(binder->getBinder().get()); in AIBinder_markVintfStability()
59 enum class Stability { enum69 virtual Stability getStability() const { return Stability::STABILITY_LOCAL; } in getStability()
31 class Stability final {98 Stability();
28 class Stability; variable112 friend ::android::internal::Stability;
31 class Stability; variable123 friend ::android::internal::Stability;
40 private @Parcelable.Stability int mStability = Parcelable.PARCELABLE_STABILITY_LOCAL;42 public ParcelableHolder(@Parcelable.Stability int stability) { in ParcelableHolder()56 public @Parcelable.Stability int getStability() { in getStability()
109 public @interface Stability {} annotation164 default @Stability int getStability() { in getStability()
41 using ::android::internal::Stability;78 Stability::markVintf(binder.get()); in TEST()
35 using ::android::internal::Stability;80 if (!Stability::requiresVintfDeclaration(binder)) { in meetsDeclarationRequirements()
465 ::android::internal::Stability::markVintf(b.get()); in get()