Lines Matching refs:dest
38 static bool allowDest(const uint8_t dest, const uint8_t policy) { in allowDest() argument
41 return dest == android::os::DEST_LOCAL; in allowDest()
44 return dest == android::os::DEST_LOCAL || dest == android::os::DEST_EXPLICIT || in allowDest()
45 dest == DEST_UNSET; in allowDest()
53 bool PrivacySpec::operator<(const PrivacySpec& other) const { return dest < other.dest; } in operator <()
56 uint8_t policy = privacy != NULL ? privacy->dest : defaultDest; in CheckPremission()
57 return allowDest(dest, policy); in CheckPremission()
60 bool PrivacySpec::RequireAll() const { return dest == android::os::DEST_LOCAL; } in RequireAll()
62 PrivacySpec PrivacySpec::new_spec(int dest) { in new_spec() argument
63 switch (dest) { in new_spec()
67 return PrivacySpec(dest); in new_spec()