aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/android/internal/telephony/HbpcdLookup.java
blob: d9a3e725b6fb773882bb904ce2eedcb2664342f8 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/*
**
** Copyright 2014, 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.
*/
package com.android.internal.telephony;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * @hide
 */
public class HbpcdLookup {
    public static final String AUTHORITY = "hbpcd_lookup";

    public static final Uri CONTENT_URI =
        Uri.parse("content://" + AUTHORITY);

    public static final String PATH_MCC_IDD = "idd";
    public static final String PATH_MCC_LOOKUP_TABLE = "lookup";
    public static final String PATH_MCC_SID_CONFLICT = "conflict";
    public static final String PATH_MCC_SID_RANGE = "range";
    public static final String PATH_NANP_AREA_CODE = "nanp";
    public static final String PATH_ARBITRARY_MCC_SID_MATCH = "arbitrary";
    public static final String PATH_USERADD_COUNTRY = "useradd";

    public static final String ID = "_id";
    public static final int IDINDEX = 0;

    /**
     * @hide
     */
    public static class MccIdd implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_IDD);
        public static final String DEFAULT_SORT_ORDER = "MCC ASC";

        public static final String MCC = "MCC";
        public static final String IDD = "IDD";

    }

    /**
     * @hide
     */
    public static class MccLookup implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_LOOKUP_TABLE);
        public static final String DEFAULT_SORT_ORDER = "MCC ASC";

        public static final String MCC = "MCC";
        public static final String COUNTRY_CODE = "Country_Code";
        public static final String COUNTRY_NAME = "Country_Name";
        public static final String NDD = "NDD";
        public static final String NANPS = "NANPS";
        public static final String GMT_OFFSET_LOW = "GMT_Offset_Low";
        public static final String GMT_OFFSET_HIGH = "GMT_Offset_High";
        public static final String GMT_DST_LOW = "GMT_DST_Low";
        public static final String GMT_DST_HIGH = "GMT_DST_High";

    }

    /**
     * @hide
     */
    public static class MccSidConflicts implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_SID_CONFLICT);
        public static final String DEFAULT_SORT_ORDER = "MCC ASC";

        public static final String MCC = "MCC";
        public static final String SID_CONFLICT = "SID_Conflict";

    }

    /**
     * @hide
     */
    public static class MccSidRange implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_MCC_SID_RANGE);
        public static final String DEFAULT_SORT_ORDER = "MCC ASC";

        public static final String MCC = "MCC";
        public static final String RANGE_LOW = "SID_Range_Low";
        public static final String RANGE_HIGH = "SID_Range_High";
    }

    /**
     * @hide
     */
    public static class ArbitraryMccSidMatch implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_ARBITRARY_MCC_SID_MATCH);
        public static final String DEFAULT_SORT_ORDER = "MCC ASC";

        public static final String MCC = "MCC";
        public static final String SID = "SID";

    }

    /**
     * @hide
     */
    public static class NanpAreaCode implements BaseColumns {
        public static final Uri CONTENT_URI =
            Uri.parse("content://" + AUTHORITY + "/" + PATH_NANP_AREA_CODE);
        public static final String DEFAULT_SORT_ORDER = "Area_Code ASC";

        public static final String AREA_CODE = "Area_Code";
    }
}