OSDN Git Service

Use standard types, consistent ifdef style everywhere
authorMarie Janssen <jamuraa@google.com>
Fri, 15 Jul 2016 19:48:27 +0000 (12:48 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 5 Aug 2016 21:15:10 +0000 (21:15 +0000)
commitd19e0785e662e640191a075eda07acce61c2aeda
treedb50dab9c9048cd8b211a569b245cf5467bc7aaa
parent7294d958dcb610d7828f06c3a1cde933127694d3
Use standard types, consistent ifdef style everywhere

Remove the typedefs in stack/include/bt_types.h

Use standard types everywhere.
Use standard style for #if statements:
 - #if (VAR_NAME == TRUE)
 - #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE)
Use __func__ instead of __FUNCTION__
Fix some debug statements to use __func__

Update script to be less disruptive to aligned assignment blocks.

Change-Id: I8f8f068e6c26ce74fd3b3707e1e31fd0b919cdd0
248 files changed:
audio_a2dp_hw/audio_a2dp_hw.cc
bta/dm/bta_dm_act.cc
bta/dm/bta_dm_cfg.cc
bta/gatt/bta_gattc_cache.cc
bta/gatt/bta_gatts_int.h
bta/hf_client/bta_hf_client_main.c
bta/hh/bta_hh_le.cc
bta/include/bta_ag_api.h
bta/include/bta_av_api.h
bta/include/bta_av_co.h
bta/include/bta_gatt_api.h
bta/include/bta_hh_co.h
btcore/include/module.h
btcore/include/property.h
btcore/test/bdaddr_test.cc
btif/src/btif_media_task.cc
conf/bt_did.conf
device/include/controller.h
device/include/interop.h
embdrv/sbc/decoder/include/oi_codec_sbc.h
embdrv/sbc/decoder/include/oi_stddefs.h
embdrv/sbc/decoder/include/oi_time.h
embdrv/sbc/decoder/include/oi_utils.h
embdrv/sbc/decoder/srce/bitalloc.c
embdrv/sbc/decoder/srce/framing-sbc.c
embdrv/sbc/encoder/include/sbc_dct.h
embdrv/sbc/encoder/include/sbc_enc_func_declare.h
embdrv/sbc/encoder/include/sbc_encoder.h
embdrv/sbc/encoder/include/sbc_types.h
embdrv/sbc/encoder/srce/sbc_analysis.c
embdrv/sbc/encoder/srce/sbc_dct.c
embdrv/sbc/encoder/srce/sbc_enc_coeffs.c
embdrv/sbc/encoder/srce/sbc_encoder.c
embdrv/sbc/encoder/srce/sbc_packing.c
hci/include/bt_hci_bdroid.h
hci/include/bt_vendor_lib.h
hci/src/btsnoop_net.c
hci/src/hci_hal.c
hci/src/hci_inject.c
hci/src/hci_layer.c
hci/test/hci_layer_test.cc
include/bt_target.h
include/bt_trace.h
include/bte.h
include/bte_appl.h
main/bte_init.c
main/bte_logmsg.c
main/bte_main.c
osi/include/allocation_tracker.h
osi/include/allocator.h
osi/include/compat.h
osi/include/future.h
osi/include/list.h
osi/include/ringbuffer.h
osi/include/semaphore.h
osi/include/socket.h
osi/include/thread.h
osi/include/wakelock.h
osi/src/alarm.c
osi/src/properties.c
service/common/android/bluetooth/IBluetoothCallback.aidl
service/common/android/bluetooth/IBluetoothGattClient.aidl
service/common/android/bluetooth/IBluetoothGattClientCallback.aidl
service/common/android/bluetooth/IBluetoothGattServer.aidl
service/common/android/bluetooth/IBluetoothGattServerCallback.aidl
service/common/android/bluetooth/IBluetoothLowEnergy.aidl
service/common/android/bluetooth/IBluetoothLowEnergyCallback.aidl
service/common/android/bluetooth/ScanFilter.aidl
service/common/android/bluetooth/bluetooth_gatt_characteristic.h
service/common/android/bluetooth/bluetooth_gatt_descriptor.h
service/common/android/bluetooth/bluetooth_gatt_included_service.h
service/common/android/bluetooth/bluetooth_gatt_service.h
service/common/android/bluetooth/scan_result.cc
service/common/bluetooth/characteristic.cc
service/common/bluetooth/characteristic.h
service/common/bluetooth/descriptor.cc
service/common/bluetooth/descriptor.h
service/common/bluetooth/service.cc
service/common/bluetooth/service.h
service/test/ParcelableTest.aidl
stack/a2dp/a2d_api.c
stack/a2dp/a2d_int.h
stack/a2dp/a2d_sbc.c
stack/avct/avct_api.c
stack/avct/avct_ccb.c
stack/avct/avct_int.h
stack/avct/avct_l2c.c
stack/avct/avct_lcb.c
stack/avct/avct_lcb_act.c
stack/avdt/avdt_ad.c
stack/avdt/avdt_api.c
stack/avdt/avdt_ccb.c
stack/avdt/avdt_ccb_act.c
stack/avdt/avdt_defs.h
stack/avdt/avdt_int.h
stack/avdt/avdt_l2c.c
stack/avdt/avdt_msg.c
stack/avdt/avdt_scb.c
stack/avdt/avdt_scb_act.c
stack/avrc/avrc_api.c
stack/avrc/avrc_bld_ct.c
stack/avrc/avrc_bld_tg.c
stack/avrc/avrc_int.h
stack/avrc/avrc_opt.c
stack/avrc/avrc_pars_ct.c
stack/avrc/avrc_pars_tg.c
stack/avrc/avrc_sdp.c
stack/avrc/avrc_utils.c
stack/bnep/bnep_api.c
stack/bnep/bnep_int.h
stack/bnep/bnep_main.c
stack/bnep/bnep_utils.c
stack/btm/btm_acl.c
stack/btm/btm_ble.c
stack/btm/btm_ble_addr.c
stack/btm/btm_ble_adv_filter.c
stack/btm/btm_ble_batchscan.c
stack/btm/btm_ble_bgconn.cc
stack/btm/btm_ble_cont_energy.c
stack/btm/btm_ble_gap.c
stack/btm/btm_ble_int.h
stack/btm/btm_ble_multi_adv.c
stack/btm/btm_ble_privacy.c
stack/btm/btm_dev.c
stack/btm/btm_devctl.c
stack/btm/btm_inq.c
stack/btm/btm_int.h
stack/btm/btm_main.c
stack/btm/btm_pm.c
stack/btm/btm_sco.c
stack/btm/btm_sec.c
stack/btu/btu_hcif.c
stack/btu/btu_init.c
stack/btu/btu_task.c
stack/gap/gap_api.c
stack/gap/gap_ble.c
stack/gap/gap_conn.c
stack/gap/gap_int.h
stack/gap/gap_utils.c
stack/gatt/att_protocol.c
stack/gatt/gatt_api.c
stack/gatt/gatt_attr.c
stack/gatt/gatt_auth.c
stack/gatt/gatt_cl.c
stack/gatt/gatt_db.c
stack/gatt/gatt_int.h
stack/gatt/gatt_main.c
stack/gatt/gatt_sr.c
stack/gatt/gatt_utils.c
stack/hcic/hciblecmds.c
stack/hcic/hcicmds.c
stack/hid/hid_conn.h
stack/hid/hidh_api.c
stack/hid/hidh_conn.c
stack/hid/hidh_int.h
stack/include/a2d_api.h
stack/include/a2d_sbc.h
stack/include/avct_api.h
stack/include/avdt_api.h
stack/include/avdtc_api.h
stack/include/avrc_api.h
stack/include/avrc_defs.h
stack/include/bnep_api.h
stack/include/bt_types.h
stack/include/btm_api.h
stack/include/btm_ble_api.h
stack/include/btu.h
stack/include/dyn_mem.h
stack/include/gap_api.h
stack/include/gatt_api.h
stack/include/hcidefs.h
stack/include/hcimsgs.h
stack/include/hiddefs.h
stack/include/hidh_api.h
stack/include/l2c_api.h
stack/include/mca_api.h
stack/include/pan_api.h
stack/include/port_api.h
stack/include/profiles_api.h
stack/include/sdp_api.h
stack/include/sdpdefs.h
stack/include/smp_api.h
stack/include/srvc_api.h
stack/l2cap/l2c_api.c
stack/l2cap/l2c_ble.c
stack/l2cap/l2c_csm.c
stack/l2cap/l2c_fcr.c
stack/l2cap/l2c_int.h
stack/l2cap/l2c_link.c
stack/l2cap/l2c_main.c
stack/l2cap/l2c_ucd.c
stack/l2cap/l2c_utils.c
stack/mcap/mca_api.c
stack/mcap/mca_cact.c
stack/mcap/mca_csm.c
stack/mcap/mca_dact.c
stack/mcap/mca_dsm.c
stack/mcap/mca_int.h
stack/mcap/mca_l2c.c
stack/mcap/mca_main.c
stack/pan/pan_api.c
stack/pan/pan_int.h
stack/pan/pan_main.c
stack/pan/pan_utils.c
stack/rfcomm/port_api.c
stack/rfcomm/port_int.h
stack/rfcomm/port_rfc.c
stack/rfcomm/port_utils.c
stack/rfcomm/rfc_int.h
stack/rfcomm/rfc_l2cap_if.c
stack/rfcomm/rfc_mx_fsm.c
stack/rfcomm/rfc_port_fsm.c
stack/rfcomm/rfc_port_if.c
stack/rfcomm/rfc_ts_frames.c
stack/rfcomm/rfc_utils.c
stack/sdp/sdp_api.c
stack/sdp/sdp_db.c
stack/sdp/sdp_discovery.c
stack/sdp/sdp_main.c
stack/sdp/sdp_server.c
stack/sdp/sdp_utils.c
stack/sdp/sdpint.h
stack/smp/aes.c
stack/smp/p_256_curvepara.c
stack/smp/p_256_ecc_pp.c
stack/smp/p_256_ecc_pp.h
stack/smp/p_256_multprecision.c
stack/smp/p_256_multprecision.h
stack/smp/smp_act.c
stack/smp/smp_api.c
stack/smp/smp_br_main.c
stack/smp/smp_cmac.c
stack/smp/smp_int.h
stack/smp/smp_keys.c
stack/smp/smp_l2c.c
stack/smp/smp_main.c
stack/smp/smp_utils.c
stack/srvc/srvc_battery.c
stack/srvc/srvc_battery_int.h
stack/srvc/srvc_dis.c
stack/srvc/srvc_dis_int.h
stack/srvc/srvc_eng.c
stack/srvc/srvc_eng_int.h
tools/scripts/change_types.sh
udrv/include/uipc.h
udrv/ulinux/uipc.c
utils/src/bt_utils.c
vnd/include/vendor_api.h