Home
last modified time | relevance | path

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

12345

/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/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DVerifySystemUiResourceOrderPlugin.kt1 import com.android.build.api.variant.AndroidComponentsExtension in <lambda>()
2 import com.android.build.api.variant.ComponentIdentity in <lambda>()
20 onVariants { variant -> in <lambda>() method
22 val capitalizedVariantName = variant.name.capitalized() in <lambda>()
29 mergeTask.configure { doLast { verifyOrder(variant) } } in <lambda>()
35 private fun MergeResources.verifyOrder(variant: ComponentIdentity) { in <lambda>()
42 if (variant.isGoogleSpecific()) { in <lambda>()
DAConfigPlugin.kt1 import com.android.build.api.variant.AndroidComponentsExtension in <lambda>()
25 androidComponents.onVariants { variant -> in <lambda>() method
26 val variantName = variant.name.capitalized() in <lambda>()
51 variant.sources.java?.addGeneratedSourceDirectory( in <lambda>()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DResourceFixerPlugin.groovy1 import com.android.build.api.variant.AndroidComponentsExtension
31 // Store all variant names
32 extension.onVariants(extension.selector().all(), variant -> {
33 allVariants.add(variant.name)
34 allVariants.add("${variant.name}AndroidTest")
35 allVariants.add("${variant.name}UnitTest")
40 allVariants.forEach(variant -> {
41 def taskName = "merge${variant.capitalize()}Resources";
49 … new File(project.buildDir, "intermediates/incremental/${variant}/${taskName}/merged.dir"),
50 new File(project.buildDir, "intermediates/merged_res/${variant}"),
/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/floss/pandora/server/
Dsecurity.py55 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
59 logging.info("Security: on_ssp_request variant: %s passkey: %s", variant, passkey)
62 …if variant in (floss_enums.PairingVariant.CONSENT, floss_enums.PairingVariant.PASSKEY_CONFIRMATION…
195 def on_ssp_request(self, remote_device, class_of_device, variant, passkey): argument
198 result = (address, name, variant, passkey)
206 variant = floss_enums.PairingVariant.PIN_16_DIGITS_ENTRY
208 variant = floss_enums.PairingVariant.PIN_ENTRY
209 result = (address, name, variant, min_16_digit)
216 variant = floss_enums.PairingVariant.PIN_NOTIFICATION
217 result = (address, name, variant, pincode)
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_has_client.cc77 void SelectActivePreset(std::variant<RawAddress, int> addr_or_group_id, in SelectActivePreset()
86 std::variant<RawAddress, int> addr_or_group_id) override { in NextActivePreset()
93 std::variant<RawAddress, int> addr_or_group_id) override { in PreviousActivePreset()
105 void SetPresetName(std::variant<RawAddress, int> addr_or_group_id, in SetPresetName()
143 void OnActivePresetSelected(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelected()
150 void OnActivePresetSelectError(std::variant<RawAddress, int> addr_or_group_id, in OnActivePresetSelectError()
157 void OnPresetInfo(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfo()
165 void OnPresetInfoError(std::variant<RawAddress, int> addr_or_group_id, in OnPresetInfoError()
172 void OnSetPresetNameError(std::variant<RawAddress, int> addr_or_group_id, in OnSetPresetNameError()
Dbtif_vc.cc139 void SetVolume(std::variant<RawAddress, int> addr_or_group_id, in SetVolume()
153 void Mute(std::variant<RawAddress, int> addr_or_group_id) override { in Mute()
166 void Unmute(std::variant<RawAddress, int> addr_or_group_id) override { in Unmute()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java102 public static PackageInfo createFakePackageInfo(int variant) { in createFakePackageInfo() argument
103 String pkgName = FAKE_PACKAGE_PREFIX + variant; in createFakePackageInfo()
107 packageInfo.lastUpdateTime = variant; in createFakePackageInfo()
116 appInfo.name = "package" + variant; in createFakePackageInfo()
145 public static ResolveInfo createFakeResolveInfo(int variant) { in createFakeResolveInfo() argument
146 String pkgName = FAKE_PACKAGE_PREFIX + variant; in createFakeResolveInfo()
268 public static MobileApplication createFakeMobileApplication(int variant) { in createFakeMobileApplication() argument
270 FAKE_PACKAGE_PREFIX + variant, FAKE_SIGNATURE.toByteArray()) in createFakeMobileApplication()
274 .setUpdatedTimestampMs(variant) in createFakeMobileApplication()
300 public static PackageIdentifier createMockPackageIdentifier(int variant) { in createMockPackageIdentifier() argument
[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.h42 virtual void SetVolume(std::variant<RawAddress, int> addr_or_group_id,
44 virtual void Mute(std::variant<RawAddress, int> addr_or_group_id) = 0;
45 virtual void UnMute(std::variant<RawAddress, int> addr_or_group_id) = 0;
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.h81 using CommandViewOrFailure = std::variant<CommandView, PairingFailure>;
83 using Phase1ResultOrFailure = std::variant<PairingFailure, Phase1Result>;
87 using Stage1ResultOrFailure = std::variant<PairingFailure, Stage1Result>;
88 using Stage2ResultOrFailure = std::variant<PairingFailure, hci::Octet16 /* LTK */>;
89 using DistributedKeysOrFailure = std::variant<PairingFailure, DistributedKeys, std::monostate>;
92 using LegacyStage1ResultOrFailure = std::variant<PairingFailure, LegacyStage1Result>;
93 using StkOrFailure = std::variant<PairingFailure, hci::Octet16 /* STK */>;
155 …std::variant<PairingFailure, EncryptionChangeView, EncryptionKeyRefreshCompleteView> WaitEncryptio… in WaitEncryptionChanged()
180 std::variant<PairingFailure, hci::LeLongTermKeyRequestView> WaitLeLongTermKeyRequest() { in WaitLeLongTermKeyRequest()
213 std::variant<PairingFailure, KeyExchangeResult> ExchangePublicKeys(const InitialInformations& i,
[all …]
/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),
1465 OnPresetInfo(std::variant<RawAddress, int>(test_address), in TEST_F()
1470 std::variant<RawAddress, int>(test_address), 55)); in TEST_F()
1533 OnPresetInfo(std::variant<RawAddress, int>(test_address), in TEST_F()
1600 std::variant<RawAddress, int> addr_or_group = test_address; in TEST_F()
1778 std::variant<RawAddress, int> addr_or_group = test_address; in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/packet/parser/
Dparent_def.h37 void AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> value);
73 std::map<std::string, std::variant<int64_t, std::string>> GetAllConstraints() const;
79 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
92 std::map<std::string, std::variant<int64_t, std::string>> parent_constraints_;
/packages/apps/Car/Launcher/buildSrc/src/main/java/aconfig/
DAConfigPlugin.kt19 import com.android.build.api.variant.AndroidComponentsExtension in <lambda>()
38 androidComponents.onVariants { variant -> in <lambda>() method
39 val variantName = variant.name.capitalized() in <lambda>()
65 variant.sources.java?.addGeneratedSourceDirectory( in <lambda>()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/ManagedProvisioning/
Dbuild.gradle.kts124 onVariants { variant -> in <lambda>() method
126 val variantName = variant.name.replaceFirstChar { in <lambda>()
131 apkFolder.set(variant.artifacts.get(SingleArtifact.APK)) in <lambda>()
132 builtArtifactsLoader.set(variant.artifacts.getBuiltArtifactsLoader()) in <lambda>()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java307 int variant = msg.arg2; in processMessage() local
315 variant); in processMessage()
488 private void sendDisplayPinIntent(byte[] address, Optional<Integer> maybePin, int variant) { in sendDisplayPinIntent() argument
493 intent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, variant); in sendDisplayPinIntent()
497 Log.i(TAG, "sendDisplayPinIntent: device=" + device + ", variant=" + variant); in sendDisplayPinIntent()
667 int variant; in sspRequestCallback() local
671 variant = BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION; in sspRequestCallback()
676 variant = BluetoothDevice.PAIRING_VARIANT_CONSENT; in sspRequestCallback()
680 variant = BluetoothDevice.PAIRING_VARIANT_PASSKEY; in sspRequestCallback()
684 variant = BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY; in sspRequestCallback()
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_bluetooth_media.rs212 for (key, variant) in data { in from_dbus()
213 if variant.arg_type() != dbus::arg::ArgType::Variant { in from_dbus()
219 variant.as_static_inner(0).unwrap(), in from_dbus()
225 variant.as_static_inner(0).unwrap(), in from_dbus()
231 variant.as_static_inner(0).unwrap(), in from_dbus()
237 variant.as_static_inner(0).unwrap(), in from_dbus()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbattery_manager.rs32 pub variant: String, field
117 match self.batteries.iter_mut().find(|battery| battery.variant == new_battery.variant) { in add_or_update_battery()
/packages/apps/TV/interactive/SampleTvInteractiveAppService/
Dbuild.gradle17 android.applicationVariants.all { variant ->
18 variant.outputs.all {
/packages/apps/CellBroadcastReceiver/apex/permissions/
DAndroid.bp26 // For platform only variant
33 // For platform only variant
/packages/apps/Launcher3/protos_overrides/
Dlauncher_atom_extension.proto26 // variant's apk launcher_atom.proto will reference variant's extension file,
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DTypes.h410 std::variant<const void*, void*> pointer;
522 using ExtraParams = std::variant<NoParams, SymmPerChannelQuantParams, ExtensionParams>;
670 std::variant<Ashmem, Fd, HardwareBuffer, Unknown> handle;
923 using MemoryPool = std::variant<SharedMemory, MemoryDomainToken, SharedBuffer>;
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dacl_scheduler.cc41 using QueueEntry = std::variant<AclCreateConnectionQueueEntry, RemoteNameRequestQueueEntry>;
171 std::visit([](auto&& variant) { variant.callback(); }, entry); in try_dequeue_next_operation() argument

12345