Loading compatibility_matrices/compatibility_matrix.current.xml +7 −0 Original line number Diff line number Diff line Loading @@ -676,6 +676,13 @@ <instance>default</instance> </interface> </hal> <hal format="aidl" optional="true"> <name>android.hardware.usb.gadget</name> <interface> <name>IUsbGadget</name> <instance>default</instance> </interface> </hal> <hal format="aidl" optional="true"> <name>android.hardware.vibrator</name> <version>1-2</version> Loading neuralnetworks/1.0/vts/functional/Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ cc_defaults { name: "neuralnetworks_vts_functional_defaults", defaults: [ "VtsHalTargetTestDefaults", "neuralnetworks_float16", ], } Loading radio/aidl/android/hardware/radio/network/IRadioNetwork.aidl +5 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,11 @@ oneway interface IRadioNetwork { /** * Set if null encryption and integrity modes are enabled. If the value of enabled is false * the modem must not allow any network communications with null ciphering or null integrity * modes. In case of an emergency call, the modem must bypass this setting. * modes. * * In the case when enabled is false, integrity protection for user data is optional, but * ciphering for user data is required. In case of an emergency call, the modem must bypass * this setting. * * Null ciphering and integrity modes include (but are not limited to): * 2G: A5/0 Loading radio/aidl/vts/radio_network_test.cpp +18 −0 Original line number Diff line number Diff line Loading @@ -1961,3 +1961,21 @@ TEST_P(RadioNetworkTest, isN1ModeEnabled) { RadioError::REQUEST_NOT_SUPPORTED, RadioError::NONE})); } } /* * Test IRadioNetwork.setNullCipherAndIntegrityEnabled() for the response returned. */ TEST_P(RadioNetworkTest, setNullCipherAndIntegrityEnabled) { LOG(DEBUG) << "setNullCipherAndIntegrityEnabled"; serial = GetRandomSerialNumber(); radio_network->setNullCipherAndIntegrityEnabled(serial, false); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_network->rspInfo.type); EXPECT_EQ(serial, radioRsp_network->rspInfo.serial); ASSERT_TRUE(CheckAnyOfErrors( radioRsp_network->rspInfo.error, {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR})); LOG(DEBUG) << "setNullCipherAndIntegrityEnabled finished"; } sensors/common/default/2.X/multihal/HalProxy.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -82,8 +82,11 @@ int64_t msFromNs(int64_t nanos) { } HalProxy::HalProxy() { const char* kMultiHalConfigFile = "/vendor/etc/sensors/hals.conf"; initializeSubHalListFromConfigFile(kMultiHalConfigFile); static const std::string kMultiHalConfigFiles[] = {"/vendor/etc/sensors/hals.conf", "/odm/etc/sensors/hals.conf"}; for (const std::string& configFile : kMultiHalConfigFiles) { initializeSubHalListFromConfigFile(configFile.c_str()); } init(); } Loading Loading
compatibility_matrices/compatibility_matrix.current.xml +7 −0 Original line number Diff line number Diff line Loading @@ -676,6 +676,13 @@ <instance>default</instance> </interface> </hal> <hal format="aidl" optional="true"> <name>android.hardware.usb.gadget</name> <interface> <name>IUsbGadget</name> <instance>default</instance> </interface> </hal> <hal format="aidl" optional="true"> <name>android.hardware.vibrator</name> <version>1-2</version> Loading
neuralnetworks/1.0/vts/functional/Android.bp +0 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ cc_defaults { name: "neuralnetworks_vts_functional_defaults", defaults: [ "VtsHalTargetTestDefaults", "neuralnetworks_float16", ], } Loading
radio/aidl/android/hardware/radio/network/IRadioNetwork.aidl +5 −1 Original line number Diff line number Diff line Loading @@ -488,7 +488,11 @@ oneway interface IRadioNetwork { /** * Set if null encryption and integrity modes are enabled. If the value of enabled is false * the modem must not allow any network communications with null ciphering or null integrity * modes. In case of an emergency call, the modem must bypass this setting. * modes. * * In the case when enabled is false, integrity protection for user data is optional, but * ciphering for user data is required. In case of an emergency call, the modem must bypass * this setting. * * Null ciphering and integrity modes include (but are not limited to): * 2G: A5/0 Loading
radio/aidl/vts/radio_network_test.cpp +18 −0 Original line number Diff line number Diff line Loading @@ -1961,3 +1961,21 @@ TEST_P(RadioNetworkTest, isN1ModeEnabled) { RadioError::REQUEST_NOT_SUPPORTED, RadioError::NONE})); } } /* * Test IRadioNetwork.setNullCipherAndIntegrityEnabled() for the response returned. */ TEST_P(RadioNetworkTest, setNullCipherAndIntegrityEnabled) { LOG(DEBUG) << "setNullCipherAndIntegrityEnabled"; serial = GetRandomSerialNumber(); radio_network->setNullCipherAndIntegrityEnabled(serial, false); EXPECT_EQ(std::cv_status::no_timeout, wait()); EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_network->rspInfo.type); EXPECT_EQ(serial, radioRsp_network->rspInfo.serial); ASSERT_TRUE(CheckAnyOfErrors( radioRsp_network->rspInfo.error, {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR})); LOG(DEBUG) << "setNullCipherAndIntegrityEnabled finished"; }
sensors/common/default/2.X/multihal/HalProxy.cpp +5 −2 Original line number Diff line number Diff line Loading @@ -82,8 +82,11 @@ int64_t msFromNs(int64_t nanos) { } HalProxy::HalProxy() { const char* kMultiHalConfigFile = "/vendor/etc/sensors/hals.conf"; initializeSubHalListFromConfigFile(kMultiHalConfigFile); static const std::string kMultiHalConfigFiles[] = {"/vendor/etc/sensors/hals.conf", "/odm/etc/sensors/hals.conf"}; for (const std::string& configFile : kMultiHalConfigFiles) { initializeSubHalListFromConfigFile(configFile.c_str()); } init(); } Loading