Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package com.animoto.api.cli; public interface Raw { public void setRawEntity(String rawEntity); }
22
github-java-corpus
2,012
package com.animoto.api.cli; import com.animoto.api.resource.RenderingJob; public class RawRenderingJob extends RenderingJob implements Raw { private String rawJson; public void setRawEntity(String rawEntity) { this.rawJson = rawEntity; } public String toJson() { return rawJson; } }
68
github-java-corpus
2,012
package com.animoto.api.cli; import com.animoto.api.resource.DirectingJob; public class RawDirectingJob extends DirectingJob implements Raw { private String rawJson; public void setRawEntity(String rawEntity) { this.rawJson = rawEntity; } public String toJson() { return rawJson; } }
71
github-java-corpus
2,012
package com.animoto.api.exception; /** * A ContractException is thrown when the API response message for a given resource does not adhere to the current service contract requirements as specified in the documentation.<p/> * * For example, when an API response does not contain Storyboard when the DirectingJob has su...
148
github-java-corpus
2,012
package com.animoto.api.exception; /** * This exception wraps around any Java net exceptions that might be thrown, i.e. network issues, malformed response.<p/> */ public class HttpException extends ApiException { private Exception exception; public HttpException(Exception exception) { this.exception = excep...
116
github-java-corpus
2,012
package com.animoto.api.exception; import com.animoto.api.ApiError; import com.animoto.api.dto.ApiResponse; import com.animoto.api.dto.Status; import com.animoto.api.dto.Response; /** * This exception is thrown whenever a RESTFUL contract between the client and the API is broken with respect to HTTP status codes.<p/...
448
github-java-corpus
2,012
package com.animoto.api.exception; /** * Parent class for all exceptions that are thrown by the API Client for Java. */ public abstract class ApiException extends Exception { }
33
github-java-corpus
2,012
package com.animoto.api; import java.util.ResourceBundle; /** * Factory to create ApiClient objects with key, secret, and host read from a properties file, animoto_api_client.properties.<p/> * * As per all resource bundles, the bundle must be located in your application CLASS_PATH.<p/> * * There is an example co...
248
github-java-corpus
2,012
package com.animoto.api.util; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileNotFoundException; import java.io.IOException; public class FileUtil { public static String readFile(String fileName) throws Exception { File file = new File(fileName); StringBuffe...
197
github-java-corpus
2,012
package com.animoto.api.util; import java.io.InputStream; import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; public class StringUtil { public static boolean isBlank(String s) { if (s == null || s.trim().equals("")) { return true; } else { return fals...
176
github-java-corpus
2,012
package com.animoto.api.util; import com.animoto.api.enums.*; import com.animoto.api.postroll.Postroll; import com.animoto.api.gson.serializer.*; import com.animoto.api.gson.deserializer.*; import com.google.gson.*; public class GsonUtil { public static Gson create() { GsonBuilder gsonBuilder = new GsonBuilder...
242
github-java-corpus
2,012
package com.animoto.api.util; import com.animoto.api.resource.Resource; import com.animoto.api.resource.BaseResource; import com.animoto.api.resource.RenderingJob; import com.animoto.api.resource.DirectingJob; import com.animoto.api.resource.DirectingAndRenderingJob; import com.animoto.api.exception.ContractException;...
394
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.Jsonable; import com.animoto.api.DirectingManifest; import com.animoto.api.RenderingManifest; import com.animoto.api.exception.HttpExpectationException; import com.animoto.api.exception.HttpException; import com.animoto.api.exception.ContractException; import o...
335
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.Jsonable; import com.animoto.api.StoryboardBundlingManifest; import com.animoto.api.exception.ContractException; /** * A StoryboardBundlingJob represents the status of your storyboardBundling job on the API.<p/> * * You will need to call ApiClient.reload() i...
434
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.Jsonable; import com.animoto.api.RenderingManifest; import com.animoto.api.util.GsonUtil; import com.animoto.api.exception.HttpExpectationException; import com.animoto.api.exception.ContractException; import java.io.IOException; import org.apache.http.HttpResp...
354
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.RenderingParameters; /** * A Video represents the video metadata of the video Animoto generated for you.<p/> * * You will need to call ApiClient.reload() in order to obtain the latest information from API.<p/> * * @see com.animoto.api.ApiClient */ public ...
210
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.Jsonable; import com.animoto.api.DirectingManifest; import com.animoto.api.exception.HttpExpectationException; import com.animoto.api.exception.ContractException; import com.animoto.api.util.GsonUtil; import java.io.IOException; import org.apache.http.HttpResp...
345
github-java-corpus
2,012
package com.animoto.api.resource; /** * A Storyboard represents the directing metadata of all the assets you provided to Animoto for your video.<p/> * * You will need to call ApiClient.reload() in order to obtain the latest information from API.<p/> * * @see com.animoto.api.ApiClient */ public class Storyboard ...
100
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.Jsonable; import com.animoto.api.StoryboardUnbundlingManifest; /** * A StoryboardUnbundlingJob represents the status of your storyboardUnbundling job on the API.<p/> * * You will need to call ApiClient.reload() in order to obtain the latest information from ...
390
github-java-corpus
2,012
package com.animoto.api.resource; public interface Resource { public String getLocation(); public String getContentType(); public String getAccept(); }
26
github-java-corpus
2,012
package com.animoto.api.resource; /** * This abstract resource represents API resources that only support HTTP GET.<p/> * * Current resources that extend this class are Storyboard and Video.<p/> * * @see Storyboard * @see Video */ public abstract class BaseHttpGetOnlyResource extends BaseResource { public Str...
91
github-java-corpus
2,012
package com.animoto.api.resource; import com.animoto.api.ApiClient; import com.animoto.api.Metadata; import com.animoto.api.enums.HttpCallbackFormat; import com.animoto.api.util.GsonUtil; import com.animoto.api.util.StringUtil; import com.animoto.api.dto.ApiResponse; import com.animoto.api.exception.ApiException; impo...
2,340
github-java-corpus
2,012
package com.animoto.api.gson.deserializer; import java.lang.reflect.*; import com.google.gson.*; import com.google.gson.JsonElement; import com.animoto.api.postroll.*; public class PostrollDeserializer implements JsonDeserializer<Postroll> { public Postroll deserialize(JsonElement json, Type classOfT, JsonDeseria...
323
github-java-corpus
2,012
package com.animoto.api.gson.deserializer; import java.lang.reflect.*; import com.google.gson.*; import com.animoto.api.enums.Framerate; public class FramerateDeserializer implements JsonDeserializer { public Object deserialize(JsonElement json, Type classOfT, JsonDeserializationContext context) throws JsonParseE...
90
github-java-corpus
2,012
package com.animoto.api.gson.deserializer; import java.lang.reflect.*; import com.google.gson.*; import com.animoto.api.enums.Resolution; public class ResolutionDeserializer implements JsonDeserializer { public Object deserialize(JsonElement json, Type classOfT, JsonDeserializationContext context) throws JsonPars...
91
github-java-corpus
2,012
package com.animoto.api.gson.deserializer; import java.lang.reflect.*; import com.google.gson.*; import com.animoto.api.enums.Format; public class FormatDeserializer implements JsonDeserializer { public Object deserialize(JsonElement json, Type classOfT, JsonDeserializationContext context) throws JsonParseExcepti...
81
github-java-corpus
2,012
package com.animoto.api.gson.serializer; import com.google.gson.*; import java.lang.reflect.*; public class ValueSerializer implements JsonSerializer { public JsonElement serialize(Object object, Type objectType, JsonSerializationContext context) { try { Method method = object.getClass().getMethod("getVa...
138
github-java-corpus
2,012
package com.animoto.api; import com.animoto.api.resource.Storyboard; /** * A StoryboardBundlingManifest instructs Animoto that all of the assets * for a single video should be bundled and made available for retrieval and * archival on the part of the caller (so that, at some arbitrary point * in the future, the c...
223
github-java-corpus
2,012
package com.animoto.api.postroll; import com.animoto.api.postroll.Postroll; import com.animoto.api.Jsonable; public class CustomFootagePostroll extends Postroll implements Jsonable { private String sourceUrl; public CustomFootagePostroll() { template = "custom_footage"; } public void setSourceUrl(String...
137
github-java-corpus
2,012
package com.animoto.api.postroll; import com.animoto.api.Jsonable; import com.google.gson.Gson; public abstract class Postroll implements Jsonable { protected String template; public void setTemplate(String template) { this.template = template; } public String getTemplate() { return this.template; ...
89
github-java-corpus
2,012
package com.animoto.api.postroll; import com.animoto.api.postroll.Postroll; import com.animoto.api.Jsonable; public class BasicPostroll extends Postroll implements Jsonable { public static final String POWERED_BY_ANIMOTO = "powered_by_animoto"; public static final String WHITE_LABEL = "white_label"; public Bas...
92
github-java-corpus
2,012
package com.animoto.api; /** * A StoryboardUnbundlingManifest instructs Animoto to reload the assets associated * with a movie that was directed at some point in the past; unbundling the * storyboard allows the movie to be rendered. * * @see com.animoto.api.resource.StoryboardUnbundlingJob */ public class Storyb...
147
github-java-corpus
2,012
package com.animoto.api; import java.util.Map; import java.util.HashMap; import java.util.Iterator; import java.util.Collection; import com.animoto.api.resource.Resource; import com.animoto.api.resource.BaseResource; import com.animoto.api.resource.DirectingJob; import com.animoto.api.resource.RenderingJob; import co...
4,771
github-java-corpus
2,012
package com.animoto.api.submitjob; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Mi...
1,834
github-java-corpus
2,012
package com.animoto.api; /** * A Song contains all information related to the audio file to be used when the API directs a video. * * @see DirectingManifest */ public class Song { private String sourceUrl; private Float startTime; private Float duration; /** * Set the HTTP URL to a valid MP3 file for y...
173
github-java-corpus
2,012
package com.animoto.api; /** * All implementing classes will support the ability to be serialized into JSON. */ public interface Jsonable { public String toJson(); }
33
github-java-corpus
2,012
package com.animoto.api.visual; import com.animoto.api.enums.Rotation; import com.animoto.api.enums.VisualType; /** * An Image contains all information needed to place an image in an Animoto video.<p/> * * It is added to a DirectingManifest when directing.<p/> * * @see com.animoto.api.DirectingManifest */ publi...
335
github-java-corpus
2,012
package com.animoto.api.visual; import com.animoto.api.enums.VisualType; import com.google.gson.annotations.SerializedName; public abstract class BaseVisual implements Visual { @SerializedName("type") protected VisualType visualType = null; public String getType() { if (visualType == null) { return n...
80
github-java-corpus
2,012
package com.animoto.api.visual; import com.animoto.api.enums.VisualType; /** * A TitleCard represents text to show in your Animoto video.<p/> * * It is added to a DirectingManifest when directing.<p/> * * @see com.animoto.api.DirectingManifest */ public class TitleCard extends BaseVisual { private Boolean spo...
215
github-java-corpus
2,012
package com.animoto.api.visual; import com.animoto.api.enums.VisualType; import com.animoto.api.enums.AudioMix; /** * A Footage object represents video to be used in an Animoto video. * * @see com.animoto.api.DirectingManifest */ public class Footage extends BaseVisual { private String sourceUrl; private Audi...
392
github-java-corpus
2,012
package com.animoto.api.visual; /** * A visual represents all of the visual components to be used when directing an Animoto video.<p/> * * @see com.animoto.api.DirectingManifest */ public interface Visual { public String getType(); }
52
github-java-corpus
2,012
package com.animoto.api.dto; import com.animoto.api.resource.*; import java.lang.reflect.*; public class Payload { private DirectingJob directingJob; private RenderingJob renderingJob; private DirectingAndRenderingJob directingAndRenderingJob; private StoryboardBundlingJob storyboardBundlingJob; private St...
400
github-java-corpus
2,012
package com.animoto.api.dto; import com.animoto.api.ApiError; import com.google.gson.annotations.SerializedName; public class Status { private int code; @SerializedName("errors") private ApiError[] apiErrors; public int getCode() { return code; } public ApiError[] getApiErrors() { return apiError...
74
github-java-corpus
2,012
package com.animoto.api.dto; public class Response { private Status status; private Payload payload; public Status getStatus() { return status; } public Payload getPayload() { return payload; } }
47
github-java-corpus
2,012
package com.animoto.api.dto; public class ApiResponse { private Response response; public Response getResponse() { return response; } }
30
github-java-corpus
2,012
package com.animoto.api.enums; public enum Format { H264("h264"); private String value; Format(String value) { this.value = value; } public String getValue() { return value; } }
50
github-java-corpus
2,012
package com.animoto.api.enums; public enum Resolution { R_180P("180p"), R_270P("270p"), R_360P("360p"), R_480P("480p"), R_720P("720p"), R_1080P("1080p"); private String value; Resolution(String value) { this.value = value; } public String getValue() { return value; } }
94
github-java-corpus
2,012
package com.animoto.api.enums; public enum Pacing { /* * AUTO instructs Animoto to choose pacing based * on artistic considerations. The pacing chosen * generally will be moderate, but, unlike the * MODERATE pacing value below, AUTO allows Animoto * to deviate from a moderate pacing based...
169
github-java-corpus
2,012
package com.animoto.api.enums; public enum AudioMix { NONE("none"), MIX("mix"); private String value; AudioMix(String value) { this.value = value; } public String getValue() { return value; } }
54
github-java-corpus
2,012
package com.animoto.api.enums; public enum Framerate { F_12(12), F_15(15), F_24(24), F_30(30); private float value; Framerate(float value) { this.value = value; } public float getValue() { return value; } }
72
github-java-corpus
2,012
package com.animoto.api.enums; public enum VisualType { FOOTAGE("footage"), IMAGE("image"), TITLE_CARD("title_card"); private String value; VisualType(String value) { this.value = value; } public String getValue() { return value; } }
62
github-java-corpus
2,012
package com.animoto.api.enums; public enum Style { ORIGINAL("original"), MOTHERS_DAY_2011("mothers_day_2011"), ELEGANCE("elegance_12"), VINTAGE("vintage"), COSMIC_TIDINGS("cosmic_tidings"), WONDERLAND_OF_SNOW("wonderland_of_snow"), THROUGH_THE_BLOSSOMS("valentines_day_2012_hands"), WATERCOLOR_SEASHORE("mothers...
262
github-java-corpus
2,012
package com.animoto.api.enums; public enum HttpCallbackFormat { XML, JSON; }
19
github-java-corpus
2,012
package com.animoto.api.enums; /** * This enumeration represents the possible orientation values for your Image visual.<p/> * * @see com.animoto.api.visual.Image */ public enum Rotation { ZERO(0), ONE(1), TWO(2), THREE(3); private int value; Rotation(int value) { this.value = value; } public int g...
88
github-java-corpus
2,012
package com.animoto.api; /** * Encapsulates all metadata returned from an API resource. * * This model was introduced in 1.2 to better represent the response from API. Previously it was represented as a Map<String, String>. * * @since 1.2 */ import java.util.List; public class Metadata { private float durati...
242
github-java-corpus
2,012
package com.animoto.api; import com.animoto.api.resource.Storyboard; /** * A RenderingManifest is used to communicate video rendering instructions to the API and return a RenderingJob.<p/> * * @see com.animoto.api.resource.RenderingJob */ public class RenderingManifest { private String storyboardUrl; private ...
226
github-java-corpus
2,012
package com.animoto.api; import junit.framework.TestCase; public class SongTest extends TestCase { public void testAttributes() { Song song = new Song(); song.setSourceUrl("http://cold.play.com/in_my_place.mp3"); assertEquals("http://cold.play.com/in_my_place.mp3", song.getSourceUrl()); song.setSta...
123
github-java-corpus
2,012
package com.animoto.api; import org.apache.http.*; import org.apache.http.protocol.*; public class DummyHttpRequestInterceptor implements HttpRequestInterceptor { private boolean visited = false; public void process(HttpRequest request, HttpContext context) { visited = true; } public boolean isVisite...
67
github-java-corpus
2,012
package com.animoto.api.util; import com.animoto.api.RenderingManifest; import com.animoto.api.RenderingParameters; import com.animoto.api.enums.*; public class RenderingManifestFactory { public static RenderingManifest newInstance() { RenderingManifest renderingManifest = new RenderingManifest(); Rendering...
135
github-java-corpus
2,012
package com.animoto.api.util; import com.animoto.api.DirectingManifest; import com.animoto.api.Song; import com.animoto.api.visual.*; import com.animoto.api.enums.*; import com.animoto.api.postroll.*; public class DirectingManifestFactory { public static DirectingManifest newInstance(boolean cover) { DirectingM...
413
github-java-corpus
2,012
package com.animoto.api.util; import junit.framework.TestCase; import com.animoto.api.resource.Resource; import com.animoto.api.resource.RenderingJob; import com.animoto.api.resource.DirectingAndRenderingJob; public class CallbackUtilTest extends TestCase { public void testGenerateFromRenderingJson() throws Except...
625
github-java-corpus
2,012
package com.animoto.api.resource; import junit.framework.TestCase; import com.animoto.api.DirectingManifest; import com.animoto.api.enums.HttpCallbackFormat; import com.animoto.api.util.DirectingManifestFactory; import org.json.simple.*; import org.json.simple.parser.*; public class DirectingJobTest extends TestCas...
953
github-java-corpus
2,012
package com.animoto.api.resource; import junit.framework.TestCase; import com.animoto.api.resource.Storyboard; import org.json.simple.*; import org.json.simple.parser.*; public class StoryboardTest extends TestCase { public void testFromJson() { Storyboard storyboard = new Storyboard(); String json = "{\"...
276
github-java-corpus
2,012
package com.animoto.api.resource; import junit.framework.TestCase; import com.animoto.api.ApiError; import com.animoto.api.RenderingManifest; import com.animoto.api.enums.HttpCallbackFormat; import com.animoto.api.dto.ApiResponse; import com.animoto.api.util.GsonUtil; import com.animoto.api.util.RenderingManifestFact...
619
github-java-corpus
2,012
package com.animoto.api.resource; import junit.framework.TestCase; import com.animoto.api.RenderingParameters; import com.animoto.api.resource.Video; import com.animoto.api.enums.Framerate; import com.animoto.api.enums.Resolution; import com.animoto.api.enums.Format; public class VideoTest extends TestCase { publi...
666
github-java-corpus
2,012
package com.animoto.api.resource; import junit.framework.TestCase; import com.animoto.api.ApiError; import com.animoto.api.dto.*; public class DirectingAndRenderingJobTest extends TestCase { public void testFromJson() { String json = "{\"response\":{\"payload\":{\"directing_and_rendering_job\":{\"links\":{\"se...
456
github-java-corpus
2,012
package com.animoto.api; import junit.framework.TestCase; import java.util.List; import java.util.ArrayList; import org.apache.http.HttpRequestInterceptor; import org.apache.http.HttpStatus; import com.animoto.api.util.DirectingManifestFactory; import com.animoto.api.util.RenderingManifestFactory; import com.animo...
3,007
github-java-corpus
2,012
package com.animoto.api.dto; import junit.framework.TestCase; import com.animoto.api.resource.DirectingJob; public class PayloadTest extends TestCase { public void testGetBaseResource() { Payload payload = new Payload(); assertNull(payload.getBaseResource(DirectingJob.class)); } }
62
github-java-corpus
2,012
package com.animoto.api; import junit.framework.TestCase; import com.animoto.api.postroll.*; import com.google.gson.*; import com.animoto.api.gson.deserializer.PostrollDeserializer; public class PostrollTest extends TestCase { protected GsonBuilder parserFactory = null; protected Gson parser = null; public v...
802
github-java-corpus
2,012
package com.animoto.api; import junit.framework.TestCase; public class ApiClientTest extends TestCase { protected ApiClient apiClient = null; public void setUp() { apiClient = new ApiClient("foo", "bar"); } public void testConstructor() { assertEquals("foo", apiClient.getKey()); assertEquals("ba...
78
github-java-corpus
2,012
package example; import info.guardianproject.database.sqlcipher.SQLiteDatabase; import info.guardianproject.database.sqlcipher.SQLiteOpenHelper; import android.content.Context; import android.provider.BaseColumns; import android.util.Log; /** Helper to the database, manages versions and creation */ public class Event...
330
github-java-corpus
2,012
package example; import android.database.Cursor; import info.guardianproject.database.sqlcipher.SQLiteDatabase; import android.app.Activity; import android.content.ContentValues; import android.os.Bundle; import android.util.Log; public class SQLDemoActivity extends Activity { EventDataSQLHelper eventsData; ...
419
github-java-corpus
2,012
package example; import net.sqlcipher.database.SQLiteDatabase; import net.sqlcipher.database.SQLiteOpenHelper; import android.content.Context; import android.provider.BaseColumns; import android.util.Log; /** Helper to the database, manages versions and creation */ public class EventDataSQLHelper extends SQLiteOpenHe...
324
github-java-corpus
2,012
package example; import android.database.Cursor; import net.sqlcipher.database.SQLiteDatabase; import android.app.Activity; import android.content.ContentValues; import android.os.Bundle; import android.util.Log; public class SQLDemoActivity extends Activity { EventDataSQLHelper eventsData; @Override publi...
416
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
1,997
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
1,026
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
4,136
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
195
github-java-corpus
2,012
/* * Copyright (C) 2008 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 app...
231
github-java-corpus
2,012
/* * Copyright (C) 2007 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 app...
1,388
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
4,954
github-java-corpus
2,012
/* * Copyright (C) 2007 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 app...
496
github-java-corpus
2,012
/* * Copyright (C) 2009 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 app...
812
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
192
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
225
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
193
github-java-corpus
2,012
/* * Copyright (C) 2008 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 app...
216
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
20,534
github-java-corpus
2,012
/* * Copyright (C) 2008 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 app...
188
github-java-corpus
2,012
/* * Copyright (C) 2007 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 app...
2,093
github-java-corpus
2,012
/* * Copyright (C) 2008 Esmertec AG. * Copyright (C) 2008 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/LICEN...
743
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
1,319
github-java-corpus
2,012
/* * Copyright (C) 2009 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 app...
1,291
github-java-corpus
2,012
/* * Copyright (C) 2008 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 app...
188
github-java-corpus
2,012
package net.sqlcipher.database; public interface SQLiteDatabaseHook { void preKey(SQLiteDatabase database); void postKey(SQLiteDatabase database); }
28
github-java-corpus
2,012
/* * Copyright (C) 2007 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 app...
406
github-java-corpus
2,012
/* * Copyright (C) 2008 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 app...
177
github-java-corpus
2,012
/* * Copyright (C) 2006 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 app...
2,271
github-java-corpus
2,012
/* * Copyright (C) 2007 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 app...
598
github-java-corpus
2,012
/* * Copyright (C) 2009 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 app...
218