text
stringlengths
3
1.18M
package com.tripspins.app.interfaces; import android.graphics.Bitmap; import com.tripspins.app.bo.Attachment; import com.tripspins.app.bo.CurrentWeather; import com.tripspins.app.bo.Route; public interface OnTaskCompleted { void onTaskCompleted(Route r); void onTaskCompleted(CurrentWeather w); vo...
package com.tripspins.app.interfaces; import com.google.android.gms.maps.model.LatLng; /** * Created by Joao on 10/17/2014. */ public interface UpdateMapListener { public void updateMapLocation(LatLng latLng); }
package com.tripspins.app.interfaces; import android.net.Uri; import android.view.MenuItem; import com.tripspins.app.bo.Pin; import com.tripspins.app.bo.Trip; /** * Created by Joao on 10/16/2014. */ public interface OnFragmentInteractionListener { public void newTrip(); public void viewTrip(lo...
package com.tripspins.app.exception; /** * Created by João.Rutkoski on 28/11/13. */ public class NoConnectionException extends Exception { }
package com.tripspins.app.exception; /** * Created by João.Rutkoski on 28/11/13. */ public class OfflineModeException extends Exception { }
package com.tripspins.app; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.ListView; import com.tripspins.app.adapter.AttachmentListAdapter; import com.tripspins.app.bo.Attachment; import com.tripspins.app.bo.Pin; import com.facebook.Session; impo...
package com.tripspins.app.services; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.IBin...
package com.tripspins.app.services; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; import android.os.IBinder; import android.preference.PreferenceManager; import com.tripspins...
package com.tripspins.app; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import com.tripspins.app.bo.Attachment; im...
package com.tripspins.app.bo; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.maps.model.LatLng; public class Segment implements Parcelable { /** * */ /** Points in this segment. **/ private LatLng start; /** Turn instruction to reach next segment. **/ pr...
package com.tripspins.app.bo; import java.util.ArrayList; /** * Created by João.Rutkoski on 10/02/14. */ public class User{ private boolean isSynced; private long id; private String facebookId; private long idOnServer; private String name; private ArrayList<Trip> trips; p...
package com.tripspins.app.bo; import android.os.Parcel; import android.os.Parcelable; import com.tripspins.app.helper.FILE_TYPE; import java.io.File; public class Attachment implements Parcelable { /** * */ private static final long serialVersionUID = 40578899749700454L; private ...
package com.tripspins.app.bo; import android.app.Application; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import com.tripspins.app.helper.FILE_TYPE; import com.tripspins.app.helper.TRIP_STATUS; import java.io.File; import java.text.SimpleDateFormat; import java.util.Ar...
package com.tripspins.app.bo; import android.content.Context; import android.location.Address; import android.net.Uri; import android.os.Parcel; import android.os.Parcelable; import android.text.format.DateFormat; import com.tripspins.app.helper.FILE_TYPE; import com.tripspins.app.helper.FileHelper; import...
package com.tripspins.app.bo; import android.os.Parcel; import android.os.Parcelable; /** * Created by joaortk on 30/12/13. */ public class Contact implements Parcelable { private String name; private String picturePath; private String pictureThumbnailPath; private String phoneNumber; ...
package com.tripspins.app.bo; import android.os.Parcel; import android.os.Parcelable; import com.google.android.gms.maps.model.LatLng; import java.util.ArrayList; import java.util.List; public class Route implements Parcelable { /** * */ private String name; private final List<LatLng> points;...
package com.tripspins.app.bo; import android.os.Parcel; import android.os.Parcelable; /** * Created by João.Rutkoski on 20/06/13. */ public class CurrentWeather implements Parcelable { private boolean isSynced; double cloudCover; double humidity; double precipMM; double pressure; ...
package com.tripspins.app; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.database.DataSetObserver; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; impo...
package com.tripspins.app; import android.app.Activity; import android.os.Bundle; import android.preference.PreferenceFragment; public class SettingsActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getActionBar().set...
package com.tripspins.app; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.As...
package com.tripspins.app; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import com.tripspins.app.dao.TripDAO; /** * Created by João.Rutkoski on 31/07/13. */ public class MySplashScreenActivity extends Activity { TripDAO tripDao; @Override pub...
package com.tripspins.app.applications; import android.app.Application; import com.facebook.model.GraphUser; import java.util.List; /** * Created by joaortk on 24/11/13. */ public class FacebookContactApplication extends Application { private List<GraphUser> selectedUsers; public List<Graph...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.tripspins.app.bo.CurrentWeather; /** * Created by João.Rutkoski on 06/09/13. */ public class CurrentWeatherDAO { private SQLiteDatabase database; public CurrentWeatherD...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.tripspins.app.bo.User; import com.facebook.model.GraphUser; /** * Created by João.Rutkoski on 10/02/14. */ public class UserDAO { private SQLiteDatabase database; final St...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.tripspins.app.bo.Pin; import com.tripspins.app.bo.Trip; import com.tripspins.app.bo.User; import com.tripspins.app.helper.TRIP_STATUS; import java.util.ArrayList; public class TripDAO...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.text.format.DateFormat; import com.tripspins.app.bo.CurrentWeather; import com.tripspins.app.bo.Pin; import com.google.android.gms.maps.model.LatLng; import java.text.SimpleDateForma...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.tripspins.app.bo.Attachment; import com.tripspins.app.bo.Contact; import com.tripspins.app.helper.FILE_TYPE; import java.util.ArrayList; /** * Created by João.Rutkoski on 18/06/13. ...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.tripspins.app.bo.Contact; /** * Created by joaortk on 02/01/14. */ public class ContactDAO { private SQLiteDatabase database; public ContactDAO(SQLiteDatabase database) { ...
package com.tripspins.app.dao; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.location.Address; import java.util.Locale; /** * Created by João.Rutkoski on 06/09/13. */ public class AddressDAO { private SQLiteDatabase database; public Address...
package com.tripspins.app; import android.app.Application; import android.content.Context; import com.tripspins.app.bo.User; import com.facebook.model.GraphUser; import java.util.List; /** * Created by João.Rutkoski on 10/02/14. */ public class GlobalState extends Application { private GraphUs...
package com.tripspins.app; import android.app.ActionBar; import android.app.Activity; import android.app.FragmentManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.DataSetObserver; import android.database.sqlite.SQLiteDatab...
package com.tripspins.app; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.view.View; import android.widget.Button; import com.tripspins.app.dao.UserDAO; import com.tripspins....
package com.tripspins.app; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.widget.AbsListView; import android.widget.ListView; import com.tripspins.app.adapter.PinListAdapter; import com.tripspins.a...
package com.tripspins.app; import android.content.Intent; import android.content.SharedPreferences; import android.database.sqlite.SQLiteDatabase; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; im...
package com.tripspins.app; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import com.tripspins.app.helper.C...
package com.tripspins.app; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.TextView; import com.facebook.Session; import com.facebook.SessionState; import com.facebook.UiLifecycleHelper; import com.facebook.model.GraphUser; import com.facebook.wid...
package com.tripspins.app.fragment; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view...
package com.tripspins.app.fragment; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Lis...
package com.tripspins.app.fragment; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment;...
package com.tripspins.app.fragment; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android....
package com.tripspins.app.adapter; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.AsyncTask; import android.util.Log; import android.view.LayoutInflate...
package com.tripspins.app.adapter; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.View...
package com.tripspins.app.adapter; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.Context; import android.content.DialogInterface; import android.content.res.Resources; import android.graphics.Bitmap; import an...
package com.tripspins.app.adapter; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.support.v4.widget.DrawerLayout; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import ...
package com.tripspins.app.helper; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle;...
package com.tripspins.app.helper; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.os.AsyncTask; import android.widget.Toast; import com.tripspins.app.R; import com.tripspins.app.bo.Attachment; import com.tripspins.app.bo.Pin; import com.tripspins.app.bo.Trip; ...
package com.tripspins.app.helper; /** * Created by João.Rutkoski on 25/06/13. */ public enum FILE_TYPE { IMAGE("IMG"), VIDEO("VID"), AUDIO("AUD"), CONTACT("CON"); private String value; private FILE_TYPE(String status) { this.value = status; } public ...
package com.tripspins.app.helper; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import com.tripspins.app.exception.NoConnectionException; import com.tripspins.app.exception.OfflineModeException; import com.tripspins.app.inte...
package com.tripspins.app.helper; /** * Created by João.Rutkoski on 23/09/13. */ public enum TRIP_STATUS { RUNNING("R"), PLANNED("P"), FINISHED("F"); private String value; TRIP_STATUS(String status) { this.value = status; } public String getValue(){ ...
package com.tripspins.app.helper; import android.os.AsyncTask; import android.util.Log; import com.tripspins.app.bo.Pin; import com.tripspins.app.bo.Route; import com.tripspins.app.bo.Segment; import com.tripspins.app.bo.Trip; import com.tripspins.app.interfaces.OnTaskCompleted; import com.google.android.gm...
package com.tripspins.app.helper; import android.content.Context; import android.net.Uri; import android.os.Environment; import com.tripspins.app.R; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.i...
package com.tripspins.app.helper; import android.content.Context; import android.location.Address; import android.location.Criteria; import android.location.Geocoder; import android.location.Location; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; import android.w...
package com.tripspins.app.helper; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorMatrix; import android.graphics.ColorMatrixColorFilter; import android.graphics.M...
package com.tripspins.app.helper; import android.app.Activity; import android.content.SharedPreferences; import android.preference.PreferenceManager; /** * Created by João.Rutkoski on 28/11/13. */ public class PreferencesHelper { static SharedPreferences settings; public static int getSharedP...
package com.tripspins.app.helper; import android.net.Uri; /** * Created by joaortk on 01/08/13. */ public class ConstantsHelper { public static final int PIN_DEFAULT = 0; public static final int PIN_START = 1; public static final int PIN_FINISH = 2; public static final int NEW_AT...
package com.tripspins.app.helper; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; /** * Created by João.Rutkoski on 11/03/14. */ public class SensorsHelper implements S...
package com.tripspins.app.helper; import android.os.AsyncTask; import android.util.Log; import com.tripspins.app.bo.CurrentWeather; import com.tripspins.app.interfaces.OnTaskCompleted; import com.google.android.gms.maps.model.LatLng; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; ...
package com.tripspins.app.helper; import android.app.Activity; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; /** * Created by João.Rutkoski on 28/11/13. */ public class DeviceCheckHelper { public static boolean isNetworkConnected(Activity ac...
package com.tripspins.app.helper; import android.view.View; import android.view.ViewGroup; import android.widget.ListAdapter; import android.widget.ListView; /** * Created by João.Rutkoski on 13/08/13. */ public class ListViewHelper { public static void setListViewHeightBasedOnChildren(ListView listV...
package com.tripspins.app.helper; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.AsyncTask; import com.tripspins.app.R; import com.tripspins.app.bo.Attachment; import com.tripspins.app.exception.NoConnectionException; import com.tripspins...
package com.tripspins.app.helper; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class DbHelper extends SQLiteOpenHelper { private static final String DROP_TRIPS = "drop table trips;"; private static final String...
package com.tripspins.app.helper; import java.util.concurrent.BlockingQueue; /** * Created by joaortk on 02/04/2014. */ public class ThreadPoolHelper { private static BlockingQueue<Runnable> threadQueue; private static ThreadPoolHelper instance; private ThreadPoolHelper () { } ...
package com.tripspins.app.helper; import android.app.ActionBar; import android.app.Activity; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.widget.DrawerLayout; import android.widget.ListView; import com.tripspins.app.R; import com.tripspins.app.adapter.DrawerMenuAdapter; /...
package com.tripspins.app; import android.app.ActionBar; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.app.FragmentManager; import android.content.Context; import android.content.DialogInterface; import android.conten...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
package com.facebook; import android.graphics.Bitmap; import java.io.File; import java.util.HashMap; import java.util.Map; import java.util.UUID; public class NativeAppCallAttachmentStoreTest extends FacebookTestCase { private static final UUID CALL_ID = UUID.randomUUID(); private static final String ATTACHM...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
/** * Copyright 2010-present Facebook. * * 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 agre...
package com.facebook.model; import android.test.AndroidTestCase; import android.test.suitebuilder.annotation.LargeTest; import android.test.suitebuilder.annotation.MediumTest; import android.test.suitebuilder.annotation.SmallTest; import org.json.JSONException; import org.json.JSONObject; import java.util.Arrays; im...