/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | dual_mode_controller.h | 98 void Inquiry(CommandView command); 101 void InquiryCancel(CommandView command); 104 void CreateConnection(CommandView command); 107 void Disconnect(CommandView command); 110 void AddScoConnection(CommandView command); 113 void CreateConnectionCancel(CommandView command); 116 void AcceptConnectionRequest(CommandView command); 119 void RejectConnectionRequest(CommandView command); 122 void ChangeConnectionPacketType(CommandView command); 125 void ChangeConnectionLinkKey(CommandView command); [all …]
|
D | dual_mode_controller.cc | 76 void DualModeController::ForwardToLm(CommandView command) { in ForwardToLm() argument 77 link_layer_controller_.ForwardToLm(command); in ForwardToLm() 80 void DualModeController::SniffSubrating(CommandView command) { in SniffSubrating() argument 81 auto command_view = bluetooth::hci::SniffSubratingView::Create(command); in SniffSubrating() 280 void DualModeController::Reset(CommandView command) { in Reset() argument 281 auto command_view = bluetooth::hci::ResetView::Create(command); in Reset() 293 void DualModeController::ReadBufferSize(CommandView command) { in ReadBufferSize() argument 294 auto command_view = bluetooth::hci::ReadBufferSizeView::Create(command); in ReadBufferSize() 304 void DualModeController::ReadRssi(CommandView command) { in ReadRssi() argument 305 auto command_view = bluetooth::hci::ReadRssiView::Create(command); in ReadRssi() [all …]
|
/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
D | ClientInterfaceTest.cc | 134 proto::ConfigurationCommand command; in TEST_F() local 139 .WillRepeatedly(DoAll(SaveArg<0>(&command), Return(Status::SUCCESS))); in TEST_F() 148 EXPECT_EQ(command.has_set_input_source(), true); in TEST_F() 149 EXPECT_EQ(command.set_input_source().source_id(), 1); in TEST_F() 153 EXPECT_EQ(command.has_set_offload_offload(), true); in TEST_F() 154 EXPECT_EQ(command.set_offload_offload().offload_option_id(), 5); in TEST_F() 158 EXPECT_EQ(command.has_set_termination_option(), true); in TEST_F() 159 EXPECT_EQ(command.set_termination_option().termination_option_id(), 3); in TEST_F() 164 EXPECT_EQ(command.has_set_output_stream(), true); in TEST_F() 165 EXPECT_EQ(command.set_output_stream().stream_id(), 0); in TEST_F() [all …]
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | Session2CommandGroup.java | 75 for (Parcelable command : commands) { in Session2CommandGroup() 76 mCommands.add((Session2Command) command); in Session2CommandGroup() 86 public boolean hasCommand(@NonNull Session2Command command) { in hasCommand() argument 87 if (command == null) { in hasCommand() 90 return mCommands.contains(command); in hasCommand() 103 for (Session2Command command : mCommands) { in hasCommand() 104 if (command.getCommandCode() == commandCode) { in hasCommand() 165 public Builder addCommand(@NonNull Session2Command command) { in addCommand() argument 166 if (command == null) { in addCommand() 169 mCommands.add(command); in addCommand() [all …]
|
/packages/apps/SecureElement/src/com/android/se/ |
D | Channel.java | 115 public byte[] transmit(byte[] command) throws IOException { in transmit() argument 119 if (command == null) { in transmit() 130 CommandApduValidator.execute(command); in transmit() 132 if (((command[0] & (byte) 0x80) == 0) in transmit() 133 && ((command[0] & (byte) 0x60) != (byte) 0x20)) { in transmit() 135 if (command[1] == (byte) 0x70) { in transmit() 138 if ((command[1] == (byte) 0xA4) && (command[2] == (byte) 0x04)) { in transmit() 147 checkCommand(command); in transmit() 150 command[0] = setChannelToClassByte(command[0], mChannelNumber); in transmit() 151 return mTerminal.transmit(command); in transmit() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/acl_manager/ |
D | le_acl_connection_test.cc | 98 std::unique_ptr<hci::AclCommandBuilder> command, in EnqueueCommand() argument 101 command_queue_.push(std::move(command)); in EnqueueCommand() 111 std::unique_ptr<hci::AclCommandBuilder> command, in EnqueueCommand() argument 114 command_queue_.push(std::move(command)); in EnqueueCommand() 134 auto command = DequeueCommand(); in DequeueCommandBytes() local 137 command->Serialize(bi); in DequeueCommandBytes() 214 …auto command = CreateAclCommandView<LeSubrateRequestView>(le_acl_connection_interface_.DequeueComm… in TEST_F() local 215 ASSERT_TRUE(command.IsValid()); in TEST_F() 216 ASSERT_EQ(kIntervalMin, command.GetSubrateMin()); in TEST_F() 217 ASSERT_EQ(kIntervalMax, command.GetSubrateMax()); in TEST_F() [all …]
|
D | le_impl_test.cc | 247 …std::unique_ptr<T> command, common::ContextualOnceCallback<void(CommandCompleteView)> on_complete)… in EnqueueCommand() argument 248 hci_.EnqueueCommand(std::move(command), std::move(on_complete)); in EnqueueCommand() 252 …std::unique_ptr<T> command, common::ContextualOnceCallback<void(CommandStatusView)> on_status) ove… in EnqueueCommand() argument 253 hci_.EnqueueCommand(std::move(command), std::move(on_status)); in EnqueueCommand() 259 std::unique_ptr<CommandBuilder> command, in EnqueueCommand() argument 262 command_queue_.push(std::move(command)); in EnqueueCommand() 272 std::unique_ptr<CommandBuilder> command, in EnqueueCommand() argument 275 command_queue_.push(std::move(command)); in EnqueueCommand() 293 auto command = DequeueCommand(); in DequeueCommandBytes() local 296 command->Serialize(bi); in DequeueCommandBytes() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/ |
D | pcap_filter.cc | 62 auto command = CommandView::Create(create_packet_view(packet)); in FilterHciCommand() local 63 ASSERT(command.IsValid()); in FilterHciCommand() 64 switch (command.GetOpCode()) { in FilterHciCommand() 66 return FilterWriteLocalName(command); in FilterHciCommand() 68 return FilterWriteExtendedInquiryResponse(command); in FilterHciCommand() 70 return FilterLeSetAdvertisingData(command); in FilterHciCommand() 72 return FilterLeSetScanResponseData(command); in FilterHciCommand() 74 return FilterLeSetExtendedAdvertisingData(command); in FilterHciCommand() 76 return FilterLeSetExtendedScanResponseData(command); in FilterHciCommand() 78 return FilterLeSetPeriodicAdvertisingData(command); in FilterHciCommand() [all …]
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | crosvm.rs | 518 let command = in trim_memory() localVariable 521 &VmRequest::BalloonCommand(command), in trim_memory() 687 let mut command = Command::new(CROSVM_PATH); in run_vm() localVariable 689 command in run_vm() 701 command.arg("--balloon-page-reporting"); in run_vm() 703 command.arg("--no-balloon"); in run_vm() 709 command.arg("--protected-vm-with-firmware").arg(pvmfw_path) in run_vm() 711 _ => command.arg("--protected-vm"), in run_vm() 719 command.arg("--swiotlb").arg(swiotlb_size_mib.to_string()); in run_vm() 723 command.arg("--unmap-guest-memory-on-fork"); in run_vm() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/ |
D | gatt_ble_scanner_shim.cc | 41 ApcfCommand ConvertApcfFromRust(const RustApcfCommand& command) { in ConvertApcfFromRust() argument 45 std::copy(command.name.begin(), command.name.end(), std::back_inserter(name)); in ConvertApcfFromRust() 46 std::copy(command.data.begin(), command.data.end(), std::back_inserter(data)); in ConvertApcfFromRust() 47 std::copy(command.data_mask.begin(), command.data_mask.end(), std::back_inserter(data_mask)); in ConvertApcfFromRust() 48 std::copy(command.irk.begin(), command.irk.end(), std::begin(irk)); in ConvertApcfFromRust() 49 std::copy(command.meta_data.begin(), command.meta_data.end(), std::back_inserter(meta_data)); in ConvertApcfFromRust() 52 .type = command.type_, in ConvertApcfFromRust() 53 .address = command.address, in ConvertApcfFromRust() 54 .addr_type = command.addr_type, in ConvertApcfFromRust() 55 .uuid = bluetooth::Uuid::From128BitBE(command.uuid.uu), in ConvertApcfFromRust() [all …]
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_address_manager.cc | 251 void LeAddressManager::push_command(Command command) { in push_command() argument 253 cached_commands_.push(std::move(command)); in push_command() 308 Command command = {CommandType::ROTATE_RANDOM_ADDRESS, RotateRandomAddressCommand{}}; in prepare_to_rotate() local 309 cached_commands_.push(std::move(command)); in prepare_to_rotate() 349 Command command = {CommandType::UPDATE_IRK, update_irk_command}; in prepare_to_update_irk() local 350 cached_commands_.push(std::move(command)); in prepare_to_update_irk() 358 void LeAddressManager::update_irk(UpdateIRKCommand command) { in update_irk() argument 359 rotation_irk_ = command.rotation_irk; in update_irk() 360 minimum_rotation_time_ = command.minimum_rotation_time; in update_irk() 361 maximum_rotation_time_ = command.maximum_rotation_time; in update_irk() [all …]
|
D | controller_test.cc | 72 std::unique_ptr<CommandBuilder> command, in EnqueueCommand() argument 75 …&TestHciLayer::HandleCommand, common::Unretained(this), std::move(command), std::move(on_complete)… in EnqueueCommand() 79 std::unique_ptr<CommandBuilder> command, in EnqueueCommand() argument 88 CommandView command = CommandView::Create(packet_view); in HandleCommand() local 89 ASSERT_TRUE(command.IsValid()); in HandleCommand() 93 switch (command.GetOpCode()) { in HandleCommand() 120 ReadLocalExtendedFeaturesView read_command = ReadLocalExtendedFeaturesView::Create(command); in HandleCommand() 191 auto view = SetEventMaskView::Create(command); in HandleCommand() 197 auto view = LeSetEventMaskView::Create(command); in HandleCommand() 204 auto view = LeRandView::Create(LeSecurityCommandView::Create(command)); in HandleCommand() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/ |
D | BrowserUri.java | 17 package com.android.server.wifi.hotspot2.soap.command; 33 private BrowserUri(PropertyInfo command) { in BrowserUri() argument 34 mUri = command.getValue().toString(); in BrowserUri() 43 public static BrowserUri createInstance(PropertyInfo command) { in createInstance() argument 44 if (!TextUtils.equals(command.getName(), "launchBrowserToURI")) { in createInstance() 45 Log.e(TAG, "received wrong command : " + ((command == null) ? "" : command.getName())); in createInstance() 48 return new BrowserUri(command); in createInstance()
|
D | PpsMoData.java | 17 package com.android.server.wifi.hotspot2.soap.command; 59 public static PpsMoData createInstance(@NonNull PropertyInfo command) { in createInstance() argument 60 if (command == null || command.getValue() == null) { in createInstance() 65 if (!TextUtils.equals(command.getName(), ADD_MO_COMMAND)) { in createInstance() 70 if (!(command.getValue() instanceof SoapPrimitive)) { in createInstance() 75 SoapPrimitive soapObject = (SoapPrimitive) command.getValue(); in createInstance()
|
/packages/modules/adb/daemon/ |
D | shell_service_test.cpp | 50 void StartTestSubprocess(const char* command, SubprocessType type, 54 void StartTestCommandInProcess(std::string name, Command command, SubprocessProtocol protocol); 66 const char* command, SubprocessType type, SubprocessProtocol protocol) { in StartTestSubprocess() argument 67 command_fd_ = StartSubprocess(command, nullptr, type, protocol); in StartTestSubprocess() 74 void ShellServiceTest::StartTestCommandInProcess(std::string name, Command command, in StartTestCommandInProcess() argument 76 command_fd_ = StartCommandInProcess(std::move(name), std::move(command), protocol); in StartTestCommandInProcess() 140 for (std::string command : commands) { in TEST_F() local 142 command.push_back('\n'); in TEST_F() 143 memcpy(protocol->data(), command.data(), command.length()); in TEST_F() 144 ASSERT_TRUE(protocol->Write(ShellProtocol::kIdStdin, command.length())); in TEST_F() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/include/hci/ |
D | pcap_filter.h | 56 bluetooth::hci::CommandView& command); 58 bluetooth::hci::CommandView& command); 60 bluetooth::hci::CommandView& command); 62 bluetooth::hci::CommandView& command); 64 bluetooth::hci::CommandView& command); 66 bluetooth::hci::CommandView& command); 68 bluetooth::hci::CommandView& command); 70 bluetooth::hci::LeMultiAdvtView& command); 72 bluetooth::hci::LeMultiAdvtView& command);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ProviderExecutor.java | 86 public void execute(Runnable command) { 87 assert(command != null); 88 mQueue.add(command); 93 public void execute(Runnable command) { in execute() argument 95 assert(command != null); in execute() 96 mQueue.add(command); in execute() 103 final Runnable command = mQueue.take(); in run() local 104 command.run(); in run()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/ |
D | manager.rs | 43 fn ingest_hci(&self, command: hci::CommandPacket) { in ingest_hci() 44 assert!(self.hci.replace(Some(command)).is_none(), "HCI flow control violation"); in ingest_hci() 48 let command = self.hci.take(); in poll_hci_command() localVariable 50 if let Some(command) = command.clone().and_then(|c| c.try_into().ok()) { in poll_hci_command() 51 Poll::Ready(command) in poll_hci_command() 53 self.hci.set(command); in poll_hci_command() 120 command: &hci::CommandPacket, in send_command_complete_event() 127 let event: hci::EventPacket = match command.specialize() { in send_command_complete_event() 232 pub fn ingest_hci(&self, command: hci::CommandPacket) -> Result<(), LinkManagerError> { in ingest_hci() 234 let link = hci::command_connection_handle(&command) in ingest_hci() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TestScheduledExecutorService.java | 187 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 190 mScheduledRunnables.put(scheduledTime, command); in schedule() 192 Log.i(TAG, "schedule: runnable=" + System.identityHashCode(command) + ", time=" in schedule() 195 return new TestScheduledExecutorService.CompletedFuture<Runnable>(command, delay); in schedule() 204 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() argument 206 return scheduleWithFixedDelay(command, initialDelay, period, unit); in scheduleAtFixedRate() 210 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() argument 214 mScheduledRunnables.put(nextScheduledTime, command); in scheduleWithFixedDelay() 215 mRepeatDuration.put(command, unit.toMillis(delay)); in scheduleWithFixedDelay() 217 return new TestScheduledExecutorService.CompletedFuture<Runnable>(command, delay); in scheduleWithFixedDelay() [all …]
|
/packages/modules/adb/ |
D | sockets.cpp | 491 p->msg.command = A_WRTE; in remote_socket_enqueue() 510 p->msg.command = A_OKAY; in remote_socket_ready() 520 p->msg.command = A_CLSE; in remote_socket_shutdown() 571 p->msg.command = A_OPEN; in connect_to_remote() 669 std::string_view command = full_service; in parse_host_service() local 671 auto consume = [&full_service, &serial, &command](size_t count) { in parse_host_service() 672 CHECK_LE(count, command.size()); in parse_host_service() 674 CHECK_EQ(serial.data() + serial.size(), command.data()); in parse_host_service() 678 command.remove_prefix(count); in parse_host_service() 682 auto finish = [out_serial, out_command, &serial, &command] { in parse_host_service() [all …]
|
/packages/modules/Bluetooth/system/gd/neighbor/ |
D | inquiry_test.cc | 88 std::unique_ptr<hci::CommandBuilder> command, in EnqueueCommand() argument 91 …&TestHciLayer::HandleCommand, common::Unretained(this), std::move(command), std::move(on_complete)… in EnqueueCommand() 95 std::unique_ptr<hci::CommandBuilder> command, in EnqueueCommand() argument 98 … &TestHciLayer::HandleStatus, common::Unretained(this), std::move(command), std::move(on_status))); in EnqueueCommand() 104 hci::CommandView command = hci::CommandView::Create(GetPacketView(std::move(command_builder))); in HandleCommand() local 105 ASSERT_TRUE(command.IsValid()); in HandleCommand() 108 switch (command.GetOpCode()) { in HandleCommand() 116 … auto inquiry = hci::PeriodicInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() 137 auto view = hci::WriteInquiryModeView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() 152 … auto view = hci::WriteInquiryScanActivityView::Create(hci::DiscoveryCommandView::Create(command)); in HandleCommand() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
D | TestCommandReceiver.java | 37 public static Bundle callCommand(String command) { in callCommand() argument 38 return callCommand(command, null); in callCommand() 41 public static Bundle callCommand(String command, String arg) { in callCommand() argument 42 return callCommand(command, arg, null); in callCommand() 45 public static Bundle callCommand(String command, String arg, Bundle extras) { in callCommand() argument 48 return inst.getTargetContext().getContentResolver().call(uri, command, arg, extras); in callCommand()
|
/packages/modules/Bluetooth/framework/tests/stress/src/android/bluetooth/ |
D | BluetoothInstrumentation.java | 60 String command = mArgs.getString("command"); in onStart() local 61 if ("enable".equals(command)) { in onStart() 63 } else if ("disable".equals(command)) { in onStart() 65 } else if ("unpairAll".equals(command)) { in onStart() 67 } else if ("getName".equals(command)) { in onStart() 69 } else if ("getAddress".equals(command)) { in onStart() 71 } else if ("getBondedDevices".equals(command)) { in onStart()
|
/packages/services/Car/cpp/computepipe/runner/engine/ |
D | DefaultEngine.cpp | 88 Status DefaultEngine::processClientConfigUpdate(const proto::ConfigurationCommand& command) { in processClientConfigUpdate() argument 94 if (command.has_set_input_source()) { in processClientConfigUpdate() 96 mConfigBuilder.updateInputConfigOption(command.set_input_source().source_id()); in processClientConfigUpdate() 97 } else if (command.has_set_termination_option()) { in processClientConfigUpdate() 99 command.set_termination_option().termination_option_id()); in processClientConfigUpdate() 100 } else if (command.has_set_output_stream()) { in processClientConfigUpdate() 102 command.set_output_stream().stream_id(), in processClientConfigUpdate() 103 command.set_output_stream().max_inflight_packets_count()); in processClientConfigUpdate() 104 } else if (command.has_set_offload_offload()) { in processClientConfigUpdate() 106 mConfigBuilder.updateOffloadOption(command.set_offload_offload().offload_option_id()); in processClientConfigUpdate() [all …]
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestExecutorService.java | 203 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { in schedule() argument 206 command.run(); in schedule() 222 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, in scheduleAtFixedRate() argument 228 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, in scheduleWithFixedDelay() argument 234 public void execute(Runnable command) { in execute() argument 235 onExecute(command); in execute() 238 private void onExecute(Runnable command) { in onExecute() argument 240 mPendingRunnables.add(command); in onExecute() 242 command.run(); in onExecute()
|