Project import generated by Copybara

Included changes:

  - 347072927 Convert the api package to be compatible with Java 7 by danharms <danharms@google.com>
  - 347071390 Extend the character limit for translation by yiranyan <yiranyan@google.com>
  - 347051925 Include license in Companion Device by yiranyan <yiranyan@google.com>
  - 346948796 Add a flag to control using the new bi-directional sync f... by Android Auto Companion <no-reply@google.com>
  - 346805271 Copy OWNERS through copybara by yiranyan <yiranyan@google.com>
  - 346618068 Retrieve associated device in a new thread by yiranyan <yiranyan@google.com>
  - 346162942 Initial commit of string translations by yiranyan <yiranyan@google.com>
  - 345813036 Update target Sdk version to 30 by yiranyan <yiranyan@google.com>
  - 345806079 Connect to available SPP devices on app startup. by ajchen <ajchen@google.com>
  - 345541417 Initial Companion Device copybara config by yiranyan <yiranyan@google.com>
  - 344929988 Use RemoteCallbackList instead a map from IBinder to call... by yiranyan <yiranyan@google.com>
  - 344325500 Pull device name from the storage on channel established by yiranyan <yiranyan@google.com>
  - 343103621 Adding `android.hardware.type.automotive` feature require... by ajchen <ajchen@google.com>
  - 342727472 Show bluetooth adapter name if device name for associatio... by yiranyan <yiranyan@google.com>
  - 341856122 Fix incorrect logging for message length. by ajchen <ajchen@google.com>
  - 341850527 Migrate trust to library by danharms <danharms@google.com>
  - 341849531 Fix Lint errors by yiranyan <yiranyan@google.com>
  - 341696382 Dynamically retrieve RemoteFeature package name from cont... by danharms <danharms@google.com>
  - 341638601 Remove reconnect logic from OobEncryptionRunner. by Android Auto Companion <no-reply@google.com>
  - 341444456 Close server socket if connection did not complete by Android Auto Companion <no-reply@google.com>
  - 341430798 Migrate notificationmsg to connecteddevice lib by danharms <danharms@google.com>
  - 341344636 Add option and build rule to use ProxyBlePeripheralManager. by Android Auto Companion <no-reply@google.com>
  - 341344604 Put advertise data into a GATT characteristic. by Android Auto Companion <no-reply@google.com>
  - 341344576 Create proxy implementation and its friends. by Android Auto Companion <no-reply@google.com>
  - 341344541 Split BlePeripheralManager into abstract base class and O... by Android Auto Companion <no-reply@google.com>
  - 340941249 Remove dependency on Chassis. by ajchen <ajchen@google.com>
  - 340745641 Move the ble proxy service from experimental. by Android Auto Companion <no-reply@google.com>
  - 340661826 Disable the "Turn on Bluetooth" button after a click. by ajchen <ajchen@google.com>
  - 340268963 Need to inform the message read error when there are exce... by Android Auto Companion <no-reply@google.com>
  - 339885751 Make MetaDataService more flexible. by danharms <danharms@google.com>
  - 339748791 Implement cancelConnectionAttempt in SppManager. by Android Auto Companion <no-reply@google.com>
  - 339369435 Create a unique ID to track pending connections across IP... by Android Auto Companion <no-reply@google.com>
  - 339364675 Simplify HU listening logic: by Android Auto Companion <no-reply@google.com>
  - 339131424 Notify the disconnect to the binder through delegate. by Android Auto Companion <no-reply@google.com>
  - 338774129 Add yaoyx@ to OWENRs. by Android Auto Companion <no-reply@google.com>
  - 338769922 Add a PendingConnection class with onConnected and onConn... by Android Auto Companion <no-reply@google.com>
  - 338518753 Fix the text direction of the conversation group name. by Android Auto Companion <no-reply@google.com>
  - 338304278 Move calendarsync to lib by danharms <danharms@google.com>
  - 337924589 Create trunk services that start all other services by danharms <danharms@google.com>
  - 337888398 Add remoteDeviceName to Connection, because BluetoothDevi... by Android Auto Companion <no-reply@google.com>
  - 337506429 Remove ExtensionRegistryLite.getGeneratedRegistry() by yiranyan <yiranyan@google.com>
  - 337422371 Missed in refactoring api to lib by danharms <danharms@google.com>
  - 337387563 Remove res in connecteddevice by yiranyan <yiranyan@google.com>
  - 337352003 Wait until message is sent before disconnecting OOB RFCOM... by Android Auto Companion <no-reply@google.com>
  - 337325210 Migrate CompanionDeviceSupportService to connecteddevice ... by danharms <danharms@google.com>
  - 337159736 Add LoggingFeature to send and receive logs by yiranyan <yiranyan@google.com>
  - 337142184 Migrate SPP classes to transport/spp. by Android Auto Companion <no-reply@google.com>
  - 337105907 Use the same proto definition for the car and mobile devi... by Android Auto Companion <no-reply@google.com>
  - 336959236 Add missing `dimens` file for landscape mode. by ajchen <ajchen@google.com>
  - 336770202 Point to newly created testing keys. by ajchen <ajchen@google.com>
  - 336706149 Subscribe to server write characteristic. by Android Auto Companion <no-reply@google.com>
  - 336702376 Update the discoverable time from 5 to 2 minute to satisf... by Android Auto Companion <no-reply@google.com>
  - 336167462 Integrate CarSppManager with CaompanionDeviceSppService: by Android Auto Companion <no-reply@google.com>
  - 336123124 Change the constant value from PROPERTY_ to PERMISSION_. by Android Auto Companion <no-reply@google.com>
  - 336114582 Add LoggingManager for internal logging by yiranyan <yiranyan@google.com>
  - 335894653 Add foreground service to create and hold bluetooth socke... by Android Auto Companion <no-reply@google.com>
  - 335729431 Change package name for connecteddevice and companion pro... by danharms <danharms@google.com>
  - 335727351 Change package name for encryptionrunner by danharms <danharms@google.com>
  - 335725338 Change package name for Companion Device by danharms <danharms@google.com>
  - 335441395 Migrate notificationmsg from gerrit by danharms <danharms@google.com>
  - 334923265 Update the binder to satisfy the following requests: by Android Auto Companion <no-reply@google.com>
  - 334884657 Update out of band Batmobile association to use the SppDe... by Android Auto Companion <no-reply@google.com>
  - 334252006 Add isSecure parameter to SPP delegate connect methods. by Android Auto Companion <no-reply@google.com>
  - 334229440 Add signing key for `companiondevice`. by ajchen <ajchen@google.com>
  - 333834155 Add client role to SppManager by Android Auto Companion <no-reply@google.com>
  - 333831692 Implement CompanionDeviceSppDelegateBinder. by Android Auto Companion <no-reply@google.com>
  - 333581282 Add aidl files for BluetoothSocket operations. by Android Auto Companion <no-reply@google.com>
  - 333366551 Migrate companiondevice to //third_party by danharms <danharms@google.com>
  - 333090900 Migrate connecteddevice to //third_party by danharms <danharms@google.com>
  - 332867723 Migrate encryptionrunner to //third_party by danharms <danharms@google.com>
  - 332340526 Move companion_protos to third_party by danharms <danharms@google.com>

PiperOrigin-RevId: 347072927
Change-Id: I6137ffc7f4e1ff53c8341b3996721edf1b946e8b
308 files changed