text
stringlengths
3
1.18M
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package androidutal; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.HeadlessException; import java.awt.Image; import java.awt.Toolkit; import java.io.FileInputStream; import java.io...
package com.cruel_wandering.wifi_geo_predictor; import android.app.Activity; import android.os.Bundle; public class Odysseus extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package com.kuzmich.locator.location; import java.util.LinkedList; import java.util.Timer; import java.util.TimerTask; import com.kuzmich.locator.CellID; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import an...
package com.kuzmich.locator.location; import java.util.HashMap; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManage...
package com.kuzmich.locator.location; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager...
package com.kuzmich.locator.location; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; public interface MyLocationProvider { /** * Returns the current enabled/disabled status. */ public boolean isEnabled(); /** * Returns a Location indicating the ...
package com.kuzmich.locator; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; import android.view.Gravity; import android.view.Menu; import android.view.MenuItem; import android.view.SubMenu; import a...
package com.cruel_wandering.wifi_geo_predictor; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.util.DisplayMetrics; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapView; import com.google...
package com.cruel_wandering.wifi_geo_predictor; import java.util.LinkedList; import com.cruel_wandering.wifi_geo_predictor.location.MyLocationManager; import com.cruel_wandering.wifi_geo_predictor.location.MyLocationProvider; import com.cruel_wandering.wifi_geo_predictor.util.Pair; import com.cruel_wandering.wifi_geo...
package com.cruel_wandering.wifi_geo_predictor; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.location.Loc...
package com.cruel_wandering.wifi_geo_predictor; import com.cruel_wandering.wifi_geo_predictor.wifi_simulation.MyWifiInfo; import android.location.Location; public class DBEntry { private static final int defaultRadius = 20; private String ap_BSSID; private String ap_SSID; private Location ap_location...
package com.cruel_wandering.wifi_geo_predictor.location; import java.util.LinkedList; import com.cruel_wandering.wifi_geo_predictor.CellID; import com.cruel_wandering.wifi_geo_predictor.Logger; import com.cruel_wandering.wifi_geo_predictor.util.MyTimer; import android.content.Context; import android.locatio...
package com.cruel_wandering.wifi_geo_predictor.location; import java.util.HashMap; import java.util.Map; import com.cruel_wandering.wifi_geo_predictor.Logger; import com.cruel_wandering.wifi_geo_predictor.util.MyTimer; import android.content.Context; import android.location.Criteria; import android.location.Location...
package com.cruel_wandering.wifi_geo_predictor.location; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.locat...
package com.cruel_wandering.wifi_geo_predictor.location; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; public interface MyLocationProvider { /** * Returns the current enabled/disabled status. */ public boolean isEnabled(); /** * Returns a Locat...
package com.cruel_wandering.wifi_geo_predictor; import android.content.Intent; import android.database.Cursor; import android.graphics.Canvas; import android.location.Location; import android.location.LocationListener; import android.os.Bundle; import android.util.DisplayMetrics; import android.util.Log; import androi...
package com.cruel_wandering.wifi_geo_predictor; import android.app.Activity; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.widget.TextView; public class GPSListener extends Activity implements LocationListe...
package com.cruel_wandering.wifi_geo_predictor; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; import android.widget.Toast; public class Logger implements SharedPreferences.OnSharedPreferenceChangeListener { static pri...
package com.cruel_wandering.wifi_geo_predictor; import android.content.Context; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Point; import android.util.DisplayMetrics; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapView; import com.google...
package com.cruel_wandering.wifi_geo_predictor; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import com.cruel_wandering.wifi_geo_predictor.wifi_simulation...
package com.cruel_wandering.wifi_geo_predictor; import java.util.HashMap; import java.util.Map; import android.os.Bundle; import android.preference.PreferenceActivity; @SuppressWarnings("serial") public class Preferences extends PreferenceActivity { static public final String MAY_USE_GPS = "use_GPS"; static public...
package com.cruel_wandering.wifi_geo_predictor; import java.util.List; import com.cruel_wandering.wifi_geo_predictor.wifi_simulation.MyScanResult; import com.cruel_wandering.wifi_geo_predictor.wifi_simulation.MyWifiManager; import android.content.BroadcastReceiver; import android.content.Context; import and...
package com.cruel_wandering.wifi_geo_predictor; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; import android.app.Activity; impo...
package com.cruel_wandering.wifi_geo_predictor; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.widget.SimpleCursor...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import java.util.LinkedList; import java.util.List; import com.cruel_wandering.wifi_geo_predictor.Logger; import android.content.Context; import android.location.Location; import android.net.DhcpInfo; import android.net.wifi.WifiConfiguration; import an...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; public class MyAccessPoint { private String macAddr; private double longtitude; private double latitude; private double altitude; private double radius; public MyAccessPoint(String macAddr, double longtitude, double latitude, double radiu...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import android.net.wifi.ScanResult; public class MyScanResult { /** * The address of the access point. */ public String BSSID; /** * The network name. */ public String SSID; /** * Describes the authentication, key management, and encryptio...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import java.util.LinkedList; import java.util.List; import android.content.Context; import android.net.DhcpInfo; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; import android.net.wifi.W...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import java.util.LinkedList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; impo...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import java.util.List; import android.net.DhcpInfo; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiManager; public abstract class MyWifiManager { abstract public int addNetwork(WifiConfiguration config); abstract public WifiMan...
package com.cruel_wandering.wifi_geo_predictor.wifi_simulation; import android.net.wifi.SupplicantState; import android.net.wifi.WifiInfo; public class MyWifiInfo { private String BSSID; private boolean hiddenSSID; private int ipAddress; private int linkSpeed; private int networkId; private int rssi; private S...
package com.cruel_wandering.wifi_geo_predictor.util; import java.util.concurrent.Executor; import com.cruel_wandering.wifi_geo_predictor.Logger; import android.content.Context; import android.os.Handler; import android.os.Looper; /** * The class is a simple implementation of Timer, which knows to execute * Runnab...
package com.cruel_wandering.wifi_geo_predictor.util; public class Pair<T, S> { public final T first; public final S second; public Pair(T f, S s){ first = f; second = s; } public String toString() { return "(" + first.toString() + ", " + second.toString() + ")"; } }
package com.steffanbecker.pedidos; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.ListView; import android.widget.TextView; import com.steffanbecker.pedidos.adapter.ItensAdapter; public class ...
package com.steffanbecker.pedidos; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.CheckBox; import android.widget.EditText; import android.widget.Toast; import com.steffanbecker.pedidos.database.orm.Categories; import com.steffanbecker.pedidos.database...
package com.steffanbecker.pedidos.database.orm; import android.database.sqlite.SQLiteDatabase; import java.util.Map; import de.greenrobot.dao.AbstractDao; import de.greenrobot.dao.DaoConfig; import de.greenrobot.dao.AbstractDaoSession; import de.greenrobot.dao.IdentityScopeType; import com.steffanbecker....
package com.steffanbecker.pedidos.database.orm; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase.CursorFactory; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import de.greenrobot.dao.AbstractDaoMaster; impor...
package com.steffanbecker.pedidos.database.orm.helper; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import com.steffanbecker.pedidos.database.orm.DaoMaster; import com.steffanbecker.pedidos.database.orm.DaoMaster.DevOpenHelper; import com.steffanbecker.pedidos.database.orm.Dao...
package com.steffanbecker.pedidos; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.ListView; import com.steffanbecker.pedidos.adapter.RequestsAdapter; public class RequestsListActivity extends A...
package com.steffanbecker.pedidos; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved...
package com.steffanbecker.pedidos; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Spinner; import android.widget.Toast; import com.steffanbecker.pedidos.adapter.TableNumbersAdapter; import com.steffanbecker.pedidos.database.orm.DaoSession; import com.s...
package com.steffanbecker.pedidos; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import android.app.Activity; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; import android.os.Bundle; import a...
package com.steffanbecker.pedidos.adapter; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuIn...
package com.steffanbecker.pedidos.adapter; import android.view.View; import android.view.ViewGroup; import android.widget.AbsListView.LayoutParams; import android.widget.BaseAdapter; import android.widget.RelativeLayout; import android.widget.TextView; import com.steffanbecker.pedidos.RequestsAddActivity; ...
package com.steffanbecker.pedidos.adapter; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuIn...
package com.steffanbecker.pedidos.adapter; import java.text.NumberFormat; import java.util.List; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.view.ContextMenu; import androi...
package com.steffanbecker.pedidos; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.ListView; import com.steffanbecker.pedidos.adapter.CategoriesAdapter; public class CategoriesListActivity extends Activity { private L...
package com.steffanbecker.requests; public class RequestsStates { public static final String NEW = "new"; public static final String FINALIZED = "finalized"; }
/** Automatically generated file. DO NOT MODIFY */ package com.steffanbecker.pedidos; public final class BuildConfig { public final static boolean DEBUG = true; }
package ca.fwe.weather; import android.app.Activity; import android.appwidget.AppWidgetManager; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.Log; import ca.fwe.weather.backend.LocationDatabase; import ca.fwe.weather.core.ForecastLocation; public abstract class W...
package ca.fwe.weather; import android.appwidget.AppWidgetManager; import android.appwidget.AppWidgetProvider; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.util.Log; import android.widget.RemoteViews; import ca.fwe.weather.backend.LocationDatabase; import ca.fwe...
package ca.fwe.weather; import java.util.List; import android.app.AlertDialog; import android.app.ListActivity; import android.app.ProgressDialog; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.con...
package ca.fwe.weather.util; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.net.URLConnection; public class Downloader { private File tempFile ; private S...
package ca.fwe.weather.util; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import ca.fwe.locations.geometry.LatLon; public class LocationFetcher { private static final long UPDATE_TIME = ...
package ca.fwe.weather.util; public class RandomString { private static final String chars = "abcdefghijklmnopABCDEFGHIJKLMNOP" ; private static int randint(int low, int high) { int delta = high - low ; return (int)(low + Math.round(Math.random() * delta)) ; } private static char randomchar() { return c...
package ca.fwe.weather.util; import java.io.BufferedInputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.net.URLConnection; import org.xmlpull.v1.XmlPullParserException; import android....
package ca.fwe.weather.util; import java.io.IOException; import java.util.List; import android.content.Context; import android.location.Address; import android.location.Geocoder; import android.os.AsyncTask; public class GeocoderAsync { private Geocoder geocoder ; private GeocoderTask geocoderTask ; private OnGe...
package ca.fwe.weather.backend; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import android.util.Log; import android.util.Xml; import ca.fwe.weather.core.Forecast; publi...
package ca.fwe.weather.backend; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.net.Uri; import androi...
package ca.fwe.weather.backend; import java.util.List; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net....
package ca.fwe.weather.backend; import java.util.ArrayList; import java.util.List; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.Uri;...
package ca.fwe.weather.backend; import java.util.ArrayList; import java.util.List; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.net.Uri; import androi...
package ca.fwe.weather.backend; import java.util.List; import android.content.Context; import android.net.Uri; import ca.fwe.locations.geometry.LatLon; import ca.fwe.weather.core.ForecastLocation; import ca.fwe.weather.core.ForecastRegion; public abstract class LocationDatabase { private Context context ; publi...
package ca.fwe.weather.backend; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.content.SharedPre...
package ca.fwe.weather; import java.util.Locale; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Configuration; import android.pre...
package ca.fwe.weather; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; import android.app.AlertDialog; import android.app.ListActivity; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import a...
package ca.fwe.weather; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import android.widget.TextView; import ca.fwe.weather.core.Forecast; import ca.fwe.weather.core.ForecastItem; import ca.fwe.weather.core....
package ca.fwe.weather.core; public interface ForecastRegion { public String getRegionCode() ; public String getName(int lang) ; public String getParentRegionCode() ; }
package ca.fwe.weather.core; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import android.util.Log; import ca.fwe.weather.R; public class CurrentConditions extends ForecastItem { private static final String TAG = "CurrentConditions" ; pr...
package ca.fwe.weather.core; import java.io.File; import android.net.Uri; import ca.fwe.locations.geometry.LatLon; import ca.fwe.weather.backend.ForecastXMLParser; public abstract class ForecastLocation { private String alias ; public abstract Uri getUri(); public abstract LatLon getLatLon(); public abstra...
package ca.fwe.weather.core; import java.util.Date; import ca.fwe.weather.R; public abstract class WeatherWarning extends ForecastItem { public enum Types {WATCH, WARNING, ADVISORY, STATEMENT, ENDED_NOTIFICATION} ; private Types type ; private Date date ; public WeatherWarning(Forecast forecast) { super(f...
package ca.fwe.weather.core; import java.text.DateFormat; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import android.content.C...
package ca.fwe.weather.core; import android.graphics.drawable.Drawable; public class ForecastItem { public static final int ICON_NONE = Integer.MIN_VALUE ; protected Forecast forecast ; protected String title ; protected String description ; protected Drawable icon ; protected int iconId ; public Forecas...
package ca.fwe.weather.core; import java.util.HashMap; import java.util.Map; public class Units { public enum Unit {DEG_F, DEG_C, DEG_K, MILES_PER_HOUR, KILOMETRES_PER_HOUR, METRES_PER_SECOND, KNOTS, METRES, MILES, KILOMETRES, NAUTICAL_MILES, PASCALS, MILLIBARS, IN_HG, MM_HG, KILOPASCALS} public enum Cate...
package ca.fwe.weather.core; import java.text.NumberFormat; import java.util.ArrayList; import java.util.List; public class TimePeriodForecast extends ForecastItem { private double high ; private double low ; private double pop ; private String condition ; private List<String> extraInfoLabels ; private List<S...
package ca.fwe.weather; import android.content.Context; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class CustomSpinnerAdapter<Type> extends ArrayAdapter<Type>{ public CustomSpinnerAdapter(Context context) { super(context, and...
package com.lunevich.layoutanimation; import static com.nineoldandroids.view.ViewPropertyAnimator.animate; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import...
/** * */ package com.lunevich.layoutanimation; import com.nineoldandroids.animation.AnimatorSet; import com.nineoldandroids.animation.ObjectAnimator; import android.content.Context; import android.util.Log; import android.widget.Button; /** * @author andrey_lunevich * */ public class CustomButton extends Butto...
/* * Copyright 2010 Google Inc. * * 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 w...
/* * Copyright 2010 Google Inc. * * 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 w...
/* * Copyright 2010 Google Inc. * * 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 w...
/* * Copyright 2010 Google Inc. * * 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 w...
/* * Copyright 2010 Google Inc. * * 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 w...
package com.google.android.apps.mytracks.services.sensors; import com.google.android.apps.mytracks.Constants; import com.google.android.apps.mytracks.services.sensors.ant.AntDirectSensorManager; import com.google.android.apps.mytracks.services.sensors.ant.AntSrmBridgeSensorManager; import com.google.android.maps.mytra...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2009 Google Inc. * * 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 w...
package com.google.android.apps.mytracks.services.sensors; import java.util.Arrays; import com.google.android.apps.mytracks.content.Sensor; import junit.framework.TestCase; public class PolarMessageParserTest extends TestCase { PolarMessageParser parser = new PolarMessageParser(); // A complete and valid Polar...
package com.google.android.apps.mytracks.services.sensors; import com.google.android.apps.mytracks.content.Sensor; import junit.framework.TestCase; public class ZephyrMessageParserTest extends TestCase { ZephyrMessageParser parser = new ZephyrMessageParser(); public void testIsValid() { byte[] smallBuf = n...
/* * Copyright 2010 Google Inc. * * 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 i...
/* * Copyright 2010 Google Inc. * * 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 i...
/* * Copyright 2011 Google Inc. * * 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 i...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...
/* * Copyright 2011 Google Inc. * * 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 w...