/hardware/interfaces/neuralnetworks/utils/service/src/ |
D | Service.cpp | 53 void getHidlDevicesForVersion(const std::string& descriptor, getDeviceFn getDevice, in getHidlDevicesForVersion() argument 62 auto maybeDevice = getDevice(name); in getHidlDevicesForVersion() 95 auto maybeDevice = aidl_hal::utils::getDevice(name, maxFeatureLevelAllowed); in getAidlDevices() 118 getHidlDevicesForVersion(V1_3::IDevice::descriptor, &V1_3::utils::getDevice, &devices, in getDevices() 120 getHidlDevicesForVersion(V1_2::IDevice::descriptor, &V1_2::utils::getDevice, &devices, in getDevices() 122 getHidlDevicesForVersion(V1_1::IDevice::descriptor, &V1_1::utils::getDevice, &devices, in getDevices() 124 getHidlDevicesForVersion(V1_0::IDevice::descriptor, &V1_0::utils::getDevice, &devices, in getDevices()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalTest.cpp | 23 auto ret = stream->getDevice(); in testGetDevice() 64 ASSERT_IS_OK(getDevice()->getHwAvSync())); 71 ASSERT_RESULT(Result::INVALID_ARGUMENTS, getDevice()->setMode(mode)); in TEST_P() 77 ASSERT_OK(getDevice()->setMode(mode)); in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalTest.cpp | 70 ASSERT_OK(getDevice()->getMicrophones(returnIn(res, microphones))); in TEST_P() 101 return getDevice()->openInputStream(handle, microphone.deviceAddress, in TEST_P() 142 auto ret = getDevice()->setConnectedState(address, state); 214 TEST_IO_STREAM(GetHwAvSync, "Get hardware sync can not fail", checkGetHwAVSync(getDevice().get())); 355 EXPECT_RESULT(Result::INVALID_ARGUMENTS, getDevice()->setMode(AudioMode(mode))) 361 EXPECT_RESULT(okOrNotSupportedOrInvalidArgs, getDevice()->setMode(AudioMode::CALL_SCREEN)); 366 EXPECT_OK(getDevice()->setMode(mode)) << "mode=" << toString(mode); 369 getDevice()->setMode(AudioMode::NORMAL); 377 ASSERT_RESULT(okOrNotSupportedOrInvalidArgs, getDevice()->setBtHfpSampleRate(samplingRate)); 385 auto ret = getDevice()->setBtHfpVolume(0.0); [all …]
|
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/ |
D | AudioPrimaryHidlHalTest.cpp | 24 ASSERT_RESULT(Result::INVALID_STATE, getDevice()->close()); in TEST_P() 26 ASSERT_OK(getDevice()->close()); in TEST_P() 38 ASSERT_RESULT(Result::INVALID_STATE, getDevice()->close()); in TEST_P() 40 ASSERT_OK(getDevice()->close()); in TEST_P() 51 ASSERT_OK(getDevice()->updateAudioPatch(AudioPatchHandle{}, hidl_vec<AudioPortConfig>(), in TEST_P()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | AudioPrimaryHidlHalTest.cpp | 32 ASSERT_OK(getDevice()->getInputBufferSize(getConfig(), returnIn(res, bufferSize))); in TEST_P() 61 getDevice()->setConnectedState(getInvalidDeviceAddress(), true)); in TEST_P() 63 getDevice()->setConnectedState(getInvalidDeviceAddress(), false)); in TEST_P() 138 EXPECT_RESULT(invalidArgsOrNotSupported, getDevice()->setAudioPortConfig(invalidConfig)) in TEST_P() 151 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{validSource}, in TEST_P() 162 EXPECT_OK(getDevice()->createAudioPatch(hidl_vec<AudioPortConfig>{invalidSource}, in TEST_P() 180 EXPECT_OK(getDevice()->updateAudioPatch(handle, hidl_vec<AudioPortConfig>{validSource}, in TEST_P() 191 EXPECT_OK(getDevice()->updateAudioPatch( in TEST_P() 224 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 389 ASSERT_OK(getDevice()->openInputStream(AudioIoHandle{}, getDeviceAddress(), getConfig(), in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 43 -> decltype(fn(*resilientDevice.getDevice())) { in protect() 44 auto device = resilientDevice.getDevice(); in protect() 102 nn::SharedDevice ResilientDevice::getDevice() const { in getDevice() function in android::hardware::neuralnetworks::utils::ResilientDevice 147 return getDevice()->getFeatureLevel(); in getFeatureLevel() 151 return getDevice()->getType(); in getType() 163 return getDevice()->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Service.h | 27 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name);
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Service.h | 27 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name);
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Service.h | 27 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name);
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Service.h | 27 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name);
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Service.h | 28 ::android::nn::GeneralResult<::android::nn::SharedDevice> getDevice(
|
/hardware/google/gfxstream/host/magma/ |
D | Connection.h | 39 DrmDevice& getDevice();
|
D | Connection.cpp | 31 DrmDevice& Connection::getDevice() { in getDevice() function in gfxstream::magma::Connection
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Service.cpp | 28 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name) { in getDevice() function
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Service.cpp | 28 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name) { in getDevice() function
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Service.cpp | 28 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name) { in getDevice() function
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Service.cpp | 28 nn::GeneralResult<nn::SharedDevice> getDevice(const std::string& name) { in getDevice() function
|
/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | AudioPrimaryHidlHalTest.h | 164 sp<IDevice> getDevice() const { in getDevice() function 179 bool areAudioPatchesSupported() { return extract(getDevice()->supportsAudioPatches()); } in areAudioPatchesSupported() 370 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 380 ASSERT_OK(getDevice()->initCheck()); in TEST_P() 398 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 403 sp<IPrimaryDevice> getDevice() const { in getDevice() function 487 testAccessors<optionality>(&BaseTestClass::getDevice, propertyName, expectedInitial, 636 ASSERT_TRUE(getDevice() != nullptr); in SetUp() 688 ASSERT_OK(getDevice()->getInputBufferSize(audioConfig, returnIn(res, bufferSize))); in inputBufferSizeTest() 758 ASSERT_RESULT(okOrNotSupported, getDevice()->setScreenState(turnedOn)); in TEST_P() [all …]
|
D | ConfigHelper.h | 53 return devs.getDevice(AUDIO_DEVICE_IN_BUILTIN_MIC, {}, AUDIO_FORMAT_DEFAULT); in primaryHasMic()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Service.cpp | 58 nn::GeneralResult<nn::SharedDevice> getDevice( in getDevice() function
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.1/ |
D | AudioPrimaryHidlHalTest.cpp | 35 auto ret = getDevice()->setConnectedState_7_1(devicePort, state); in TEST_P()
|
/hardware/interfaces/audio/7.1/ |
D | IPrimaryDevice.hal | 33 getDevice() generates (IDevice result);
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | DevicesFactory.cpp | 81 auto getDeviceRet = primary->getDevice(); in openDevice_7_1()
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 48 nn::SharedDevice getDevice() const EXCLUDES(mMutex);
|
/hardware/interfaces/audio/core/all-versions/default/include/core/default/ |
D | PrimaryDevice.h | 140 Return<sp<::android::hardware::audio::V7_1::IDevice>> getDevice() override { return mDevice; } in getDevice() function
|