Home
last modified time | relevance | path

Searched refs:V1_0 (Results 1 – 25 of 659) sorted by relevance

12345678910>>...27

/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp24 static common::V1_0::Source getSource(uint32_t source) { in getSource()
25 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_UNKNOWN) == in getSource()
26 common::V1_0::Source::UNKNOWN, "SOURCE_UNKNOWN mismatch"); in getSource()
27 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_KEYBOARD) == in getSource()
28 common::V1_0::Source::KEYBOARD, "SOURCE_KEYBOARD mismatch"); in getSource()
29 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_DPAD) == in getSource()
30 common::V1_0::Source::DPAD, "SOURCE_DPAD mismatch"); in getSource()
31 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_GAMEPAD) == in getSource()
32 common::V1_0::Source::GAMEPAD, "SOURCE_GAMEPAD mismatch"); in getSource()
33 static_assert(static_cast<common::V1_0::Source>(AINPUT_SOURCE_TOUCHSCREEN) == in getSource()
[all …]
/frameworks/ml/nn/common/include/
DUtils.h326 void logModelToInfo(const hal::V1_0::Model& model);
355 case HalVersion::V1_0:
435 bool compliantWithV1_0(const hal::V1_0::Capabilities& capabilities);
439 bool compliantWithV1_1(const hal::V1_0::Capabilities& capabilities);
443 bool compliantWithV1_2(const hal::V1_0::Capabilities& capabilities);
447 bool compliantWithV1_3(const hal::V1_0::Capabilities& capabilities);
458 bool compliantWithV1_0(const hal::V1_0::Model& model);
464 bool compliantWithV1_1(const hal::V1_0::Model& model);
470 bool compliantWithV1_2(const hal::V1_0::Model& model);
477 hal::V1_0::ErrorStatus convertToV1_0(hal::V1_0::ErrorStatus status);
[all …]
DHalInterfaces.h56 using hidl::memory::V1_0::IMemory;
58 namespace V1_0 = hardware::neuralnetworks::V1_0; variable
63 using V1_0::DataLocation;
64 using V1_0::DeviceStatus;
65 using V1_0::FusedActivationFunc;
66 using V1_0::PerformanceInfo;
67 using V1_0::RequestArgument;
106 using DeviceFactory = std::function<sp<V1_0::IDevice>(bool blocking)>;
/frameworks/av/media/libmedia/include/media/
DOMXBuffer.h31 namespace V1_0 {
34 inline bool wrapAs(::android::hardware::media::omx::V1_0::CodecBuffer* t,
37 ::android::hardware::media::omx::V1_0::CodecBuffer const& t);
40 inline bool wrapAs(::android::hardware::media::omx::V1_0::CodecBuffer* t,
43 ::android::hardware::media::omx::V1_0::CodecBuffer const& t);
97 friend inline bool (::android::hardware::media::omx::V1_0::implementation::
98 wrapAs)(::android::hardware::media::omx::V1_0::CodecBuffer* t,
100 friend inline bool (::android::hardware::media::omx::V1_0::implementation::
102 ::android::hardware::media::omx::V1_0::CodecBuffer const& t);
103 friend inline bool (::android::hardware::media::omx::V1_0::utils::
[all …]
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp74 TestPreparedModelLatest(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModelLatest()
80 Return<V1_0::ErrorStatus> execute(const V1_0::Request& request, in execute()
81 const sp<V1_0::IExecutionCallback>& callback) override { in execute()
92 return V1_0::ErrorStatus::NONE; in execute()
95 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request& request, MeasureTiming measure, in execute_1_2()
110 return V1_0::ErrorStatus::NONE; in execute_1_2()
134 Return<void> executeSynchronously(const V1_0::Request& request, MeasureTiming measure, in executeSynchronously()
227 const sp<V1_0::IPreparedModel> mPreparedModelV1_0;
250 TestPreparedModel12(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel12()
253 Return<V1_0::ErrorStatus> execute(const V1_0::Request& request, in execute()
[all …]
DTestVersionedInterfaces.cpp45 using MockDeviceFactory = MockFunction<sp<V1_0::IDevice>(bool blocking)>;
68 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_0::Capabilities{}); in create()
70 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_1::Capabilities{}); in create()
72 makeCallbackReturn(V1_0::ErrorStatus::NONE, "Google-MockV1"); in create()
73 const auto getType_ret = makeCallbackReturn(V1_0::ErrorStatus::NONE, DeviceType::OTHER); in create()
75 makeCallbackReturn(V1_0::ErrorStatus::NONE, V1_2::Capabilities{}); in create()
77 makeCallbackReturn(V1_0::ErrorStatus::NONE, hidl_vec<Extension>{}); in create()
79 V1_0::ErrorStatus::NONE, kMaxNumberOfCacheFiles, kMaxNumberOfCacheFiles); in create()
121 (const V1_0::Model& model, getSupportedOperations_cb cb), (override));
122 MOCK_METHOD(Return<V1_0::ErrorStatus>, prepareModel,
[all …]
DTestIntrospectionControl.cpp423 Return<V1_0::ErrorStatus> execute(const V1_0::Request&, in execute()
424 const sp<V1_0::IExecutionCallback>& callback) override { in execute()
429 callback->notify(V1_0::ErrorStatus::NONE); in execute()
431 return V1_0::ErrorStatus::NONE; in execute()
434 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
435 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
439 callback->notify(V1_0::ErrorStatus::GENERAL_FAILURE); in execute()
441 return V1_0::ErrorStatus::NONE; in execute()
444 return V1_0::ErrorStatus::GENERAL_FAILURE; in execute()
448 Return<V1_0::ErrorStatus> execute_1_2(const V1_0::Request&, MeasureTiming measure, in execute_1_2()
[all …]
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h88 public virtual hardware::camera::device::V1_0::ICameraDeviceCallback,
89 public virtual hardware::camera::device::V1_0::ICameraDevicePreviewCallback {
301 sp<hardware::camera::device::V1_0::ICameraDevice> mHidlDevice;
377 hardware::camera::device::V1_0::NotifyCallbackMsg msgType,
384 hardware::camera::device::V1_0::DataCallbackMsg msgType,
386 const hardware::camera::device::V1_0::CameraFrameMetadata& metadata) override;
388 hardware::camera::device::V1_0::DataCallbackMsg msgType,
391 hardware::camera::device::V1_0::DataCallbackMsg msgType,
395 hardware::camera::device::V1_0::DataCallbackMsg msgType,
397 hardware::camera::device::V1_0::HandleTimestampMessage>&) override;
[all …]
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.h35 namespace V1_0 = hardware::broadcastradio::V1_0; variable
43 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_0::Properties &properties,
48 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region);
49 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region);
51 V1_0::Direction DirectionToHal(bool directionDown);
53 JavaRef<jobject> MetadataFromHal(JNIEnv *env, const hardware::hidl_vec<V1_0::MetaData> &metadata);
54 JavaRef<jobject> ProgramInfoFromHal(JNIEnv *env, const V1_0::ProgramInfo &info, V1_0::Band band);
64 bool __ThrowIfFailed(JNIEnv *env, const V1_0::Result halResult);
DBroadcastRadioService.cpp46 namespace V1_0 = hardware::broadcastradio::V1_0;
50 using V1_0::BandConfig;
51 using V1_0::Class;
52 using V1_0::ITuner;
53 using V1_0::MetaData;
54 using V1_0::ProgramInfo;
55 using V1_0::Result;
73 sp<V1_0::IBroadcastRadio> radioModule;
75 std::vector<hardware::broadcastradio::V1_0::BandConfig> bands;
132 manager->listManifestByInterface(V1_0::IBroadcastRadioFactory::descriptor, in nativeLoadModules()
[all …]
/frameworks/hardware/interfaces/stats/1.0/test_client/
DStatsClient.cpp24 using android::frameworks::stats::V1_0::BatteryCausedShutdown;
25 using android::frameworks::stats::V1_0::BatteryHealthSnapshotArgs;
26 using android::frameworks::stats::V1_0::ChargeCycles;
27 using android::frameworks::stats::V1_0::HardwareFailed;
28 using android::frameworks::stats::V1_0::IStats;
29 using android::frameworks::stats::V1_0::PhysicalDropDetected;
30 using android::frameworks::stats::V1_0::SlowIo;
31 using android::frameworks::stats::V1_0::SpeakerImpedance;
32 using android::frameworks::stats::V1_0::SpeechDspStat;
33 using android::frameworks::stats::V1_0::UsbPortOverheatEvent;
[all …]
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWGraphicBufferSource.h37 namespace V1_0 {
41 using ::android::hardware::graphics::common::V1_0::Dataspace;
42 using ::android::hardware::media::omx::V1_0::ColorAspects;
43 using ::android::hardware::media::omx::V1_0::IGraphicBufferSource;
44 using ::android::hardware::media::omx::V1_0::IOmxNode;
45 using ::android::hardware::media::omx::V1_0::Status;
46 using ::android::hidl::base::V1_0::IBase;
66 typedef ::android::hardware::media::omx::V1_0::IGraphicBufferSource
/frameworks/hardware/interfaces/stats/1.0/vts/functional/
DVtsHalStatsV1_0TargetTest.cpp27 using android::frameworks::stats::V1_0::BatteryCausedShutdown;
28 using android::frameworks::stats::V1_0::BatteryHealthSnapshotArgs;
29 using android::frameworks::stats::V1_0::ChargeCycles;
30 using android::frameworks::stats::V1_0::HardwareFailed;
31 using android::frameworks::stats::V1_0::IStats;
32 using android::frameworks::stats::V1_0::SlowIo;
33 using android::frameworks::stats::V1_0::SpeakerImpedance;
34 using android::frameworks::stats::V1_0::UsbPortOverheatEvent;
35 using android::frameworks::stats::V1_0::VendorAtom;
36 using Value = android::frameworks::stats::V1_0::VendorAtom::Value;
/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp120 void serviceDied(uint64_t /*cookie*/, const wp<hidl::base::V1_0::IBase>& /*who*/) override { in serviceDied()
156 sp<V1_0::IPreparedModel> preparedModel) { in makeVersionedIPreparedModel()
190 VersionedIPreparedModel::VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel, in VersionedIPreparedModel()
252 const V1_0::Request request12 = convertToV1_2(request); in executeAsynchronously()
253 Return<V1_0::ErrorStatus> ret = in executeAsynchronously()
263 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
264 if (status != V1_0::ErrorStatus::NONE) { in executeAsynchronously()
279 const V1_0::Request request10 = convertToV1_0(request); in executeAsynchronously()
280 Return<V1_0::ErrorStatus> ret = mPreparedModelV1_0->execute(request10, callback); in executeAsynchronously()
289 const V1_0::ErrorStatus status = static_cast<V1_0::ErrorStatus>(ret); in executeAsynchronously()
[all …]
DCallbacks.h88 hal::Return<void> notify(hal::V1_0::ErrorStatus status,
89 const sp<hal::V1_0::IPreparedModel>& preparedModel) override;
114 hal::Return<void> notify_1_2(hal::V1_0::ErrorStatus status,
184 sp<hal::V1_0::IPreparedModel> getPreparedModel() const;
195 const sp<hal::V1_0::IPreparedModel>& preparedModel);
202 sp<hal::V1_0::IPreparedModel> mPreparedModel;
247 hal::Return<void> notify(hal::V1_0::ErrorStatus status) override;
282 hal::Return<void> notify_1_2(hal::V1_0::ErrorStatus status,
/frameworks/base/cmds/statsd/src/external/
DSubsystemSleepStatePuller.cpp44 using android::hardware::power::V1_0::IPower;
45 using android::hardware::power::V1_0::PowerStatePlatformSleepState;
46 using android::hardware::power::V1_0::PowerStateVoter;
49 using android::hardware::power::stats::V1_0::PowerEntityInfo;
50 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult;
51 using android::hardware::power::stats::V1_0::PowerEntityStateSpace;
65 static sp<android::hardware::power::V1_0::IPower> gPowerHalV1_0 = nullptr;
67 static sp<android::hardware::power::stats::V1_0::IPowerStats> gPowerStatsHalV1_0 = nullptr;
83 const wp<android::hidl::base::V1_0::IBase>& who) override { in serviceDied()
114 using android::hardware::power::stats::V1_0::Status; in initializePowerStats()
[all …]
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWGraphicBufferSource.h36 namespace V1_0 {
39 using ::android::hardware::graphics::common::V1_0::Dataspace;
40 using ::android::hardware::media::omx::V1_0::ColorAspects;
41 using ::android::hardware::media::omx::V1_0::IGraphicBufferSource;
42 using ::android::hardware::media::omx::V1_0::IOmxNode;
43 using ::android::hidl::base::V1_0::IBase;
64 typedef ::android::hardware::media::omx::V1_0::IGraphicBufferSource
DWOmx.h32 namespace V1_0 {
35 using ::android::hardware::media::omx::V1_0::IOmx;
36 using ::android::hardware::media::omx::V1_0::IOmxNode;
37 using ::android::hardware::media::omx::V1_0::IOmxObserver;
38 using ::android::hardware::media::omx::V1_0::Status;
39 using ::android::hidl::base::V1_0::IBase;
/frameworks/native/cmds/idlcli/vibrator/
DCommandPerform.cpp30 static_assert(static_cast<uint8_t>(V1_0::EffectStrength::LIGHT) ==
32 static_assert(static_cast<uint8_t>(V1_0::EffectStrength::MEDIUM) ==
34 static_assert(static_cast<uint8_t>(V1_0::EffectStrength::STRONG) ==
54 using V1_0::EffectStrength;
107 V1_0::Status status; in doMain()
108 auto callback = [&status, &lengthMs](V1_0::Status retStatus, uint32_t retLengthMs) { in doMain()
122 } else if (auto hal = getHal<V1_0::IVibrator>()) { in doMain()
123 hidlRet = hal->call(&V1_0::IVibrator::perform, static_cast<V1_0::Effect>(mEffect), in doMain()
130 ret = hidlRet.isOk() && status == V1_0::Status::OK ? OK : ERROR; in doMain()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp30 using android::hardware::camera::common::V1_0::Status;
31 using android::hardware::camera::common::V1_0::VendorTag;
32 using android::hardware::camera::common::V1_0::VendorTagSection;
33 using android::hardware::camera::common::V1_0::CameraMetadataType;
46 hardware::camera::common::V1_0::Status status,
47 const hardware::camera::common::V1_0::CameraResourceCost& resourceCost)>;
50 hardware::camera::common::V1_0::CameraResourceCost resourceCost = {100, in getResourceCost()
57 hardware::camera::common::V1_0::Status status,
66 hardware::Return<hardware::camera::common::V1_0::Status> setTorchMode( in setTorchMode()
67 ::android::hardware::camera::common::V1_0::TorchMode) override { in setTorchMode()
[all …]
/frameworks/native/cmds/lshal/
DLshal.h39 sp<hidl::manager::V1_0::IServiceManager> serviceManager,
40 sp<hidl::manager::V1_0::IServiceManager> passthroughManager);
46 const sp<hidl::manager::V1_0::IServiceManager> &serviceManager() const;
47 const sp<hidl::manager::V1_0::IServiceManager> &passthroughManager() const;
68 sp<hidl::manager::V1_0::IServiceManager> mServiceManager;
69 sp<hidl::manager::V1_0::IServiceManager> mPassthroughManager;
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h52 const hardware::hidl_vec<hardware::camera::common::V1_0::VendorTagSection>& vts,
67 class CameraProviderManager : virtual public hidl::manager::V1_0::IServiceNotification {
77 const sp<hidl::manager::V1_0::IServiceNotification>
90 const sp<hidl::manager::V1_0::IServiceNotification> in registerForNotifications()
110 hardware::camera::common::V1_0::CameraDeviceStatus newStatus) = 0;
112 hardware::camera::common::V1_0::TorchModeStatus newStatus) = 0;
165 hardware::camera::common::V1_0::CameraResourceCost* cost) const;
228 const sp<hardware::camera::device::V1_0::ICameraDeviceCallback>& callback,
230 sp<hardware::camera::device::V1_0::ICameraDevice> *session);
259 static status_t mapToStatusT(const hardware::camera::common::V1_0::Status& s);
[all …]
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DCryptoPlugin.h39 using drm::V1_0::DestinationBuffer;
40 using drm::V1_0::Mode;
41 using drm::V1_0::Pattern;
42 using drm::V1_0::SharedBuffer;
43 using drm::V1_0::Status;
44 using drm::V1_0::SubSample;
52 using ::android::hidl::memory::V1_0::IMemory;
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp76 Return<V1_0::ErrorStatus> prepareModel_1_1( in prepareModel_1_1()
78 const sp<V1_0::IPreparedModelCallback>& actualCallback) override { in prepareModel_1_1()
85 Return<void> getSupportedOperations(const V1_0::Model& model, in getSupportedOperations()
89 Return<V1_0::ErrorStatus> prepareModel( in prepareModel()
90 const V1_0::Model& model, in prepareModel()
91 const sp<V1_0::IPreparedModelCallback>& actualCallback) override { in prepareModel()
100 class TestDriverV1_0 : public V1_0::IDevice {
108 Return<void> getSupportedOperations(const V1_0::Model& model, in getSupportedOperations()
112 Return<V1_0::ErrorStatus> prepareModel( in prepareModel()
113 const V1_0::Model& model, in prepareModel()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp50 static float getMotionEventAxis(common::V1_0::PointerCoords coords, in getMotionEventAxis()
51 common::V1_0::Axis axis) { in getMotionEventAxis()
68 common::V1_0::MotionEvent motionEvent = notifyMotionArgsToHalMotionEvent(motionArgs); in TEST()
70 ASSERT_EQ(getMotionEventAxis(motionEvent.pointerCoords[0], common::V1_0::Axis::X), in TEST()
72 ASSERT_EQ(getMotionEventAxis(motionEvent.pointerCoords[0], common::V1_0::Axis::Y), in TEST()
74 ASSERT_EQ(getMotionEventAxis(motionEvent.pointerCoords[0], common::V1_0::Axis::SIZE), in TEST()

12345678910>>...27