Home | History | Annotate | only in /system/bt/osi/src/socket_utils
Up to higher level directory
NameDateSize
README21-Oct-20161.4K
socket_local_client.c21-Oct-20163.9K
socket_local_server.c21-Oct-20162.4K

README

      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 
     17 The sources in this folder re-implement some of the sources in libcutils/sockets
     18 to provide a short-term solution eliminating libcutils dependency from
     19 system/bt. Once a long-term platform-independent abstraction is presented, these
     20 sources and the corresponding headers should be removed.
     21 
     22 Note 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
     24 sources other than the existing ones must put the sources in this folder and
     25 refactor the functions as well.
     26 
     27 The 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 
     36 Please update the above list if adding more sources.
     37