Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 1602) sorted by relevance

12345678910>>...65

/system/bt/types/
Draw_address.cc42 bool RawAddress::FromString(const std::string& from, RawAddress& to) { in FromString() argument
44 if (from.length() != 17) return false; in FromString()
47 base::SplitString(from, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); in FromString()
65 size_t RawAddress::FromOctets(const uint8_t* from) { in FromOctets() argument
66 std::copy(from, from + kLength, address); in FromOctets()
Dclass_of_device.cc40 bool ClassOfDevice::FromString(const std::string& from, ClassOfDevice& to) { in FromString() argument
42 if (from.length() != 8) return false; in FromString()
45 base::SplitString(from, "-", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); in FromString()
70 size_t ClassOfDevice::FromOctets(const uint8_t* from) { in FromOctets() argument
71 std::copy(from, from + kLength, cod); in FromOctets()
/system/bt/gd/hci/
Daddress.cc64 std::optional<Address> Address::FromString(const std::string& from) { in FromString() argument
65 if (from.length() != 17) { in FromString()
70 std::istringstream stream(from); in FromString()
103 bool Address::FromString(const std::string& from, Address& to) { in FromString() argument
104 auto addr = FromString(from); in FromString()
113 size_t Address::FromOctets(const uint8_t* from) { in FromOctets() argument
114 std::copy(from, from + kLength, data()); in FromOctets()
Dclass_of_device.cc96 bool ClassOfDevice::FromString(const std::string& from, ClassOfDevice& to) { in FromString() argument
97 auto new_cod = FromString(from); in FromString()
130 size_t ClassOfDevice::FromOctets(const uint8_t* from) { in FromOctets() argument
131 std::copy(from, from + kLength, data()); in FromOctets()
/system/apex/apexd/
Dapexd_utils_test.cpp137 TemporaryDir from; in TEST() local
140 TemporaryFile from_1(from.path); in TEST()
141 auto from_subdir = StringPrintf("%s/subdir", from.path); in TEST()
147 auto result = MoveDir(from.path, to.path); in TEST()
149 ASSERT_TRUE(fs::is_empty(from.path)); in TEST()
165 TemporaryFile from; in TEST() local
167 ASSERT_FALSE(IsOk(MoveDir(from.path, to.path))); in TEST()
171 TemporaryDir from; in TEST() local
173 TemporaryFile from_1(from.path); in TEST()
174 ASSERT_FALSE(IsOk(MoveDir(from.path, to.path))); in TEST()
[all …]
Dapexd_rollback_utils.h39 inline int32_t CopyDirectoryRecursive(const char* from, const char* to) { in CopyDirectoryRecursive() argument
48 from, in CopyDirectoryRecursive()
51 LOG(DEBUG) << "Copying " << from << " to " << to; in CopyDirectoryRecursive()
/system/update_engine/common/
Daction_pipe.h71 static void Bond(FromAction* from, ToAction* to) { in Bond() argument
73 from->set_out_pipe(pipe); in Bond()
93 void BondActions(FromAction* from, ToAction* to) { in BondActions() argument
98 ActionPipe<typename FromAction::OutputObjectType>::Bond(from, to); in BondActions()
/system/bt/test/
DREADME.md44 Running main() from gtest_main.cc
45 [==========] Running 11 tests from 2 test cases.
47 [----------] 6 tests from BluetoothTest
60 [----------] 6 tests from BluetoothTest (32789 ms total)
62 [----------] 5 tests from GattTest
73 [----------] 5 tests from GattTest (11706 ms total)
76 [==========] 11 tests from 2 test cases ran. (44495 ms total)
/system/bt/gd/common/
Dbyte_array.h78 static std::optional<ByteArray<kLength>> FromString(const std::string& from) { in FromString() argument
79 if (from.length() != (kLength * 2)) { in FromString()
82 auto vec = common::FromHexString(from); in FromString()
93 static std::optional<ByteArray<kLength>> FromLegacyConfigString(const std::string& from) { in FromLegacyConfigString() argument
94 return FromString(from); in FromLegacyConfigString()
/system/extras/memory_replay/traces/
DTRACES7 Trace of the native camera app from start-up.
10 Trace of the Google Gmail app from start-up and through reading messages.
13 Trace of the Google Maps app from start-up while looking at various parts
17 Trace of the system app process surfaceflinger from start-up while
21 Trace of the system app process system_server from start-up while
25 Trace of the system app process systemui from start-up while
29 Trace of the Google YouTube app from start-up and while watching various
65 Trace from app start while looking at different photos, scrolling the
/system/bt/gd/rust/hci/src/
Derror.rs17 BoundedSendError(#[from] SendError<T>),
20 OneshotSendError(#[from] oneshot::Canceled),
23 ChannelRecvError(#[from] RecvError),
/system/bt/gd/rust/packets/
Dbuild.rs21 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main()
24 Ok(dir) => PathBuf::from(dir).join("bt/gd"), in main()
26 Err(_) => PathBuf::from(env::current_dir().unwrap()).join("../..").canonicalize().unwrap(), in main()
34 PathBuf::from(env::var("CARGO_HOME").unwrap()).join("bin").join("bluetooth_packetgen"); in main()
/system/libvintf/
Dutils.cpp27 if (FqInstance::from(package, version.majorVer, version.minorVer, interface, instance) in canConvertToFqInstance()
47 if (!FqInstance::from(package).has_value()) { in canConvertToFqInstance()
53 std::optional<FqInstance> convertedInterface = FqInstance::from(interface); in canConvertToFqInstance()
/system/vold/
DMoveStorage.cpp192 static status_t moveStorageInternal(const std::shared_ptr<VolumeBase>& from, in moveStorageInternal() argument
199 if (from->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal()
206 bringOffline(from); in moveStorageInternal()
210 fromPath = from->getInternalPath(); in moveStorageInternal()
228 bringOnline(from); in moveStorageInternal()
249 bringOnline(from); in moveStorageInternal()
257 void MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, in MoveStorage() argument
265 status_t res = moveStorageInternal(from, to, listener); in MoveStorage()
/system/core/libutils/include/utils/
DVectorImpl.h104 virtual void do_copy(void* dest, const void* from, size_t num) const = 0;
106 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0;
107 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0;
115 inline void _do_copy(void* dest, const void* from, size_t num) const;
117 inline void _do_move_forward(void* dest, const void* from, size_t num) const;
118 inline void _do_move_backward(void* dest, const void* from, size_t num) const;
DSortedVector.h147 virtual void do_copy(void* dest, const void* from, size_t num) const;
149 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
150 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
267 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) cons… in do_copy() argument
268 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_copy()
277 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t n… in do_move_forward() argument
278 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_forward()
282 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_move_backward(void* dest, const void* from, size_t … in do_move_backward() argument
283 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_backward()
/system/sepolicy/prebuilts/api/29.0/private/
Dstats.te8 # allow stats access to stdout from its parent shell.
20 # back the stats report data from a ParcelFileDescriptor.
29 # Allow pipes from (and only from) stats.
/system/extras/tests/mmc_tracepoints/
DREADME1 The code in this directory is used to process data from the mmc tracepoints
19 The mmc_trace_reduce script will take the output from the kernel, and convert it
24 The file mmc_trace_sample_data contains sample mmc trace data from a Nexus 10.
25 It includes read, write and discard entries. The discard entries came from
/system/sepolicy/prebuilts/api/30.0/private/
Dstats.te8 # allow stats access to stdout from its parent shell.
20 # back the stats report data from a ParcelFileDescriptor.
29 # Allow pipes from (and only from) stats.
/system/connectivity/wificond/net/kernel-header-latest/
DREADME.txt5 external/kernel-headers has the headers from the stable kernel tree which is generally
8 Copy the nl80211.h header from the following location:
12 Last update from kernel branch: `upstream-f2fs-stable-linux-5.10.y`
/system/security/keystore2/src/database/
Dversioning.rs132 for from in 1..29 { in upgrade_database_test()
133 for to in from..30 { in upgrade_database_test()
147 create_or_get_version(&tx, from).unwrap(); in upgrade_database_test()
159 let from = if *legacy { 0 } else { from }; in upgrade_database_test() localVariable
163 to - from, in upgrade_database_test()
174 to - from, in upgrade_database_test()
178 params![from], in upgrade_database_test()
/system/sepolicy/private/
Dstats.te8 # allow stats access to stdout from its parent shell.
20 # back the stats report data from a ParcelFileDescriptor.
29 # Allow pipes from (and only from) stats.
/system/sepolicy/prebuilts/api/31.0/private/
Dstats.te8 # allow stats access to stdout from its parent shell.
20 # back the stats report data from a ParcelFileDescriptor.
29 # Allow pipes from (and only from) stats.
/system/netd/bpf_progs/
Dbpf_net_helpers.h35 static int (*bpf_skb_store_bytes)(struct __sk_buff* skb, __u32 offset, const void* from, __u32 len,
38 static int64_t (*bpf_csum_diff)(__be32* from, __u32 from_size, __be32* to, __u32 to_size,
45 static int (*bpf_l3_csum_replace)(struct __sk_buff* skb, __u32 offset, __u64 from, __u64 to,
47 static int (*bpf_l4_csum_replace)(struct __sk_buff* skb, __u32 offset, __u64 from, __u64 to,
/system/sepolicy/prebuilts/api/28.0/private/
Dshared_relro.te3 # The shared relro process is a Java program forked from the zygote, so it
4 # inherits from app to get basic permissions it needs to run.

12345678910>>...65