Home
last modified time | relevance | path

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

12

/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/tools/aidl/scripts/redundancy_check/srcs/
Dmain.rs114 let instances: Vec<AidlInstance> = installed_files in main() localVariable
131 instances.iter().fold(BTreeMap::new(), |mut acc, x| { in main()
137 for (group_key, mut instances) in groups { in main()
138 if instances.len() > 1 { in main()
139 instances.sort(); in main()
141 let preferred_instance = instances in main()
146 instances.iter().filter(|x| *x != preferred_instance).map(|x| x.size).sum(); in main()
148 for instance in instances.iter() { in main()
/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.h187 bool isCompatible(const details::Instances& instances, const MatrixHal& matrixHal) const;
/system/libvintf/analyze_matrix/
Dhals_for_release.py164 def __init__(self, level: str, level_name: str, instances: Sequence[str]):
167 self.instances = instances
170 return KeyOnPackage(self.instances)
186 action = "--instances" if args.instances else "--interfaces"
187 instances = Analyze(args.analyze_matrix, file, [action, "--requirement"]).split("\n")
188 instances = set(map(str.strip, instances)) - {""}
192 matrices[level] = MatrixData(level, level_name, instances)
306 def KeyOnPackage(instances: Sequence[str]) -> dict[str, list[str]]:
314 for instance in instances:
Danalyze_matrix.cpp112 DEFINE_bool(instances, false, "Write strings like \"android.hardware.foo@1.0::IFoo/default\".");
160 auto instances = getDescription(*mat, &MatrixInstance::description, FLAGS_requirement); in main() local
161 if (instances.empty()) { in main()
165 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/security/provisioner/support/
Drkpd_client.cpp63 auto instances = android::defaultServiceManager()->getDeclaredInstances( in findRpcNameById() local
65 for (const auto& instance : instances) { in findRpcNameById()
/system/sepolicy/microdroid/system/private/
Dauthfs_service.te2 # client's request and manages the mount/unmount of individual authfs instances
Dgenfs_contexts150 genfscon sysfs /fs/incremental-fs/instances u:object_r:sysfs_fs_incfs_metrics:s0
185 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
186 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
187 genfscon debugfs /tracing/instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
188 genfscon tracefs /instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
189 genfscon debugfs /tracing/instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
190 genfscon tracefs /instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
191 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
192 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
/system/libvintf/
DHalManifest.cpp538 std::set<std::tuple<HalFormat, std::string, Version, std::string, std::string>> instances; in generateCompatibleMatrix() local
540 forEachInstance([&matrix, &instances, optional](const ManifestInstance& e) { in generateCompatibleMatrix()
542 instances.emplace(e.format(), e.package(), e.version(), e.interface(), e.instance()); in generateCompatibleMatrix()
671 std::set<std::string> instances; in getNativeInstances() local
673 instances.insert(inst.instance()); in getNativeInstances()
676 return instances; in getNativeInstances()
/system/extras/ext4_utils/
DAndroid.bp31 // Various instances of dereferencing a type-punned pointer in extent.c
/system/sepolicy/private/
Dgenfs_contexts159 genfscon sysfs /fs/incremental-fs/instances u:object_r:sysfs_fs_incfs_metrics:s0
197 genfscon debugfs /tracing/instances u:object_r:debugfs_tracing_instances:s0
198 genfscon tracefs /instances u:object_r:debugfs_tracing_instances:s0
199 genfscon debugfs /tracing/instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
200 genfscon tracefs /instances/bootreceiver u:object_r:debugfs_bootreceiver_tracing:s0
201 genfscon debugfs /tracing/instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
202 genfscon tracefs /instances/mm_events u:object_r:debugfs_mm_events_tracing:s0
203 genfscon debugfs /tracing/instances/wifi u:object_r:debugfs_wifi_tracing:s0
204 genfscon tracefs /instances/wifi u:object_r:debugfs_wifi_tracing:s0
Dvirtual_camera.te55 # Allow 'adb shell cmd' to configure test instances of camera.
/system/libhidl/transport/allocator/1.0/
DIAllocator.hal37 * @param count Number of memory instances to allocate.
/system/libvintf/test/
DVintfFmTest.cpp205 void expectWriteMatrix(const std::string& path, std::set<std::string> instances) { in expectWriteMatrix() argument
206 EXPECT_CALL(*fs, write(PathEq(path), MatrixContains(std::move(instances)), _)) in expectWriteMatrix()
Dvintf_object_tests.cpp2438 Instances instances; in GetInstances() local
2439 fcm->forEachHidlInstance([&instances](const auto& matrixInstance) { in GetInstances()
2440 instances.insert(matrixInstance.description(matrixInstance.versionRange().minVer())); in GetInstances()
2443 return instances; in GetInstances()
2460 auto instances = GetInstances(fcm.get()); in TEST_P() local
2467 EXPECT_THAT(instances, containsOrNot(level == 1, in TEST_P()
2469 EXPECT_THAT(instances, containsOrNot(level == 1 && hasProduct, in TEST_P()
2471 EXPECT_THAT(instances, containsOrNot(level == 1 && hasSystemExt, in TEST_P()
2473 EXPECT_THAT(instances, Contains("android.hardware.major@2.0::IMajor/default")); in TEST_P()
2474 EXPECT_THAT(instances, containsOrNot(hasProduct, in TEST_P()
[all …]
/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/hwservicemanager/
DServiceManager.cpp705 std::set<std::string> instances = getInstances(fqName); in listManifestByInterface() local
706 hidl_vec<hidl_string> ret(instances.begin(), instances.end()); in listManifestByInterface()
/system/libcppbor/
DREADME.md17 LibCppBor represents CBOR data items as instances of the `Item` class or,
18 more precisely, as instances of subclasses of `Item`, since `Item` is a
92 LibCppBor `Item` subclass instances is done. Where the caller provides a
/system/libhidl/transport/
DServiceManagement.cpp724 sm->listManifestByInterface(descriptor, [&](const auto& instances) { in getAllHalInstanceNames() argument
725 ret.reserve(instances.size()); in getAllHalInstanceNames()
726 for (const auto& i : instances) { in getAllHalInstanceNames()
/system/secretkeeper/
DREADME.md135 Two instances of this trait must be provided to the `secretkeeper_hal::SecretkeeperService` type,
182 time so that the identity can be (securely) provided to pVM instances, as described
230 Microdroid instances use Secretkeeper to store their secrets while protecting against the Rollback
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal100 * List all instances of a particular service. Must be sorted.

12