Home
last modified time | relevance | path

Searched refs:updatedValue (Results 1 – 7 of 7) sorted by relevance

/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
H A DEmulatedVehicleConnector.cpp55 auto updatedValue = ret.value().get(); in onSetProperty() local
56 if (updatedValue != nullptr) { in onSetProperty()
58 << toString(*updatedValue); in onSetProperty()
59 onPropertyValueFromCar(*updatedValue, updateStatus); in onSetProperty()
H A DEmulatedUserHal.cpp158 auto updatedValue = user_hal_helper::toVehiclePropValue(InitialUserInfoResponse{ in onSetInitialUserInfoResponse() local
163 toString(*updatedValue).c_str()); in onSetInitialUserInfoResponse()
164 return updatedValue; in onSetInitialUserInfoResponse()
210 auto updatedValue = user_hal_helper::toVehiclePropValue(SwitchUserResponse{ in onSetSwitchUserResponse() local
216 toString(*updatedValue).c_str()); in onSetSwitchUserResponse()
217 return updatedValue; in onSetSwitchUserResponse()
243 auto updatedValue = user_hal_helper::toVehiclePropValue(CreateUserResponse{ in onSetCreateUserResponse() local
247 ALOGI("no lshal response; replying with SUCCESS: %s", toString(*updatedValue).c_str()); in onSetCreateUserResponse()
248 return updatedValue; in onSetCreateUserResponse()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
H A DSnoozeNotificationPreferenceControllerTest.java93 int updatedValue = Settings.Secure.getInt(mContext.getContentResolver(), in setChecked_setFalse_disablesSetting() local
96 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
104 int updatedValue = Settings.Secure.getInt(mContext.getContentResolver(), in setChecked_setTrue_enablesSetting() local
107 assertThat(updatedValue).isEqualTo(ON); in setChecked_setTrue_enablesSetting()
H A DBadgingNotificationPreferenceControllerTest.java135 int updatedValue = Settings.Secure.getInt(mContext.getContentResolver(), in setChecked_setFalse_disablesSetting() local
138 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
146 int updatedValue = Settings.Secure.getInt(mContext.getContentResolver(), in setChecked_setTrue_enablesSetting() local
149 assertThat(updatedValue).isEqualTo(ON); in setChecked_setTrue_enablesSetting()
H A DBubbleNotificationPreferenceControllerTest.java126 int updatedValue = Settings.Global.getInt(mContext.getContentResolver(), in setChecked_setFalse_disablesSetting() local
129 assertThat(updatedValue).isEqualTo(OFF); in setChecked_setFalse_disablesSetting()
137 int updatedValue = Settings.Global.getInt(mContext.getContentResolver(), in setChecked_setTrue_enablesSetting() local
140 assertThat(updatedValue).isEqualTo(ON); in setChecked_setTrue_enablesSetting()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
H A DPremiumSmsAccessPreferenceControllerTest.java155 int updatedValue = SmsManager.PREMIUM_SMS_CONSENT_ASK_USER; in onPreferenceChange_setsPremiumSmsPermission() local
158 String.valueOf(updatedValue)); in onPreferenceChange_setsPremiumSmsPermission()
160 verify(mMockSmsManager).setPremiumSmsConsent(packageName, updatedValue); in onPreferenceChange_setsPremiumSmsPermission()
/aosp12/system/media/tests/
H A Dsystemaudio_tests.cpp325 void updateFieldAndCompare(const T updatedValue, T U::*field, U* lhs, U* rhs, Func p) { in updateFieldAndCompare() argument
326 lhs->*field = updatedValue; in updateFieldAndCompare()
333 void updateConfigFieldAndCompare(const T updatedValue, T audio_port_config::*field, in updateConfigFieldAndCompare() argument
336 lhs->*field = updatedValue; in updateConfigFieldAndCompare()