blob: ef8e9e8ba175062f757d2eb49528149ca4d88122 [file] [log] [blame]
/*
* Copyright (c) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef RIL_SERVICE_H
#define RIL_SERVICE_H
#include <telephony/ril.h>
#include <ril_internal.h>
namespace radio {
void registerService(RIL_RadioFunctions *callbacks, android::CommandInfo *commands);
int iccCardStatusResponse(android::Parcel &p, int slotId, int requestNumber, int responseType,
int token, RIL_Errno e, void *response, size_t responselen);
void radioStateChanged(int slotId, int indicationType, RIL_RadioState radioState);
} // namespace android
#endif // RIL_SERVICE_H