1*062a843bSAndroid Build Coastguard Worker /* 2*062a843bSAndroid Build Coastguard Worker * Copyright (c) 2016 The Android Open Source Project 3*062a843bSAndroid Build Coastguard Worker * 4*062a843bSAndroid Build Coastguard Worker * Licensed under the Apache License, Version 2.0 (the "License"); 5*062a843bSAndroid Build Coastguard Worker * you may not use this file except in compliance with the License. 6*062a843bSAndroid Build Coastguard Worker * You may obtain a copy of the License at 7*062a843bSAndroid Build Coastguard Worker * 8*062a843bSAndroid Build Coastguard Worker * http://www.apache.org/licenses/LICENSE-2.0 9*062a843bSAndroid Build Coastguard Worker * 10*062a843bSAndroid Build Coastguard Worker * Unless required by applicable law or agreed to in writing, software 11*062a843bSAndroid Build Coastguard Worker * distributed under the License is distributed on an "AS IS" BASIS, 12*062a843bSAndroid Build Coastguard Worker * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*062a843bSAndroid Build Coastguard Worker * See the License for the specific language governing permissions and 14*062a843bSAndroid Build Coastguard Worker * limitations under the License. 15*062a843bSAndroid Build Coastguard Worker */ 16*062a843bSAndroid Build Coastguard Worker 17*062a843bSAndroid Build Coastguard Worker #ifndef SAP_SERVICE_H 18*062a843bSAndroid Build Coastguard Worker #define SAP_SERVICE_H 19*062a843bSAndroid Build Coastguard Worker 20*062a843bSAndroid Build Coastguard Worker #include <telephony/ril.h> 21*062a843bSAndroid Build Coastguard Worker #include <ril_internal.h> 22*062a843bSAndroid Build Coastguard Worker #include <RilSapSocket.h> 23*062a843bSAndroid Build Coastguard Worker #include <hardware/ril/librilutils/proto/sap-api.pb.h> 24*062a843bSAndroid Build Coastguard Worker 25*062a843bSAndroid Build Coastguard Worker namespace sap { 26*062a843bSAndroid Build Coastguard Worker 27*062a843bSAndroid Build Coastguard Worker void registerService(const RIL_RadioFunctions *callbacks); 28*062a843bSAndroid Build Coastguard Worker void processResponse(MsgHeader *rsp, RilSapSocket *sapSocket); 29*062a843bSAndroid Build Coastguard Worker void processUnsolResponse(MsgHeader *rsp, RilSapSocket *sapSocket); 30*062a843bSAndroid Build Coastguard Worker 31*062a843bSAndroid Build Coastguard Worker } // namespace android 32*062a843bSAndroid Build Coastguard Worker 33*062a843bSAndroid Build Coastguard Worker #endif // RIL_SERVICE_H 34