1/* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17The sources in this folder re - 18 implement some of the sources in libcutils / sockets to provide a short - 19 term solution eliminating libcutils dependency from system / 20 bt.Once a long - 21 term platform - independent abstraction is presented, 22 these sources and the corresponding headers should be removed. 23 24 Note that only a part of the source files are pulled from libcutils / 25 sockets, 26 and"osi_" prefix is added to all functions 27 .The developers who want to pull sockets sources other than the 28 existing ones must put the sources in this folder and refactor 29 the functions as well. 30 31 The current sources include : 32 33 [Headers] - 34 osi / include / socket_utils / sockets.h - 35 osi / include / socket_utils / socket_local.h[Source files] - 36 osi / src / socket_utils / socket_local_client.cc - 37 osi / src / socket_utils / 38 socket_local_server 39 .cc 40 41 Please update the above list if adding more sources. 42