Home | History | Annotate | Download | only in incalluibind
      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.incalluibind;
     18 
     19 import android.content.Context;
     20 import android.content.Intent;
     21 
     22 import com.android.incallui.CallCardPresenter.EmergencyCallListener;
     23 import com.android.incallui.ContactUtils;
     24 import com.android.incallui.DistanceHelper;
     25 import com.android.incallui.service.PhoneNumberService;
     26 
     27 public class ObjectFactory {
     28 
     29     public static PhoneNumberService newPhoneNumberService(Context context) {
     30         // no phone number service.
     31         return null;
     32     }
     33 
     34     public static EmergencyCallListener newEmergencyCallListener() {
     35         return null;
     36     }
     37 
     38     /** @return An {@link Intent} to be broadcast when the InCallUI is visible. */
     39     public static Intent getUiReadyBroadcastIntent(Context context) {
     40         return null;
     41     }
     42 
     43     /**
     44      * @return An {@link Intent} to be broadcast when the call state button in the InCallUI is
     45      * touched while in a call.
     46      */
     47     public static Intent getCallStateButtonBroadcastIntent(Context context) {
     48         return null;
     49     }
     50 
     51     public static DistanceHelper newDistanceHelper(Context context,
     52             DistanceHelper.Listener listener) {
     53         return null;
     54     }
     55 
     56     public static ContactUtils getContactUtilsInstance(Context context) {
     57         return null;
     58     }
     59 }
     60