/frameworks/ml/nn/common/include/ |
D | Utils.h | 239 void logModelToInfo(const V1_1::Model& model); 261 case HalVersion::V1_1: in toString() 309 bool compliantWithV1_0(const V1_1::Capabilities& capabilities); 312 bool compliantWithV1_1(const V1_1::Capabilities& capabilities); 315 bool compliantWithV1_2(const V1_1::Capabilities& capabilities); 327 bool compliantWithV1_0(const V1_1::Model& model); 331 bool compliantWithV1_1(const V1_1::Model& model); 336 V1_0::Capabilities convertToV1_0(const V1_1::Capabilities& capabilities); 338 V1_1::Capabilities convertToV1_1(const V1_0::Capabilities& capabilities); 339 V1_1::Capabilities convertToV1_1(const V1_1::Capabilities& capabilities); [all …]
|
D | ValidateHal.h | 28 V1_1, enumerator 53 bool validOperationType(V1_1::OperationType operation);
|
D | HalInterfaces.h | 52 using ::android::hardware::neuralnetworks::V1_1::ExecutionPreference; 80 namespace V1_1 = ::android::hardware::neuralnetworks::V1_1; variable
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.h | 36 namespace V1_1 = hardware::broadcastradio::V1_1; variable 40 JavaRef<jobject> VendorInfoFromHal(JNIEnv *env, const hardware::hidl_vec<V1_1::VendorKeyValue> &inf… 41 hardware::hidl_vec<V1_1::VendorKeyValue> VendorInfoToHal(JNIEnv *env, jobject jInfo); 45 JavaRef<jobject> ModulePropertiesFromHal(JNIEnv *env, const V1_1::Properties &properties, 55 JavaRef<jobject> ProgramInfoFromHal(JNIEnv *env, const V1_1::ProgramInfo &info); 57 V1_1::ProgramSelector ProgramSelectorToHal(JNIEnv *env, jobject jSelector); 65 bool __ThrowIfFailed(JNIEnv *env, const V1_1::ProgramListResult halResult);
|
D | Tuner.cpp | 45 namespace V1_1 = hardware::broadcastradio::V1_1; 52 using V1_1::ITunerCallback; 53 using V1_1::ProgramListResult; 54 using V1_1::VendorKeyValue; 73 wp<V1_1::ITunerCallback> mTunerCallback; 76 explicit HalDeathRecipient(wp<V1_1::ITunerCallback> tunerCallback) in HalDeathRecipient() 92 sp<V1_1::ITuner> mHalTuner11; 95 sp<V1_1::IBroadcastRadio> getHalModule11() const; 145 sp<V1_1::IBroadcastRadio> TunerContext::getHalModule11() const { in getHalModule11() 152 return V1_1::IBroadcastRadio::castFrom(halModule).withDefault(nullptr); in getHalModule11() [all …]
|
D | BroadcastRadioService.cpp | 47 namespace V1_1 = hardware::broadcastradio::V1_1; 152 if (V1_1::IBroadcastRadioFactory::castFrom(factory).withDefault(nullptr) != nullptr) { in nativeLoadModules() 153 halRev = HalRevision::V1_1; in nativeLoadModules() 160 sp<V1_1::IBroadcastRadio> module11 = nullptr; in nativeLoadModules() 164 module11 = V1_1::IBroadcastRadio::castFrom(module).withDefault(nullptr); in nativeLoadModules() 182 hidlResult = module11->getProperties_1_1([&](const V1_1::Properties& properties) { in nativeLoadModules()
|
D | TunerCallback.cpp | 42 namespace V1_1 = hardware::broadcastradio::V1_1; 49 using V1_1::ITunerCallback; 50 using V1_1::ProgramInfo; 51 using V1_1::ProgramListResult; 52 using V1_1::ProgramSelector; 53 using V1_1::VendorKeyValue;
|
D | TunerCallback.h | 35 sp<hardware::broadcastradio::V1_1::ITunerCallback>
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | HostapdHal.java | 60 private final List<android.hardware.wifi.hostapd.V1_1.IHostapd.AcsChannelRange> 150 android.hardware.wifi.hostapd.V1_1.IHostapd.kInterfaceName, in isV1_1() 251 android.hardware.wifi.hostapd.V1_1.IHostapdCallback callback) { in registerCallback() 255 android.hardware.wifi.hostapd.V1_1.IHostapd iHostapdV1_1 = getHostapdMockableV1_1(); in registerCallback() 349 android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams ifaceParams1_1 = in addAccessPoint() 350 new android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams(); in addAccessPoint() 355 android.hardware.wifi.hostapd.V1_1.IHostapd iHostapdV1_1 = in addAccessPoint() 521 protected android.hardware.wifi.hostapd.V1_1.IHostapd getHostapdMockableV1_1() in getHostapdMockableV1_1() 525 return android.hardware.wifi.hostapd.V1_1.IHostapd.castFrom(mIHostapd); in getHostapdMockableV1_1() 575 private List<android.hardware.wifi.hostapd.V1_1.IHostapd.AcsChannelRange> [all …]
|
/frameworks/ml/nn/runtime/test/generated/tests/ |
D | sub_v1_2_broadcast.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_none, sub_v1_2_broadcast::CreateModel_none) in TEST_AVAILABLE_SINCE() argument 24 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu, sub_v1_2_broadcast::CreateModel_relu) in TEST_AVAILABLE_SINCE() argument 31 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu1, sub_v1_2_broadcast::CreateModel_relu1) in TEST_AVAILABLE_SINCE() argument 38 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_broadcast_relu6, sub_v1_2_broadcast::CreateModel_relu6) in TEST_AVAILABLE_SINCE() argument
|
D | sub_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_none, sub_v1_2::CreateModel_none) in TEST_AVAILABLE_SINCE() argument 24 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu, sub_v1_2::CreateModel_relu) in TEST_AVAILABLE_SINCE() argument 31 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu1, sub_v1_2::CreateModel_relu1) in TEST_AVAILABLE_SINCE() argument 38 TEST_AVAILABLE_SINCE(V1_1, sub_v1_2_relu6, sub_v1_2::CreateModel_relu6) in TEST_AVAILABLE_SINCE() argument
|
D | pad_all_dims.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_1, pad_all_dims, pad_all_dims::CreateModel) in TEST_AVAILABLE_SINCE() argument 37 TEST_AVAILABLE_SINCE(V1_1, pad_all_dims_quant8, pad_all_dims::CreateModel_quant8) in TEST_AVAILABLE_SINCE() argument
|
D | transpose_v1_2.mod.py.cpp | 17 TEST_AVAILABLE_SINCE(V1_1, transpose_v1_2, transpose_v1_2::CreateModel) in TEST_AVAILABLE_SINCE() argument 30 TEST_AVAILABLE_SINCE(V1_1, transpose_v1_2_quant8, transpose_v1_2::CreateModel_quant8) in TEST_AVAILABLE_SINCE() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HostapdHalTest.java | 30 import android.hardware.wifi.hostapd.V1_1.IHostapdCallback; 66 private android.hardware.wifi.hostapd.V1_1.IHostapd mIHostapdMockV1_1; 81 private ArgumentCaptor<android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams> 83 ArgumentCaptor.forClass(android.hardware.wifi.hostapd.V1_1.IHostapd.IfaceParams.class); 105 protected android.hardware.wifi.hostapd.V1_1.IHostapd getHostapdMockableV1_1() in getHostapdMockableV1_1() 173 mIHostapdMockV1_1 = mock(android.hardware.wifi.hostapd.V1_1.IHostapd.class); in testInitialize_successV1_1() 184 mIHostapdMockV1_1 = mock(android.hardware.wifi.hostapd.V1_1.IHostapd.class); in testInitialize_registerCallbackFailureV1_1() 474 mIHostapdMockV1_1 = mock(android.hardware.wifi.hostapd.V1_1.IHostapd.class); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 477 android.hardware.wifi.hostapd.V1_1.IHostapd.AcsChannelRange channelRange1 = in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 478 new android.hardware.wifi.hostapd.V1_1.IHostapd.AcsChannelRange(); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() [all …]
|
D | SupplicantStaIfaceHalTest.java | 118 private android.hardware.wifi.supplicant.V1_1.ISupplicant mISupplicantMockV1_1; 122 private @Mock android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface 139 android.hardware.wifi.supplicant.V1_1.ISupplicantStaIfaceCallback 172 protected android.hardware.wifi.supplicant.V1_1.ISupplicant getSupplicantMockableV1_1() in getSupplicantMockableV1_1() 183 protected android.hardware.wifi.supplicant.V1_1.ISupplicantStaIface 278 when(mServiceManagerMock.getTransport(eq(android.hardware.wifi.supplicant.V1_1.ISupplicant in testInitialize_successV1_1() 281 mISupplicantMockV1_1 = mock(android.hardware.wifi.supplicant.V1_1.ISupplicant.class); in testInitialize_successV1_1() 295 when(mServiceManagerMock.getTransport(eq(android.hardware.wifi.supplicant.V1_1.ISupplicant in testInitialize_successV1_2() 298 mISupplicantMockV1_1 = mock(android.hardware.wifi.supplicant.V1_1.ISupplicant.class); in testInitialize_successV1_2() 308 when(mServiceManagerMock.getTransport(eq(android.hardware.wifi.supplicant.V1_1.ISupplicant in testInitialize_remoteExceptionFailureV1_1() [all …]
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 354 void logModelToInfo(const V1_1::Model& model) { in logModelToInfo() 1193 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1245 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1262 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1277 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1379 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1388 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1412 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1430 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() 1459 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_1)); in validateOperation() [all …]
|
D | ValidateHal.cpp | 37 struct ModelToHalVersion<V1_1::Model> { 38 static constexpr HalVersion version = HalVersion::V1_1; 374 static HalVersion getHalVersion(const V1_1::Operation&) { in getHalVersion() 375 return HalVersion::V1_1; in getHalVersion() 504 template bool validateModel<V1_1::Model>(const V1_1::Model& model); 599 template bool validateRequest<V1_1::Model>(const Request& request, const V1_1::Model& model);
|
/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.cpp | 275 mDeviceV1_1(V1_1::IDevice::castFrom(mDeviceV1_0).withDefault(nullptr)), in Core() 425 } else if (getDevice<V1_1::IDevice>() != nullptr) { in getCapabilities() 427 Return<void> ret = recoverable<void, V1_1::IDevice>( in getCapabilities() 428 __FUNCTION__, [&result](const sp<V1_1::IDevice>& device) { in getCapabilities() 430 [&result](ErrorStatus error, const V1_1::Capabilities& capabilities) { in getCapabilities() 528 if (getDevice<V1_1::IDevice>() != nullptr) { in getSupportedOperations() 531 V1_1::Model model11; in getSupportedOperations() 544 Return<void> ret = recoverable<void, V1_1::IDevice>( in getSupportedOperations() 545 __FUNCTION__, [&model11, &result](const sp<V1_1::IDevice>& device) { in getSupportedOperations() 635 if (getDevice<V1_1::IDevice>() != nullptr) { in prepareModel() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 52 class TestDriverV1_1 : public V1_1::IDevice { 60 Return<void> getSupportedOperations_1_1(const V1_1::Model& model, in getSupportedOperations_1_1() 65 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1() 466 TEST_SINGLE_OPERATION(SUB, V1_1, kMediumCriteria); 467 TEST_SINGLE_OPERATION(DIV, V1_1, kRelaxedCriteria); 468 TEST_SINGLE_OPERATION(BATCH_TO_SPACE_ND, V1_1, kStrictCriteria); 469 TEST_SINGLE_OPERATION(SPACE_TO_BATCH_ND, V1_1, kStrictCriteria); 470 TEST_SINGLE_OPERATION(MEAN, V1_1, kRelaxedCriteria); 471 TEST_SINGLE_OPERATION(PAD, V1_1, kStrictCriteria); 472 TEST_SINGLE_OPERATION(TRANSPOSE, V1_1, kStrictCriteria); [all …]
|
/frameworks/base/cmds/statsd/src/external/ |
D | SubsystemSleepStatePuller.cpp | 47 using android::hardware::power::V1_1::PowerStateSubsystem; 48 using android::hardware::power::V1_1::PowerStateSubsystemSleepState; 66 static sp<android::hardware::power::V1_1::IPower> gPowerHalV1_1 = nullptr; 237 gPowerHalV1_1 = android::hardware::power::V1_1::IPower::castFrom(gPowerHalV1_0); in getPowerHalLocked() 308 sp<android::hardware::power::V1_1::IPower> gPowerHal_1_1 = in getIPowerDataLocked() 309 android::hardware::power::V1_1::IPower::castFrom(gPowerHalV1_0); in getIPowerDataLocked()
|
/frameworks/base/media/java/android/media/ |
D | MediaCas.java | 24 import android.hardware.cas.V1_1.ICasListener; 102 private android.hardware.cas.V1_1.ICas mICasV11; 112 android.hardware.cas.V1_1.IMediaCasService serviceV11 = 113 android.hardware.cas.V1_1.IMediaCasService.getService(true /*wait*/); 448 android.hardware.cas.V1_1.IMediaCasService serviceV11 = in MediaCas() 449 android.hardware.cas.V1_1.IMediaCasService.castFrom(service); in MediaCas() 557 private class OpenSessionCallback implements android.hardware.cas.V1_1.ICas.openSessionCallback{
|
/frameworks/base/services/core/jni/ |
D | com_android_server_VibratorService.cpp | 41 using android::hardware::vibrator::V1_1::Effect_1_1; 44 namespace V1_1 = android::hardware::vibrator::V1_1; 168 ret = halCall(&V1_1::IVibrator::perform_1_1, static_cast<Effect_1_1>(effect), in vibratorPerformEffect()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioConfigResponse.java | 21 import android.hardware.radio.config.V1_1.ModemsConfig; 119 android.hardware.radio.config.V1_1.PhoneCapability phoneCapability) { in convertHalPhoneCapability() 127 for (android.hardware.radio.config.V1_1.ModemInfo in convertHalPhoneCapability() 139 android.hardware.radio.config.V1_1.PhoneCapability phoneCapability) { in getPhoneCapabilityResponse()
|
D | RadioConfig.java | 32 import android.hardware.radio.config.V1_1.ModemsConfig; 199 mRadioConfigProxy = android.hardware.radio.config.V1_1.IRadioConfig.getService( in updateRadioConfigProxy() 316 ((android.hardware.radio.config.V1_1.IRadioConfig) mRadioConfigProxy) in setPreferredDataModem() 344 ((android.hardware.radio.config.V1_1.IRadioConfig) mRadioConfigProxy) in getPhoneCapability() 419 android.hardware.radio.config.V1_1.IRadioConfig radioConfigProxy11 = in setModemsConfig() 420 (android.hardware.radio.config.V1_1.IRadioConfig) radioConfigProxy; in setModemsConfig()
|
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 31 using android::hardware::graphics::common::V1_1::BufferUsage; 32 using android::hardware::graphics::common::V1_1::PixelFormat; 58 using hardware::graphics::common::V1_1::BufferUsage; in getValid11UsageBits() 193 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in validateBufferSize() 389 descriptorInfo.format = static_cast<hardware::graphics::common::V1_1::PixelFormat>(format); in allocate()
|