/system/bt/vendor_libs/test_vendor_lib/src/ |
D | event_packet.cc | 34 std::unique_ptr<EventPacket> EventPacket::CreateInquiryCompleteEvent( in CreateInquiryCompleteEvent() 36 std::unique_ptr<EventPacket> evt_ptr = in CreateInquiryCompleteEvent() 37 std::unique_ptr<EventPacket>(new EventPacket(HCI_INQUIRY_COMP_EVT)); in CreateInquiryCompleteEvent() 44 std::unique_ptr<EventPacket> EventPacket::CreateCommandCompleteEvent( in CreateCommandCompleteEvent() 46 std::unique_ptr<EventPacket> evt_ptr = in CreateCommandCompleteEvent() 47 std::unique_ptr<EventPacket>(new EventPacket(HCI_COMMAND_COMPLETE_EVT)); in CreateCommandCompleteEvent() 57 std::unique_ptr<EventPacket> EventPacket::CreateCommandCompleteOnlyStatusEvent( in CreateCommandCompleteOnlyStatusEvent() 59 std::unique_ptr<EventPacket> evt_ptr = in CreateCommandCompleteOnlyStatusEvent() 60 std::unique_ptr<EventPacket>(new EventPacket(HCI_COMMAND_COMPLETE_EVT)); in CreateCommandCompleteOnlyStatusEvent() 70 std::unique_ptr<EventPacket> EventPacket::CreateCommandStatusEvent( in CreateCommandStatusEvent() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | event_packet.h | 41 static std::unique_ptr<EventPacket> CreateInquiryCompleteEvent( 47 static std::unique_ptr<EventPacket> CreateCommandCompleteEvent( 51 static std::unique_ptr<EventPacket> CreateCommandCompleteOnlyStatusEvent( 55 static std::unique_ptr<EventPacket> CreateCommandStatusEvent( 59 static std::unique_ptr<EventPacket> CreateNumberOfCompletedPacketsEvent( 65 static std::unique_ptr<EventPacket> CreateCommandCompleteDeleteStoredLinkKey( 69 static std::unique_ptr<EventPacket> CreateCommandCompleteReadLocalName( 73 static std::unique_ptr<EventPacket> 82 static std::unique_ptr<EventPacket> 87 static std::unique_ptr<EventPacket> [all …]
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 38 using std::unique_ptr; 51 bool ValuesEqual(const unique_ptr<T>& in, const unique_ptr<T>& out) { in ValuesEqual() 56 bool ValuesEqual<vector<unique_ptr<String16>>>( in ValuesEqual() 57 const unique_ptr<vector<unique_ptr<String16>>>& in, in ValuesEqual() 58 const unique_ptr<vector<unique_ptr<String16>>>& out) { in ValuesEqual() 72 const unique_ptr<String16>& a = (*in)[i]; in ValuesEqual() 73 const unique_ptr<String16>& b = (*out)[i]; in ValuesEqual() 93 unique_ptr<T> in, in ConfirmNullableType() 94 Status(ITestService::*func)(const unique_ptr<T>&, in ConfirmNullableType() 95 unique_ptr<T>*)) { in ConfirmNullableType() [all …]
|
D | aidl_test_client_utf8_strings.cpp | 39 using std::unique_ptr; 70 unique_ptr<string> ret; in ConfirmUtf8InCppStringRepeat() 78 unique_ptr<string> reply; in ConfirmUtf8InCppStringRepeat() 80 unique_ptr<string>(new string(input)), &reply); in ConfirmUtf8InCppStringRepeat() 116 Status (ITestService::*m)(const unique_ptr<vector<unique_ptr<string>>>&, in ConfirmUtf8InCppStringCollectionReverse() 117 unique_ptr<vector<unique_ptr<string>>>*, in ConfirmUtf8InCppStringCollectionReverse() 118 unique_ptr<vector<unique_ptr<string>>>*)) { in ConfirmUtf8InCppStringCollectionReverse() 121 unique_ptr<vector<unique_ptr<string>>> input, reversed, repeated; in ConfirmUtf8InCppStringCollectionReverse() 128 input.reset(new vector<unique_ptr<string>>); in ConfirmUtf8InCppStringCollectionReverse()
|
D | aidl_test_service.cpp | 76 using std::unique_ptr; 199 Status RepeatNullable(const unique_ptr<T>& input, in RepeatNullable() 200 unique_ptr<T>* _aidl_return) { in RepeatNullable() 322 Status RepeatNullableIntArray(const unique_ptr<vector<int32_t>>& input, in RepeatNullableIntArray() 323 unique_ptr<vector<int32_t>>* _aidl_return) { in RepeatNullableIntArray() 328 const unique_ptr<vector<unique_ptr<String16>>>& input, in RepeatNullableStringList() 329 unique_ptr<vector<unique_ptr<String16>>>* _aidl_return) { in RepeatNullableStringList() 336 _aidl_return->reset(new vector<unique_ptr<String16>>); in RepeatNullableStringList() 349 Status RepeatNullableString(const unique_ptr<String16>& input, in RepeatNullableString() 350 unique_ptr<String16>* _aidl_return) { in RepeatNullableString() [all …]
|
/system/tpm/trunks/ |
D | trunks_factory_for_test.h | 65 std::unique_ptr<TpmState> GetTpmState() const override; 66 std::unique_ptr<TpmUtility> GetTpmUtility() const override; 67 std::unique_ptr<AuthorizationDelegate> GetPasswordAuthorization( 69 std::unique_ptr<SessionManager> GetSessionManager() const override; 70 std::unique_ptr<HmacSession> GetHmacSession() const override; 71 std::unique_ptr<PolicySession> GetPolicySession() const override; 72 std::unique_ptr<PolicySession> GetTrialSession() const override; 73 std::unique_ptr<BlobParser> GetBlobParser() const override; 105 std::unique_ptr<MockTpm> default_tpm_; 107 std::unique_ptr<MockTpmState> default_tpm_state_; [all …]
|
D | trunks_factory_impl.h | 55 std::unique_ptr<TpmState> GetTpmState() const override; 56 std::unique_ptr<TpmUtility> GetTpmUtility() const override; 57 std::unique_ptr<AuthorizationDelegate> GetPasswordAuthorization( 59 std::unique_ptr<SessionManager> GetSessionManager() const override; 60 std::unique_ptr<HmacSession> GetHmacSession() const override; 61 std::unique_ptr<PolicySession> GetPolicySession() const override; 62 std::unique_ptr<PolicySession> GetTrialSession() const override; 63 std::unique_ptr<BlobParser> GetBlobParser() const override; 66 std::unique_ptr<CommandTransceiver> default_transceiver_; 68 std::unique_ptr<Tpm> tpm_;
|
D | trunks_factory.h | 50 virtual std::unique_ptr<TpmState> GetTpmState() const = 0; 53 virtual std::unique_ptr<TpmUtility> GetTpmUtility() const = 0; 57 virtual std::unique_ptr<AuthorizationDelegate> GetPasswordAuthorization( 61 virtual std::unique_ptr<SessionManager> GetSessionManager() const = 0; 64 virtual std::unique_ptr<HmacSession> GetHmacSession() const = 0; 67 virtual std::unique_ptr<PolicySession> GetPolicySession() const = 0; 70 virtual std::unique_ptr<PolicySession> GetTrialSession() const = 0; 73 virtual std::unique_ptr<BlobParser> GetBlobParser() const = 0;
|
D | trunks_factory_impl.cc | 74 std::unique_ptr<TpmState> TrunksFactoryImpl::GetTpmState() const { in GetTpmState() 78 std::unique_ptr<TpmUtility> TrunksFactoryImpl::GetTpmUtility() const { in GetTpmUtility() 82 std::unique_ptr<AuthorizationDelegate> 87 std::unique_ptr<SessionManager> TrunksFactoryImpl::GetSessionManager() const { in GetSessionManager() 91 std::unique_ptr<HmacSession> TrunksFactoryImpl::GetHmacSession() const { in GetHmacSession() 95 std::unique_ptr<PolicySession> TrunksFactoryImpl::GetPolicySession() const { in GetPolicySession() 99 std::unique_ptr<PolicySession> TrunksFactoryImpl::GetTrialSession() const { in GetTrialSession() 103 std::unique_ptr<BlobParser> TrunksFactoryImpl::GetBlobParser() const { in GetBlobParser()
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 35 using std::unique_ptr; 1289 unique_ptr<AidlInterface> Parse() { in Parse() 1292 unique_ptr<AidlInterface> ret; in Parse() 1293 std::vector<std::unique_ptr<AidlImport>> imports; in Parse() 1312 unique_ptr<CodeWriter> cw = GetStringWriter(&output); in Compare() 1341 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() 1343 unique_ptr<Document> doc = internals::BuildClientHeader(types_, *interface); in TEST_F() 1348 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() 1350 unique_ptr<Document> doc = internals::BuildClientSource(types_, *interface); in TEST_F() 1355 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() [all …]
|
D | ast_cpp_unittest.cpp | 26 using std::unique_ptr; 106 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F() 109 unique_ptr<MethodDecl> sub{ in TEST_F() 113 unique_ptr<MethodDecl> sub2{ in TEST_F() 117 vector<unique_ptr<Declaration>> test_methods; in TEST_F() 121 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F() 124 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F() 127 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F() 130 vector<unique_ptr<Declaration>> classes; in TEST_F() 134 unique_ptr<CppNamespace> test_ns{new CppNamespace {"test", in TEST_F() [all …]
|
D | generate_cpp.cpp | 36 using std::unique_ptr; 68 unique_ptr<AstNode> BreakOnStatusNotOk() { in BreakOnStatusNotOk() 73 return unique_ptr<AstNode>(ret); in BreakOnStatusNotOk() 76 unique_ptr<AstNode> GotoErrorOnBadStatus() { in GotoErrorOnBadStatus() 81 return unique_ptr<AstNode>(ret); in GotoErrorOnBadStatus() 85 unique_ptr<AstNode> ReturnOnStatusNotOk() { in ReturnOnStatusNotOk() 90 return unique_ptr<AstNode>(ret); in ReturnOnStatusNotOk() 113 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 157 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, in BuildMethodDecl() 168 return unique_ptr<Declaration>{ in BuildMethodDecl() [all …]
|
D | generate_cpp.h | 52 std::unique_ptr<Document> BuildClientSource(const TypeNamespace& types, 54 std::unique_ptr<Document> BuildServerSource(const TypeNamespace& types, 56 std::unique_ptr<Document> BuildInterfaceSource(const TypeNamespace& types, 58 std::unique_ptr<Document> BuildClientHeader(const TypeNamespace& types, 60 std::unique_ptr<Document> BuildServerHeader(const TypeNamespace& types, 62 std::unique_ptr<Document> BuildInterfaceHeader(const TypeNamespace& types,
|
D | ast_cpp.h | 58 std::vector<std::unique_ptr<Declaration>> public_members, 59 std::vector<std::unique_ptr<Declaration>> private_members); 64 void AddPublic(std::unique_ptr<Declaration> member); 65 void AddPrivate(std::unique_ptr<Declaration> member); 70 std::vector<std::unique_ptr<Declaration>> public_members_; 71 std::vector<std::unique_ptr<Declaration>> private_members_; 106 explicit ArgList(std::vector<std::unique_ptr<AstNode>> arg_list); 113 std::vector<std::unique_ptr<AstNode>> arguments_; 197 void AddStatement(std::unique_ptr<AstNode> statement); 205 std::vector<std::unique_ptr<AstNode>> statements_; [all …]
|
/system/update_engine/update_manager/ |
D | real_updater_provider.h | 109 std::unique_ptr<Variable<base::Time>> var_last_checked_time_; 110 std::unique_ptr<Variable<base::Time>> var_update_completed_time_; 111 std::unique_ptr<Variable<double>> var_progress_; 112 std::unique_ptr<Variable<Stage>> var_stage_; 113 std::unique_ptr<Variable<std::string>> var_new_version_; 114 std::unique_ptr<Variable<uint64_t>> var_payload_size_; 115 std::unique_ptr<Variable<std::string>> var_curr_channel_; 116 std::unique_ptr<Variable<std::string>> var_new_channel_; 117 std::unique_ptr<Variable<bool>> var_p2p_enabled_; 118 std::unique_ptr<Variable<bool>> var_cellular_enabled_; [all …]
|
D | state_factory.cc | 43 using std::unique_ptr; 52 unique_ptr<RealConfigProvider> config_provider( in DefaultStateFactory() 57 unique_ptr<RealDevicePolicyProvider> device_policy_provider( in DefaultStateFactory() 62 unique_ptr<RealDevicePolicyProvider> device_policy_provider( in DefaultStateFactory() 66 unique_ptr<RealShillProvider> shill_provider( in DefaultStateFactory() 69 unique_ptr<FakeShillProvider> shill_provider(new FakeShillProvider()); in DefaultStateFactory() 71 unique_ptr<RealRandomProvider> random_provider(new RealRandomProvider()); in DefaultStateFactory() 72 unique_ptr<RealSystemProvider> system_provider(new RealSystemProvider( in DefaultStateFactory() 75 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock)); in DefaultStateFactory() 76 unique_ptr<RealUpdaterProvider> updater_provider( in DefaultStateFactory()
|
D | real_state.h | 71 std::unique_ptr<ConfigProvider> config_provider_; 72 std::unique_ptr<DevicePolicyProvider> device_policy_provider_; 73 std::unique_ptr<RandomProvider> random_provider_; 74 std::unique_ptr<ShillProvider> shill_provider_; 75 std::unique_ptr<SystemProvider> system_provider_; 76 std::unique_ptr<TimeProvider> time_provider_; 77 std::unique_ptr<UpdaterProvider> updater_provider_;
|
/system/bt/osi/test/ |
D | config_test.cc | 63 std::unique_ptr<config_t> config = config_new_empty(); in TEST_F() 68 std::unique_ptr<config_t> config = config_new("/meow"); in TEST_F() 73 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 78 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 79 std::unique_ptr<config_t> clone = config_new_clone(*config); in TEST_F() 93 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 98 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 107 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 115 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 123 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() [all …]
|
/system/connectivity/wificond/net/ |
D | mlme_event.cpp | 26 using std::unique_ptr; 50 unique_ptr<MlmeAssociateEvent> MlmeAssociateEvent::InitFromPacket( in InitFromPacket() 55 unique_ptr<MlmeAssociateEvent> associate_event(new MlmeAssociateEvent()); in InitFromPacket() 72 unique_ptr<MlmeConnectEvent> MlmeConnectEvent::InitFromPacket( in InitFromPacket() 77 unique_ptr<MlmeConnectEvent> connect_event(new MlmeConnectEvent()); in InitFromPacket() 94 unique_ptr<MlmeRoamEvent> MlmeRoamEvent::InitFromPacket( in InitFromPacket() 99 unique_ptr<MlmeRoamEvent> roam_event(new MlmeRoamEvent()); in InitFromPacket() 109 unique_ptr<MlmeDisconnectEvent> MlmeDisconnectEvent::InitFromPacket( in InitFromPacket() 114 unique_ptr<MlmeDisconnectEvent> disconnect_event(new MlmeDisconnectEvent()); in InitFromPacket() 123 unique_ptr<MlmeDisassociateEvent> MlmeDisassociateEvent::InitFromPacket( in InitFromPacket() [all …]
|
D | mlme_event_handler.h | 33 virtual void OnConnect(std::unique_ptr<MlmeConnectEvent> event) = 0; 34 virtual void OnRoam(const std::unique_ptr<MlmeRoamEvent> event) = 0; 35 virtual void OnAssociate(std::unique_ptr<MlmeAssociateEvent> event) = 0; 36 virtual void OnDisconnect(std::unique_ptr<MlmeDisconnectEvent> event) = 0; 37 virtual void OnDisassociate(std::unique_ptr<MlmeDisassociateEvent> event) = 0;
|
/system/update_engine/ |
D | real_system_state.h | 132 std::unique_ptr<org::chromium::LibCrosServiceInterfaceProxy> libcros_proxy_; 136 std::unique_ptr<PowerManagerInterface> power_manager_; 139 std::unique_ptr<BootControlInterface> boot_control_; 149 std::unique_ptr<ConnectionManagerInterface> connection_manager_; 152 std::unique_ptr<HardwareInterface> hardware_; 158 std::unique_ptr<PrefsInterface> prefs_; 161 std::unique_ptr<PrefsInterface> powerwash_safe_prefs_; 169 std::unique_ptr<CertificateChecker> certificate_checker_; 172 std::unique_ptr<UpdateAttempter> update_attempter_; 177 std::unique_ptr<P2PManager> p2p_manager_; [all …]
|
D | daemon_state_android.h | 57 std::unique_ptr<BootControlInterface> boot_control_; 60 std::unique_ptr<HardwareInterface> hardware_; 63 std::unique_ptr<PrefsInterface> prefs_; 66 std::unique_ptr<UpdateAttempterAndroid> update_attempter_; 71 std::unique_ptr<CertificateChecker> certificate_checker_;
|
/system/tpm/attestation/server/ |
D | dbus_service.h | 53 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 58 void HandleGetKeyInfo(std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 64 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 70 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 76 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 82 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 88 std::unique_ptr< 94 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse<const SignReply&>> 100 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse<
|
/system/extras/simpleperf/ |
D | record_test.cpp | 34 std::vector<std::unique_ptr<Record>> records = in CheckRecordMatchBinary() 70 cache.Push(std::unique_ptr<Record>(r1)); in TEST_F() 76 cache.Push(std::unique_ptr<Record>(r2)); in TEST_F() 78 std::unique_ptr<Record> popped_r = cache.Pop(); in TEST_F() 86 cache.Push(std::unique_ptr<Record>(r3)); in TEST_F() 92 cache.Push(std::unique_ptr<Record>(r4)); in TEST_F() 103 std::vector<std::unique_ptr<Record>> last_records = cache.PopAll(); in TEST_F() 116 cache.Push(std::unique_ptr<Record>(records.back())); in TEST_F() 118 std::vector<std::unique_ptr<Record>> out_records = cache.PopAll(); in TEST_F() 133 std::vector<std::unique_ptr<Record>> records; in TEST_F() [all …]
|
/system/keymaster/legacy_support/ |
D | keymaster_passthrough_engine.cpp | 34 using std::unique_ptr; 185 std::unique_ptr<opfactory_t> rsa_encrypt_op_factory_; 186 std::unique_ptr<opfactory_t> rsa_decrypt_op_factory_; 187 std::unique_ptr<opfactory_t> rsa_sign_op_factory_; 188 std::unique_ptr<opfactory_t> rsa_verify_op_factory_; 189 std::unique_ptr<opfactory_t> ec_encrypt_op_factory_; 190 std::unique_ptr<opfactory_t> ec_decrypt_op_factory_; 191 std::unique_ptr<opfactory_t> ec_sign_op_factory_; 192 std::unique_ptr<opfactory_t> ec_verify_op_factory_; 193 std::unique_ptr<opfactory_t> ec_derive_op_factory_; [all …]
|