/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/ |
D | CustomAudienceArgParserTest.java | 28 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 …]
|
D | CustomAudienceShellCommandFactoryTest.java | 48 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()
|
D | CustomAudienceViewCommandTest.java | 72 CustomAudienceViewCommand.CMD, in testRun_missingArgument_returnsHelp() 155 .isEqualTo(CustomAudienceViewCommand.CMD); in test_getCommandName() 168 CustomAudienceViewCommand.CMD, in runCommandAndGetResult()
|
D | CustomAudienceListCommandTest.java | 122 CustomAudienceListCommand.CMD, in testRun_missingArgument_returnsGenericError() 175 .isEqualTo(CustomAudienceListCommand.CMD); in test_getCommandName() 188 CustomAudienceListCommand.CMD, in runCommandAndGetResult()
|
D | CustomAudienceRefreshCommandTest.java | 227 .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/ |
D | ConsentedDebugShellCommandTest.java | 24 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 …]
|
D | AdSelectionShellCommandFactoryTest.java | 55 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()
|
D | GetAdSelectionDataCommandTest.java | 67 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()
|
D | MockAuctionResultCommandTest.java | 38 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/ |
D | MockAuctionResultCommand.java | 37 @VisibleForTesting public static final String CMD = "mock_auction_result"; field in MockAuctionResultCommand 42 + CMD 69 return CMD; in getCommandName()
|
D | AdSelectionShellCommandFactory.java | 136 case ConsentedDebugShellCommand.CMD -> { in getShellCommand() 145 case GetAdSelectionDataCommand.CMD, MockAuctionResultCommand.CMD -> { in getShellCommand()
|
D | GetAdSelectionDataCommand.java | 54 @VisibleForTesting public static final String CMD = "get-ad-selection-data"; field in GetAdSelectionDataCommand 71 + CMD 183 return CMD; in getCommandName()
|
D | ConsentedDebugShellCommand.java | 53 @VisibleForTesting public static final String CMD = "consented-debug"; field in ConsentedDebugShellCommand 100 + CMD 196 return CMD; in getCommandName()
|
/packages/apps/Car/RadioPrebuilt/ |
D | update_prebuilt.sh | 19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2" 21 $CMD $2 $2
|
/packages/apps/Car/DialerPrebuilt/ |
D | update_prebuilt.sh | 19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2" 21 $CMD $2 $2
|
/packages/apps/Car/MessengerPrebuilt/ |
D | update_prebuilt.sh | 19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2" 21 $CMD $2 $2
|
/packages/apps/Car/MediaPrebuilt/ |
D | update_prebuilt.sh | 19 CMD="fetch_artifact --bid $1 --target $TARGET --use_oauth2" 21 $CMD $2 $3
|
/packages/apps/Car/CalendarPrebuilt/ |
D | update_prebuilt.sh | 19 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/ |
D | GenerateInputForEncodingCommand.java | 50 @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/ |
D | CustomAudienceListCommand.java | 47 @VisibleForTesting public static final String CMD = "list"; field in CustomAudienceListCommand 53 + CMD 73 return CMD; in getCommandName()
|
D | CustomAudienceViewCommand.java | 42 @VisibleForTesting public static final String CMD = "view"; field in CustomAudienceViewCommand 46 + CMD 74 return CMD; in getCommandName()
|
D | CustomAudienceRefreshCommand.java | 47 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/ |
D | SignalsShellCommandFactoryTest.java | 44 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_generateInputCmd() 69 ShellCommand shellCommand = mFactory.getShellCommand(GenerateInputForEncodingCommand.CMD); in test_cliDisabled()
|
D | GenerateInputForEncodingCommandTest.java | 141 GenerateInputForEncodingCommand.CMD); in testRun_withoutBuyerParam_throwsException() 154 GenerateInputForEncodingCommand.CMD, in runCommandAndGetResult()
|
/packages/modules/Bluetooth/tools/rootcanal/model/controller/ |
D | ffi.cc | 31 CMD = 1, enumerator 93 case hci::Idc::CMD: in ffi_controller_receive_hci()
|