Lines Matching refs:stability
51 status_t Stability::set(IBinder* binder, int32_t stability, bool log) { in set() argument
56 if (stability == UNDECLARED) { in set()
61 stabilityString(stability).c_str()); in set()
67 if (!isDeclaredStability(stability)) { in set()
69 ALOGE("Can only set known stability, not %d.", stability); in set()
74 if (currentStability != Level::UNDECLARED && currentStability != stability) { in set()
77 stabilityString(stability).c_str(), stabilityString(currentStability).c_str()); in set()
82 if (currentStability == stability) return OK; in set()
86 local->mStability = static_cast<int32_t>(stability); in set()
88 binder->remoteBinder()->mStability = static_cast<int32_t>(stability); in set()
117 bool Stability::isDeclaredStability(int32_t stability) { in isDeclaredStability() argument
118 return stability == VENDOR || stability == SYSTEM || stability == VINTF; in isDeclaredStability()
121 std::string Stability::stabilityString(int32_t stability) { in stabilityString() argument
122 switch (stability) { in stabilityString()
128 return "unknown stability " + std::to_string(stability); in stabilityString()