Searched refs:country_code (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/ |
D | api.rs | 268 country_code: jbyteArray, in Java_com_android_server_uwb_indev_UwbServiceCore_nativeSetCountryCode() 272 set_country_code(JniContext::new(env, obj), country_code), in Java_com_android_server_uwb_indev_UwbServiceCore_nativeSetCountryCode() 379 fn set_country_code(ctx: JniContext, country_code: jbyteArray) -> Result<()> { in set_country_code() 382 let country_code = match CountryCode::try_from(CountryCodeJni::new(ctx.env, country_code)) { in set_country_code() localVariable 388 Ok(uwb_service.android_set_country_code(country_code)?) in set_country_code()
|
D | object_mapping.rs | 426 let country_code = [country_code_vec[0], country_code_vec[1]]; in try_from() localVariable 427 match CountryCode::new(&country_code) { in try_from()
|
/packages/modules/Uwb/service/uci/jni/src/ |
D | uci_jni_android_new.rs | 1064 country_code: jbyteArray, in Java_com_android_server_uwb_jni_NativeUwbManager_nativeSetCountryCode() 1068 byte_result_helper(native_set_country_code(env, obj, country_code, chip_id), function_name!()) in Java_com_android_server_uwb_jni_NativeUwbManager_nativeSetCountryCode() 1074 country_code: jbyteArray, in native_set_country_code() 1078 let country_code = in native_set_country_code() localVariable 1079 env.convert_byte_array(country_code).map_err(|_| Error::ForeignFunctionInterface)?; in native_set_country_code() 1080 debug!("Country code: {:?}", country_code); in native_set_country_code() 1081 if country_code.len() != 2 { in native_set_country_code() 1085 CountryCode::new(&[country_code[0], country_code[1]]).ok_or(Error::BadParameters)?, in native_set_country_code()
|
/packages/modules/Bluetooth/system/stack/hid/ |
D | hidd_api.cc | 233 const uint8_t country_code = 0x21; in HID_DevAddRecord() local 254 (uint8_t*)&country_code); in HID_DevAddRecord()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkCountryCode.java | 255 ThreadNetworkProperties.country_code().orElse(null), in newInstance()
|