Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28aded52 authored by Alex Yakavenka's avatar Alex Yakavenka Committed by Steve Kondik
Browse files

Telephony: Add tethering definitions

Change-Id: I435a602eb34b16a0c7a9e17a3102e249c98c6bb9
parent 2f1e2063
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
/*
/*
 * Copyright (C) 2012 The Android Open Source Project
 * Copyright (C) 2012 The Android Open Source Project
 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * you may not use this file except in compliance with the License.
@@ -93,9 +94,11 @@ public class DctConstants {
    public static final int EVENT_ICC_CHANGED = BASE + 33;
    public static final int EVENT_ICC_CHANGED = BASE + 33;
    public static final int EVENT_DISCONNECT_DC_RETRYING = BASE + 34;
    public static final int EVENT_DISCONNECT_DC_RETRYING = BASE + 34;
    public static final int EVENT_DATA_SETUP_COMPLETE_ERROR = BASE + 35;
    public static final int EVENT_DATA_SETUP_COMPLETE_ERROR = BASE + 35;
    public static final int CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA = BASE + 36;
    public static final int EVENT_TETHERED_MODE_STATE_CHANGED = BASE + 36;
    public static final int CMD_ENABLE_MOBILE_PROVISIONING = BASE + 37;

    public static final int CMD_IS_PROVISIONING_APN = BASE + 38;
    public static final int CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA = BASE + 38;
    public static final int CMD_ENABLE_MOBILE_PROVISIONING = BASE + 39;
    public static final int CMD_IS_PROVISIONING_APN = BASE + 40;


    /***** Constants *****/
    /***** Constants *****/


+7 −1
Original line number Original line Diff line number Diff line
@@ -153,6 +153,12 @@ cat include/telephony/ril.h | \
    public static final int DATA_PROFILE_CBS       = 4;
    public static final int DATA_PROFILE_CBS       = 4;
    public static final int DATA_PROFILE_OEM_BASE  = 1000;
    public static final int DATA_PROFILE_OEM_BASE  = 1000;


    /**
     * Tethered mode on/off indication for RIL_UNSOL_TETHERED_MODE_STATE_CHANGED
     */
    int RIL_TETHERED_MODE_ON = 1;
    int RIL_TETHERED_MODE_OFF = 0;

    int RIL_REQUEST_GET_SIM_STATUS = 1;
    int RIL_REQUEST_GET_SIM_STATUS = 1;
    int RIL_REQUEST_ENTER_SIM_PIN = 2;
    int RIL_REQUEST_ENTER_SIM_PIN = 2;
    int RIL_REQUEST_ENTER_SIM_PUK = 3;
    int RIL_REQUEST_ENTER_SIM_PUK = 3;
@@ -304,7 +310,7 @@ cat include/telephony/ril.h | \
    int RIL_UNSOL_VOICE_RADIO_TECH_CHANGED = 1035;
    int RIL_UNSOL_VOICE_RADIO_TECH_CHANGED = 1035;
    int RIL_UNSOL_CELL_INFO_LIST = 1036;
    int RIL_UNSOL_CELL_INFO_LIST = 1036;
    int RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED = 1037;
    int RIL_UNSOL_RESPONSE_IMS_NETWORK_STATE_CHANGED = 1037;

    int RIL_UNSOL_TETHERED_MODE_STATE_CHANGED = 1038;


    int RIL_UNSOL_STK_SEND_SMS_RESULT = 11002; /* Samsung STK */
    int RIL_UNSOL_STK_SEND_SMS_RESULT = 11002; /* Samsung STK */
}
}