Home
last modified time | relevance | path

Searched refs:COMMAND (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/updateprocessors/
DUpdateProcessorUtilsTest.java45 private static final String COMMAND = "put"; field in UpdateProcessorUtilsTest
54 JSONArray actual = castToJSONArray(COMMAND, expected); in testCastToJSONArraySuccess()
60 assertThrows(IllegalArgumentException.class, () -> castToJSONArray(COMMAND, new Object())); in testCastToJSONArrayFailure()
67 JSONObject actual = castToJSONObject(COMMAND, expected); in testCastToJSONObjectSuccess()
73 assertThrows(IllegalArgumentException.class, () -> castToJSONObject(COMMAND, new Object())); in testCastToJSONObjectFailure()
93 ByteBuffer decoded = decodeKey(COMMAND, key); in testDecodeKey()
101 assertThrows(IllegalArgumentException.class, () -> decodeKey(COMMAND, key)); in testDecodeKeyInvalidBase64()
107 assertThrows(IllegalArgumentException.class, () -> decodeKey(COMMAND, key)); in testDecodeKeyTooBig()
113 byte[] decoded = decodeValue(COMMAND, value); in testDecodeValue()
121 assertThrows(IllegalArgumentException.class, () -> decodeValue(COMMAND, value)); in testDecodeValueInvalidBase64()
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCompress.java39 public static final String COMMAND = "compress"; field in Compress.Compressor
46 return COMMAND + " <src_filename> <dst_filename>: " in getHelp()
53 throw new RuntimeException("Too many arguments for command " + COMMAND); in run()
68 public static final String COMMAND = "uncompress"; field in Compress.Uncompressor
75 return COMMAND + " <src_filename> <dst_filename>: " in getHelp()
82 throw new RuntimeException("Too many arguments for command " + COMMAND); in run()
DPackage.java34 public static final String COMMAND = "package"; field in Package.Packager
43 return COMMAND + " <src_filename> <dst_filename>: Package a file for distribution"; in getHelp()
49 throw new RuntimeException("Too many/too few arguments for command " + COMMAND); in run()
66 public static final String COMMAND = "unpackage"; field in Package.Unpackager
73 return COMMAND + " <src_filename> <dst_filename>: Detects how a file is packaged and\n" in getHelp()
80 throw new RuntimeException("Too many/too few arguments for command " + COMMAND); in run()
DCrypt.java38 public static final String COMMAND = "encrypt"; field in Crypt.Encrypter
45 return COMMAND + " <src_filename> <dst_filename>: Encrypts a file"; in getHelp()
55 public static final String COMMAND = "decrypt"; field in Crypt.Decrypter
62 return COMMAND + " <src_filename> <dst_filename>: Decrypts a file"; in getHelp()
DInfo.java29 public static final String COMMAND = "info"; field in Info
36 return COMMAND + " <filename>: prints various information about a dictionary file"; in getHelp()
86 throw new RuntimeException("Not enough arguments for command " + COMMAND); in run()
93 throw new RuntimeException("Wrong number of arguments for command " + COMMAND); in run()
DHeader.java27 public static final String COMMAND = "header"; field in Header
34 return COMMAND + " <filename>: prints the header contents of a dictionary file"; in getHelp()
47 throw new RuntimeException("Not enough arguments for command " + COMMAND); in run()
DDiff.java29 public static final String COMMAND = "diff"; field in Diff
36 return COMMAND + " [-p] <dict> <dict> : shows differences between two dictionaries.\n" in getHelp()
43 throw new RuntimeException("Not enough arguments for command " + COMMAND); in run()
50 throw new RuntimeException("Wrong number of arguments for command " + COMMAND); in run()
DMakedict.java25 public static final String COMMAND = "makedict"; field in Makedict
DTest.java45 public static final String COMMAND = "test"; field in Test
/packages/modules/adb/
Dadb.bash52 where=COMMAND
59 if [[ $where == COMMAND && $i -ge $COMP_CWORD ]]; then
64COMMAND="devices connect disconnect push pull sync shell emu logcat lolcat forward jdwp install un…
70 COMMAND+=" $WAIT_COMMAND"
77 COMPREPLY=( $(compgen -W "$OPTIONS $COMMAND" -- "$cur") )
82 COMMAND)
84 COMPREPLY=( $(compgen -W "$COMMAND" -- "$cur") )
219 COMMAND=$(command adb ${args[@]} shell ls $paths '2>' /dev/null | tr -d '\r' | {
225 COMPREPLY=( $(compgen -W "$COMMAND" -- "$cur") )
/packages/apps/Dialer/java/com/android/dialer/commandline/
DCommandLineReceiver.java37 public static final String COMMAND = "command"; field in CommandLineReceiver
56 .get(intent.getStringExtra(COMMAND)); in onReceive()
59 LogUtil.i(outputTag, "unknown command " + intent.getStringExtra(COMMAND)); in onReceive()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/
DTransportProviderTest.java153 mTransportProvider.sendData(MessageType.COMMAND, MESSAGE_PAYLOAD, mMockSendingDataCallback); in testSendData_succeed()
161 mTransportProvider.sendData(MessageType.COMMAND , MESSAGE_PAYLOAD, in testSendData_failed()
169 mTransportProvider.sendData(MessageType.COMMAND, MESSAGE_PAYLOAD, mMockSendingDataCallback); in testSendData_updateDestinationSecid()
175 MessageType.COMMAND, in testSendData_updateDestinationSecid()
235 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, MESSAGE_PAYLOAD)); in testOnMessageReceived_receiveInvalidAdminPacket()
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_parser.cc72 case PacketType::COMMAND: in OnPacketReady()
172 hci_packet_type_ != PacketType::COMMAND && in Consume()
181 hci_packet_type_ = PacketType::COMMAND; in Consume()
Dh4.h25 COMMAND = 1, enumerator
Dhci_socket_transport.cc34 packet_callback(PacketType::COMMAND, packet_copy); in RegisterCallbacks()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dh4_parser_unittest.cc43 type_ = PacketType::COMMAND; in __anon362f6ab60102()
124 PacketType::COMMAND, PacketType::EVENT, in TEST_F()
178 ASSERT_EQ(type_, PacketType::COMMAND); in TEST_F()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/
DFiraConnectorMessageTest.java91 testHeaderFromBytes((byte) 0x00, MessageType.COMMAND, InstructionCode.DATA_EXCHANGE); in fromBytes_succeed()
92 testHeaderFromBytes((byte) 0x01, MessageType.COMMAND, InstructionCode.ERROR_INDICATION); in fromBytes_succeed()
DAdminEventMessageTest.java65 MessageType.COMMAND, in testIsAdminEventMessage()
79 MessageType.COMMAND, in testIsAdminEventMessage()
DAdminErrorMessageTest.java75 MessageType.COMMAND, in testIsAdminErrorMessage()
89 MessageType.COMMAND, in testIsAdminErrorMessage()
/packages/modules/Bluetooth/system/tools/irk-calculator/
DREADME.mkdn11 irk-calculator --command <COMMAND> --irk <IRK> --address <ADDRESS>
15 -c, --command <COMMAND>
/packages/modules/Bluetooth/tools/rootcanal/
DCMakeLists.txt59 COMMAND
85 COMMAND
96 COMMAND
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/ble/
DGattTransportClientProviderTest.java91 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, MESSAGE_PAYLOAD1);
709 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, messagePayload); in testOutCharactersticNotifyAndRead_succeedThreePackets()
770 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, messagePayload) in testOutCharactersticNotifyAndRead_packetLengthOverflow()
806 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, messagePayload) in testOutCharactersticNotifyAndRead_tooManyConcurrentSessions()
855 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, messagePayload) in testOutCharactersticNotifyAndRead_messageLengthOverflow()
DGattTransportServerProviderTest.java85 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, MESSAGE_PAYLOAD1);
286 new FiraConnectorMessage(MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, bytes); in testSendMessage_failedMessageLengthGreaterThanCapabilitites()
378 MessageType.COMMAND, InstructionCode.DATA_EXCHANGE, messagePayload); in testSendMessageAndOutCharactersticRead_threeReadSucceed()
/packages/modules/Bluetooth/tools/rootcanal/model/devices/
Dhci_device.cc81 case PacketType::COMMAND: in HciDevice()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DFiraConnectorMessage.java48 COMMAND(0), enumConstant

12