Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 53) sorted by relevance

123

/system/netd/resolv/
DDnsTlsDispatcher.h43 explicit DnsTlsDispatcher(std::unique_ptr<IDnsTlsSocketFactory> factory) in DnsTlsDispatcher() argument
44 : mFactory(std::move(factory)) {} in DnsTlsDispatcher()
74 Transport(const DnsTlsServer& server, unsigned mark, IDnsTlsSocketFactory* _Nonnull factory) in Transport()
75 : transport(server, mark, factory) {} in Transport()
Ddns_tls_test.cpp151 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
152 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
184 FakeSocketFactory<FakeSocketId> factory; in TEST_F() local
185 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
202 FakeSocketFactory<FakeSocketEcho> factory; in TEST_F() local
203 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
268 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
269 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
286 FakeSocketFactory<FakeSocketDelay> factory; in TEST_F() local
287 DnsTlsTransport transport(SERVER1, MARK, &factory); in TEST_F()
[all …]
DDnsTlsTransport.h45 IDnsTlsSocketFactory* _Nonnull factory) in DnsTlsTransport() argument
46 : mMark(mark), mServer(server), mFactory(factory) {} in DnsTlsTransport()
DDnsTlsTransport.cpp179 DnsTlsSocketFactory factory; in validate() local
180 DnsTlsTransport transport(server, mark, &factory); in validate()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp122 const OperationFactory* factory = context.GetOperationFactory(algorithm, purpose); in GetSupported() local
123 if (!factory) { in GetSupported()
129 const T* supported = (factory->*get_supported_method)(&count); in GetSupported()
222 const KeyFactory* factory = nullptr; in GenerateKey() local
225 !(factory = context_->GetKeyFactory(algorithm))) in GenerateKey()
231 response->error = factory->GenerateKey(request.key_description, &key_blob, in GenerateKey()
275 OperationFactory* factory = key_factory->GetOperationFactory(request.purpose); in BeginOperation() local
276 if (!factory) return; in BeginOperation()
279 factory->CreateOperation(move(*key), request.additional_params, &response->error)); in BeginOperation()
435 const KeyFactory* factory = nullptr; in ImportKey() local
[all …]
/system/extras/verity/
DUtils.java194 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadDERPublicKey() local
195 return factory.generatePublic(publicKeySpec); in loadDERPublicKey()
201 KeyFactory factory = KeyFactory.getInstance("RSA"); in loadPEMPublicKey() local
202 return factory.generatePublic(publicKeySpec); in loadPEMPublicKey()
223 KeyFactory factory = KeyFactory.getInstance("EC"); in getSignatureAlgorithm() local
226 ECPublicKeySpec spec = factory.getKeySpec(key, ECPublicKeySpec.class); in getSignatureAlgorithm()
229 ECPrivateKeySpec spec = factory.getKeySpec(key, ECPrivateKeySpec.class); in getSignatureAlgorithm()
/system/bt/service/ipc/binder/
Dinterface_with_instances_base.cc26 bluetooth::BluetoothInstanceFactory* factory) { in RegisterInstanceBase() argument
28 CHECK(factory); in RegisterInstanceBase()
65 if (factory->RegisterInstance(app_uuid, cb)) return true; in RegisterInstanceBase()
Dinterface_with_instances_base.h52 bluetooth::BluetoothInstanceFactory* factory);
Dbluetooth_a2dp_source_binder_server.cc112 auto factory = adapter_->GetA2dpSourceFactory(); in Register() local
113 *_aidl_return = RegisterInstanceBase(callback, factory); in Register()
Dbluetooth_a2dp_sink_binder_server.cc40 auto factory = adapter_->GetA2dpSinkFactory(); in Register() local
41 *_aidl_return = RegisterInstanceBase(callback, factory); in Register()
/system/tools/xsdc/src/com/android/xsdc/
DMain.java90 SAXParserFactory factory = SAXParserFactory.newInstance(); in main() local
91 factory.setNamespaceAware(true); in main()
92 SAXParser parser = factory.newSAXParser(); in main()
/system/ca-certificates/soong/
Dca_certificates.go25 ctx android.LoadHookContext, factory android.ModuleFactory, c *caCertificatesProperties) {
48 ctx.CreateModule(android.ModuleFactoryAdaptor(factory), &etcProps)
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DTestHelper.java102 SAXParserFactory factory = SAXParserFactory.newInstance(); in parseXsdAndCompile() local
103 factory.setNamespaceAware(true); in parseXsdAndCompile()
104 SAXParser parser = factory.newSAXParser(); in parseXsdAndCompile()
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dphy_layer_factory.cc88 const std::shared_ptr<PhyLayerFactory>& factory) in PhyLayerImpl() argument
89 : PhyLayer(phy_type, id, device_receive), factory_(factory) {} in PhyLayerImpl()
Dphy_layer_factory.h59 const std::shared_ptr<PhyLayerFactory>& factory);
/system/keymaster/contexts/
Dkeymaster2_passthrough_context.cpp104 auto factory = GetKeyFactory(algorithm); in ParseKeyBlob() local
105 return factory->LoadKey(move(key_material), additional_params, move(hw_enforced), in ParseKeyBlob()
/system/sepolicy/public/
Dhal_bluetooth.te12 # bluetooth factory file accesses.
Dhal_wifi.te13 # allow hal wifi set interfaces up and down and get the factory MAC
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_bluetooth.te13 # bluetooth factory file accesses.
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_bluetooth.te13 # bluetooth factory file accesses.
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_bluetooth.te12 # bluetooth factory file accesses.
Dhal_wifi.te13 # allow hal wifi set interfaces up and down and get the factory MAC
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_bluetooth.te13 # bluetooth factory file accesses.
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupFile.java94 TransformerFactory factory = TransformerFactory.newInstance(); in write() local
100 Transformer transformer = factory.newTransformer(); in write()
/system/keymaster/include/keymaster/
Dandroid_keymaster.h95 const KeyFactory** factory, UniquePtr<Key>* key);

123