/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_service.cpp | 71 using std::unique_ptr; 185 Status RepeatNullable(const unique_ptr<T>& input, in RepeatNullable() 186 unique_ptr<T>* _aidl_return) { in RepeatNullable() 308 Status RepeatNullableIntArray(const unique_ptr<vector<int32_t>>& input, in RepeatNullableIntArray() 309 unique_ptr<vector<int32_t>>* _aidl_return) { in RepeatNullableIntArray() 314 const unique_ptr<vector<unique_ptr<String16>>>& input, in RepeatNullableStringList() 315 unique_ptr<vector<unique_ptr<String16>>>* _aidl_return) { in RepeatNullableStringList() 322 _aidl_return->reset(new vector<unique_ptr<String16>>); in RepeatNullableStringList() 335 Status RepeatNullableString(const unique_ptr<String16>& input, in RepeatNullableString() 336 unique_ptr<String16>* _aidl_return) { in RepeatNullableString() [all …]
|
/system/core/metricsd/ |
D | metrics_collector.h | 43 using std::unique_ptr; 116 void OnEnableMetrics(std::unique_ptr<weaved::Command> command); 119 void OnDisableMetrics(std::unique_ptr<weaved::Command> command); 154 void SendAndResetDailyUseSample(const unique_ptr<PersistentInteger>& use); 159 const unique_ptr<PersistentInteger>& interval); 164 const unique_ptr<PersistentInteger>& frequency); 247 unique_ptr<PersistentInteger> daily_cycle_; 248 unique_ptr<PersistentInteger> weekly_cycle_; 249 unique_ptr<PersistentInteger> version_cycle_; 252 unique_ptr<PersistentInteger> daily_active_use_; [all …]
|
/system/connectivity/apmanager/ |
D | mock_control.cc | 25 std::unique_ptr<ConfigAdaptorInterface> MockControl::CreateConfigAdaptor( in CreateConfigAdaptor() 27 return std::unique_ptr<ConfigAdaptorInterface>(CreateConfigAdaptorRaw()); in CreateConfigAdaptor() 30 std::unique_ptr<DeviceAdaptorInterface> MockControl::CreateDeviceAdaptor( in CreateDeviceAdaptor() 32 return std::unique_ptr<DeviceAdaptorInterface>(CreateDeviceAdaptorRaw()); in CreateDeviceAdaptor() 35 std::unique_ptr<ManagerAdaptorInterface> MockControl::CreateManagerAdaptor( in CreateManagerAdaptor() 37 return std::unique_ptr<ManagerAdaptorInterface>(CreateManagerAdaptorRaw()); in CreateManagerAdaptor() 40 std::unique_ptr<ServiceAdaptorInterface> MockControl::CreateServiceAdaptor( in CreateServiceAdaptor() 42 return std::unique_ptr<ServiceAdaptorInterface>(CreateServiceAdaptorRaw()); in CreateServiceAdaptor() 45 std::unique_ptr<FirewallProxyInterface> MockControl::CreateFirewallProxy( in CreateFirewallProxy() 48 return std::unique_ptr<FirewallProxyInterface>(CreateFirewallProxyRaw()); in CreateFirewallProxy() [all …]
|
D | control_interface.h | 47 virtual std::unique_ptr<ConfigAdaptorInterface> CreateConfigAdaptor( 49 virtual std::unique_ptr<DeviceAdaptorInterface> CreateDeviceAdaptor( 51 virtual std::unique_ptr<ManagerAdaptorInterface> CreateManagerAdaptor( 53 virtual std::unique_ptr<ServiceAdaptorInterface> CreateServiceAdaptor( 57 virtual std::unique_ptr<FirewallProxyInterface> CreateFirewallProxy( 60 virtual std::unique_ptr<ShillProxyInterface> CreateShillProxy(
|
D | mock_control.h | 48 std::unique_ptr<ConfigAdaptorInterface> CreateConfigAdaptor( 50 std::unique_ptr<DeviceAdaptorInterface> CreateDeviceAdaptor( 52 std::unique_ptr<ManagerAdaptorInterface> CreateManagerAdaptor( 54 std::unique_ptr<ServiceAdaptorInterface> CreateServiceAdaptor( 56 std::unique_ptr<FirewallProxyInterface> CreateFirewallProxy( 59 std::unique_ptr<ShillProxyInterface> CreateShillProxy(
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 35 using std::unique_ptr; 662 unique_ptr<AidlInterface> Parse() { in Parse() 665 unique_ptr<AidlInterface> ret; in Parse() 666 std::vector<std::unique_ptr<AidlImport>> imports; in Parse() 684 unique_ptr<CodeWriter> cw = GetStringWriter(&output); in Compare() 713 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() 715 unique_ptr<Document> doc = internals::BuildClientHeader(types_, *interface); in TEST_F() 720 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() 722 unique_ptr<Document> doc = internals::BuildClientSource(types_, *interface); in TEST_F() 727 unique_ptr<AidlInterface> interface = Parse(); in TEST_F() [all …]
|
D | ast_cpp_unittest.cpp | 26 using std::unique_ptr; 105 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F() 108 unique_ptr<MethodDecl> sub{ in TEST_F() 112 unique_ptr<MethodDecl> sub2{ in TEST_F() 116 vector<unique_ptr<Declaration>> test_methods; in TEST_F() 120 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F() 123 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F() 126 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F() 129 vector<unique_ptr<Declaration>> classes; in TEST_F() 133 unique_ptr<CppNamespace> test_ns{new CppNamespace {"test", in TEST_F() [all …]
|
D | generate_cpp.cpp | 36 using std::unique_ptr; 65 unique_ptr<AstNode> BreakOnStatusNotOk() { in BreakOnStatusNotOk() 70 return unique_ptr<AstNode>(ret); in BreakOnStatusNotOk() 73 unique_ptr<AstNode> GotoErrorOnBadStatus() { in GotoErrorOnBadStatus() 78 return unique_ptr<AstNode>(ret); in GotoErrorOnBadStatus() 82 unique_ptr<AstNode> ReturnOnStatusNotOk() { in ReturnOnStatusNotOk() 87 return unique_ptr<AstNode>(ret); in ReturnOnStatusNotOk() 110 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 154 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, in BuildMethodDecl() 165 return unique_ptr<Declaration>{ in BuildMethodDecl() [all …]
|
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_; 181 void AddStatement(std::unique_ptr<AstNode> statement); 189 std::vector<std::unique_ptr<AstNode>> statements_; [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 | line_reader.cpp | 25 using std::unique_ptr; 77 unique_ptr<LineReader> LineReader::ReadFromFile(const string& file_path) { in ReadFromFile() 78 unique_ptr<FileLineReader> file_reader(new FileLineReader()); in ReadFromFile() 79 unique_ptr<LineReader> ret; in ReadFromFile() 86 unique_ptr<LineReader> LineReader::ReadFromMemory(const string& contents) { in ReadFromMemory() 87 return unique_ptr<LineReader>(new MemoryLineReader(contents)); in ReadFromMemory()
|
/system/update_engine/update_manager/ |
D | real_updater_provider.h | 105 std::unique_ptr<Variable<base::Time>> var_last_checked_time_; 106 std::unique_ptr<Variable<base::Time>> var_update_completed_time_; 107 std::unique_ptr<Variable<double>> var_progress_; 108 std::unique_ptr<Variable<Stage>> var_stage_; 109 std::unique_ptr<Variable<std::string>> var_new_version_; 110 std::unique_ptr<Variable<int64_t>> var_payload_size_; 111 std::unique_ptr<Variable<std::string>> var_curr_channel_; 112 std::unique_ptr<Variable<std::string>> var_new_channel_; 113 std::unique_ptr<Variable<bool>> var_p2p_enabled_; 114 std::unique_ptr<Variable<bool>> var_cellular_enabled_; [all …]
|
D | state_factory.cc | 33 using std::unique_ptr; 43 unique_ptr<RealConfigProvider> config_provider( in DefaultStateFactory() 45 unique_ptr<RealDevicePolicyProvider> device_policy_provider( in DefaultStateFactory() 47 unique_ptr<RealRandomProvider> random_provider(new RealRandomProvider()); in DefaultStateFactory() 48 unique_ptr<RealShillProvider> shill_provider( in DefaultStateFactory() 50 unique_ptr<RealSystemProvider> system_provider( in DefaultStateFactory() 53 unique_ptr<RealTimeProvider> time_provider(new RealTimeProvider(clock)); in DefaultStateFactory() 54 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/vendor_libs/test_vendor_lib/include/ |
D | hci_transport.h | 61 std::function<void(std::unique_ptr<CommandPacket>)> callback); 65 void PostEventResponse(std::unique_ptr<EventPacket> event); 69 void PostDelayedEventResponse(std::unique_ptr<EventPacket> event, 77 TimeStampedEvent(std::unique_ptr<EventPacket> event, base::TimeDelta delay); 82 TimeStampedEvent(std::unique_ptr<EventPacket> event); 105 void AddEventToOutboundEvents(std::unique_ptr<TimeStampedEvent> event); 110 std::list<std::unique_ptr<TimeStampedEvent>> outbound_events_; 114 std::function<void(std::unique_ptr<CommandPacket>)> command_handler_; 124 std::unique_ptr<base::ScopedFD> hci_fd_; 125 std::unique_ptr<base::ScopedFD> vendor_fd_;
|
/system/connectivity/apmanager/dbus/ |
D | dbus_control.cc | 91 std::unique_ptr<ConfigAdaptorInterface> DBusControl::CreateConfigAdaptor( in CreateConfigAdaptor() 93 return std::unique_ptr<ConfigAdaptorInterface>( in CreateConfigAdaptor() 98 std::unique_ptr<DeviceAdaptorInterface> DBusControl::CreateDeviceAdaptor( in CreateDeviceAdaptor() 100 return std::unique_ptr<DeviceAdaptorInterface>( in CreateDeviceAdaptor() 104 std::unique_ptr<ManagerAdaptorInterface> DBusControl::CreateManagerAdaptor( in CreateManagerAdaptor() 106 return std::unique_ptr<ManagerAdaptorInterface>( in CreateManagerAdaptor() 110 std::unique_ptr<ServiceAdaptorInterface> DBusControl::CreateServiceAdaptor( in CreateServiceAdaptor() 112 return std::unique_ptr<ServiceAdaptorInterface>( in CreateServiceAdaptor() 116 std::unique_ptr<FirewallProxyInterface> DBusControl::CreateFirewallProxy( in CreateFirewallProxy() 120 return std::unique_ptr<FirewallProxyInterface>( in CreateFirewallProxy() [all …]
|
D | dbus_control.h | 38 std::unique_ptr<ConfigAdaptorInterface> CreateConfigAdaptor( 40 std::unique_ptr<DeviceAdaptorInterface> CreateDeviceAdaptor( 42 std::unique_ptr<ManagerAdaptorInterface> CreateManagerAdaptor( 44 std::unique_ptr<ServiceAdaptorInterface> CreateServiceAdaptor( 46 std::unique_ptr<FirewallProxyInterface> CreateFirewallProxy( 49 std::unique_ptr<ShillProxyInterface> CreateShillProxy( 63 std::unique_ptr<brillo::dbus_utils::ExportedObjectManager> object_manager_; 64 std::unique_ptr<Manager> manager_;
|
/system/tpm/attestation/server/ |
D | dbus_service.h | 55 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 61 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 67 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 73 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 79 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 85 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 91 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 97 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse< 103 std::unique_ptr<brillo::dbus_utils::DBusMethodResponse<
|
/system/webservd/libwebserv/ |
D | request_utils.h | 31 base::Callback<void(std::unique_ptr<Request> request, 32 std::unique_ptr<Response> response, 36 base::Callback<void(std::unique_ptr<Request> request, 37 std::unique_ptr<Response> response, 46 std::unique_ptr<Request> request, 47 std::unique_ptr<Response> response,
|
/system/connectivity/shill/test-rpc-proxy/ |
D | proxy_dbus_client.h | 58 std::vector<std::unique_ptr<DeviceProxy>> GetDeviceProxies(); 59 std::vector<std::unique_ptr<ServiceProxy>> GetServiceProxies(); 60 std::vector<std::unique_ptr<ProfileProxy>> GetProfileProxies(); 61 std::unique_ptr<DeviceProxy> GetMatchingDeviceProxy( 63 std::unique_ptr<ServiceProxy> GetMatchingServiceProxy( 65 std::unique_ptr<ProfileProxy> GetMatchingProfileProxy( 99 std::unique_ptr<ServiceProxy> GetServiceProxy( 101 std::unique_ptr<ProfileProxy> GetActiveProfileProxy(); 104 std::unique_ptr<ServiceProxy> WaitForMatchingServiceProxy( 132 template<typename Proxy> std::unique_ptr<Proxy> GetProxyForObjectPath( [all …]
|
/system/bt/service/common/bluetooth/binder/ |
D | parcel_helpers.h | 43 std::unique_ptr<bluetooth::AdvertiseData> CreateAdvertiseDataFromParcel( 52 std::unique_ptr<bluetooth::AdvertiseSettings> CreateAdvertiseSettingsFromParcel( 59 std::unique_ptr<bluetooth::UUID> CreateUUIDFromParcel( 68 std::unique_ptr<bluetooth::GattIdentifier> CreateGattIdentifierFromParcel( 77 std::unique_ptr<bluetooth::ScanFilter> CreateScanFilterFromParcel( 86 std::unique_ptr<bluetooth::ScanSettings> CreateScanSettingsFromParcel( 95 std::unique_ptr<bluetooth::ScanResult> CreateScanResultFromParcel(
|
D | parcel_helpers.cpp | 45 std::unique_ptr<AdvertiseData> CreateAdvertiseDataFromParcel( in CreateAdvertiseDataFromParcel() 47 std::unique_ptr<std::vector<uint8_t>> data; in CreateAdvertiseDataFromParcel() 54 std::unique_ptr<AdvertiseData> adv(new AdvertiseData(*data)); in CreateAdvertiseDataFromParcel() 70 std::unique_ptr<AdvertiseSettings> CreateAdvertiseSettingsFromParcel( in CreateAdvertiseSettingsFromParcel() 80 return std::unique_ptr<AdvertiseSettings>( in CreateAdvertiseSettingsFromParcel() 116 std::unique_ptr<UUID> CreateUUIDFromParcel( in CreateUUIDFromParcel() 141 return std::unique_ptr<UUID>(new UUID(bytes)); in CreateUUIDFromParcel() 159 std::unique_ptr<GattIdentifier> CreateGattIdentifierFromParcel( in CreateGattIdentifierFromParcel() 172 return std::unique_ptr<GattIdentifier>( in CreateGattIdentifierFromParcel() 203 std::unique_ptr<ScanFilter> CreateScanFilterFromParcel( in CreateScanFilterFromParcel() [all …]
|
/system/update_engine/ |
D | real_system_state.h | 137 std::unique_ptr<BootControlInterface> boot_control_; 150 std::unique_ptr<HardwareInterface> hardware_; 156 std::unique_ptr<PrefsInterface> prefs_; 159 std::unique_ptr<PrefsInterface> powerwash_safe_prefs_; 167 std::unique_ptr<CertificateChecker> certificate_checker_; 170 std::unique_ptr<UpdateAttempter> update_attempter_; 175 std::unique_ptr<P2PManager> p2p_manager_; 177 std::unique_ptr<WeaveServiceInterface> weave_service_; 179 std::unique_ptr<chromeos_update_manager::UpdateManager> update_manager_;
|
/system/core/fastboot/ |
D | tcp.cpp | 59 static std::unique_ptr<TcpTransport> NewTransport(std::unique_ptr<Socket> socket, 69 TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} in TcpTransport() 75 std::unique_ptr<Socket> socket_; 81 std::unique_ptr<TcpTransport> TcpTransport::NewTransport(std::unique_ptr<Socket> socket, in NewTransport() 83 std::unique_ptr<TcpTransport> transport(new TcpTransport(std::move(socket))); in NewTransport() 181 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() 188 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
|