Home
last modified time | relevance | path

Searched refs:instances (Results 1 – 25 of 38) sorted by relevance

12

/system/bt/gd/rust/gddi/src/
Dlib.rs31 instances: Arc<Mutex<HashMap<TypeId, InstanceBox>>>, field
71 instances: Arc::new(Mutex::new(HashMap::new())), in build()
82 let instances = self.instances.lock().await; in get() localVariable
83 if let Some(value) = instances.get(&typeid) { in get()
94 let mut instances = self.instances.lock().await; in get() localVariable
95 instances.insert(typeid, Box::new(casted.clone())); in get()
105 let mut instances = self.instances.lock().await; in inject() localVariable
106 instances.insert(TypeId::of::<T>(), Box::new(obj)); in inject()
115 self.instances.lock().await.clear(); in stop_all()
/system/libhidl/gtest_helper/hidl/
DGtestPrinter.h40 std::vector<std::string> instances = std::apply( in PrintInstanceTupleNameToString() local
42 std::vector<std::string> instances; in PrintInstanceTupleNameToString()
43 instances.reserve(sizeof...(elems)); in PrintInstanceTupleNameToString()
44 (instances.push_back(std::forward<decltype(elems)>(elems)), ...); in PrintInstanceTupleNameToString()
45 return instances; in PrintInstanceTupleNameToString()
49 for (const std::string& instance : instances) { in PrintInstanceTupleNameToString()
/system/libvintf/include/vintf/
DHalInterface.h32 HalInterface(std::string&& name, std::set<std::string>&& instances) in HalInterface()
33 : mName(std::move(name)), mInstances(std::move(instances)) {} in HalInterface()
34 HalInterface(const std::string& name, const std::set<std::string>& instances) in HalInterface()
35 : mName(name), mInstances(instances) {} in HalInterface()
DHalManifest.h182 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
/system/libvintf/analyze_matrix/
Dhals_for_release.py168 action = "--instances" if args.instances else "--interfaces"
169 instances = Analyze(args.analyze_matrix, file, [action, "--requirement"]).split("\n")
170 instances = set(map(str.strip, instances)) - {""}
174 matrices[level] = (level_name, instances)
241 def KeyOnPackage(instances): argument
249 for instance in instances:
Danalyze_matrix.cpp109 DEFINE_bool(instances, false, "Write strings like \"android.hardware.foo@1.0::IFoo/default\".");
157 auto instances = getDescription(*mat, &MatrixInstance::description, FLAGS_requirement); in main() local
158 if (instances.empty()) { in main()
162 for (const auto& instance : instances) { in main()
/system/core/init/
Dinterface_utils.cpp44 Result<void> CheckInterfaceInheritanceHierarchy(const std::set<std::string>& instances, in CheckInterfaceInheritanceHierarchy() argument
47 for (const std::string& instance : instances) { in CheckInterfaceInheritanceHierarchy()
Dinterface_utils.h35 Result<void> CheckInterfaceInheritanceHierarchy(const std::set<std::string>& instances,
/system/libvintf/test/
Dvintf_object_tests.cpp925 const std::vector<CheckedFqInstance>& instances) { in getInstanceListFunc() argument
926 return [instances](const std::string& package, Version version, const std::string& interface, in getInstanceListFunc()
929 for (auto&& existing : instances) { in getInstanceListFunc()
1819 Instances instances; in GetInstances() local
1820 fcm->forEachHidlInstance([&instances](const auto& matrixInstance) { in GetInstances()
1821 instances.insert(matrixInstance.description(matrixInstance.versionRange().minVer())); in GetInstances()
1824 return instances; in GetInstances()
1841 auto instances = GetInstances(fcm.get()); in TEST_P() local
1848 EXPECT_THAT(instances, containsOrNot(level == 1, in TEST_P()
1850 EXPECT_THAT(instances, containsOrNot(level == 1 && hasProduct, in TEST_P()
[all …]
DVintfFmTest.cpp203 void expectWriteMatrix(const std::string& path, std::set<std::string> instances) { in expectWriteMatrix() argument
204 EXPECT_CALL(*fs, write(PathEq(path), MatrixContains(std::move(instances)), _)) in expectWriteMatrix()
/system/extras/ext4_utils/
DAndroid.bp29 // Various instances of dereferencing a type-punned pointer in extent.c
/system/sepolicy/prebuilts/api/27.0/private/
Dgenfs_contexts69 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
70 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
71 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
72 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
/system/security/keystore2/src/
Dshared_secret_negotiation.rs123 .map(|instances| { in list_participants()
124 instances in list_participants()
/system/libhidl/transport/allocator/1.0/
DIAllocator.hal37 * @param count Number of memory instances to allocate.
/system/libhidl/transport/manager/1.2/
DIServiceManager.hal72 * List all instances of a particular service from the manifest. Must be sorted. These HALs
87 * This unregisters all instances of the service, even if they are under a different instance
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp69 std::string FqInstancesToString(const T& instances) { in FqInstancesToString() argument
71 for (const FqInstance& instance : instances) { in FqInstancesToString()
/system/sepolicy/prebuilts/api/31.0/private/
Dgenfs_contexts147 genfscon sysfs /fs/incremental-fs/instances u:object_r:sysfs_fs_incfs_metrics:s0
182 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
183 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
184 genfscon debugfs /tracing/instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
185 genfscon tracefs /instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
186 genfscon debugfs /tracing/instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
187 genfscon tracefs /instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
188 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
189 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
Dinit.te104 # Allow accessing /sys/kernel/tracing/instances/bootreceiver to set up tracing.
/system/sepolicy/private/
Dgenfs_contexts147 genfscon sysfs /fs/incremental-fs/instances u:object_r:sysfs_fs_incfs_metrics:s0
182 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
183 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
184 genfscon debugfs /tracing/instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
185 genfscon tracefs /instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
186 genfscon debugfs /tracing/instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
187 genfscon tracefs /instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
188 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
189 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
Dinit.te104 # Allow accessing /sys/kernel/tracing/instances/bootreceiver to set up tracing.
/system/hwservicemanager/
DServiceManager.cpp704 std::set<std::string> instances = getInstances(fqName); in listManifestByInterface() local
705 hidl_vec<hidl_string> ret(instances.begin(), instances.end()); in listManifestByInterface()
/system/sepolicy/prebuilts/api/28.0/private/
Dgenfs_contexts136 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
137 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
138 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
139 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
/system/libhidl/transport/
DServiceManagement.cpp565 sm->listManifestByInterface(descriptor, [&](const auto& instances) { in getAllHalInstanceNames() argument
566 ret.reserve(instances.size()); in getAllHalInstanceNames()
567 for (const auto& i : instances) { in getAllHalInstanceNames()
/system/libvintf/
DHalManifest.cpp454 std::set<std::tuple<HalFormat, std::string, Version, std::string, std::string>> instances; in generateCompatibleMatrix() local
456 forEachInstance([&matrix, &instances, optional](const ManifestInstance& e) { in generateCompatibleMatrix()
458 instances.emplace(e.format(), e.package(), e.version(), e.interface(), e.instance()); in generateCompatibleMatrix()
/system/sepolicy/prebuilts/api/29.0/private/
Dgenfs_contexts157 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
158 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
159 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
160 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0

12