/system/keymint/hal/src/ |
D | secureclock.rs | 13 channel: Arc<Mutex<T>>, field 20 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() 21 Self { channel } in new() 24 pub fn new_as_binder(channel: Arc<Mutex<T>>) -> binder::Strong<dyn ISecureClock::ISecureClock> { in new_as_binder() 26 Self::new(channel), in new_as_binder() 33 fn channel(&self) -> MutexGuard<T> { in channel() method 34 self.channel.lock().unwrap() in channel()
|
D | sharedsecret.rs | 15 channel: Arc<Mutex<T>>, field 22 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() 23 Self { channel } in new() 27 channel: Arc<Mutex<T>>, in new_as_binder() 30 Self::new(channel), in new_as_binder() 37 fn channel(&self) -> MutexGuard<T> { in channel() method 38 self.channel.lock().unwrap() in channel()
|
D | rpc.rs | 12 channel: Arc<Mutex<T>>, field 17 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() 18 Self { channel } in new() 23 channel: Arc<Mutex<T>>, in new_as_binder() 26 Self::new(channel), in new_as_binder() 33 fn channel(&self) -> MutexGuard<T> { in channel() method 34 self.channel.lock().unwrap() in channel()
|
D | lib.rs | 142 fn channel_execute<T, R, S>(channel: &mut T, req: R) -> binder::Result<S> in channel_execute() 178 let rsp_data = channel.execute(&req_data)?; in channel_execute() 234 fn channel(&self) -> MutexGuard<T>; in channel() method 243 channel_execute(self.channel().deref_mut(), req) in execute() 248 pub fn send_hal_info<T: SerializedChannel>(channel: &mut T) -> binder::Result<()> { in send_hal_info() 256 let _rsp: kmr_wire::SetHalInfoResponse = channel_execute(channel, req)?; in send_hal_info() 262 channel: &mut T, in send_boot_info() 266 let _rsp: kmr_wire::SetBootInfoResponse = channel_execute(channel, req)?; in send_boot_info() 272 channel: &mut T, in send_attest_ids() 277 let _rsp: kmr_wire::SetAttestationIdsResponse = channel_execute(channel, req)?; in send_attest_ids() [all …]
|
D | tests.rs | 34 let channel = TestChannel::new(concat!( in test_method_roundtrip() localVariable 46 let imp = keymint::Device::new(Arc::new(Mutex::new(channel.clone()))); in test_method_roundtrip() 57 assert_eq!(channel.req_data(), hex::decode(want_req).unwrap()); in test_method_roundtrip() 66 let channel = TestChannel::new(concat!( in test_method_err_roundtrip() localVariable 71 let imp = keymint::Device::new(Arc::new(Mutex::new(channel.clone()))); in test_method_err_roundtrip() 82 assert_eq!(channel.req_data(), hex::decode(want_req).unwrap()); in test_method_err_roundtrip()
|
D | keymint.rs | 54 channel: Arc<Mutex<T>>, field 59 pub fn new(channel: Arc<Mutex<T>>) -> Self { in new() 60 Self { channel } in new() 65 channel: Arc<Mutex<T>>, in new_as_binder() 68 Self::new(channel), in new_as_binder() 75 fn channel(&self) -> MutexGuard<T> { in channel() method 76 self.channel.lock().unwrap() in channel() 208 let op = Operation::new_as_binder(self.channel.clone(), rsp.ret.op_handle); in begin() 270 channel: Arc<Mutex<T>>, field 282 fn channel(&self) -> MutexGuard<T> { in channel() method [all …]
|
/system/connectivity/wificond/scanning/ |
D | single_scan_settings.cpp | 45 for (const auto& channel : channel_settings_) { in writeToParcel() local 49 RETURN_IF_FAILED(channel.writeToParcel(parcel)); in writeToParcel() 76 ChannelSettings channel; in readFromParcel() local 87 RETURN_IF_FAILED(channel.readFromParcel(parcel)); in readFromParcel() 88 channel_settings_.push_back(channel); in readFromParcel()
|
/system/chre/apps/wifi_offload/ |
D | channel_histogram.cc | 126 uint8_t channel, uint32_t increase_count) { in IncrementScanCountForChannelForTest() argument 127 size_t index = GetChannelIndex(channel); in IncrementScanCountForChannelForTest() 141 for (const auto channel : kAllChannels) { in operator ==() local 143 if (GetChannelScanCount(channel) != other.GetChannelScanCount(channel)) { in operator ==()
|
/system/connectivity/wificond/tests/ |
D | scan_settings_unittest.cpp | 92 ChannelSettings channel, channel1, channel2; in TEST_F() local 93 channel.frequency_ = kFakeFrequency; in TEST_F() 102 scan_settings.channel_settings_ = {channel, channel1, channel2}; in TEST_F() 118 ChannelSettings channel, channel1, channel2; in TEST_F() local 119 channel.frequency_ = kFakeFrequency; in TEST_F() 128 scan_settings.channel_settings_ = {channel, channel1, channel2}; in TEST_F()
|
/system/chre/apps/wifi_offload/test/ |
D | wifioffloadutility_test.cc | 24 int channel = wifi_offload::utility::Ieee80211FrequencyToChannel( in TEST() local 27 static_cast<uint8_t>(channel)); in TEST()
|
/system/nfc/src/rust/nci/ |
D | nci.rs | 26 use tokio::sync::mpsc::{channel, Receiver, Sender}; 39 let (out_data_ext, out_data_int) = channel::<DataPacket>(10); in init() 41 let (in_data_int, in_data_ext) = channel::<DataPacket>(10); in init() 45 let (cmd_tx, cmd_rx) = channel::<QueuedCommand>(10); in init() 101 let (tx, rx) = oneshot::channel::<ResponsePacket>(); in send() 116 let (tx, rx) = oneshot::channel::<ResponsePacket>(); in send_and_notify() 117 let (ntx, nrx) = oneshot::channel::<NotificationPacket>(); in send_and_notify()
|
/system/media/radio/src/ |
D | radio_metadata.c | 192 const uint32_t channel, in radio_metadata_allocate() argument 202 metadata_buf->channel = channel; in radio_metadata_allocate() 278 status = radio_metadata_allocate(dst_metadata, src_metadata_buf->channel, in radio_metadata_add_metadata() 286 dst_metadata_buf->channel = src_metadata_buf->channel; in radio_metadata_add_metadata() 437 uint32_t *channel, in radio_metadata_get_channel() argument 443 if (metadata_buf == NULL || channel == NULL || sub_channel == NULL) { in radio_metadata_get_channel() 446 *channel = metadata_buf->channel; in radio_metadata_get_channel()
|
D | radio_metadata_hidden.h | 78 uint32_t channel; /* channel (frequency) this meta data is associated with */ member
|
/system/media/audio_utils/tests/ |
D | channelmix_tests.cpp | 170 for (unsigned i = 0, channel = outputChannelMask; channel != 0; ++i) { in testBalance() local 171 const int index = __builtin_ctz(channel); in testBalance() 177 channel &= ~channelBit; in testBalance() 187 for (unsigned i = 0, channel = inputChannelMask; channel != 0; ++i) { in testBalance() local 188 const int index = __builtin_ctz(channel); in testBalance() 192 channel &= ~channelBit; in testBalance()
|
/system/media/audio_utils/ |
D | Balance.cpp | 58 for (unsigned i = 0, channel = channelMask; channel != 0; ++i) { in setChannelMask() local 59 const int index = __builtin_ctz(channel); in setChannelMask() 67 channel &= ~(1 << index); in setChannelMask()
|
/system/security/keystore2/src/ |
D | async_task.rs | 264 mpsc::{channel, sync_channel, RecvTimeoutError}, 325 let (start_sender, start_receiver) = channel(); in test_async_task() 347 let (trace_sender, trace_receiver) = channel(); in test_async_task() 363 let (sender, receiver) = channel(); in test_async_task_chain() 383 let (done_sender, done_receiver) = channel(); in test_async_task_panic() 409 let (done_sender, done_receiver) = channel(); in test_async_task_idle() 431 let (done_sender, done_receiver) = channel(); in test_async_task_idle() 528 let (done_sender, done_receiver) = channel(); in test_async_task_idle_panic()
|
D | rkpd_client.rs | 122 let (tx, rx) = oneshot::channel(); in get_rkpd_registration() 200 let (tx, rx) = oneshot::channel(); in get_rkpd_attestation_key_from_registration_async() 268 let (tx, rx) = oneshot::channel(); in store_rkpd_attestation_key_with_registration_async() 416 let (tx, rx) = oneshot::channel(); in get_mock_registration() 440 let (tx, rx) = oneshot::channel(); in test_get_registration_cb_cancel() 453 let (tx, rx) = oneshot::channel(); in test_get_registration_cb_error() 468 let (tx, rx) = oneshot::channel(); in test_get_key_cb_success() 478 let (tx, rx) = oneshot::channel(); in test_get_key_cb_cancel() 507 let (tx, rx) = oneshot::channel(); in test_get_key_cb_error() 521 let (tx, rx) = oneshot::channel(); in test_store_upgraded_cb_success() [all …]
|
D | keystore2_main.rs | 28 use std::{os::raw::c_int, panic, path::Path, sync::mpsc::channel}; 90 let (confirmation_token_sender, confirmation_token_receiver) = channel(); in main()
|
/system/media/radio/include/system/ |
D | radio_metadata.h | 93 const uint32_t channel, 303 uint32_t *channel,
|
/system/media/audio/include/system/ |
D | audio.h | 279 static inline CONSTEXPR uint32_t audio_channel_mask_get_bits(audio_channel_mask_t channel) in audio_channel_mask_get_bits() argument 281 return channel & ((1 << AUDIO_CHANNEL_COUNT_MAX) - 1); in audio_channel_mask_get_bits() 291 audio_channel_mask_t channel) in audio_channel_mask_get_representation() argument 295 ((channel >> AUDIO_CHANNEL_COUNT_MAX) & ((1 << AUDIO_CHANNEL_REPRESENTATION_LOG2) - 1)); in audio_channel_mask_get_representation() 312 static inline CONSTEXPR bool audio_channel_mask_is_valid(audio_channel_mask_t channel) in audio_channel_mask_is_valid() argument 314 uint32_t bits = audio_channel_mask_get_bits(channel); in audio_channel_mask_is_valid() 315 audio_channel_representation_t representation = audio_channel_mask_get_representation(channel); in audio_channel_mask_is_valid() 1490 static inline bool audio_is_input_channel(audio_channel_mask_t channel) in audio_is_input_channel() argument 1492 uint32_t bits = audio_channel_mask_get_bits(channel); in audio_is_input_channel() 1493 switch (audio_channel_mask_get_representation(channel)) { in audio_is_input_channel() [all …]
|
/system/keymint/ |
D | README.md | 81 - Creates a communication channel to the KeyMint TA. 87 message-oriented, bi-directional communication channel for this, as encapsulated in the 117 - Configures the communication channel with the HAL service. 118 - Configures the communication channel with the bootloader, which is required so that the current 121 - reads request messages from the channel(s) 123 - writes response messages back to the relevant channel. 128 - [ ] Implementation of communication channel between HAL service and TA. 129 - [ ] Implementation of communication channel from bootloader to TA. 144 - [ ] Implementation of communication channel from bootloader to TA.
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | channel_histogram.h | 49 bool IncrementScanCountForChannelForTest(uint8_t channel,
|
/system/nfc/src/rust/hal/ |
D | hidl_hal.rs | 30 let (hal_open_evt_tx, hal_open_evt_rx) = oneshot::channel::<ffi::NfcStatus>(); in init() 31 let (hal_close_evt_tx, hal_close_evt_rx) = oneshot::channel::<ffi::NfcStatus>(); in init()
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 127 CHROMEOS_RELEASE_DESCRIPTION=6946.63.0 (Official Build) stable-channel link 130 CHROMEOS_RELEASE_TRACK=stable-channel
|
/system/core/libsystem/include/system/ |
D | radio.h | 167 uint32_t channel; /* current channel. (e.g kHz for band type RADIO_BAND_FM) */ member
|