blob: ef6f6cf23df1ae1e843c219de61184ceced67bb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* This file is part of QMI-RIL.
*
* Copyright (C) 2017 Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
*
* QMI-RIL is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* QMI-RIL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with QMI-RIL. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#define LOG_TAG "RIL"
#include <utils/Log.h>
#include <qmi-ril.h>
int ril_request_get_current_calls(void *data, size_t size, RIL_Token token)
{
int rc;
rc = ril_radio_state_check(RADIO_STATE_SIM_NOT_READY);
if (rc < 0) {
ril_request_complete(token, RIL_E_SUCCESS, NULL, 0);
return RIL_REQUEST_COMPLETED;
}
RIL_LOGD("%s: TODO: implement me", __func__);
ril_request_complete(token, RIL_E_SUCCESS, NULL, 0);
return RIL_REQUEST_COMPLETED;
}
|