Home
last modified time | relevance | path

Searched refs:legacy (Results 1 – 25 of 78) sorted by relevance

1234

/system/security/keystore2/src/km_compat/
Dlib.rs61 let legacy = get_device_or_skip_test!(); in test_get_hardware_info() localVariable
62 let hinfo = legacy.getHardwareInfo(); in test_get_hardware_info()
68 let legacy = get_device_or_skip_test!(); in test_add_rng_entropy() localVariable
69 let result = legacy.addRngEntropy(&[42; 16]); in test_add_rng_entropy()
74 fn generate_key(legacy: &dyn IKeyMintDevice, kps: Vec<KeyParameter>) -> KeyCreationResult { in generate_key()
76 legacy.generateKey(&kps, None /* attest_key */).expect("Failed to generate key"); in generate_key()
85 fn generate_rsa_key(legacy: &dyn IKeyMintDevice, encrypt: bool, attest: bool) -> Vec<u8> { in generate_rsa_key()
131 let creation_result = generate_key(legacy, kps); in generate_rsa_key()
143 let legacy = get_device_or_skip_test!(); in test_generate_key_no_encrypt() localVariable
144 generate_rsa_key(legacy.as_ref(), false, false); in test_generate_key_no_encrypt()
[all …]
/system/bt/main/shim/
Dacl.cc217 void ValidateAclInterface(const shim::legacy::acl_interface_t& acl_interface) { in ValidateAclInterface()
377 const shim::legacy::acl_classic_link_interface_t& interface, in ClassicShimAclConnection()
585 const shim::legacy::acl_classic_link_interface_t interface_;
595 const shim::legacy::acl_le_link_interface_t& interface, in LeShimAclConnection()
670 const shim::legacy::acl_le_link_interface_t interface_;
674 struct shim::legacy::Acl::impl {
1035 void shim::legacy::Acl::Dump(int fd) const { in Dump()
1043 shim::legacy::Acl::Acl(os::Handler* handler, in Acl()
1064 shim::legacy::Acl::~Acl() { in ~Acl()
1073 bool shim::legacy::Acl::CheckForOrphanedAclConnections() const { in CheckForOrphanedAclConnections()
[all …]
Dcontroller.cc140 #define MAP_TO_GD(legacy, gd) \ argument
141 static bool legacy(void) { \
143 return bluetooth::shim::rust::controller_##legacy( \
204 #define FORWARD_IF_RUST(legacy, gd) \ in MAP_TO_GD() argument
205 static bool legacy(void) { \ in MAP_TO_GD()
207 return bluetooth::shim::rust::controller_##legacy( \ in MAP_TO_GD()
228 #define FORWARD_GETTER_IF_RUST(type, legacy, gd) \ argument
229 static type legacy(void) { \
231 return bluetooth::shim::rust::controller_##legacy( \
Dstack.h56 legacy::Acl* GetAcl();
75 legacy::Acl* acl_ = nullptr;
Dstack.cc149 acl_ = new legacy::Acl( in StartEverything()
150 stack_handler_, legacy::GetAclInterface(), in StartEverything()
243 legacy::Acl* Stack::GetAcl() { in GetAcl()
Dacl_legacy_interface.cc27 namespace legacy { namespace
/system/tools/sysprop/tests/
DApiCheckerTest.cpp43 module: "android.legacy"
83 module: "android.legacy"
133 module: "android.legacy"
DCppGenTest.cpp52 legacy_prop_name: "legacy.android.test.string"
DTypeCheckerTest.cpp63 legacy_prop_name: "ro.legacy.prop4"
/system/netd/server/
DNetworkController.h133 const char* nexthop, bool legacy, uid_t uid, int mtu);
135 const char* nexthop, bool legacy, uid_t uid, int mtu);
137 const char* nexthop, bool legacy, uid_t uid);
170 const char* nexthop, RouteOperation op, bool legacy, uid_t uid,
DNetworkController.cpp640 const char* nexthop, bool legacy, uid_t uid, int mtu) { in addRoute() argument
641 return modifyRoute(netId, interface, destination, nexthop, ROUTE_ADD, legacy, uid, mtu); in addRoute()
645 const char* nexthop, bool legacy, uid_t uid, int mtu) { in updateRoute() argument
646 return modifyRoute(netId, interface, destination, nexthop, ROUTE_UPDATE, legacy, uid, mtu); in updateRoute()
650 const char* nexthop, bool legacy, uid_t uid) { in removeRoute() argument
651 return modifyRoute(netId, interface, destination, nexthop, ROUTE_REMOVE, legacy, uid, 0); in removeRoute()
867 const char* nexthop, enum RouteOperation op, bool legacy, in modifyRoute() argument
888 } else if (legacy) { in modifyRoute()
DNetdNativeService.cpp1032 bool legacy = false; in networkAddRouteParcel() local
1038 legacy, uid, route.mtu); in networkAddRouteParcel()
1046 bool legacy = false; in networkUpdateRouteParcel() local
1052 legacy, uid, route.mtu); in networkUpdateRouteParcel()
1066 bool legacy = false; in networkAddRoute() local
1069 nextHop.empty() ? nullptr : nextHop.c_str(), legacy, uid, 0); in networkAddRoute()
1077 bool legacy = false; in networkRemoveRoute() local
1080 nextHop.empty() ? nullptr : nextHop.c_str(), legacy, uid); in networkRemoveRoute()
1088 bool legacy = true; in networkAddLegacyRoute() local
1090 nextHop.empty() ? nullptr : nextHop.c_str(), legacy, in networkAddLegacyRoute()
[all …]
/system/tools/sysprop/
DApiChecker.cpp53 bool legacy = false; in CompareProps() local
61 legacy = true; in CompareProps()
92 if (!legacy) { in CompareProps()
/system/core/healthd/
DBatteryMonitor.cpp85 auto* props = &health_info_2_1->legacy.legacy; in initHealthInfo()
102 return getHealthInfo_2_0().legacy; in getHealthInfo_1_0()
106 return getHealthInfo_2_1().legacy; in getHealthInfo_2_0()
248 HealthInfo_1_0& props = mHealthInfo->legacy.legacy; in updateValues()
273 mHealthInfo->legacy.batteryCurrentAverage = in updateValues()
359 const HealthInfo_1_0& props = health_info.legacy.legacy; in logValues()
393 const HealthInfo_1_0& props = mHealthInfo->legacy.legacy; in isChargerOnline()
478 const HealthInfo_1_0& props = mHealthInfo->legacy.legacy; in dumpState()
/system/linkerconfig/
Drundiff.sh66 mkdir -p $1/legacy
67 linkerconfig -r $TMP_ROOT -t $1/legacy
/system/bt/stack/test/common/
Dmock_hcic_layer.cc107 bluetooth::legacy::hci::Interface interface_ = {
111 const bluetooth::legacy::hci::Interface&
112 bluetooth::legacy::hci::GetInterface() { in GetInterface()
/system/bt/gd/hci/
Dacl_manager.h41 namespace legacy {
54 friend class bluetooth::shim::legacy::Acl;
/system/security/keystore2/src/database/
Dversioning.rs117 for legacy in &[false, true] { in upgrade_database_test()
118 if *legacy { in upgrade_database_test()
159 let from = if *legacy { 0 } else { from }; in upgrade_database_test()
/system/core/libsync/tests/
Dsync_test.cpp246 struct sync_fence_info_data* legacy = sync_fence_info(f.getFd()); in CheckModernLegacyInfoMatch() local
249 ASSERT_TRUE(legacy != NULL); in CheckModernLegacyInfoMatch()
251 EXPECT_STREQ(modern->name, legacy->name); in CheckModernLegacyInfoMatch()
252 EXPECT_EQ(modern->status, legacy->status); in CheckModernLegacyInfoMatch()
255 struct sync_pt_info* pt = sync_pt_info(legacy, NULL); in CheckModernLegacyInfoMatch()
264 pt = sync_pt_info(legacy, pt); in CheckModernLegacyInfoMatch()
/system/bt/main/test/
Dmain_shim_test.cc121 const shim::legacy::acl_interface_t GetMockAclInterface() { in GetMockAclInterface()
122 shim::legacy::acl_interface_t acl_interface{ in GetMockAclInterface()
297 std::unique_ptr<shim::legacy::Acl> MakeAcl() { in MakeAcl()
308 return std::make_unique<shim::legacy::Acl>(handler_, GetMockAclInterface(), in MakeAcl()
/system/bt/test/mock/
Dmock_hcic_hcicmds.cc316 bluetooth::legacy::hci::Interface interface_ = {
322 const bluetooth::legacy::hci::Interface&
323 bluetooth::legacy::hci::GetInterface() { in GetInterface()
/system/bt/
D.clang-format19 # accommodate for handling of the large legacy code base.
/system/nfc/
D.clang-format19 # accommodate for handling of the large legacy code base.
/system/bt/gd/
D.clang-format19 # accommodate for handling of the large legacy code base.
/system/linkerconfig/testdata/golden_output/legacy/
Dld.config.txt1 dir.legacy = /system
2 dir.legacy = /system_ext
3 dir.legacy = /product
4 dir.legacy = /vendor
5 dir.legacy = /odm
6 dir.legacy = /sbin
8 dir.legacy = /data
9 [legacy]

1234