Home | History | Annotate | Download | only in service
      1 /*
      2  * Copyright (C) 2014 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package com.android.omadm.service;
     18 
     19 public final class DMSettingsHelper {
     20     public static final String TAG = "DMSettingsHelper";
     21     public static final String AUTHORITY = "com.android.omadm.service";
     22     public static final String DM_TREE = "dmtree";
     23     public static final String DM_TREE_STATUS = "dmtreestatus";
     24     public static final String DM_DMFLEXS = "flexs";
     25     public static final String DATABASE_NAME = "DmConfigure.db";
     26 
     27     public static final String BLOB = "blob"; //only for DM bootstrap
     28 
     29     // columns for data
     30     public static final String COL_ROOT_NODE = "rootnode";
     31     public static final String COL_SERVER_ID = "serverid";
     32 
     33     // DMT availability. Fields for the cursor and values
     34     public static final String COL_DM_AVAILABILITY = "dmavailability";
     35     public static final String AVAILABLE = "available";
     36     public static final String LOCKED = "locked";
     37 
     38     private DMSettingsHelper() {
     39     }
     40 
     41     // TODO: For now, assume the device supports LTE.
     42     public static boolean isPhoneTypeLTE() {
     43         return true;
     44     }
     45 }
     46