Home
last modified time | relevance | path

Searched refs:Stability (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/libs/binder/
DStability.cpp24 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 …]
DBpBinder.cpp224 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()
DAndroid.bp106 "Stability.cpp",
DProcessState.cpp133 internal::Stability::tryMarkCompilationUnit(context.get()); in getContextObject()
DParcel.cpp174 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()
/frameworks/native/libs/binder/tests/
DbinderStabilityTest.cpp35 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 …]
/frameworks/native/libs/binder/ndk/
Dstability.cpp24 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()
/frameworks/native/include/binder/
DParcelable.h59 enum class Stability { enum
69 virtual Stability getStability() const { return Stability::STABILITY_LOCAL; } in getStability()
DStability.h31 class Stability final {
98 Stability();
DBinder.h28 class Stability; variable
112 friend ::android::internal::Stability;
/frameworks/native/libs/binder/include/binder/
DParcelable.h59 enum class Stability { enum
69 virtual Stability getStability() const { return Stability::STABILITY_LOCAL; } in getStability()
DStability.h31 class Stability final {
98 Stability();
DBinder.h28 class Stability; variable
112 friend ::android::internal::Stability;
DBpBinder.h31 class Stability; variable
123 friend ::android::internal::Stability;
/frameworks/base/core/java/android/os/
DParcelableHolder.java40 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()
DParcelable.java109 public @interface Stability {} annotation
164 default @Stability int getStability() { in getStability()
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp41 using ::android::internal::Stability;
78 Stability::markVintf(binder.get()); in TEST()
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp35 using ::android::internal::Stability;
80 if (!Stability::requiresVintfDeclaration(binder)) { in meetsDeclarationRequirements()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp465 ::android::internal::Stability::markVintf(b.get()); in get()