Home
last modified time | relevance | path

Searched refs:test_command (Results 1 – 25 of 52) sorted by relevance

123

/aosp_15_r20/tools/netsim/rust/cli/src/
H A Drequests.rs88 fn test_command( in test_command() function
101 test_command("netsim-cli version", GrpcMethod::GetVersion, Vec::new()) in test_version_request()
139 test_command( in test_radio_ble()
144 test_command( in test_radio_ble()
153 test_command( in test_radio_ble_aliases()
158 test_command( in test_radio_ble_aliases()
163 test_command( in test_radio_ble_aliases()
168 test_command( in test_radio_ble_aliases()
177 test_command( in test_radio_classic()
182 test_command( in test_radio_classic()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/blueberry/tests/avrcp/
Dbluetooth_avrcp_test.py159 def execute_media_play_pause_test_logic(self, command_sender, test_command): argument
176 if test_command not in [bt_constants.CMD_MEDIA_PLAY,
180 (test_command, bt_constants.CMD_MEDIA_PLAY,
186 test_command == bt_constants.CMD_MEDIA_PAUSE):
198 if test_command == bt_constants.CMD_MEDIA_PLAY:
201 elif test_command == bt_constants.CMD_MEDIA_PAUSE:
220 def execute_skip_next_prev_test_logic(self, command_sender, test_command): argument
237 if test_command not in [bt_constants.CMD_MEDIA_SKIP_NEXT,
241 (test_command, bt_constants.CMD_MEDIA_SKIP_NEXT,
246 and test_command == bt_constants.CMD_MEDIA_SKIP_PREV):
[all …]
/aosp_15_r20/external/tink/java_src/examples/deterministicaead/
H A Ddeterministic_aead_test.sh36 test_command() { function
49 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted"
64 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted"
86 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted1"
87 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted2"
102 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted"
114 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted"
129 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCIATED_DATA…
138 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" "${ASSOC…
155 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCIATED_DATA…
[all …]
/aosp_15_r20/external/tink/python/examples/deterministic_aead/
H A Ddeterministic_aead_test.sh37 test_command() { function
53 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
68 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
90 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
93 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
108 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
122 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
138 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
150 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
169 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
[all …]
/aosp_15_r20/external/tink/cc/examples/hybrid_encryption/
H A Dhybrid_cli_test.sh42 test_command() { function
113 test_command "${CLI}" \
127 test_command "${CLI}" \
134 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"
144 test_command "${CLI}" \
155 test_command "${CLI}" \
170 test_command "${CLI}" \
179 test_command "${CLI}" \
198 test_command "${CLI}" \
208 test_command "${CLI}" \
/aosp_15_r20/external/tink/cc/examples/aead/
H A Daead_cli_test.sh41 test_command() { function
112 test_command "${CLI}" \
126 test_command "${CLI}" \
133 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"
143 test_command "${CLI}" \
154 test_command "${CLI}" \
169 test_command "${CLI}" \
178 test_command "${CLI}" \
197 test_command "${CLI}" \
207 test_command "${CLI}" \
/aosp_15_r20/external/tink/cc/examples/daead/
H A Ddeterministic_aead_cli_test.sh41 test_command() { function
112 test_command "${CLI}" \
126 test_command "${CLI}" \
133 test_command cmp -s "${DATA_FILE}" "${DATA_FILE}.decrypted"
143 test_command "${CLI}" \
154 test_command "${CLI}" \
169 test_command "${CLI}" \
178 test_command "${CLI}" \
197 test_command "${CLI}" \
207 test_command "${CLI}" \
/aosp_15_r20/external/tink/java_src/examples/aead/
H A Daead_example_test.sh36 test_command() { function
49 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted"
64 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted"
86 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted"
98 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted"
113 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCIATED_DATA…
122 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" "${ASSOC…
139 test_command ${CLI} encrypt ${KEYSET_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCIATED_DATA…
149 test_command ${CLI} decrypt ${KEYSET_FILE} ${DATA_FILE}.encrypted "${DATA_FILE}.decrypted" "${MODIF…
/aosp_15_r20/external/tink/java_src/examples/streamingaead/
H A Dstreaming_aead_example_test.sh36 test_command() { function
49 test_command ${CLI} encrypt ${KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext
57 test_command ${CLI} decrypt ${KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.plaintext
74 test_command ${CLI} encrypt ${KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext "${HEADER_INFORMA…
82 test_command ${CLI} decrypt ${KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.plaintext "${HEAD…
98 test_command ${CLI} encrypt ${KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext
109 test_command ${CLI} decrypt ${KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.plaintext
124 test_command ${CLI} encrypt ${KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext "${HEADER_INFORMA…
135 test_command ${CLI} decrypt ${KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.plaintext "${MODI…
/aosp_15_r20/external/tink/python/examples/aead/
H A Daead_test.sh37 test_command() { function
53 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
68 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
91 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
105 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
121 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
133 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
152 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
165 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
/aosp_15_r20/external/tink/cc/examples/mac/
H A Dmac_cli_test.sh41 test_command() { function
112 test_command "${CLI}" \
126 test_command "${CLI}" \
140 test_command "${CLI}" \
151 test_command "${CLI}" \
162 test_command "${CLI}" \
176 test_command "${CLI}" \
187 test_command "${CLI}" \
198 test_command "${CLI}" \
/aosp_15_r20/external/tink/java_src/examples/jwt/
H A Djwt_signature_example_test.sh38 test_command() { function
50 test_command ${SIGN_CLI} ${PRIVATE_KEYSET_PATH} ${AUDIENCE} ${TOKEN_PATH}
64 test_command ${GEN_PUBLIC_JWK_SET_CLI} ${PRIVATE_KEYSET_PATH} ${PUBLIC_JWK_SET_PATH}
78 test_command ${VERIFY_CLI} ${PUBLIC_JWK_SET_PATH} ${AUDIENCE} ${TOKEN_PATH}
97 test_command ${VERIFY_CLI} ${PUBLIC_JWK_SET_PATH} ${AUDIENCE} ${INVALID_TOKEN_PATH}
112 test_command ${VERIFY_CLI} $PUBLIC_JWK_SET_PATH unknown_audience ${TOKEN_PATH}
127 test_command ${SIGN_CLI} ${PUBLIC_JWK_SET_PATH} ${AUDIENCE} ${TOKEN_PATH}
142 test_command ${VERIFY_CLI} ${PRIVATE_KEYSET_PATH} ${AUDIENCE} ${TOKEN_PATH}
/aosp_15_r20/external/tink/python/examples/jwt/
H A Djwt_signature_test.sh39 test_command() { function
56 test_command ${SIGN_CLI} \
73 test_command ${GEN_PUBLIC_JWK_SET_CLI} \
89 test_command ${VERIFY_CLI} \
111 test_command ${VERIFY_CLI} \
129 test_command ${VERIFY_CLI} \
150 test_command ${SIGN_CLI} \
168 test_command ${VERIFY_CLI} \
/aosp_15_r20/external/tink/java_src/examples/hybrid/
H A Dhybrid_example_test.sh37 test_command() { function
50 test_command ${HYBRID_CLI} encrypt ${PUBLIC_KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext
59 test_command ${HYBRID_CLI} decrypt ${PRIVATE_KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.pl…
77 test_command ${HYBRID_CLI} encrypt ${PUBLIC_KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext "${…
86 test_command ${HYBRID_CLI} decrypt ${PRIVATE_KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.pl…
103 test_command ${HYBRID_CLI} encrypt ${PUBLIC_KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext "${…
112 test_command ${HYBRID_CLI} decrypt ${PRIVATE_KEYSET_FILE} ${INPUT_FILE}.ciphertext ${INPUT_FILE}.pl…
126 test_command ${HYBRID_CLI} encrypt ${PRIVATE_KEYSET_FILE} ${INPUT_FILE} ${INPUT_FILE}.ciphertext
/aosp_15_r20/external/tink/cc/examples/jwt/
H A Djwt_signature_cli_test.sh45 test_command() { function
116 test_command "${CLI_SIGN}" \
123 test_command "${GEN_PUBLIC_JWK_SET_CLI}" \
129 test_command "${CLI_VERIFY}" \
142 test_command "${CLI_SIGN}" \
152 test_command "${CLI_VERIFY}" \
165 test_command "${CLI_SIGN}" \
175 test_command "${CLI_VERIFY}" \
/aosp_15_r20/external/tink/python/examples/hybrid/
H A Dhybrid_test.sh38 test_command() { function
54 test_command ${CLI} --mode=encrypt --keyset_path="${PUBLIC_KEYSET_FILE}" \
65 test_command ${CLI} --mode=decrypt --keyset_path="${PRIVATE_KEYSET_FILE}" \
86 test_command ${CLI} --mode=encrypt --context_info="${CONTEXT_INFORMATION}" \
98 test_command ${CLI} --mode=decrypt --context_info="${CONTEXT_INFORMATION}" \
117 test_command ${CLI} --mode=encrypt --context_info="${CONTEXT_INFORMATION}" \
129 test_command ${CLI} --mode=decrypt --keyset_path="${PRIVATE_KEYSET_FILE}" \
144 test_command ${CLI} --mode=encrypt --keyset_path="${PRIVATE_KEYSET_FILE}" \
/aosp_15_r20/external/tink/python/examples/encrypted_keyset/
H A Dencrypted_keyset_test.sh44 test_command() { function
60 test_command ${CLI} --mode generate --keyset_path "${KEYSET_FILE}" \
75 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
91 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
115 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
129 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
155 test_command ${CLI} --mode encrypt --keyset_path "${KEYSET_FILE}" \
169 test_command ${CLI} --mode decrypt --keyset_path "${KEYSET_FILE}" \
/aosp_15_r20/external/tink/java_src/examples/signature/
H A Dsignature_example_test.sh38 test_command() { function
51 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PRIVATE $DATA_FILE $SIGNATURE_FILE
54 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE
72 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE
88 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PRIVATE $DATA_FILE $SIGNATURE_FILE
94 test_command $FILE_SIGN_CLI verify $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE
110 test_command $FILE_SIGN_CLI sign $KEYSET_FILE_PUBLIC $DATA_FILE $SIGNATURE_FILE
/aosp_15_r20/external/tink/python/examples/signature/
H A Dsignature_test.sh38 test_command() { function
55 test_command ${CLI} --mode sign \
60 test_command ${CLI} --mode verify \
80 test_command ${CLI} --mode verify \
97 test_command ${CLI} --mode sign \
105 test_command ${CLI} --mode verify \
122 test_command ${CLI} --mode verify \
/aosp_15_r20/external/tink/java_src/examples/envelopeaead/
H A Denvelope_aead_example_test.sh37 test_command() { function
50 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted"
65 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte…
88 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCI…
97 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte…
114 test_command ${CLI} encrypt ${KEY_URI} ${CRED_FILE} ${DATA_FILE} "${DATA_FILE}.encrypted" "${ASSOCI…
124 test_command ${CLI} decrypt ${KEY_URI} ${CRED_FILE} "${DATA_FILE}.encrypted" "${DATA_FILE}.decrypte…
/aosp_15_r20/external/tink/python/examples/streaming_aead/
H A Dstreaming_aead_test.sh38 test_command() { function
54 test_command ${CLI} --mode=encrypt \
66 test_command ${CLI} --mode=decrypt \
86 test_command ${CLI} --mode=encrypt \
99 test_command ${CLI} --mode=decrypt \
119 test_command ${CLI} --mode=encrypt \
134 test_command ${CLI} --mode=decrypt \
/aosp_15_r20/external/tink/cc/examples/digital_signatures/
H A Ddigital_signatures_cli_test.sh43 test_command() { function
114 test_command "${CLI}" \
122 test_command "${CLI}" \
136 test_command "${CLI}" \
147 test_command "${CLI}" \
161 test_command "${CLI}" \
172 test_command "${CLI}" \
/aosp_15_r20/external/tink/python/examples/envelope_aead/
H A Denvelope_test.sh43 test_command() { function
59 test_command ${CLI} --mode encrypt --kek_uri "${KEY_URI}" \
75 test_command ${CLI} --mode decrypt --kek_uri "${KEY_URI}" \
99 test_command ${CLI} --mode encrypt --kek_uri "${KEY_URI}" \
112 test_command ${CLI} --mode decrypt --kek_uri "${KEY_URI}" \
132 test_command ${CLI} --mode encrypt --kek_uri "${KEY_URI}" \
146 test_command ${CLI} --mode decrypt --kek_uri "${KEY_URI}" \
/aosp_15_r20/external/tink/java_src/examples/mac/
H A Dmac_example_test.sh37 test_command() { function
54 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE
76 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE
98 test_command $MAC_CLI verify $KEYSET_FILE $DATA_FILE $MAC_FILE
118 test_command $MAC_CLI compute $BAD_KEY_FILE $DATA_FILE $MAC_FILE
/aosp_15_r20/external/tink/python/examples/mac/
H A Dmac_test.sh38 test_command() { function
58 test_command ${CLI} --mode verify --keyset_path "${KEYSET_FILE}" \
81 test_command ${CLI} --mode verify --keyset_path "${KEYSET_FILE}" \
104 test_command ${CLI} --mode verify --keyset_path "${KEYSET_FILE}" \
124 test_command ${CLI} --mode compute --keyset_path "${BAD_KEY_FILE}" \

123