Home
last modified time | relevance | path

Searched refs:variant (Results 1 – 25 of 100) sorted by relevance

1234

/packages/modules/Bluetooth/system/include/hardware/
Dbt_has.h94 std::variant<RawAddress, int> addr_or_group_id, uint8_t preset_index) = 0;
98 std::variant<RawAddress, int> addr_or_group_id, ErrorCode error_code) = 0;
101 virtual void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id,
106 virtual void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id,
112 std::variant<RawAddress, int> addr_or_group_id, uint8_t preset_index,
131 std::variant<RawAddress, int> addr_or_group_id, uint8_t preset_index) = 0;
135 std::variant<RawAddress, int> addr_or_group_id) = 0;
139 std::variant<RawAddress, int> addr_or_group_id) = 0;
145 virtual void SetPresetName(std::variant<RawAddress, int> addr_or_group_id,
Dbt_vc.h87 virtual void SetVolume(std::variant<RawAddress, int> addr_or_group_id,
90 virtual void Mute(std::variant<RawAddress, int> addr_or_group_id) = 0;
93 virtual void Unmute(std::variant<RawAddress, int> addr_or_group_id) = 0;
/packages/modules/Gki/
Ddownload_boot_prebuilt.py66 def get_artifact_download_spec(build_id, device, variant, dest_dir): argument
67 target = "{}-{}".format(device, variant)
75 def update_prebuilt(build_id, boot_prebuilt, ver, arch, variant, bug): argument
78 variant_dir = os.path.join(arch_dir, variant)
80 stored_img_name = "boot-{}.img".format(variant)
85 url, dest_filename = get_artifact_download_spec(build_id, device, variant, variant_dir)
117 for variant in VARIANTS:
119 arch, variant, args.bug)))
/packages/apps/Dialer/java/com/android/dialer/inject/
DDialerVariant.java34 private final String variant; field in DialerVariant
36 DialerVariant(String variant) { in DialerVariant() argument
37 this.variant = variant; in DialerVariant()
42 return variant; in toString()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_has_client.cc84 void SelectActivePreset(std::variant<RawAddress, int> addr_or_group_id, in SelectActivePreset()
95 std::variant<RawAddress, int> addr_or_group_id) override { in NextActivePreset()
104 std::variant<RawAddress, int> addr_or_group_id) override { in PreviousActivePreset()
121 void SetPresetName(std::variant<RawAddress, int> addr_or_group_id, in SetPresetName()
171 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
181 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
192 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
210 void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
221 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
Dbtif_vc.cc138 void SetVolume(std::variant<RawAddress, int> addr_or_group_id, in SetVolume()
146 void Mute(std::variant<RawAddress, int> addr_or_group_id) override { in Mute()
153 void Unmute(std::variant<RawAddress, int> addr_or_group_id) override { in Unmute()
/packages/modules/Bluetooth/system/bta/has/
Dhas_client_test.cc109 ((std::variant<RawAddress, int> addr_or_group_id),
113 ((std::variant<RawAddress, int> addr_or_group_id),
117 ((std::variant<RawAddress, int> addr_or_group_id),
122 ((std::variant<RawAddress, int> addr_or_group_id),
126 ((std::variant<RawAddress, int> addr_or_group_id),
1375 OnPresetInfo(std::variant<RawAddress, int>(test_address), in TEST_F()
1380 std::variant<RawAddress, int>(test_address), 55)); in TEST_F()
1443 OnPresetInfo(std::variant<RawAddress, int>(test_address), in TEST_F()
1510 std::variant<RawAddress, int> addr_or_group = test_address; in TEST_F()
1688 std::variant<RawAddress, int> addr_or_group = test_address; in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.h85 using CommandViewOrFailure = std::variant<CommandView, PairingFailure>;
87 using Phase1ResultOrFailure = std::variant<PairingFailure, Phase1Result>;
91 using Stage1ResultOrFailure = std::variant<PairingFailure, Stage1Result>;
92 using Stage2ResultOrFailure = std::variant<PairingFailure, Octet16 /* LTK */>;
93 using DistributedKeysOrFailure = std::variant<PairingFailure, DistributedKeys, std::monostate>;
96 using LegacyStage1ResultOrFailure = std::variant<PairingFailure, LegacyStage1Result>;
97 using StkOrFailure = std::variant<PairingFailure, Octet16 /* STK */>;
154 …std::variant<PairingFailure, EncryptionChangeView, EncryptionKeyRefreshCompleteView> WaitEncryptio… in WaitEncryptionChanged()
179 std::variant<PairingFailure, hci::LeLongTermKeyRequestView> WaitLeLongTermKeyRequest() { in WaitLeLongTermKeyRequest()
212 std::variant<PairingFailure, KeyExchangeResult> ExchangePublicKeys(const InitialInformations& i,
[all …]
/packages/modules/Bluetooth/system/bta/include/
Dbta_has_api.h43 std::variant<RawAddress, int> addr_or_group_id, uint8_t preset_index) = 0;
45 std::variant<RawAddress, int> addr_or_group_id) = 0;
47 std::variant<RawAddress, int> addr_or_group_id) = 0;
49 virtual void SetPresetName(std::variant<RawAddress, int> addr_or_group_id,
Dbta_vc_api.h40 virtual void SetVolume(std::variant<RawAddress, int> addr_or_group_id,
42 virtual void Mute(std::variant<RawAddress, int> addr_or_group_id) = 0;
43 virtual void UnMute(std::variant<RawAddress, int> addr_or_group_id) = 0;
/packages/modules/Bluetooth/system/gd/packet/parser/
Dparent_def.h35 void AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> value);
71 std::map<std::string, std::variant<int64_t, std::string>> GetAllConstraints() const;
77 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
90 std::map<std::string, std::variant<int64_t, std::string>> parent_constraints_;
Dparent_def.cc26 void ParentDef::AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> valu… in AddParentConstraint()
543 std::map<std::string, std::variant<int64_t, std::string>> ParentDef::GetAllConstraints() const { in GetAllConstraints()
544 std::map<std::string, std::variant<int64_t, std::string>> res; in GetAllConstraints()
574 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
577 std::map<const ParentDef*, const std::variant<int64_t, std::string>> res; in FindDescendantsWithConstraint()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java254 int variant = msg.arg2; in processMessage() local
262 variant); in processMessage()
387 private void sendDisplayPinIntent(byte[] address, Optional<Integer> maybePin, int variant) { in sendDisplayPinIntent() argument
391 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant); in sendDisplayPinIntent()
517 int variant; in sspRequestCallback() local
522 variant = BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION; in sspRequestCallback()
527 variant = BluetoothDevice.PAIRING_VARIANT_CONSENT; in sspRequestCallback()
531 variant = BluetoothDevice.PAIRING_VARIANT_PASSKEY; in sspRequestCallback()
535 variant = BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY; in sspRequestCallback()
563 msg.arg2 = variant; in sspRequestCallback()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css22 font-variant: normal;
55 font-variant: normal;
63 font-variant: normal;
109 font-variant: normal;
140 font-variant: normal;
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/
DBluetoothAudioPairer.java430 int variant = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, ERROR); in onReceiveDeviceIntent() local
432 handlePairingRequest(variant, passkey); in onReceiveDeviceIntent()
455 private void handlePairingRequest(int variant, int passkey) { in handlePairingRequest() argument
456 Log.i(TAG, "Pairing request, variant=" + variant + ", passkey=" + (passkey == ERROR in handlePairingRequest()
462 if (mPreferences.getSupportHidDevice() && variant == PAIRING_VARIANT_DISPLAY_PASSKEY) { in handlePairingRequest()
478 if (variant == PAIRING_VARIANT_CONSENT in handlePairingRequest()
495 } else if (variant != BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION) { in handlePairingRequest()
DBluetoothClassicPairer.java144 private void handlePairingRequest(BluetoothDevice device, int variant, int passkey) { in handlePairingRequest() argument
146 "BluetoothClassicPairer, pairing request, " + device + ", " + variant + ", " in handlePairingRequest()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/
DIBluetoothImpl.java126 PairingVariant variant = PairingVariant.JUST_WORKS; in createBond() local
129 variant = PairingVariant.NUMERIC_COMPARISON; in createBond()
131 variant = PairingVariant.PASSKEY_INPUT; in createBond()
135 variant = PairingVariant.CONSENT; in createBond()
142 switch (variant) { in createBond()
/packages/apps/Launcher3/
Dbuild.gradle71 android.variantFilter { variant ->
72 if (variant.buildType.name.endsWith('release')) {
73 variant.setIgnore(true)
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h409 std::variant<const void*, void*> pointer;
521 using ExtraParams = std::variant<NoParams, SymmPerChannelQuantParams, ExtensionParams>;
669 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
922 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>;
/packages/apps/Launcher3/protos_overrides/
Dlauncher_atom_extension.proto26 // variant's apk launcher_atom.proto will reference variant's extension file,
/packages/modules/Bluetooth/android/pandora/server/src/com/android/pandora/
DSecurity.kt173 val variant = intent.getIntExtra(EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR) in <lambda>() constant
176 when (variant) { in <lambda>()
224 error("Received unknown pairing variant $variant") in <lambda>()
/packages/modules/adb/fdevent/
Dfdevent.h65 std::variant<fd_func, fd_func2> func;
74 fdevent* Create(unique_fd fd, std::variant<fd_func, fd_func2> func, void* arg);
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hap_client.cpp131 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
157 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
185 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
242 virtual void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
271 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
/packages/modules/adb/tools/
Dadb_usbreset.cpp34 using DeviceSelection = std::variant<std::monostate, AllDevices, SingleDevice, Serial>;
69 std::variant<std::monostate, AllDevices, SingleDevice, Serial> selection; in main()
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dadapter_service.rs32 BaseCallbacks::SspRequest(addr, _, _, variant, passkey) => { in get_bt_dispatcher()
33 btif.lock().unwrap().ssp_reply(&addr, variant, 1, passkey); in get_bt_dispatcher()

1234