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-implement some of the sources in libcutils/sockets 18to provide a short-term solution eliminating libcutils dependency from 19system/bt. Once a long-term platform-independent abstraction is presented, these 20sources and the corresponding headers should be removed. 21 22Note that only a part of the source files are pulled from libcutils/sockets, and 23"osi_" prefix is added to all functions. The developers who want to pull sockets 24sources other than the existing ones must put the sources in this folder and 25refactor the functions as well. 26 27The current sources include: 28 29[Headers] 30 - osi/include/socket_utils/sockets.h 31 - osi/include/socket_utils/socket_local.h 32[Source files] 33 - osi/src/socket_utils/socket_local_client.c 34 - osi/src/socket_utils/socket_local_server.c 35 36Please update the above list if adding more sources. 37