Home
last modified time | relevance | path

Searched defs:from (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/packages/modules/Virtualization/rialto/src/
Derror.rs87 fn from(e: HypervisorError) -> Self { in from() method
93 fn from(e: MapError) -> Self { in from() method
99 fn from(e: FdtError) -> Self { in from() method
105 fn from(e: PciError) -> Self { in from() method
111 fn from(e: MemoryTrackerError) -> Self { in from() method
117 fn from(e: virtio_drivers::Error) -> Self { in from() method
123 fn from(e: CiboriumSerError) -> Self { in from() method
129 fn from(e: CiboriumDeError) -> Self { in from() method
135 fn from(e: DiceError) -> Self { in from() method
141 fn from(e: RequestProcessingError) -> Self { in from() method
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dutils.rs70 fn from(val: &'a [T]) -> Self { in from() method
76 fn from(val: &'a Vec<T>) -> Self { in from() method
82 fn from(val: &'a String) -> Self { in from() method
88 fn from(val: &'a CString) -> Self { in from() method
94 fn from(val: &'a Option<T>) -> Self { in from() method
103 fn from(val: &'a Box<T>) -> Self { in from() method
171 fn from(val: &'a mut [T]) -> Self { in from() method
177 fn from(val: &'a mut Vec<T>) -> Self { in from() method
183 fn from(val: &'a mut String) -> Self { in from() method
189 fn from(val: &'a mut Option<T>) -> Self { in from() method
[all …]
Dbtif.rs29 fn from(item: bindings::bt_state_t) -> Self { in from() method
43 fn from(item: i32) -> Self { in from() method
49 fn from(item: BtTransport) -> Self { in from() method
55 fn from(transport: u8) -> Self { in from() method
76 fn from(item: bindings::bt_ssp_variant_t) -> Self { in from() method
82 fn from(item: BtSspVariant) -> Self { in from() method
96 fn from(item: bindings::bt_bond_state_t) -> Self { in from() method
112 fn from(item: i32) -> Self { in from() method
131 fn from(item: bindings::bt_acl_state_t) -> Self { in from() method
178 fn from(item: u32) -> Self { in from() method
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java121 NetworkAgentInfo from = wifiNai(100); in testNotificationOnLinger() local
132 NetworkAgentInfo from = wifiNai(100); in testToastOnLinger() local
143 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterDisconnect() local
157 NetworkAgentInfo from = wifiNai(100); in testNotificationClearedAfterSwitchingBack() local
171 NetworkAgentInfo from = wifiNai(100); in testUniqueToast() local
261 NetworkAgentInfo from = wifiNai(100); in testUniqueNotification() local
278 NetworkAgentInfo from = wifiNai(100, false /* setEverValidated */); in testIgnoreNeverValidatedNetworks() local
289 NetworkAgentInfo from = wifiNai(100); in testIgnoreCurrentlyValidatedNetworks() local
301 NetworkAgentInfo from = wifiNai(100); in testNoNotificationType() local
312 NetworkAgentInfo from = wifiNai(100); in testNoTransitionToNotify() local
[all …]
/packages/services/Car/service/src/com/android/car/logging/
DHistogramFactoryInterface.java43 Histogram newUniformHistogram(String metricId, @IntRange(from = 1) int binCount, in newUniformHistogram()
59 Histogram newScaledRangeHistogram(String metricId, @IntRange(from = 1) int binCount, in newScaledRangeHistogram()
60 int minValue, @FloatRange(from = 1.f) float firstBinWidth, in newScaledRangeHistogram()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothVolumeControl.java95 @IntRange(from = -255, to = 255) int volumeOffset) {} in onVolumeOffsetChanged()
112 @IntRange(from = 1, to = 255) int instanceId, in onVolumeOffsetChanged()
132 @IntRange(from = 1, to = 255) int instanceId, in onVolumeOffsetAudioLocationChanged()
148 @IntRange(from = 1, to = 255) int instanceId, in onVolumeOffsetAudioDescriptionChanged()
164 @NonNull BluetoothDevice device, @IntRange(from = 0, to = 255) int volume) {} in onDeviceVolumeChanged()
530 @NonNull BluetoothDevice device, @IntRange(from = -255, to = 255) int volumeOffset) { in setVolumeOffset()
558 @IntRange(from = 1, to = 255) int instanceId, in setVolumeOffset()
580 @IntRange(from = 1, to = 255) int instanceId, in setVolumeOffsetInternal()
781 @IntRange(from = 0, to = 255) int volume, in setDeviceVolume()
/packages/apps/Dialer/java/com/android/dialer/spam/
DSpam.java111 ReportingLocation.Type from, in reportSpamFromAfterCallNotification()
130 ReportingLocation.Type from, in reportSpamFromCallHistory()
149 ReportingLocation.Type from, in reportNotSpamFromAfterCallNotification()
168 ReportingLocation.Type from, in reportNotSpamFromCallHistory()
/packages/apps/Dialer/java/com/android/dialer/spam/stub/
DSpamStub.java91 ReportingLocation.Type from, in reportSpamFromAfterCallNotification()
99 ReportingLocation.Type from, in reportSpamFromCallHistory()
107 ReportingLocation.Type from, in reportNotSpamFromAfterCallNotification()
115 ReportingLocation.Type from, in reportNotSpamFromCallHistory()
/packages/modules/Uwb/framework/java/android/uwb/
DUwbActivityEnergyInfo.java48 @IntRange(from = 0) long txDurationMillis, in UwbActivityEnergyInfo()
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Daddress.cc79 std::optional<Address> Address::FromString(const std::string& from) { in FromString()
118 bool Address::FromString(const std::string& from, Address& to) { in FromString()
128 size_t Address::FromOctets(const uint8_t* from) { in FromOctets()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dsdp.rs32 fn from(item: bindings::bluetooth_sdp_types) -> Self { in from() method
38 fn from(record: &BtSdpRecord) -> Self { in from() method
70 fn from(item: bindings::_bluetooth_sdp_hdr_overlay) -> Self { in from() method
124 fn from(item: bindings::_bluetooth_sdp_mas_record) -> Self { in from() method
141 fn from(item: bindings::_bluetooth_sdp_mns_record) -> Self { in from() method
157 fn from(item: bindings::_bluetooth_sdp_pse_record) -> Self { in from() method
172 fn from(item: bindings::_bluetooth_sdp_pce_record) -> Self { in from() method
187 fn from(item: bindings::_bluetooth_sdp_ops_record) -> Self { in from() method
202 fn from(item: bindings::_bluetooth_sdp_sap_record) -> Self { in from() method
219 fn from(item: bindings::_bluetooth_sdp_dip_record) -> Self { in from() method
[all …]
Dle_audio.rs240 fn from(value: BtLeAudioGroupStatus) -> Self { in from() method
251 fn from(value: i32) -> Self { in from() method
268 fn from(value: BtLeAudioGroupNodeStatus) -> Self { in from() method
278 fn from(value: i32) -> Self { in from() method
288 fn from(value: BtLeAudioUsage) -> Self { in from() method
299 fn from(value: i32) -> Self { in from() method
310 fn from(value: BtLeAudioContentType) -> Self { in from() method
323 fn from(value: i32) -> Self { in from() method
336 fn from(value: BtLeAudioSource) -> Self { in from() method
352 fn from(value: i32) -> Self { in from() method
[all …]
/packages/modules/Bluetooth/system/pdl/hci/
Daddress.cc80 std::optional<Address> Address::FromString(const std::string& from) { in FromString()
119 bool Address::FromString(const std::string& from, Address& to) { in FromString()
129 size_t Address::FromOctets(const uint8_t* from) { in FromOctets()
/packages/modules/Bluetooth/system/gd/hci/
Daddress.cc85 std::optional<Address> Address::FromString(const std::string& from) { in FromString()
124 bool Address::FromString(const std::string& from, Address& to) { in FromString()
134 size_t Address::FromOctets(const uint8_t* from) { in FromOctets()
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java81 Connection(String to, String from) throws Exception { in Connection()
104 TcpConnection(String to, String from) throws Exception { in TcpConnection()
128 UdpConnection(String to, String from) throws Exception { in UdpConnection()
166 public void checkGetConnectionOwnerUid(String to, String from) throws Exception { in checkGetConnectionOwnerUid()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java215 private static void copyString(String key, ContentValues from, ContentValues to) { in copyString()
222 private static void copyInteger(String key, ContentValues from, ContentValues to) { in copyInteger()
229 private static void copyLong(String key, ContentValues from, ContentValues to) { in copyLong()
236 private static void putString(String key, Cursor from, ContentValues to) { in putString()
240 private static void putInteger(String key, Cursor from, ContentValues to) { in putInteger()
244 private static void putLong(String key, Cursor from, ContentValues to) { in putLong()
/packages/modules/Bluetooth/system/gd/common/
Dbyte_array.h78 static std::optional<ByteArray<kLength>> FromString(const std::string& from) { in FromString()
93 static std::optional<ByteArray<kLength>> FromLegacyConfigString(const std::string& from) { in FromLegacyConfigString()
/packages/modules/Virtualization/pvmfw/avb/src/
Derror.rs34 fn from(error: SlotVerifyError) -> Self { in from() method
41 fn from(error: DescriptorError) -> Self { in from() method
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DDeviceInfoUtils.java71 public boolean isAtLeast(final KVersion from) { in isAtLeast()
83 public boolean isInRange(final KVersion from, final KVersion to) { in isInRange()
173 final KVersion from = DeviceInfoUtils.getMajorMinorSubminorVersion(version); in isKernelVersionAtLeast() local
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateIntentCompleted.java36 public static StateIntentCompleted from( in from() method in StateIntentCompleted
44 public static StateIntentCompleted from( in from() method in StateIntentCompleted
/packages/modules/Bluetooth/floss/hcidoc/packets/
Dlib.rs26 fn from(bytes: &[u8; 6]) -> Self { in from() method
34 fn from(Address(addr): Address) -> Self { in from() method
/packages/modules/Virtualization/service_vm/comm/src/
Dmessage.rs206 fn from(e: bssl_avf_error::Error) -> Self { in from() method
212 fn from(e: coset::CoseError) -> Self { in from() method
219 fn from(e: ciborium::value::Error) -> Self { in from() method
227 fn from(e: der::Error) -> Self { in from() method
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DExerciseRoute.java170 @FloatRange(from = MIN_LATITUDE, to = MAX_LATITUDE) double latitude, in Location()
333 @FloatRange(from = -90.0, to = 90.0) double latitude, in Builder()
/packages/modules/Connectivity/framework/src/android/net/
DKeepalivePacketData.java66 @IntRange(from = 0, to = 65535) int srcPort, @NonNull InetAddress dstAddress, in KeepalivePacketData()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DAwareResources.java52 public AwareResources(@IntRange(from = 0) int availableDataPathsCount, in AwareResources()

12345678910>>...12