/system/update_engine/update_manager/ |
D | real_updater_provider.h | 103 std::unique_ptr<Variable<base::Time>> var_last_checked_time_; 104 std::unique_ptr<Variable<base::Time>> var_update_completed_time_; 105 std::unique_ptr<Variable<double>> var_progress_; 106 std::unique_ptr<Variable<Stage>> var_stage_; 107 std::unique_ptr<Variable<std::string>> var_new_version_; 108 std::unique_ptr<Variable<uint64_t>> var_payload_size_; 109 std::unique_ptr<Variable<std::string>> var_curr_channel_; 110 std::unique_ptr<Variable<std::string>> var_new_channel_; 111 std::unique_ptr<Variable<bool>> var_p2p_enabled_; 112 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 | 61 std::unique_ptr<ConfigProvider> config_provider_; 62 std::unique_ptr<DevicePolicyProvider> device_policy_provider_; 63 std::unique_ptr<RandomProvider> random_provider_; 64 std::unique_ptr<ShillProvider> shill_provider_; 65 std::unique_ptr<SystemProvider> system_provider_; 66 std::unique_ptr<TimeProvider> time_provider_; 67 std::unique_ptr<UpdaterProvider> updater_provider_;
|
/system/tools/aidl/ |
D | ast_cpp_unittest.cpp | 26 using std::unique_ptr; 98 unique_ptr<MethodDecl> norm{new MethodDecl( in TEST_F() 101 unique_ptr<MethodDecl> sub{ in TEST_F() 105 unique_ptr<MethodDecl> sub2{ in TEST_F() 109 vector<unique_ptr<Declaration>> test_methods; in TEST_F() 113 vector<unique_ptr<Declaration>> test_sub_methods; in TEST_F() 116 unique_ptr<Declaration> test{new ClassDecl { "TestClass", "", in TEST_F() 119 unique_ptr<Declaration> test_sub{new ClassDecl { "TestSubClass", in TEST_F() 122 vector<unique_ptr<Declaration>> classes; in TEST_F() 126 unique_ptr<CppNamespace> test_ns{new CppNamespace {"test", in TEST_F() [all …]
|
D | generate_cpp.h | 36 std::unique_ptr<Document> BuildClientSource(const AidlTypenames& typenames, 39 std::unique_ptr<Document> BuildServerSource(const AidlTypenames& typenames, 42 std::unique_ptr<Document> BuildInterfaceSource(const AidlTypenames& typenames, 45 std::unique_ptr<Document> BuildClientHeader(const AidlTypenames& typenames, 48 std::unique_ptr<Document> BuildServerHeader(const AidlTypenames& typenames, 51 std::unique_ptr<Document> BuildInterfaceHeader(const AidlTypenames& typenames, 55 std::unique_ptr<Document> BuildParcelHeader(const AidlTypenames& typenames, 58 std::unique_ptr<Document> BuildParcelSource(const AidlTypenames& typenames, 62 std::unique_ptr<Document> BuildEnumHeader(const AidlTypenames& typenames,
|
D | aidl_language_y.yy | 83 std::vector<std::unique_ptr<AidlEnumerator>>* enumerators; 85 std::vector<std::unique_ptr<AidlConstantValue>>* constant_value_list; 86 std::vector<std::unique_ptr<AidlArgument>>* arg_list; 88 std::vector<std::unique_ptr<AidlVariableDeclaration>>* variable_list; 91 std::vector<std::unique_ptr<AidlMember>>* interface_members; 95 std::vector<std::unique_ptr<AidlTypeSpecifier>>* type_args; 97 std::vector<std::unique_ptr<AidlImport>>* imports; 99 std::vector<std::unique_ptr<AidlDefinedType>>* declarations; 214 : { $$ = new std::vector<std::unique_ptr<AidlImport>>(); } 247 { $$ = new std::vector<std::unique_ptr<AidlDefinedType>>(); [all …]
|
D | generate_cpp.cpp | 40 using std::unique_ptr; 73 unique_ptr<AstNode> BreakOnStatusNotOk() { in BreakOnStatusNotOk() 78 return unique_ptr<AstNode>(ret); in BreakOnStatusNotOk() 81 unique_ptr<AstNode> GotoErrorOnBadStatus() { in GotoErrorOnBadStatus() 86 return unique_ptr<AstNode>(ret); in GotoErrorOnBadStatus() 89 unique_ptr<AstNode> ReturnOnStatusNotOk() { in ReturnOnStatusNotOk() 93 return unique_ptr<AstNode>(ret); in ReturnOnStatusNotOk() 100 for (const unique_ptr<AidlArgument>& a : method.GetArguments()) { in BuildArgList() 158 unique_ptr<Declaration> BuildMethodDecl(const AidlMethod& method, const AidlTypenames& typenames, in BuildMethodDecl() 168 return unique_ptr<Declaration>{ in BuildMethodDecl() [all …]
|
D | ast_cpp.h | 70 std::vector<std::unique_ptr<Declaration>> public_members, 71 std::vector<std::unique_ptr<Declaration>> private_members); 76 void AddPublic(std::unique_ptr<Declaration> member); 77 void AddPrivate(std::unique_ptr<Declaration> member); 82 std::vector<std::unique_ptr<Declaration>> public_members_; 83 std::vector<std::unique_ptr<Declaration>> private_members_; 114 explicit ArgList(std::vector<std::unique_ptr<AstNode>> arg_list); 121 std::vector<std::unique_ptr<AstNode>> arguments_; 199 void AddStatement(std::unique_ptr<AstNode> statement); 207 std::vector<std::unique_ptr<AstNode>> statements_; [all …]
|
D | line_reader.cpp | 25 using std::unique_ptr; 85 unique_ptr<LineReader> LineReader::ReadFromFile(const string& file_path) { in ReadFromFile() 86 unique_ptr<FileLineReader> file_reader(new FileLineReader()); in ReadFromFile() 87 unique_ptr<LineReader> ret; in ReadFromFile() 94 unique_ptr<LineReader> LineReader::ReadFromMemory(const string& contents) { in ReadFromMemory() 95 return unique_ptr<LineReader>(new MemoryLineReader(contents)); in ReadFromMemory()
|
/system/connectivity/wificond/net/ |
D | mlme_event.cpp | 27 using std::unique_ptr; 51 unique_ptr<MlmeAssociateEvent> MlmeAssociateEvent::InitFromPacket( in InitFromPacket() 56 unique_ptr<MlmeAssociateEvent> associate_event(new MlmeAssociateEvent()); in InitFromPacket() 73 unique_ptr<MlmeConnectEvent> MlmeConnectEvent::InitFromPacket( in InitFromPacket() 78 unique_ptr<MlmeConnectEvent> connect_event(new MlmeConnectEvent()); in InitFromPacket() 95 unique_ptr<MlmeRoamEvent> MlmeRoamEvent::InitFromPacket( in InitFromPacket() 100 unique_ptr<MlmeRoamEvent> roam_event(new MlmeRoamEvent()); in InitFromPacket() 110 unique_ptr<MlmeDisconnectEvent> MlmeDisconnectEvent::InitFromPacket( in InitFromPacket() 115 unique_ptr<MlmeDisconnectEvent> disconnect_event(new MlmeDisconnectEvent()); in InitFromPacket() 124 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;
|
D | netlink_manager.h | 149 std::function<void(std::unique_ptr<const NL80211Packet>)> handler); 155 std::vector<std::unique_ptr<const NL80211Packet>>* response); 163 std::unique_ptr<const NL80211Packet>* response); 173 std::unique_ptr<const NL80211Packet>* response); 281 void BroadcastHandler(std::unique_ptr<const NL80211Packet> packet); 282 void OnRegChangeEvent(std::unique_ptr<const NL80211Packet> packet); 283 void OnMlmeEvent(std::unique_ptr<const NL80211Packet> packet); 284 void OnScanResultsReady(std::unique_ptr<const NL80211Packet> packet); 285 void OnSchedScanResultsReady(std::unique_ptr<const NL80211Packet> packet); 286 void OnChannelSwitchEvent(std::unique_ptr<const NL80211Packet> packet); [all …]
|
/system/update_engine/ |
D | real_system_state.h | 137 std::unique_ptr<org::chromium::KioskAppServiceInterfaceProxy> 142 std::unique_ptr<PowerManagerInterface> power_manager_; 145 std::unique_ptr<DlcServiceInterface> dlcservice_; 148 std::unique_ptr<BootControlInterface> boot_control_; 158 std::unique_ptr<ConnectionManagerInterface> connection_manager_; 161 std::unique_ptr<HardwareInterface> hardware_; 167 std::unique_ptr<PrefsInterface> prefs_; 170 std::unique_ptr<PrefsInterface> powerwash_safe_prefs_; 178 std::unique_ptr<CertificateChecker> certificate_checker_; 181 std::unique_ptr<UpdateAttempter> update_attempter_; [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/bt/gd/packet/ |
D | packet_builder_unittest.cc | 63 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket() 64 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() 113 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket() 114 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() 143 virtual const std::unique_ptr<std::vector<uint8_t>> FinalPacket() { in FinalPacket() 144 std::unique_ptr<std::vector<uint8_t>> packet = std::make_unique<std::vector<uint8_t>>(); in FinalPacket() 202 static std::unique_ptr<NestedBuilder> Create(uint8_t level) { in Create() 203 return std::unique_ptr<NestedBuilder>(new NestedBuilder(level)); in Create() 206 …static std::unique_ptr<NestedBuilder> CreateNested(std::unique_ptr<BasePacketBuilder> payload, uin… in CreateNested() 207 return std::unique_ptr<NestedBuilder>(new NestedBuilder(std::move(payload), level)); in CreateNested() [all …]
|
/system/bt/osi/test/ |
D | config_test.cc | 91 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 101 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 117 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 138 std::unique_ptr<config_t> config = config_new_empty(); in TEST_F() 143 std::unique_ptr<config_t> config = config_new("/meow"); in TEST_F() 148 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 153 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 154 std::unique_ptr<config_t> clone = config_new_clone(*config); in TEST_F() 168 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 173 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.h | 44 std::unique_ptr<ISnapshotManager> snapshot; 72 std::unique_ptr<AutoMemBasedDir> fake_root_; 73 std::unique_ptr<android::dm::LoopControl> loop_control_; 75 std::unique_ptr<AutoDevice> auto_delete_data_mount_point_; 76 std::unique_ptr<AutoDevice> mapped_super_; 78 std::unique_ptr<AutoDevice> mapped_data_; 80 std::unique_ptr<AutoDevice> mounted_data_; 82 static std::unique_ptr<android::fiemap::IImageManager> CheckCreateFakeImageManager( 84 static std::unique_ptr<AutoDevice> CheckMapImage(const std::string& fake_persist_path, 88 static std::unique_ptr<AutoDevice> CheckMountFormatData(const std::string& blk_device, [all …]
|
/system/core/libunwindstack/ |
D | DexFile.cpp | 51 std::unique_ptr<DexFile> DexFile::Create(uint64_t dex_file_offset_in_memory, Memory* memory, in Create() 62 std::unique_ptr<art_api::dex::DexFile> art_dex_file = DexFile::OpenFromMemory( in Create() 65 return std::unique_ptr<DexFile>(new DexFile(art_dex_file)); in Create() 70 std::unique_ptr<DexFile> dex_file = in Create() 90 std::unique_ptr<DexFileFromFile> DexFileFromFile::Create(uint64_t dex_file_offset_in_file, in Create() 102 std::unique_ptr<art_api::dex::DexFile> art_dex_file = in Create() 108 return std::unique_ptr<DexFileFromFile>(new DexFileFromFile(art_dex_file)); in Create() 111 std::unique_ptr<DexFileFromMemory> DexFileFromMemory::Create(uint64_t dex_file_offset_in_memory, in Create() 123 std::unique_ptr<art_api::dex::DexFile> art_dex_file = in Create() 130 return std::unique_ptr<DexFileFromMemory>( in Create()
|
D | DexFile.h | 38 static std::unique_ptr<DexFile> Create(uint64_t dex_file_offset_in_memory, Memory* memory, 42 DexFile(std::unique_ptr<art_api::dex::DexFile>& art_dex_file) in DexFile() 48 static std::unique_ptr<DexFileFromFile> Create(uint64_t dex_file_offset_in_file, 52 DexFileFromFile(std::unique_ptr<art_api::dex::DexFile>& art_dex_file) : DexFile(art_dex_file) {} in DexFileFromFile() 57 static std::unique_ptr<DexFileFromMemory> Create(uint64_t dex_file_offset_in_memory, 62 DexFileFromMemory(std::unique_ptr<art_api::dex::DexFile>& art_dex_file, in DexFileFromMemory()
|
/system/extras/simpleperf/ |
D | callchain.h | 35 std::vector<std::unique_ptr<CallChainNode>> children; 45 std::vector<std::unique_ptr<NodeT>> children; 55 std::unique_ptr<NodeT> new_node = AllocateNode(callchain, 0, period, 0); in AddCallChain() 83 std::unique_ptr<NodeT> new_node = in AddCallChain() 91 std::queue<std::vector<std::unique_ptr<NodeT>>*> queue; in SortByPeriod() 94 std::vector<std::unique_ptr<NodeT>>* v = queue.front(); in SortByPeriod() 107 const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode() 131 std::unique_ptr<NodeT> child = AllocateNode( in SplitNode() 141 std::unique_ptr<NodeT> AllocateNode(const std::vector<EntryT*>& chain, in AllocateNode() 144 std::unique_ptr<NodeT> node(new NodeT); in AllocateNode() [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 …]
|
/system/bt/packet/avrcp/ |
D | register_notification_packet.cc | 73 std::unique_ptr<RegisterNotificationResponseBuilder> 76 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakePlaybackStatusBuilder() 84 std::unique_ptr<RegisterNotificationResponseBuilder> 87 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeTrackChangedBuilder() 94 std::unique_ptr<RegisterNotificationResponseBuilder> 97 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakePlaybackPositionBuilder() 105 std::unique_ptr<RegisterNotificationResponseBuilder> 107 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeNowPlayingBuilder() 113 std::unique_ptr<RegisterNotificationResponseBuilder> 115 std::unique_ptr<RegisterNotificationResponseBuilder> builder( in MakeAvailablePlayersBuilder() [all …]
|
D | register_notification_packet.h | 62 static std::unique_ptr<RegisterNotificationResponseBuilder> 65 static std::unique_ptr<RegisterNotificationResponseBuilder> 68 static std::unique_ptr<RegisterNotificationResponseBuilder> 71 static std::unique_ptr<RegisterNotificationResponseBuilder> 74 static std::unique_ptr<RegisterNotificationResponseBuilder> 77 static std::unique_ptr<RegisterNotificationResponseBuilder> 81 static std::unique_ptr<RegisterNotificationResponseBuilder> 137 static std::unique_ptr<RegisterNotificationRequestBuilder> MakeBuilder(
|
/system/bt/gd/security/test/ |
D | fake_hci_layer.h | 36 PacketView<kLittleEndian> GetPacketView(std::unique_ptr<packet::BasePacketBuilder> packet) { in GetPacketView() 46 CommandQueueEntry(std::unique_ptr<CommandPacketBuilder> command_packet, in CommandQueueEntry() 50 CommandQueueEntry(std::unique_ptr<CommandPacketBuilder> command_packet, in CommandQueueEntry() 54 std::unique_ptr<CommandPacketBuilder> command; 64 void EnqueueCommand(std::unique_ptr<CommandPacketBuilder> command, in EnqueueCommand() 70 void EnqueueCommand(std::unique_ptr<CommandPacketBuilder> command, in EnqueueCommand() 76 std::unique_ptr<CommandQueueEntry> GetLastCommand() { in GetLastCommand() 92 void IncomingEvent(std::unique_ptr<EventPacketBuilder> event_builder) { in IncomingEvent() 107 std::queue<std::unique_ptr<CommandQueueEntry>> command_queue_;
|
/system/connectivity/wifilogd/ |
D | main_loop.h | 35 MainLoop(const std::string& socket_name, std::unique_ptr<Os> os, 36 std::unique_ptr<CommandProcessor> command_processor); 44 std::unique_ptr<Os> os_; 45 std::unique_ptr<CommandProcessor> command_processor_;
|