Home
last modified time | relevance | path

Searched refs:Feature (Results 1 – 25 of 66) sorted by relevance

123

/hardware/google/aemu/host-common/include/host-common/
DFeatureControl.h46 bool isEnabled(Feature feature);
47 bool isEnabledByGuest(Feature feature);
48 AEMU_EXPORT void setEnabledOverride(Feature feature, bool isEnabled);
49 void resetEnabledToDefault(Feature feature);
52 bool isGuestFeature(Feature feature);
56 bool isOverridden(Feature feature);
60 void setIfNotOverriden(Feature feature, bool isEnabled);
63 void setIfNotOverridenOrGuestDisabled(Feature feature, bool isEnabled);
65 Feature stringToFeature(const std::string& str);
90 std::vector<Feature> getEnabledNonOverride();
[all …]
Dfeature_control.h31 } Feature; typedef
37 bool feature_is_enabled(Feature feature);
38 bool feature_is_enabled_by_guest(Feature feature);
39 void feature_set_enabled_override(Feature feature, bool isEnabled);
40 void feature_reset_enabled_to_default(Feature feature);
43 void feature_set_if_not_overridden(Feature feature, bool enable);
46 void feature_set_if_not_overridden_or_guest_disabled(Feature feature, bool enable);
53 const char* feature_name(Feature feature);
54 Feature feature_from_name(const char* name);
Dfeature_control_base.h24 } Feature; typedef
30 bool feature_is_enabled(Feature feature);
31 void feature_set_enabled_override(Feature feature, bool isEnabled);
32 void feature_reset_enabled_to_default(Feature feature);
35 void feature_set_if_not_overridden(Feature feature, bool enable);
38 void feature_set_if_not_overridden_or_guest_disabled(Feature feature, bool enable);
DFeatures.h20 enum Feature { enum
29 return std::unordered_set<Feature>({
/hardware/google/aemu/host-common/
Dfeature_control.cpp29 static std::function<bool(Feature)> sFeatureEnabledCb;
31 void setFeatureEnabledCallback(std::function<bool(Feature)> cb) { in setFeatureEnabledCallback()
38 std::unordered_map<Feature, bool> enabled{
52 bool feature_is_enabled(Feature feature) { in feature_is_enabled()
55 static_cast<android::featurecontrol::Feature>(feature)); in feature_is_enabled()
60 void feature_set_enabled_override(Feature feature, bool isEnabled) { in feature_set_enabled_override()
64 void feature_reset_enabled_to_default(Feature feature) { in feature_reset_enabled_to_default()
69 void feature_set_if_not_overridden(Feature feature, bool enable) { in feature_set_if_not_overridden()
74 void feature_set_if_not_overridden_or_guest_disabled(Feature feature, bool enable) { in feature_set_if_not_overridden_or_guest_disabled()
83 const char* feature_name(Feature feature) { in feature_name()
[all …]
/hardware/interfaces/biometrics/face/aidl/default/tests/
DFakeFaceEngineTest.cpp108 ::ndk::ScopedAStatus onFeaturesRetrieved(const std::vector<Feature>& features) override { in onFeaturesRetrieved()
113 ::ndk::ScopedAStatus onFeatureSet(Feature feature) override { in onFeatureSet()
126 std::vector<Feature> mFeatures;
127 Feature mLastFeatureSet;
284 mEngine.setFeatureImpl(mCallback.get(), hat, Feature::REQUIRE_ATTENTION, true); in TEST_F()
287 ASSERT_EQ(Feature::REQUIRE_ATTENTION, mCallback->mLastFeatureSet); in TEST_F()
293 std::find(features.begin(), features.end(), Feature::REQUIRE_ATTENTION)); in TEST_F()
299 mEngine.setFeatureImpl(mCallback.get(), hat, Feature::REQUIRE_ATTENTION, true); in TEST_F()
304 std::find(features.begin(), features.end(), Feature::REQUIRE_ATTENTION)); in TEST_F()
306 mEngine.setFeatureImpl(mCallback.get(), hat, Feature::REQUIRE_ATTENTION, false); in TEST_F()
[all …]
/hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/
DISession.aidl24 import android.hardware.biometrics.face.Feature;
123 in Feature[] features, in @nullable NativeHandle previewSurface); in enroll()
289 void setFeature(in HardwareAuthToken hat, in Feature feature, boolean enabled); in setFeature()
428 in Feature[] features, in @nullable NativeHandle previewSurface, in enrollWithContext()
DISessionCallback.aidl23 import android.hardware.biometrics.face.Feature;
187 void onFeaturesRetrieved(in Feature[] features); in onFeaturesRetrieved()
196 void onFeatureSet(Feature feature); in onFeatureSet()
DFaceEnrollOptions.aidl22 import android.hardware.biometrics.face.Feature;
46 Feature[] features;
/hardware/interfaces/biometrics/face/1.0/default/
DBiometricsFace.h33 using ::android::hardware::biometrics::face::V1_0::Feature;
51 const hidl_vec<Feature>& disabledFeatures) override;
55 Return<Status> setFeature(Feature feature, bool enabled, const hidl_vec<uint8_t>& hat,
58 Return<void> getFeature(Feature feature, uint32_t faceId, getFeature_cb _hidl_cb) override;
DBiometricsFace.cpp57 const hidl_vec<Feature>& /* disabledFeatures */) { in enroll() argument
67 Return<Status> BiometricsFace::setFeature(Feature /* feature */, bool /* enabled */, in setFeature() argument
74 Return<void> BiometricsFace::getFeature(Feature /* feature */, uint32_t /* faceId */, in getFeature() argument
/hardware/interfaces/power/1.0/vts/functional/
DVtsHalPowerV1_0TargetTest.cpp34 using ::android::hardware::power::V1_0::Feature;
145 ret = power->setFeature(Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, true); in TEST_P()
147 ret = power->setFeature(Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE, false); in TEST_P()
150 Feature badFeature = static_cast<Feature>(0x2); in TEST_P()
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/3/android/hardware/biometrics/face/
DISession.aidl40 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enroll()
46 …are.keymaster.HardwareAuthToken hat, in android.hardware.biometrics.face.Feature feature, boolean … in setFeature()
52 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enrollWithContext()
DISessionCallback.aidl50 void onFeaturesRetrieved(in android.hardware.biometrics.face.Feature[] features); in onFeaturesRetrieved()
51 void onFeatureSet(android.hardware.biometrics.face.Feature feature); in onFeatureSet()
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/2/android/hardware/biometrics/face/
DISession.aidl40 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enroll()
46 …are.keymaster.HardwareAuthToken hat, in android.hardware.biometrics.face.Feature feature, boolean … in setFeature()
52 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enrollWithContext()
DISessionCallback.aidl50 void onFeaturesRetrieved(in android.hardware.biometrics.face.Feature[] features); in onFeaturesRetrieved()
51 void onFeatureSet(android.hardware.biometrics.face.Feature feature); in onFeatureSet()
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/4/android/hardware/biometrics/face/
DISession.aidl44 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enroll()
50 …are.keymaster.HardwareAuthToken hat, in android.hardware.biometrics.face.Feature feature, boolean … in setFeature()
59 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enrollWithContext()
DISessionCallback.aidl51 void onFeaturesRetrieved(in android.hardware.biometrics.face.Feature[] features); in onFeaturesRetrieved()
52 void onFeatureSet(android.hardware.biometrics.face.Feature feature); in onFeatureSet()
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/
DISession.aidl44 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enroll()
50 …are.keymaster.HardwareAuthToken hat, in android.hardware.biometrics.face.Feature feature, boolean … in setFeature()
59 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enrollWithContext()
DISessionCallback.aidl51 void onFeaturesRetrieved(in android.hardware.biometrics.face.Feature[] features); in onFeaturesRetrieved()
52 void onFeatureSet(android.hardware.biometrics.face.Feature feature); in onFeatureSet()
DFeature.aidl37 enum Feature { enum
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/1/android/hardware/biometrics/face/
DISessionCallback.aidl50 void onFeaturesRetrieved(in android.hardware.biometrics.face.Feature[] features); in onFeaturesRetrieved()
51 void onFeatureSet(android.hardware.biometrics.face.Feature feature); in onFeatureSet()
DISession.aidl40 …biometrics.face.EnrollmentType type, in android.hardware.biometrics.face.Feature[] features, in @n… in enroll()
46 …are.keymaster.HardwareAuthToken hat, in android.hardware.biometrics.face.Feature feature, boolean … in setFeature()
/hardware/interfaces/power/1.0/default/
DPower.h30 using ::android::hardware::power::V1_0::Feature;
46 Return<void> setFeature(Feature feature, bool activate) override;
/hardware/interfaces/biometrics/face/aidl/default/
DSession.h53 EnrollmentType enrollmentType, const std::vector<Feature>& features,
70 ndk::ScopedAStatus setFeature(const keymaster::HardwareAuthToken& hat, Feature feature,
87 const std::vector<Feature>& features, const std::optional<NativeHandle>& previewSurface,

123