/aosp12/system/vold/bench/inodeop_bench/ |
H A D | inodeop_bench.cpp | 305 if (create_files(command.from_dir, command.n_file, command.from_basename)) in create_workload() 308 delete_files(command.from_dir, command.n_file, command.from_basename); in create_workload() 325 if (move_files(command.from_dir, command.to_dir, command.n_file, command.from_basename, in move_workload() 329 delete_files(command.to_dir, command.n_file, command.to_basename); in move_workload() 337 if (hardlink_files(command.from_dir, command.to_dir, command.n_file, command.from_basename, in hardlink_workload() 341 delete_files(command.from_dir, command.n_file, command.from_basename); in hardlink_workload() 342 delete_files(command.to_dir, command.n_file, command.to_basename); in hardlink_workload() 350 if (symlink_files(command.from_dir, command.to_dir, command.n_file, command.from_basename, in symlink_workload() 354 delete_files(command.to_dir, command.n_file, command.to_basename); in symlink_workload() 355 delete_files(command.from_dir, command.n_file, command.from_basename); in symlink_workload() [all …]
|
/aosp12/bootable/recovery/tests/unit/ |
H A D | commands_test.cpp | 173 ASSERT_TRUE(command); in TEST() 185 ASSERT_FALSE(command); in TEST() 197 ASSERT_TRUE(command); in TEST() 217 ASSERT_TRUE(command); in TEST() 233 ASSERT_TRUE(command); in TEST() 254 ASSERT_TRUE(command); in TEST() 276 ASSERT_TRUE(command); in TEST() 296 ASSERT_TRUE(command); in TEST() 312 ASSERT_TRUE(command); in TEST() 328 ASSERT_TRUE(command); in TEST() [all …]
|
/aosp12/art/runtime/ |
H A D | exec_utils_test.cc | 32 std::vector<std::string> command; in TEST_F() local 37 command.push_back("/usr/bin/id"); in TEST_F() 50 std::vector<std::string> command; in TEST_F() local 51 command.push_back("bogus"); in TEST_F() 65 std::vector<std::string> command; in TEST_F() local 72 command.push_back(kModifiedVariable); in TEST_F() 89 std::vector<std::string> command; in TEST_F() local 96 command.push_back(kDeletedVariable); in TEST_F() 107 std::vector<std::string> command; in SleepCommand() local 111 command.push_back("/bin/sleep"); in SleepCommand() [all …]
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
H A D | dual_mode_controller.cc | 688 CommandView command) { in UserConfirmationRequestNegativeReply() argument 785 CommandView command) { in RemoteOobDataRequestNegativeReply() argument 818 CommandView command) { in RemoteOobExtendedDataRequestReply() argument 835 CommandView command) { in ReadInquiryResponseTransmitPowerLevel() argument 921 CommandView command) { in WriteSecureConnectionsHostSupport() argument 1638 CommandView command) { in LeReadAdvertisingPhysicalChannelTxPower() argument 1658 gd_hci::OpCodeText(command.GetOpCode()).c_str(), command.size()); in LeSetAdvertisingData() 2313 CommandView command) { in LeSetExtendedAdvertisingRandomAddress() argument 2326 CommandView command) { in LeSetExtendedAdvertisingParameters() argument 2362 CommandView command) { in LeSetExtendedAdvertisingScanResponse() argument [all …]
|
/aosp12/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
H A D | ProtoLogTool.kt | 47 command.protoLogGroupsJarArg, 48 command.protoLogGroupsClassNameArg) 57 command.javaSourceArgs.map { path -> 95 command.protoLogImplClassNameArg, command.protoLogGroupsClassNameArg).toByteArray()) 150 command.protoLogGroupsJarArg, 159 command.javaSourceArgs.map { path -> 196 private fun read(command: CommandOptions) { 205 val command = CommandOptions(args) regex 206 invoke(command) 216 fun invoke(command: CommandOptions) { [all …]
|
/aosp12/system/logging/logcat/tests/ |
H A D | logcat_test.cpp | 789 snprintf(command, sizeof(command), comm, buf); in TEST() 822 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 880 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 900 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 908 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 939 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 949 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 959 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 1005 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() 1087 EXPECT_FALSE(IsFalse(system(command), command)); in TEST() [all …]
|
/aosp12/system/netd/server/ |
H A D | FwmarkServer.cpp | 102 FwmarkCommand command; in processClient() local 116 memcpy(&command, buf, sizeof(command)); in processClient() 119 size_t expectedLen = sizeof(command); in processClient() 134 return mNetworkController->checkUserNetworkAccess(command.uid, command.netId); in processClient() 138 return mTrafficCtrl->setCounterSet(command.trafficCtrlInfo, command.uid, client->getUid()); in processClient() 142 return mTrafficCtrl->deleteTagData(command.trafficCtrlInfo, command.uid, client->getUid()); in processClient() 170 switch (command.cmdId) { in processClient() 260 fwmark.netId = command.netId; in processClient() 261 if (command.netId == NETID_UNSET) { in processClient() 310 command.uid = client->getUid(); in processClient() [all …]
|
/aosp12/packages/services/Car/cpp/computepipe/tests/runner/client_interface/ |
H A D | ClientInterfaceTest.cc | 134 proto::ConfigurationCommand command; in TEST_F() local 173 proto::ConfigurationCommand command; in TEST_F() local 218 proto::ControlCommand command; in TEST_F() local 231 EXPECT_EQ(command.has_apply_configs(), true); in TEST_F() 235 EXPECT_EQ(command.has_reset_configs(), true); in TEST_F() 239 EXPECT_EQ(command.has_start_graph(), true); in TEST_F() 243 EXPECT_EQ(command.has_stop_graph(), true); in TEST_F() 250 proto::ControlCommand command; in TEST_F() local 275 EXPECT_EQ(command.has_start_graph(), true); in TEST_F() 280 EXPECT_EQ(command.has_stop_graph(), true); in TEST_F() [all …]
|
/aosp12/system/iorap/src/prefetcher/ |
H A D | prefetcher_daemon.cc | 124 switch (command.choice) { in operator <<() 147 switch (command.choice) { in operator <<() 151 if (command.file_path) { in operator <<() 177 if (command.file_path) { in operator <<() 1193 DCHECK(command.RequiresFd()) << command; in SendCommand() 1235 CHECK(command.file_path.has_value()) << command; in ReceiveCommand() 1236 return session->RegisterFilePath(command.id, *command.file_path); in ReceiveCommand() 1256 … return session->ReadAhead(command.id, command.read_ahead_kind, command.length, command.offset); in ReceiveCommand() 1269 CHECK(command.file_path.has_value()) << command; in ReceiveCommand() 1306 CHECK(command.file_path.has_value()) << command; in ReceiveCommand() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/ |
H A D | DemoModeController.kt | 59 DemoMode.COMMANDS.map { command -> 60 m.put(command, mutableListOf()) 91 commands.forEach { command -> 92 if (!receiverMap.containsKey(command)) { 97 receiverMap[command]!!.add(listener) 165 if (command == DemoMode.COMMAND_ENTER) { 174 receiverMap[command]!!.forEach { receiver -> 193 receiverMap.keys.forEach { command -> 194 pw.print(" $command : [") 233 if (command.length == 0) { [all …]
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyService.cpp | 1990 sendCommand(command); in setEffectSuspendedCommand() 2002 sendCommand(command); in stopOutputCommand() 2013 sendCommand(command); in releaseOutputCommand() 2056 sendCommand(command); in updateAudioPortListCommand() 2064 sendCommand(command); in updateUidStatesCommand() 2072 sendCommand(command); in updateAudioPatchListCommand() 2085 sendCommand(command); in changeAudioVolumeGroupCommand() 2112 sendCommand(command); in dynamicPolicyMixStateUpdateCommand() 2139 sendCommand(command); in recordingConfigurationUpdateCommand() 2146 sendCommand(command); in audioModulesUpdateCommand() [all …]
|
/aosp12/frameworks/base/apex/media/framework/java/android/media/ |
H A 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() 166 if (command == null) { in addCommand() 169 mCommands.add(command); in addCommand() 180 if (command == null) { in removeCommand() [all …]
|
/aosp12/frameworks/native/libs/binder/ |
H A D | RpcState.cpp | 363 RpcWireHeader command{ in transact() local 368 if (!rpcSend(fd, "transact header", &command, sizeof(command))) { in transact() 395 RpcWireHeader command; in waitForReply() local 397 if (!rpcRec(fd, "command header", &command, sizeof(command))) { in waitForReply() 401 if (command.command == RPC_COMMAND_REPLY) break; in waitForReply() 463 RpcWireHeader command; in getAndExecuteCommand() local 464 if (!rpcRec(fd, "command header", &command, sizeof(command))) { in getAndExecuteCommand() 473 switch (command.command) { in processServerCommand() 485 ALOGE("Unknown RPC command %d - terminating session", command.command); in processServerCommand() 491 LOG_ALWAYS_FATAL_IF(command.command != RPC_COMMAND_TRANSACT, "command: %d", command.command); in processTransact() [all …]
|
/aosp12/system/libufdt/utils/src/ |
H A D | mkdtimg.c | 34 const char *command; member 47 static const struct command_info *search_command(const char *command) { in search_command() argument 49 for (info = command_infos; info->command != NULL; info++) { in search_command() 50 if (strcmp(command, info->command) == 0) { in search_command() 54 if (info->command == NULL) { in search_command() 55 fprintf(stderr, "Unknown command: %s\n", command); in search_command() 63 for (info = command_infos; info->command != NULL; info++) { in print_all_commands() 67 fprintf(out_fp, "%s", info->command); in print_all_commands() 79 for (info = command_infos; info->command != NULL; info++) { in output_all_usage() 122 const char *command = argv[1]; in main() local [all …]
|
/aosp12/packages/apps/SecureElement/src/com/android/se/ |
H A 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() 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() 239 private void checkCommand(byte[] command) { in checkCommand() argument [all …]
|
/aosp12/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | Launcher.java | 76 Command command = findCommand(args[0]); in main() local 77 if (command != null) { in main() 83 command.run(args2); in main() 91 for (Command command : COMMANDS) { in findCommand() 92 if (command.name().equals(name)) { in findCommand() 93 return command; in findCommand() 104 for (Command command : COMMANDS) { 105 String shortHelp = command.shortHelp(); 106 String detailedOptions = command.detailedOptions(); 113 System.err.println(String.format("%s: %s", command.name(), shortHelp));
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
H A D | TransmitApduLogicalChannelInvocation.java | 48 protected void sendRequestMessage(ApduCommand command, Message msg) { in sendRequestMessage() argument 49 Rlog.v(LOG_TAG, "Send: " + command); in sendRequestMessage() 50 mCi.iccTransmitApduLogicalChannel(command.channel, command.cla | command.channel, in sendRequestMessage() 51 command.ins, command.p1, command.p2, command.p3, command.cmdHex, msg); in sendRequestMessage()
|
/aosp12/frameworks/base/tools/aapt2/cmd/ |
H A D | Command_test.cpp | 38 TestCommand command; in TEST() local 40 command.AddRequiredFlag("--rflag", "", &required_flag, Command::kPath); in TEST() 42 command.AddOptionalFlag("--oflag", "", &optional_flag, Command::kPath); in TEST() 44 command.AddRequiredFlagList("--rlflag", "", &required_flag_list, Command::kPath); in TEST() 46 command.AddOptionalFlagList("--olflag", "", &optional_flag_list, Command::kPath); in TEST() 48 command.AddRequiredFlag("--nflag", "", &non_path_flag); in TEST() 69 ASSERT_THAT(command.Execute({"--rflag", kLongPath, in TEST() 88 ASSERT_THAT(command.args_.size(), Eq(2)); in TEST() 89 ASSERT_THAT(command.args_[0], Eq(kExpected)); in TEST() 90 ASSERT_THAT(command.args_[1], Eq(kExpected)); in TEST()
|
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/ |
H A D | README.txt | 1 1 To run this suite separately(each test case creates table and delete table) use below command 2 - To execute test suite nt times with n entries, command "ipanatest sep nt n" 4 Example: To execute test suite 1 time with 100 entries, command "ipanattest sep 100" 7 2. To run test suite not separately(creates table and delete table only once) use below command 8 - To execute test suite nt times with n entries, command "ipanatest reg nt n" 10 Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32" 13 3. To run inotify regression test use command, "ipanattest inotify nt" 15 Example: To execute inotify 5 times, command "ipanattest inotify 5" 18 4. if we just give command "ipanattest", runs test suite 1 time with 100 entries (non separate)
|
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/ |
H A D | README.txt | 1 1 To run this suite separately(each test case creates table and delete table) use below command 2 - To execute test suite nt times with n entries, command "ipanatest sep nt n" 4 Example: To execute test suite 1 time with 100 entries, command "ipanattest sep 100" 7 2. To run test suite not separately(creates table and delete table only once) use below command 8 - To execute test suite nt times with n entries, command "ipanatest reg nt n" 10 Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32" 13 3. To run inotify regression test use command, "ipanattest inotify nt" 15 Example: To execute inotify 5 times, command "ipanattest inotify 5" 18 4. if we just give command "ipanattest", runs test suite 1 time with 100 entries (non separate)
|
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/ |
H A D | README.txt | 1 1 To run this suite separately(each test case creates table and delete table) use below command 2 - To execute test suite nt times with n entries, command "ipanatest sep nt n" 4 Example: To execute test suite 1 time with 100 entries, command "ipanattest sep 100" 7 2. To run test suite not separately(creates table and delete table only once) use below command 8 - To execute test suite nt times with n entries, command "ipanatest reg nt n" 10 Example: To execute test suite 5 times with 32 entries, command "ipanattest reg 5 32" 13 3. To run inotify regression test use command, "ipanattest inotify nt" 15 Example: To execute inotify 5 times, command "ipanattest inotify 5" 18 4. if we just give command "ipanattest", runs test suite 1 time with 100 entries (non separate)
|
/aosp12/art/tools/dexfuzz/src/dexfuzz/executors/ |
H A D | Device.java | 109 pb.command("adb", "devices"); in setup() 186 return executeCommand(command, captureOutput, null, null); in executeCommand() 189 public ExecutionResult executeCommand(String command, boolean captureOutput, in executeCommand() argument 194 Log.info("Executing: " + command); in executeCommand() 243 private List<String> splitCommand(String command) { in splitCommand() argument 245 Matcher m = Pattern.compile("(\'[^\']+\'| *[^ ]+ *)").matcher(command); in splitCommand() 251 private String getExecutionPrefixWithAdb(String command) { in getExecutionPrefixWithAdb() argument 253 return String.format("adb -s %s %s ", deviceName, command); in getExecutionPrefixWithAdb() 255 return String.format("adb %s ", command); in getExecutionPrefixWithAdb() 277 executeCommand(command, false); in cleanCodeCache() [all …]
|
/aosp12/system/netd/client/ |
H A D | NetdClient.cpp | 158 error = FwmarkClient().send(&command, sockfd, nullptr); in netdClientConnect() 179 FwmarkClient().send(&command, sockfd, &connectInfo); in netdClientConnect() 240 FwmarkClient().send(&command, sockfd, &sendtoInfo); in netdClientSendto() 479 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForSocket() 493 return FwmarkClient().send(&command, socketFd, nullptr); in protectFromVpn() 499 return FwmarkClient().send(&command, socketFd, nullptr); in setNetworkForUser() 504 return FwmarkClient().send(&command, -1, nullptr); in queryUserAccess() 510 return FwmarkClient().send(&command, socketFd, nullptr); in tagSocket() 516 return FwmarkClient().send(&command, socketFd, nullptr); in untagSocket() 521 return FwmarkClient().send(&command, -1, nullptr); in setCounterSet() [all …]
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/command/ |
H A 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()
|
/aosp12/packages/modules/Virtualization/virtmanager/src/ |
H A D | crosvm.rs | 127 let mut command = Command::new(CROSVM_PATH); in run_vm() localVariable 129 command.arg("run").arg("--disable-sandbox").arg("--cid").arg(cid.to_string()); in run_vm() 131 command.stdout(log_fd); in run_vm() 134 command.arg("--serial=type=sink"); in run_vm() 137 command.arg("--bios").arg(bootloader); in run_vm() 140 command.arg("--initrd").arg(initrd); in run_vm() 143 command.arg("--params").arg(params); in run_vm() 146 command.arg(if disk.writable { "--rwdisk" } else { "--disk" }).arg(&disk.image); in run_vm() 149 command.arg(kernel); in run_vm() 151 info!("Running {:?}", command); in run_vm() [all …]
|