/foundation/communication/bluetooth/frameworks/js/napi/src/ |
H A D | napi_bluetooth_a2dp_snk.cpp | 99 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetDeviceState() local 100 size_t argc = expectedArgsCount; in GetDeviceState() 108 if (argc != expectedArgsCount) { in GetDeviceState() 131 size_t expectedArgsCount = ARGS_SIZE_ONE; in Connect() local 132 size_t argc = expectedArgsCount; in Connect() 140 if (argc != expectedArgsCount) { in Connect() 163 size_t expectedArgsCount = ARGS_SIZE_ONE; in Disconnect() local 164 size_t argc = expectedArgsCount; in Disconnect() 172 if (argc != expectedArgsCount) { in Disconnect() 195 size_t expectedArgsCount in getPlayingState() local [all...] |
H A D | napi_bluetooth_avrcp_ct.cpp | 101 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetDeviceState() local 102 size_t argc = expectedArgsCount; in GetDeviceState() 110 if (argc != expectedArgsCount) { in GetDeviceState() 134 size_t expectedArgsCount = ARGS_SIZE_ONE; in Connect() local 135 size_t argc = expectedArgsCount; in Connect() 143 if (argc != expectedArgsCount) { in Connect() 166 size_t expectedArgsCount = ARGS_SIZE_ONE; in Disconnect() local 167 size_t argc = expectedArgsCount; in Disconnect() 175 if (argc != expectedArgsCount) { in Disconnect()
|
H A D | napi_bluetooth_avrcp_tg.cpp | 101 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetDeviceState() local 102 size_t argc = expectedArgsCount; in GetDeviceState() 110 if (argc != expectedArgsCount) { in GetDeviceState() 133 size_t expectedArgsCount = ARGS_SIZE_ONE; in Connect() local 134 size_t argc = expectedArgsCount; in Connect() 142 if (argc != expectedArgsCount) { in Connect() 165 size_t expectedArgsCount = ARGS_SIZE_ONE; in Disconnect() local 166 size_t argc = expectedArgsCount; in Disconnect() 174 if (argc != expectedArgsCount) { in Disconnect()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/hfp/ |
H A D | napi_bluetooth_hfp_hf.cpp | 104 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetDeviceState() local 105 size_t argc = expectedArgsCount; in GetDeviceState() 113 if (argc != expectedArgsCount) { in GetDeviceState() 136 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetScoState() local 137 size_t argc = expectedArgsCount; in GetScoState() 145 if (argc != expectedArgsCount) { in GetScoState() 168 size_t expectedArgsCount = ARGS_SIZE_ONE; in Connect() local 169 size_t argc = expectedArgsCount; in Connect() 177 if (argc != expectedArgsCount) { in Connect() 199 size_t expectedArgsCount in Disconnect() local 230 size_t expectedArgsCount = ARGS_SIZE_ONE; ConnectSco() local 261 size_t expectedArgsCount = ARGS_SIZE_ONE; DisconnectSco() local 292 size_t expectedArgsCount = ARGS_SIZE_TWO; SendDTMF() local [all...] |
H A D | napi_bluetooth_hfp_ag.cpp | 176 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetScoState() local 177 size_t argc = expectedArgsCount; in GetScoState() 185 if (argc != expectedArgsCount) { in GetScoState() 208 size_t expectedArgsCount = ARGS_SIZE_ONE; in ConnectSco() local 209 size_t argc = expectedArgsCount; in ConnectSco() 217 if (argc != expectedArgsCount) { in ConnectSco() 242 size_t expectedArgsCount = ARGS_SIZE_ONE; in DisconnectSco() local 243 size_t argc = expectedArgsCount; in DisconnectSco() 251 if (argc != expectedArgsCount) { in DisconnectSco() 276 size_t expectedArgsCount in OpenVoiceRecognition() local 307 size_t expectedArgsCount = ARGS_SIZE_ONE; CloseVoiceRecognition() local [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/ |
H A D | napi_bluetooth_gatt_client.cpp | 38 size_t expectedArgsCount = ARGS_SIZE_ONE; in CheckCreateGattClientDeviceParams() local 39 size_t argc = expectedArgsCount; in CheckCreateGattClientDeviceParams() 43 NAPI_BT_RETURN_IF(argc != expectedArgsCount, "expect 1 args", napi_invalid_arg); in CheckCreateGattClientDeviceParams() 107 size_t expectedArgsCount = ARGS_SIZE_ONE; in GattClientConstructor() local 108 size_t argc = expectedArgsCount; in GattClientConstructor() 265 size_t expectedArgsCount = ARGS_SIZE_TWO; in ParseGattClientReadCharacteristicValue() local 266 size_t argc = expectedArgsCount; in ParseGattClientReadCharacteristicValue() 270 NAPI_BT_RETURN_IF(argc != expectedArgsCount && argc != expectedArgsCount - CALLBACK_SIZE, in ParseGattClientReadCharacteristicValue() 317 size_t expectedArgsCount in ParseGattClientReadDescriptorValue() local 428 size_t expectedArgsCount = ARGS_SIZE_ONE; CheckSetBLEMtuSize() local 463 size_t expectedArgsCount = ARGS_SIZE_ONE; ParseGattClientReadRssiValue() local 721 size_t expectedArgsCount = ARGS_SIZE_ONE; CheckWriteCharacteristicValue() local 762 size_t expectedArgsCount = ARGS_SIZE_ONE; CheckWriteDescriptorValue() local 802 size_t expectedArgsCount = ARGS_SIZE_TWO; CheckSetNotifyCharacteristicChanged() local [all...] |
/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_bluetooth_profile.cpp | 47 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetProfile() local 48 size_t argc = expectedArgsCount; in GetProfile() 56 NAPI_BT_RETURN_IF(argc != expectedArgsCount, "Requires 1 argument", ret); in GetProfile()
|
H A D | napi_bluetooth_event.cpp | 122 size_t expectedArgsCount = ARGS_SIZE_TWO; in OnEvent() local 123 size_t argc = expectedArgsCount; in OnEvent() 131 if (argc != expectedArgsCount) { in OnEvent()
|
/foundation/communication/nfc/frameworks/js/napi/tag/ |
H A D | nfc_napi_tag_mifare_classic.cpp | 67 size_t expectedArgsCount = ARGV_NUM_1; in GetBlockCountInSector() local 68 size_t argc = expectedArgsCount; in GetBlockCountInSector() 74 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetBlockCountInSector() 189 size_t expectedArgsCount = ARGV_NUM_1; in GetBlockIndex() local 190 size_t argc = expectedArgsCount; in GetBlockIndex() 196 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetBlockIndex() 223 size_t expectedArgsCount = ARGV_NUM_1; in GetSectorIndex() local 224 size_t argc = expectedArgsCount; in GetSectorIndex() 230 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetSectorIndex()
|
H A D | nfc_napi_tag_ndef.cpp | 574 size_t expectedArgsCount = ARGV_NUM_1; in GetNdefTagTypeString() local 575 size_t argc = expectedArgsCount; in GetNdefTagTypeString() 580 if (!CheckArgCountAndThrow(env, argc, expectedArgsCount) || in GetNdefTagTypeString()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/a2dp/ |
H A D | napi_bluetooth_a2dp_src.cpp | 346 size_t expectedArgsCount = ARGS_SIZE_ONE; in GetDeviceState() local 347 size_t argc = expectedArgsCount; in GetDeviceState() 355 if (argc != expectedArgsCount) { in GetDeviceState()
|