Home
last modified time | relevance | path

Searched refs:vc (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/rust/topshim/vc/
Dvc_shim.cc37 static BtVcConnectionState to_rust_btvc_connection_state(vc::ConnectionState state) { in to_rust_btvc_connection_state()
39 case vc::ConnectionState::DISCONNECTED: in to_rust_btvc_connection_state()
41 case vc::ConnectionState::CONNECTING: in to_rust_btvc_connection_state()
43 case vc::ConnectionState::CONNECTED: in to_rust_btvc_connection_state()
45 case vc::ConnectionState::DISCONNECTING: in to_rust_btvc_connection_state()
53 static void connection_state_cb(vc::ConnectionState state, const RawAddress& address) { in connection_state_cb()
87 class DBusVolumeControlCallbacks : public vc::VolumeControlCallbacks {
89 static vc::VolumeControlCallbacks* GetInstance() { in GetInstance()
96 void OnConnectionState(vc::ConnectionState state, const RawAddress& address) override { in OnConnectionState()
161 const_cast<vc::VolumeControlInterface*>(reinterpret_cast<const vc::VolumeControlInterface*>( in GetVolumeControlProfile()
Dvc_shim.h31 VolumeControlIntf(vc::VolumeControlInterface* intf) : intf_(intf){}; in VolumeControlIntf()
49 vc::VolumeControlInterface* intf_;
/packages/modules/Bluetooth/system/gd/rust/topshim/
DBUILD.gn33 "src/profiles/vc.rs",
50 "src/profiles/vc.rs",
74 "vc/vc_shim.cc",
DAndroid.bp57 "vc/vc_shim.cc",
95 "src/profiles/vc.rs",
114 "src/profiles/vc.rs",
/packages/modules/Bluetooth/system/btif/src/
Dbtif_vc.cc34 using bluetooth::vc::ConnectionState;
35 using bluetooth::vc::VolumeControlCallbacks;
36 using bluetooth::vc::VolumeControlInterface;
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs31 use bt_topshim::profiles::vc::{
490 vc: Option<VolumeControl>, field
555 vc: None, in new()
685 if let Some(vc) = &mut self.vc { in enable_profile()
686 vc.enable(); in enable_profile()
730 if let Some(vc) = &mut self.vc { in disable_profile()
731 vc.disable(); in disable_profile()
760 &Profile::VolumeControl => Some(self.vc.as_ref().map_or(false, |vc| vc.is_enabled())), in is_profile_enabled()
3134 self.vc = Some(VolumeControl::new(&self.intf.lock().unwrap())); in initialize()
3135 self.vc.as_mut().unwrap().initialize(vc_dispatcher); in initialize()
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingUtils.java396 VolumeControlProfile vc = profileManager.getVolumeControlProfile(); in isAudioSharingProfileReady() local
397 return vc != null && vc.isProfileReady(); in isAudioSharingProfileReady()
/packages/modules/Bluetooth/system/bta/
DBUILD.gn132 "vc/device.cc",
133 "vc/vc.cc",
DAndroid.bp133 "vc/device.cc",
134 "vc/vc.cc",
667 "vc/device.cc",
668 "vc/devices_test.cc",
669 "vc/vc.cc",
670 "vc/vc_test.cc",
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dmod.rs39 pub mod vc; module
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_vc.cc40 bluetooth::vc::VolumeControlCallbacks* /* callbacks */, in Initialize()
Dmock_bta_vc_device.cc27 using namespace bluetooth::vc::internal;
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java105 final ViewConfiguration vc = ViewConfiguration.get(context); in GalleryThumbnailView() local
106 mTouchSlop = vc.getScaledTouchSlop(); in GalleryThumbnailView()
107 mMaximumVelocity = vc.getScaledMaximumFlingVelocity(); in GalleryThumbnailView()
108 mFlingVelocity = vc.getScaledMinimumFlingVelocity(); in GalleryThumbnailView()
/packages/modules/Bluetooth/system/bta/include/
Dbta_vc_api.h28 static void Initialize(bluetooth::vc::VolumeControlCallbacks* callbacks,
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_vc.cpp27 using bluetooth::vc::ConnectionState;
28 using bluetooth::vc::VolumeControlCallbacks;
29 using bluetooth::vc::VolumeControlInterface;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DServiceFactory.java33 import com.android.bluetooth.vc.VolumeControlService;
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dle_audio_utils.cc41 auto vc = ::aidl::android::hardware::bluetooth::audio::CodecId::Vendor(); in GetAidlCodecIdFromStackFormat() local
42 vc.id = codec_id.vendor_company_id; in GetAidlCodecIdFromStackFormat()
43 vc.codecId = codec_id.vendor_codec_id; in GetAidlCodecIdFromStackFormat()
44 codec = vc; in GetAidlCodecIdFromStackFormat()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStackEvent.java18 package com.android.bluetooth.vc;
/packages/modules/Bluetooth/system/include/hardware/
Dbt_vc.h26 namespace vc {
/packages/modules/Bluetooth/system/bta/vc/
Dvc.cc46 using bluetooth::vc::ConnectionState;
47 using namespace bluetooth::vc::internal;
85 VolumeControlImpl(bluetooth::vc::VolumeControlCallbacks* callbacks, in VolumeControlImpl()
1112 bluetooth::vc::VolumeControlCallbacks* callbacks_;
1263 void VolumeControl::Initialize(bluetooth::vc::VolumeControlCallbacks* callbacks, in Initialize()
Dtypes.h29 namespace vc {
Ddevices.h32 namespace vc {
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekAdapter.kt401 val vc: ViewConfiguration = ViewConfiguration.get(context) constant
403 mMovedPixelToCancel = vc.getScaledTouchSlop().toFloat()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeInterfaceTest.java17 package com.android.bluetooth.vc;
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java191 final ViewConfiguration vc = ViewConfiguration.get(context); in ResolverDrawerLayout() local
192 mTouchSlop = vc.getScaledTouchSlop(); in ResolverDrawerLayout()
193 mMinFlingVelocity = vc.getScaledMinimumFlingVelocity(); in ResolverDrawerLayout()

12