Home
last modified time | relevance | path

Searched refs:CMD (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceArgParserTest.java28 private static final String CMD = "not-relevant-command not-relevant-sub-command"; field in CustomAudienceArgParserTest
35 customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND, "--hello", "world"}); in testParse_happyPath_success()
47 new String[] {CMD, SUB_COMMAND, "--hello", "world", "--another", "argument"}); in testParse_multipleArguments_success()
63 new String[] {CMD, SUB_COMMAND, "--another", "argument", "--hello", "world"}); in testParse_multipleArgumentsOutOfOrder_success()
77 customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND, "--hello", "world"}); in testParse_withRequired_success()
90 customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND, "--uri", uri}); in testParse_withUriArgument_success()
100 customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND}); in testParse_noExtraArguments_success()
112 CMD, SUB_COMMAND, "--hello", "world", "--hello", "world" in testParse_duplicateArguments_throwsException()
131 () -> customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND, ""})); in testParse_emptyArgument_throwsException()
140 () -> customAudienceArgParser.parse(new String[] {CMD, SUB_COMMAND, "--world"})); in testParse_emptyKey_throwsException()
[all …]
DCustomAudienceShellCommandFactoryTest.java48 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceViewCommand.CMD); in test_viewCmd()
54 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceListCommand.CMD); in test_listCmd()
60 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceRefreshCommand.CMD); in test_refreshCmd()
87 ShellCommand shellCommand = mFactory.getShellCommand(CustomAudienceListCommand.CMD); in test_cliDisabled()
DCustomAudienceViewCommandTest.java72 CustomAudienceViewCommand.CMD, in testRun_missingArgument_returnsHelp()
155 .isEqualTo(CustomAudienceViewCommand.CMD); in test_getCommandName()
168 CustomAudienceViewCommand.CMD, in runCommandAndGetResult()
DCustomAudienceListCommandTest.java122 CustomAudienceListCommand.CMD, in testRun_missingArgument_returnsGenericError()
175 .isEqualTo(CustomAudienceListCommand.CMD); in test_getCommandName()
188 CustomAudienceListCommand.CMD, in runCommandAndGetResult()
DCustomAudienceRefreshCommandTest.java227 .isEqualTo(CustomAudienceRefreshCommand.CMD); in test_getCommandName()
250 CustomAudienceRefreshCommand.CMD, in runRefreshCustomAudienceCommand()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/
DConsentedDebugShellCommandTest.java24 import static com.android.adservices.service.shell.adselection.ConsentedDebugShellCommand.CMD;
85 CMD); in test_noSubCommand_failure()
95 CMD, in test_unknownSubCommand_failure()
136 CMD, in test_enableConsentedDebugging_emptyDebugToken()
153 CMD, in test_enableConsentedDebugging_invalidDebugTokenLength()
172 CMD, in test_enableConsentedDebugging_invalidExpiry()
191 CMD, in test_enableConsentedDebugging_expiryGreaterThan30Days()
210 CMD, in test_enableConsentedDebugging_invalidArgs()
257 CMD, in test_disableConsentedDebugging_invalidArgs()
285 CMD, in test_view_invalidArgs()
[all …]
DAdSelectionShellCommandFactoryTest.java55 ShellCommand shellCommand = mFactory.getShellCommand(ConsentedDebugShellCommand.CMD); in test_consentedDebugCmd()
61 ShellCommand shellCommand = mFactory.getShellCommand(GetAdSelectionDataCommand.CMD); in test_GetAdSelectionDataCmd()
74 ShellCommand shellCommand = mFactory.getShellCommand(ConsentedDebugShellCommand.CMD); in test_consentedDebugCmdDisabled()
87 ShellCommand shellCommand = mFactory.getShellCommand(GetAdSelectionDataCommand.CMD); in test_GetAdSelectionDataCmdDisabled()
DGetAdSelectionDataCommandTest.java67 GetAdSelectionDataCommand.CMD); in testRun_missingBothArguments_returnsHelp()
77 GetAdSelectionDataCommand.CMD); in testRun_missingBuyerArgument_returnsHelp()
90 GetAdSelectionDataCommand.CMD, in testRun_withUnknownBuyer_throwsException()
116 GetAdSelectionDataCommand.CMD, in testRun_withAllArguments_returnsSuccess()
DMockAuctionResultCommandTest.java38 MockAuctionResultCommand.CMD); in testRun_missingArguments_returnsHelp()
48 MockAuctionResultCommand.CMD, in testRun_withAllArguments_returnsSuccess()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/adselection/
DMockAuctionResultCommand.java37 @VisibleForTesting public static final String CMD = "mock_auction_result"; field in MockAuctionResultCommand
42 + CMD
69 return CMD; in getCommandName()
DAdSelectionShellCommandFactory.java136 case ConsentedDebugShellCommand.CMD -> { in getShellCommand()
145 case GetAdSelectionDataCommand.CMD, MockAuctionResultCommand.CMD -> { in getShellCommand()
DGetAdSelectionDataCommand.java54 @VisibleForTesting public static final String CMD = "get-ad-selection-data"; field in GetAdSelectionDataCommand
71 + CMD
183 return CMD; in getCommandName()
DConsentedDebugShellCommand.java53 @VisibleForTesting public static final String CMD = "consented-debug"; field in ConsentedDebugShellCommand
100 + CMD
196 return CMD; in getCommandName()
/packages/apps/Car/RadioPrebuilt/
Dupdate_prebuilt.sh19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2"
21 $CMD $2 $2
/packages/apps/Car/DialerPrebuilt/
Dupdate_prebuilt.sh19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2"
21 $CMD $2 $2
/packages/apps/Car/MessengerPrebuilt/
Dupdate_prebuilt.sh19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2"
21 $CMD $2 $2
/packages/apps/Car/MediaPrebuilt/
Dupdate_prebuilt.sh19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2"
21 $CMD $2 $3
/packages/apps/Car/CalendarPrebuilt/
Dupdate_prebuilt.sh19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2"
21 $CMD $2 $2
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommand.java50 @VisibleForTesting public static final String CMD = "generate-input-for-encoding"; field in GenerateInputForEncodingCommand
55 + CMD
115 return CMD; in getCommandName()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/customaudience/
DCustomAudienceListCommand.java47 @VisibleForTesting public static final String CMD = "list"; field in CustomAudienceListCommand
53 + CMD
73 return CMD; in getCommandName()
DCustomAudienceViewCommand.java42 @VisibleForTesting public static final String CMD = "view"; field in CustomAudienceViewCommand
46 + CMD
74 return CMD; in getCommandName()
DCustomAudienceRefreshCommand.java47 public static final String CMD = "refresh"; field in CustomAudienceRefreshCommand
51 + CMD
150 return CMD; in getCommandName()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/
DSignalsShellCommandFactoryTest.java44 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_generateInputCmd()
69 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_cliDisabled()
DGenerateInputForEncodingCommandTest.java141 GenerateInputForEncodingCommand.CMD); in testRun_withoutBuyerParam_throwsException()
154 GenerateInputForEncodingCommand.CMD, in runCommandAndGetResult()
/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Dffi.cc31 CMD = 1, enumerator
93 case hci::Idc::CMD: in ffi_controller_receive_hci()

12