mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #6739 from joefarebrother/android-intent-extra
Java: Model Android Bundle and Intent extras methods
This commit is contained in:
@@ -78,6 +78,7 @@ private import FlowSummary
|
||||
private module Frameworks {
|
||||
private import internal.ContainerFlow
|
||||
private import semmle.code.java.frameworks.android.XssSinks
|
||||
private import semmle.code.java.frameworks.android.Intent
|
||||
private import semmle.code.java.frameworks.ApacheHttp
|
||||
private import semmle.code.java.frameworks.apache.Collections
|
||||
private import semmle.code.java.frameworks.apache.Lang
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import java
|
||||
import semmle.code.java.dataflow.FlowSteps
|
||||
import semmle.code.java.dataflow.ExternalFlow
|
||||
|
||||
class TypeIntent extends Class {
|
||||
TypeIntent() { hasQualifiedName("android.content", "Intent") }
|
||||
@@ -52,3 +53,153 @@ class BundleGetterMethod extends Method, TaintPreservingCallable {
|
||||
|
||||
override predicate returnsTaintFrom(int arg) { arg = -1 }
|
||||
}
|
||||
|
||||
private class IntentBundleFlowSteps extends SummaryModelCsv {
|
||||
override predicate row(string row) {
|
||||
row =
|
||||
[
|
||||
//"namespace;type;subtypes;name;signature;ext;input;output;kind"
|
||||
"android.os;BaseBundle;true;get;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;BaseBundle;true;getString;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;BaseBundle;true;getString;(String,String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;BaseBundle;true;getString;(String,String);;Argument[1];ReturnValue;value",
|
||||
"android.os;BaseBundle;true;getStringArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;BaseBundle;true;keySet;();;MapKey of Argument[-1];Element of ReturnValue;value",
|
||||
"android.os;BaseBundle;true;putAll;(PersistableBundle);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putAll;(PersistableBundle);;MapValue of Argument[0];MapValue of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putBoolean;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putBooleanArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putDouble;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putDoubleArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putInt;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putIntArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putLong;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putLongArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putString;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putString;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putStringArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;BaseBundle;true;putStringArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;false;Bundle;(Bundle);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;false;Bundle;(Bundle);;MapValue of Argument[0];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;false;Bundle;(PersistableBundle);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;false;Bundle;(PersistableBundle);;MapValue of Argument[0];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;clone;();;MapKey of Argument[-1];MapKey of ReturnValue;value",
|
||||
"android.os;Bundle;true;clone;();;MapValue of Argument[-1];MapValue of ReturnValue;value",
|
||||
// model for Bundle.deepCopy is not fully precise, as some map values aren't copied by value
|
||||
"android.os;Bundle;true;deepCopy;();;MapKey of Argument[-1];MapKey of ReturnValue;value",
|
||||
"android.os;Bundle;true;deepCopy;();;MapValue of Argument[-1];MapValue of ReturnValue;value",
|
||||
"android.os;Bundle;true;getBinder;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getBundle;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getByteArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharSequence;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharSequence;(String,CharSequence);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharSequence;(String,CharSequence);;Argument[1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharSequenceArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getCharSequenceArrayList;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getParcelable;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getParcelableArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getParcelableArrayList;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getSerializable;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getSparseParcelableArray;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;getStringArrayList;(String);;MapValue of Argument[-1];ReturnValue;value",
|
||||
"android.os;Bundle;true;putAll;(Bundle);;MapKey of Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putAll;(Bundle);;MapValue of Argument[0];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putBinder;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putBinder;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putBundle;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putBundle;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putByte;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putByteArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putByteArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putChar;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequence;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequence;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequenceArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequenceArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequenceArrayList;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putCharSequenceArrayList;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putFloat;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putFloatArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putIntegerArrayList;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelable;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelable;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelableArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelableArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelableArrayList;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putParcelableArrayList;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSerializable;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSerializable;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putShort;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putShortArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSize;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSizeF;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSparseParcelableArray;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putSparseParcelableArray;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;putStringArrayList;;;Argument[0];MapKey of Argument[-1];value",
|
||||
"android.os;Bundle;true;putStringArrayList;;;Argument[1];MapValue of Argument[-1];value",
|
||||
"android.os;Bundle;true;readFromParcel;;;Argument[0];MapKey of Argument[-1];taint",
|
||||
"android.os;Bundle;true;readFromParcel;;;Argument[0];MapValue of Argument[-1];taint",
|
||||
// currently only the Extras part of the intent is fully modelled
|
||||
"android.content;Intent;true;addCategory;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;addFlags;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;false;Intent;(Intent);;MapKey of SyntheticField[android.content.Intent.extras] of Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;false;Intent;(Intent);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[0];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;getExtras;();;SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getBundleExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getByteArrayExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getCharArrayExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getCharSequenceArrayExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getCharSequenceArrayListExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getCharSequenceExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getParcelableArrayExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getParcelableArrayListExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getParcelableExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getSerializableExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getStringArrayExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getStringArrayListExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;getStringExtra;(String);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putCharSequenceArrayListExtra;;;Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putCharSequenceArrayListExtra;;;Argument[1];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putCharSequenceArrayListExtra;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putExtra;;;Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtra;;;Argument[1];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtra;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putIntegerArrayListExtra;;;Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putIntegerArrayListExtra;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putParcelableArrayListExtra;;;Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putParcelableArrayListExtra;;;Argument[1];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putParcelableArrayListExtra;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putStringArrayListExtra;;;Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putStringArrayListExtra;;;Argument[1];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putStringArrayListExtra;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putExtras;(Bundle);;MapKey of Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtras;(Bundle);;MapValue of Argument[0];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtras;(Bundle);;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;putExtras;(Intent);;MapKey of SyntheticField[android.content.Intent.extras] of Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtras;(Intent);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[0];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;putExtras;(Intent);;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;replaceExtras;(Bundle);;MapKey of Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;replaceExtras;(Bundle);;MapValue of Argument[0];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;replaceExtras;(Bundle);;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;replaceExtras;(Intent);;MapKey of SyntheticField[android.content.Intent.extras] of Argument[0];MapKey of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;replaceExtras;(Intent);;MapValue of SyntheticField[android.content.Intent.extras] of Argument[0];MapValue of SyntheticField[android.content.Intent.extras] of Argument[-1];value",
|
||||
"android.content;Intent;true;replaceExtras;(Intent);;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setAction;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setClass;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setClassName;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setComponent;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setData;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setDataAndNormalize;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setDataAndType;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setDataAndTypeAndNormalize;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setFlags;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setIdentifier;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setPackage;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setType;;;Argument[-1];ReturnValue;value",
|
||||
"android.content;Intent;true;setTypeAndNormalize;;;Argument[-1];ReturnValue;value"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
| IntentSources.java:16:20:16:30 | getIntent(...) | IntentSources.java:16:20:16:52 | getStringExtra(...) |
|
||||
| IntentSources.java:16:20:16:30 | getIntent(...) | IntentSources.java:17:29:17:35 | trouble |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | ../../../stubs/google-android-9.0.0/android/content/Intent.java:1358:19:1358:27 | parameter this |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | ../../../stubs/google-android-9.0.0/android/os/BaseBundle.java:600:19:600:27 | [summary] read: <map.value> of argument -1 in getString |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | ../../../stubs/google-android-9.0.0/android/os/BaseBundle.java:600:19:600:27 | [summary] to write: return (return) in getString |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | ../../../stubs/google-android-9.0.0/android/os/BaseBundle.java:600:19:600:27 | parameter this |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | IntentSources.java:23:20:23:30 | getIntent(...) |
|
||||
| IntentSources.java:23:20:23:30 | getIntent(...) | IntentSources.java:23:20:23:42 | getExtras(...) |
|
||||
|
||||
1501
java/ql/test/library-tests/frameworks/android/intent/Test.java
Normal file
1501
java/ql/test/library-tests/frameworks/android/intent/Test.java
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/android
|
||||
15
java/ql/test/library-tests/frameworks/android/intent/test.ql
Normal file
15
java/ql/test/library-tests/frameworks/android/intent/test.ql
Normal file
@@ -0,0 +1,15 @@
|
||||
import java
|
||||
import TestUtilities.InlineFlowTest
|
||||
|
||||
class SummaryModelTest extends SummaryModelCsv {
|
||||
override predicate row(string row) {
|
||||
row =
|
||||
[
|
||||
//"package;type;overrides;name;signature;ext;inputspec;outputspec;kind",
|
||||
"generatedtest;Test;false;newBundleWithMapValue;(Object);;Argument[0];MapValue of ReturnValue;value",
|
||||
"generatedtest;Test;false;newPersistableBundleWithMapValue;(Object);;Argument[0];MapValue of ReturnValue;value",
|
||||
"generatedtest;Test;false;getMapValue;(BaseBundle);;MapValue of Argument[0];ReturnValue;value",
|
||||
"generatedtest;Test;false;newWithIntent_extras;(Bundle);;Argument[0];SyntheticField[android.content.Intent.extras] of ReturnValue;value"
|
||||
]
|
||||
}
|
||||
}
|
||||
21
java/ql/test/stubs/android/android/accounts/Account.java
generated
Normal file
21
java/ql/test/stubs/android/android/accounts/Account.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from android.accounts.Account for testing purposes
|
||||
|
||||
package android.accounts;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class Account implements Parcelable
|
||||
{
|
||||
protected Account() {}
|
||||
public Account(Parcel p0){}
|
||||
public Account(String p0, String p1){}
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final String name = null;
|
||||
public final String type = null;
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<Account> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
@@ -1,255 +1,45 @@
|
||||
/*
|
||||
* 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 applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Generated automatically from android.content.BroadcastReceiver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
/**
|
||||
* Base class for code that will receive intents sent by sendBroadcast().
|
||||
*
|
||||
* <p>If you don't need to send broadcasts across applications, consider using
|
||||
* this class with {@link android.support.v4.content.LocalBroadcastManager} instead
|
||||
* of the more general facilities described below. This will give you a much
|
||||
* more efficient implementation (no cross-process communication needed) and allow
|
||||
* you to avoid thinking about any security issues related to other applications
|
||||
* being able to receive or send your broadcasts.
|
||||
*
|
||||
* <p>You can either dynamically register an instance of this class with
|
||||
* {@link Context#registerReceiver Context.registerReceiver()}
|
||||
* or statically publish an implementation through the
|
||||
* {@link android.R.styleable#AndroidManifestReceiver <receiver>}
|
||||
* tag in your <code>AndroidManifest.xml</code>.
|
||||
*
|
||||
* <p><em><strong>Note:</strong></em>
|
||||
* If registering a receiver in your
|
||||
* {@link android.app.Activity#onResume() Activity.onResume()}
|
||||
* implementation, you should unregister it in
|
||||
* {@link android.app.Activity#onPause() Activity.onPause()}.
|
||||
* (You won't receive intents when paused,
|
||||
* and this will cut down on unnecessary system overhead). Do not unregister in
|
||||
* {@link android.app.Activity#onSaveInstanceState(android.os.Bundle) Activity.onSaveInstanceState()},
|
||||
* because this won't be called if the user moves back in the history
|
||||
* stack.
|
||||
*
|
||||
* <p>There are two major classes of broadcasts that can be received:</p>
|
||||
* <ul>
|
||||
* <li> <b>Normal broadcasts</b> (sent with {@link Context#sendBroadcast(Intent)
|
||||
* Context.sendBroadcast}) are completely asynchronous. All receivers of the
|
||||
* broadcast are run in an undefined order, often at the same time. This is
|
||||
* more efficient, but means that receivers cannot use the result or abort
|
||||
* APIs included here.
|
||||
* <li> <b>Ordered broadcasts</b> (sent with {@link Context#sendOrderedBroadcast(Intent, String)
|
||||
* Context.sendOrderedBroadcast}) are delivered to one receiver at a time.
|
||||
* As each receiver executes in turn, it can propagate a result to the next
|
||||
* receiver, or it can completely abort the broadcast so that it won't be passed
|
||||
* to other receivers. The order receivers run in can be controlled with the
|
||||
* {@link android.R.styleable#AndroidManifestIntentFilter_priority
|
||||
* android:priority} attribute of the matching intent-filter; receivers with
|
||||
* the same priority will be run in an arbitrary order.
|
||||
* </ul>
|
||||
*
|
||||
* <p>Even in the case of normal broadcasts, the system may in some
|
||||
* situations revert to delivering the broadcast one receiver at a time. In
|
||||
* particular, for receivers that may require the creation of a process, only
|
||||
* one will be run at a time to avoid overloading the system with new processes.
|
||||
* In this situation, however, the non-ordered semantics hold: these receivers still
|
||||
* cannot return results or abort their broadcast.</p>
|
||||
*
|
||||
* <p>Note that, although the Intent class is used for sending and receiving
|
||||
* these broadcasts, the Intent broadcast mechanism here is completely separate
|
||||
* from Intents that are used to start Activities with
|
||||
* {@link Context#startActivity Context.startActivity()}.
|
||||
* There is no way for a BroadcastReceiver
|
||||
* to see or capture Intents used with startActivity(); likewise, when
|
||||
* you broadcast an Intent, you will never find or start an Activity.
|
||||
* These two operations are semantically very different: starting an
|
||||
* Activity with an Intent is a foreground operation that modifies what the
|
||||
* user is currently interacting with; broadcasting an Intent is a background
|
||||
* operation that the user is not normally aware of.
|
||||
*
|
||||
* <p>The BroadcastReceiver class (when launched as a component through
|
||||
* a manifest's {@link android.R.styleable#AndroidManifestReceiver <receiver>}
|
||||
* tag) is an important part of an
|
||||
* <a href="{@docRoot}guide/topics/fundamentals.html#lcycles">application's overall lifecycle</a>.</p>
|
||||
*
|
||||
* <p>Topics covered here:
|
||||
* <ol>
|
||||
* <li><a href="#Security">Security</a>
|
||||
* <li><a href="#ReceiverLifecycle">Receiver Lifecycle</a>
|
||||
* <li><a href="#ProcessLifecycle">Process Lifecycle</a>
|
||||
* </ol>
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For information about how to use this class to receive and resolve intents, read the
|
||||
* <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* <a name="Security"></a>
|
||||
* <h3>Security</h3>
|
||||
*
|
||||
* <p>Receivers used with the {@link Context} APIs are by their nature a
|
||||
* cross-application facility, so you must consider how other applications
|
||||
* may be able to abuse your use of them. Some things to consider are:
|
||||
*
|
||||
* <ul>
|
||||
* <li><p>The Intent namespace is global. Make sure that Intent action names and
|
||||
* other strings are written in a namespace you own, or else you may inadvertantly
|
||||
* conflict with other applications.
|
||||
* <li><p>When you use {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)},
|
||||
* <em>any</em> application may send broadcasts to that registered receiver. You can
|
||||
* control who can send broadcasts to it through permissions described below.
|
||||
* <li><p>When you publish a receiver in your application's manifest and specify
|
||||
* intent-filters for it, any other application can send broadcasts to it regardless
|
||||
* of the filters you specify. To prevent others from sending to it, make it
|
||||
* unavailable to them with <code>android:exported="false"</code>.
|
||||
* <li><p>When you use {@link Context#sendBroadcast(Intent)} or related methods,
|
||||
* normally any other application can receive these broadcasts. You can control who
|
||||
* can receive such broadcasts through permissions described below. Alternatively,
|
||||
* starting with {@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}, you
|
||||
* can also safely restrict the broadcast to a single application with
|
||||
* {@link Intent#setPackage(String) Intent.setPackage}
|
||||
* </ul>
|
||||
*
|
||||
* <p>None of these issues exist when using
|
||||
* {@link android.support.v4.content.LocalBroadcastManager}, since intents
|
||||
* broadcast it never go outside of the current process.
|
||||
*
|
||||
* <p>Access permissions can be enforced by either the sender or receiver
|
||||
* of a broadcast.
|
||||
*
|
||||
* <p>To enforce a permission when sending, you supply a non-null
|
||||
* <var>permission</var> argument to
|
||||
* {@link Context#sendBroadcast(Intent, String)} or
|
||||
* {@link Context#sendOrderedBroadcast(Intent, String, BroadcastReceiver, android.os.Handler, int, String, Bundle)}.
|
||||
* Only receivers who have been granted this permission
|
||||
* (by requesting it with the
|
||||
* {@link android.R.styleable#AndroidManifestUsesPermission <uses-permission>}
|
||||
* tag in their <code>AndroidManifest.xml</code>) will be able to receive
|
||||
* the broadcast.
|
||||
*
|
||||
* <p>To enforce a permission when receiving, you supply a non-null
|
||||
* <var>permission</var> when registering your receiver -- either when calling
|
||||
* {@link Context#registerReceiver(BroadcastReceiver, IntentFilter, String, android.os.Handler)}
|
||||
* or in the static
|
||||
* {@link android.R.styleable#AndroidManifestReceiver <receiver>}
|
||||
* tag in your <code>AndroidManifest.xml</code>. Only broadcasters who have
|
||||
* been granted this permission (by requesting it with the
|
||||
* {@link android.R.styleable#AndroidManifestUsesPermission <uses-permission>}
|
||||
* tag in their <code>AndroidManifest.xml</code>) will be able to send an
|
||||
* Intent to the receiver.
|
||||
*
|
||||
* <p>See the <a href="{@docRoot}guide/topics/security/security.html">Security and Permissions</a>
|
||||
* document for more information on permissions and security in general.
|
||||
*
|
||||
* <a name="ReceiverLifecycle"></a>
|
||||
* <h3>Receiver Lifecycle</h3>
|
||||
*
|
||||
* <p>A BroadcastReceiver object is only valid for the duration of the call
|
||||
* to {@link #onReceive}. Once your code returns from this function,
|
||||
* the system considers the object to be finished and no longer active.
|
||||
*
|
||||
* <p>This has important repercussions to what you can do in an
|
||||
* {@link #onReceive} implementation: anything that requires asynchronous
|
||||
* operation is not available, because you will need to return from the
|
||||
* function to handle the asynchronous operation, but at that point the
|
||||
* BroadcastReceiver is no longer active and thus the system is free to kill
|
||||
* its process before the asynchronous operation completes.
|
||||
*
|
||||
* <p>In particular, you may <i>not</i> show a dialog or bind to a service from
|
||||
* within a BroadcastReceiver. For the former, you should instead use the
|
||||
* {@link android.app.NotificationManager} API. For the latter, you can
|
||||
* use {@link android.content.Context#startService Context.startService()} to
|
||||
* send a command to the service.
|
||||
*
|
||||
* <a name="ProcessLifecycle"></a>
|
||||
* <h3>Process Lifecycle</h3>
|
||||
*
|
||||
* <p>A process that is currently executing a BroadcastReceiver (that is,
|
||||
* currently running the code in its {@link #onReceive} method) is
|
||||
* considered to be a foreground process and will be kept running by the
|
||||
* system except under cases of extreme memory pressure.
|
||||
*
|
||||
* <p>Once you return from onReceive(), the BroadcastReceiver is no longer
|
||||
* active, and its hosting process is only as important as any other application
|
||||
* components that are running in it. This is especially important because if
|
||||
* that process was only hosting the BroadcastReceiver (a common case for
|
||||
* applications that the user has never or not recently interacted with), then
|
||||
* upon returning from onReceive() the system will consider its process
|
||||
* to be empty and aggressively kill it so that resources are available for other
|
||||
* more important processes.
|
||||
*
|
||||
* <p>This means that for longer-running operations you will often use
|
||||
* a {@link android.app.Service} in conjunction with a BroadcastReceiver to keep
|
||||
* the containing process active for the entire time of your operation.
|
||||
*/
|
||||
public abstract class BroadcastReceiver {
|
||||
|
||||
/**
|
||||
* State for a result that is pending for a broadcast receiver. Returned
|
||||
* by {@link BroadcastReceiver#goAsync() goAsync()}
|
||||
* while in {@link BroadcastReceiver#onReceive BroadcastReceiver.onReceive()}.
|
||||
* This allows you to return from onReceive() without having the broadcast
|
||||
* terminate; you must call {@link #finish()} once you are done with the
|
||||
* broadcast. This allows you to process the broadcast off of the main
|
||||
* thread of your app.
|
||||
*
|
||||
* <p>Note on threading: the state inside of this class is not itself
|
||||
* thread-safe, however you can use it from any thread if you properly
|
||||
* sure that you do not have races. Typically this means you will hand
|
||||
* the entire object to another thread, which will be solely responsible
|
||||
* for setting any results and finally calling {@link #finish()}.
|
||||
*/
|
||||
|
||||
public BroadcastReceiver() {
|
||||
import android.os.IBinder;
|
||||
|
||||
abstract public class BroadcastReceiver
|
||||
{
|
||||
public BroadcastReceiver(){}
|
||||
public IBinder peekService(Context p0, Intent p1){ return null; }
|
||||
public abstract void onReceive(Context p0, Intent p1);
|
||||
public final BroadcastReceiver.PendingResult goAsync(){ return null; }
|
||||
public final Bundle getResultExtras(boolean p0){ return null; }
|
||||
public final String getResultData(){ return null; }
|
||||
public final boolean getAbortBroadcast(){ return false; }
|
||||
public final boolean getDebugUnregister(){ return false; }
|
||||
public final boolean isInitialStickyBroadcast(){ return false; }
|
||||
public final boolean isOrderedBroadcast(){ return false; }
|
||||
public final int getResultCode(){ return 0; }
|
||||
public final void abortBroadcast(){}
|
||||
public final void clearAbortBroadcast(){}
|
||||
public final void setDebugUnregister(boolean p0){}
|
||||
public final void setOrderedHint(boolean p0){}
|
||||
public final void setResult(int p0, String p1, Bundle p2){}
|
||||
public final void setResultCode(int p0){}
|
||||
public final void setResultData(String p0){}
|
||||
public final void setResultExtras(Bundle p0){}
|
||||
static public class PendingResult
|
||||
{
|
||||
public final Bundle getResultExtras(boolean p0){ return null; }
|
||||
public final String getResultData(){ return null; }
|
||||
public final boolean getAbortBroadcast(){ return false; }
|
||||
public final int getResultCode(){ return 0; }
|
||||
public final void abortBroadcast(){}
|
||||
public final void clearAbortBroadcast(){}
|
||||
public final void finish(){}
|
||||
public final void setResult(int p0, String p1, Bundle p2){}
|
||||
public final void setResultCode(int p0){}
|
||||
public final void setResultData(String p0){}
|
||||
public final void setResultExtras(Bundle p0){}
|
||||
}
|
||||
/**
|
||||
* This method is called when the BroadcastReceiver is receiving an Intent
|
||||
* broadcast. During this time you can use the other methods on
|
||||
* BroadcastReceiver to view/modify the current result values. This method
|
||||
* is always called within the main thread of its process, unless you
|
||||
* explicitly asked for it to be scheduled on a different thread using
|
||||
* {@link android.content.Context#registerReceiver(BroadcastReceiver,
|
||||
* IntentFilter, String, android.os.Handler)}. When it runs on the main
|
||||
* thread you should
|
||||
* never perform long-running operations in it (there is a timeout of
|
||||
* 10 seconds that the system allows before considering the receiver to
|
||||
* be blocked and a candidate to be killed). You cannot launch a popup dialog
|
||||
* in your implementation of onReceive().
|
||||
*
|
||||
* <p><b>If this BroadcastReceiver was launched through a <receiver> tag,
|
||||
* then the object is no longer alive after returning from this
|
||||
* function.</b> This means you should not perform any operations that
|
||||
* return a result to you asynchronously -- in particular, for interacting
|
||||
* with services, you should use
|
||||
* {@link Context#startService(Intent)} instead of
|
||||
* {@link Context#bindService(Intent, ServiceConnection, int)}. If you wish
|
||||
* to interact with a service that is already running, you can use
|
||||
* {@link #peekService}.
|
||||
*
|
||||
* <p>The Intent filters used in {@link android.content.Context#registerReceiver}
|
||||
* and in application manifests are <em>not</em> guaranteed to be exclusive. They
|
||||
* are hints to the operating system about how to find suitable recipients. It is
|
||||
* possible for senders to force delivery to specific recipients, bypassing filter
|
||||
* resolution. For this reason, {@link #onReceive(Context, Intent) onReceive()}
|
||||
* implementations should respond only to known actions, ignoring any unexpected
|
||||
* Intents that they may receive.
|
||||
*
|
||||
* @param context The Context in which the receiver is running.
|
||||
* @param intent The Intent being received.
|
||||
*/
|
||||
public abstract void onReceive(Context context, Intent intent);
|
||||
}
|
||||
}
|
||||
|
||||
51
java/ql/test/stubs/android/android/content/ClipData.java
generated
Normal file
51
java/ql/test/stubs/android/android/content/ClipData.java
generated
Normal file
@@ -0,0 +1,51 @@
|
||||
// Generated automatically from android.content.ClipData for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ClipDescription;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ClipData implements Parcelable
|
||||
{
|
||||
protected ClipData() {}
|
||||
public ClipData(CharSequence p0, String[] p1, ClipData.Item p2){}
|
||||
public ClipData(ClipData p0){}
|
||||
public ClipData(ClipDescription p0, ClipData.Item p1){}
|
||||
public ClipData.Item getItemAt(int p0){ return null; }
|
||||
public ClipDescription getDescription(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getItemCount(){ return 0; }
|
||||
public static ClipData newHtmlText(CharSequence p0, CharSequence p1, String p2){ return null; }
|
||||
public static ClipData newIntent(CharSequence p0, Intent p1){ return null; }
|
||||
public static ClipData newPlainText(CharSequence p0, CharSequence p1){ return null; }
|
||||
public static ClipData newRawUri(CharSequence p0, Uri p1){ return null; }
|
||||
public static ClipData newUri(ContentResolver p0, CharSequence p1, Uri p2){ return null; }
|
||||
public static Parcelable.Creator<ClipData> CREATOR = null;
|
||||
public void addItem(ClipData.Item p0){}
|
||||
public void addItem(ContentResolver p0, ClipData.Item p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class Item
|
||||
{
|
||||
protected Item() {}
|
||||
public CharSequence coerceToStyledText(Context p0){ return null; }
|
||||
public CharSequence coerceToText(Context p0){ return null; }
|
||||
public CharSequence getText(){ return null; }
|
||||
public Intent getIntent(){ return null; }
|
||||
public Item(CharSequence p0){}
|
||||
public Item(CharSequence p0, Intent p1, Uri p2){}
|
||||
public Item(CharSequence p0, String p1){}
|
||||
public Item(CharSequence p0, String p1, Intent p2, Uri p3){}
|
||||
public Item(Intent p0){}
|
||||
public Item(Uri p0){}
|
||||
public String coerceToHtmlText(Context p0){ return null; }
|
||||
public String getHtmlText(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
}
|
||||
}
|
||||
32
java/ql/test/stubs/android/android/content/ClipDescription.java
generated
Normal file
32
java/ql/test/stubs/android/android/content/ClipDescription.java
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
// Generated automatically from android.content.ClipDescription for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PersistableBundle;
|
||||
|
||||
public class ClipDescription implements Parcelable
|
||||
{
|
||||
protected ClipDescription() {}
|
||||
public CharSequence getLabel(){ return null; }
|
||||
public ClipDescription(CharSequence p0, String[] p1){}
|
||||
public ClipDescription(ClipDescription p0){}
|
||||
public PersistableBundle getExtras(){ return null; }
|
||||
public String getMimeType(int p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public String[] filterMimeTypes(String p0){ return null; }
|
||||
public boolean hasMimeType(String p0){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getMimeTypeCount(){ return 0; }
|
||||
public long getTimestamp(){ return 0; }
|
||||
public static Parcelable.Creator<ClipDescription> CREATOR = null;
|
||||
public static String MIMETYPE_TEXT_HTML = null;
|
||||
public static String MIMETYPE_TEXT_INTENT = null;
|
||||
public static String MIMETYPE_TEXT_PLAIN = null;
|
||||
public static String MIMETYPE_TEXT_URILIST = null;
|
||||
public static String MIMETYPE_UNKNOWN = null;
|
||||
public static boolean compareMimeTypes(String p0, String p1){ return false; }
|
||||
public void setExtras(PersistableBundle p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
11
java/ql/test/stubs/android/android/content/ComponentCallbacks.java
generated
Normal file
11
java/ql/test/stubs/android/android/content/ComponentCallbacks.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from android.content.ComponentCallbacks for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.res.Configuration;
|
||||
|
||||
public interface ComponentCallbacks
|
||||
{
|
||||
void onConfigurationChanged(Configuration p0);
|
||||
void onLowMemory();
|
||||
}
|
||||
17
java/ql/test/stubs/android/android/content/ComponentCallbacks2.java
generated
Normal file
17
java/ql/test/stubs/android/android/content/ComponentCallbacks2.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from android.content.ComponentCallbacks2 for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ComponentCallbacks;
|
||||
|
||||
public interface ComponentCallbacks2 extends ComponentCallbacks
|
||||
{
|
||||
static int TRIM_MEMORY_BACKGROUND = 0;
|
||||
static int TRIM_MEMORY_COMPLETE = 0;
|
||||
static int TRIM_MEMORY_MODERATE = 0;
|
||||
static int TRIM_MEMORY_RUNNING_CRITICAL = 0;
|
||||
static int TRIM_MEMORY_RUNNING_LOW = 0;
|
||||
static int TRIM_MEMORY_RUNNING_MODERATE = 0;
|
||||
static int TRIM_MEMORY_UI_HIDDEN = 0;
|
||||
void onTrimMemory(int p0);
|
||||
}
|
||||
35
java/ql/test/stubs/android/android/content/ComponentName.java
generated
Normal file
35
java/ql/test/stubs/android/android/content/ComponentName.java
generated
Normal file
@@ -0,0 +1,35 @@
|
||||
// Generated automatically from android.content.ComponentName for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ComponentName implements Cloneable, Comparable<ComponentName>, Parcelable
|
||||
{
|
||||
protected ComponentName() {}
|
||||
public ComponentName clone(){ return null; }
|
||||
public ComponentName(Context p0, Class<? extends Object> p1){}
|
||||
public ComponentName(Context p0, String p1){}
|
||||
public ComponentName(Parcel p0){}
|
||||
public ComponentName(String p0, String p1){}
|
||||
public String flattenToShortString(){ return null; }
|
||||
public String flattenToString(){ return null; }
|
||||
public String getClassName(){ return null; }
|
||||
public String getPackageName(){ return null; }
|
||||
public String getShortClassName(){ return null; }
|
||||
public String toShortString(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int compareTo(ComponentName p0){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static ComponentName createRelative(Context p0, String p1){ return null; }
|
||||
public static ComponentName createRelative(String p0, String p1){ return null; }
|
||||
public static ComponentName readFromParcel(Parcel p0){ return null; }
|
||||
public static ComponentName unflattenFromString(String p0){ return null; }
|
||||
public static Parcelable.Creator<ComponentName> CREATOR = null;
|
||||
public static void writeToParcel(ComponentName p0, Parcel p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
@@ -1,17 +1,82 @@
|
||||
// Generated automatically from android.content.ContentProvider for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ComponentCallbacks2;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PathPermission;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.Configuration;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.CancellationSignal;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public abstract class ContentProvider {
|
||||
public abstract int delete(Uri uri, String selection, String[] selectionArgs);
|
||||
|
||||
public abstract Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder,
|
||||
CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder);
|
||||
|
||||
public abstract int update(Uri uri, ContentValues values, String selection, String[] selectionArgs);
|
||||
|
||||
abstract public class ContentProvider implements ComponentCallbacks2
|
||||
{
|
||||
protected boolean isTemporary(){ return false; }
|
||||
protected final ParcelFileDescriptor openFileHelper(Uri p0, String p1){ return null; }
|
||||
protected final void setPathPermissions(PathPermission[] p0){}
|
||||
protected final void setReadPermission(String p0){}
|
||||
protected final void setWritePermission(String p0){}
|
||||
public <T> ParcelFileDescriptor openPipeHelper(Uri p0, String p1, Bundle p2, T p3, ContentProvider.PipeDataWriter<T> p4){ return null; }
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1){ return null; }
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2){ return null; }
|
||||
public AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public Bundle call(String p0, String p1, Bundle p2){ return null; }
|
||||
public Bundle call(String p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public ContentProvider(){}
|
||||
public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> p0){ return null; }
|
||||
public ContentProviderResult[] applyBatch(String p0, ArrayList<ContentProviderOperation> p1){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4, CancellationSignal p5){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public String[] getStreamTypes(Uri p0, String p1){ return null; }
|
||||
public Uri canonicalize(Uri p0){ return null; }
|
||||
public Uri insert(Uri p0, ContentValues p1, Bundle p2){ return null; }
|
||||
public Uri uncanonicalize(Uri p0){ return null; }
|
||||
public abstract Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4);
|
||||
public abstract String getType(Uri p0);
|
||||
public abstract Uri insert(Uri p0, ContentValues p1);
|
||||
public abstract boolean onCreate();
|
||||
public abstract int delete(Uri p0, String p1, String[] p2);
|
||||
public abstract int update(Uri p0, ContentValues p1, String p2, String[] p3);
|
||||
public boolean refresh(Uri p0, Bundle p1, CancellationSignal p2){ return false; }
|
||||
public class CallingIdentity
|
||||
{
|
||||
}
|
||||
public final ContentProvider.CallingIdentity clearCallingIdentity(){ return null; }
|
||||
public final Context getContext(){ return null; }
|
||||
public final Context requireContext(){ return null; }
|
||||
public final PathPermission[] getPathPermissions(){ return null; }
|
||||
public final String getCallingAttributionTag(){ return null; }
|
||||
public final String getCallingPackage(){ return null; }
|
||||
public final String getCallingPackageUnchecked(){ return null; }
|
||||
public final String getReadPermission(){ return null; }
|
||||
public final String getWritePermission(){ return null; }
|
||||
public final void restoreCallingIdentity(ContentProvider.CallingIdentity p0){}
|
||||
public int bulkInsert(Uri p0, ContentValues[] p1){ return 0; }
|
||||
public int delete(Uri p0, Bundle p1){ return 0; }
|
||||
public int update(Uri p0, ContentValues p1, Bundle p2){ return 0; }
|
||||
public void attachInfo(Context p0, ProviderInfo p1){}
|
||||
public void dump(FileDescriptor p0, PrintWriter p1, String[] p2){}
|
||||
public void onCallingPackageChanged(){}
|
||||
public void onConfigurationChanged(Configuration p0){}
|
||||
public void onLowMemory(){}
|
||||
public void onTrimMemory(int p0){}
|
||||
public void shutdown(){}
|
||||
static public interface PipeDataWriter<T>
|
||||
{
|
||||
void writeDataToPipe(ParcelFileDescriptor p0, Uri p1, String p2, Bundle p3, T p4);
|
||||
}
|
||||
}
|
||||
|
||||
49
java/ql/test/stubs/android/android/content/ContentProviderClient.java
generated
Normal file
49
java/ql/test/stubs/android/android/content/ContentProviderClient.java
generated
Normal file
@@ -0,0 +1,49 @@
|
||||
// Generated automatically from android.content.ContentProviderClient for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.CancellationSignal;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class ContentProviderClient implements AutoCloseable
|
||||
{
|
||||
protected void finalize(){}
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1){ return null; }
|
||||
public AssetFileDescriptor openAssetFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public Bundle call(String p0, String p1, Bundle p2){ return null; }
|
||||
public Bundle call(String p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public ContentProvider getLocalContentProvider(){ return null; }
|
||||
public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> p0){ return null; }
|
||||
public ContentProviderResult[] applyBatch(String p0, ArrayList<ContentProviderOperation> p1){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4){ return null; }
|
||||
public Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4, CancellationSignal p5){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1){ return null; }
|
||||
public ParcelFileDescriptor openFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public String getType(Uri p0){ return null; }
|
||||
public String[] getStreamTypes(Uri p0, String p1){ return null; }
|
||||
public Uri insert(Uri p0, ContentValues p1){ return null; }
|
||||
public Uri insert(Uri p0, ContentValues p1, Bundle p2){ return null; }
|
||||
public boolean refresh(Uri p0, Bundle p1, CancellationSignal p2){ return false; }
|
||||
public boolean release(){ return false; }
|
||||
public final AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Uri canonicalize(Uri p0){ return null; }
|
||||
public final Uri uncanonicalize(Uri p0){ return null; }
|
||||
public int bulkInsert(Uri p0, ContentValues[] p1){ return 0; }
|
||||
public int delete(Uri p0, Bundle p1){ return 0; }
|
||||
public int delete(Uri p0, String p1, String[] p2){ return 0; }
|
||||
public int update(Uri p0, ContentValues p1, Bundle p2){ return 0; }
|
||||
public int update(Uri p0, ContentValues p1, String p2, String[] p3){ return 0; }
|
||||
public void close(){}
|
||||
}
|
||||
58
java/ql/test/stubs/android/android/content/ContentProviderOperation.java
generated
Normal file
58
java/ql/test/stubs/android/android/content/ContentProviderOperation.java
generated
Normal file
@@ -0,0 +1,58 @@
|
||||
// Generated automatically from android.content.ContentProviderOperation for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ContentProviderOperation implements Parcelable
|
||||
{
|
||||
public Bundle resolveExtrasBackReferences(ContentProviderResult[] p0, int p1){ return null; }
|
||||
public ContentProviderResult apply(ContentProvider p0, ContentProviderResult[] p1, int p2){ return null; }
|
||||
public ContentValues resolveValueBackReferences(ContentProviderResult[] p0, int p1){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public String[] resolveSelectionArgsBackReferences(ContentProviderResult[] p0, int p1){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
public boolean isAssertQuery(){ return false; }
|
||||
public boolean isCall(){ return false; }
|
||||
public boolean isDelete(){ return false; }
|
||||
public boolean isExceptionAllowed(){ return false; }
|
||||
public boolean isInsert(){ return false; }
|
||||
public boolean isReadOperation(){ return false; }
|
||||
public boolean isUpdate(){ return false; }
|
||||
public boolean isWriteOperation(){ return false; }
|
||||
public boolean isYieldAllowed(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public static ContentProviderOperation.Builder newAssertQuery(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newCall(Uri p0, String p1, String p2){ return null; }
|
||||
public static ContentProviderOperation.Builder newDelete(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newInsert(Uri p0){ return null; }
|
||||
public static ContentProviderOperation.Builder newUpdate(Uri p0){ return null; }
|
||||
public static Parcelable.Creator<ContentProviderOperation> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class Builder
|
||||
{
|
||||
protected Builder() {}
|
||||
public ContentProviderOperation build(){ return null; }
|
||||
public ContentProviderOperation.Builder withExceptionAllowed(boolean p0){ return null; }
|
||||
public ContentProviderOperation.Builder withExpectedCount(int p0){ return null; }
|
||||
public ContentProviderOperation.Builder withExtra(String p0, Object p1){ return null; }
|
||||
public ContentProviderOperation.Builder withExtraBackReference(String p0, int p1){ return null; }
|
||||
public ContentProviderOperation.Builder withExtraBackReference(String p0, int p1, String p2){ return null; }
|
||||
public ContentProviderOperation.Builder withExtras(Bundle p0){ return null; }
|
||||
public ContentProviderOperation.Builder withSelection(String p0, String[] p1){ return null; }
|
||||
public ContentProviderOperation.Builder withSelectionBackReference(int p0, int p1){ return null; }
|
||||
public ContentProviderOperation.Builder withSelectionBackReference(int p0, int p1, String p2){ return null; }
|
||||
public ContentProviderOperation.Builder withValue(String p0, Object p1){ return null; }
|
||||
public ContentProviderOperation.Builder withValueBackReference(String p0, int p1){ return null; }
|
||||
public ContentProviderOperation.Builder withValueBackReference(String p0, int p1, String p2){ return null; }
|
||||
public ContentProviderOperation.Builder withValueBackReferences(ContentValues p0){ return null; }
|
||||
public ContentProviderOperation.Builder withValues(ContentValues p0){ return null; }
|
||||
public ContentProviderOperation.Builder withYieldAllowed(boolean p0){ return null; }
|
||||
}
|
||||
}
|
||||
26
java/ql/test/stubs/android/android/content/ContentProviderResult.java
generated
Normal file
26
java/ql/test/stubs/android/android/content/ContentProviderResult.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from android.content.ContentProviderResult for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ContentProviderResult implements Parcelable
|
||||
{
|
||||
protected ContentProviderResult() {}
|
||||
public ContentProviderResult(Bundle p0){}
|
||||
public ContentProviderResult(Parcel p0){}
|
||||
public ContentProviderResult(Throwable p0){}
|
||||
public ContentProviderResult(Uri p0){}
|
||||
public ContentProviderResult(int p0){}
|
||||
public String toString(){ return null; }
|
||||
public final Bundle extras = null;
|
||||
public final Integer count = null;
|
||||
public final Throwable exception = null;
|
||||
public final Uri uri = null;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<ContentProviderResult> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
@@ -1,17 +1,160 @@
|
||||
// Generated automatically from android.content.ContentResolver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentProviderClient;
|
||||
import android.content.ContentProviderOperation;
|
||||
import android.content.ContentProviderResult;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.PeriodicSync;
|
||||
import android.content.SyncAdapterType;
|
||||
import android.content.SyncInfo;
|
||||
import android.content.SyncRequest;
|
||||
import android.content.SyncStatusObserver;
|
||||
import android.content.UriPermission;
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.database.ContentObserver;
|
||||
import android.database.Cursor;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.Icon;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.CancellationSignal;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.util.Size;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class ContentResolver {
|
||||
public abstract int delete(Uri uri, String selection, String[] selectionArgs);
|
||||
|
||||
public abstract Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder,
|
||||
CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder);
|
||||
|
||||
public abstract int update(Uri uri, ContentValues values, String selection, String[] selectionArgs);
|
||||
|
||||
abstract public class ContentResolver
|
||||
{
|
||||
protected ContentResolver() {}
|
||||
public Bitmap loadThumbnail(Uri p0, Size p1, CancellationSignal p2){ return null; }
|
||||
public ContentProviderResult[] applyBatch(String p0, ArrayList<ContentProviderOperation> p1){ return null; }
|
||||
public ContentResolver(Context p0){}
|
||||
public List<UriPermission> getOutgoingPersistedUriPermissions(){ return null; }
|
||||
public List<UriPermission> getPersistedUriPermissions(){ return null; }
|
||||
public String[] getStreamTypes(Uri p0, String p1){ return null; }
|
||||
public final AssetFileDescriptor openAssetFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final AssetFileDescriptor openAssetFileDescriptor(Uri p0, String p1){ return null; }
|
||||
public final AssetFileDescriptor openAssetFileDescriptor(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFile(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2){ return null; }
|
||||
public final AssetFileDescriptor openTypedAssetFileDescriptor(Uri p0, String p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Bundle call(String p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public final Bundle call(Uri p0, String p1, String p2, Bundle p3){ return null; }
|
||||
public final ContentProviderClient acquireContentProviderClient(String p0){ return null; }
|
||||
public final ContentProviderClient acquireContentProviderClient(Uri p0){ return null; }
|
||||
public final ContentProviderClient acquireUnstableContentProviderClient(String p0){ return null; }
|
||||
public final ContentProviderClient acquireUnstableContentProviderClient(Uri p0){ return null; }
|
||||
public final ContentResolver.MimeTypeInfo getTypeInfo(String p0){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, Bundle p2, CancellationSignal p3){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4){ return null; }
|
||||
public final Cursor query(Uri p0, String[] p1, String p2, String[] p3, String p4, CancellationSignal p5){ return null; }
|
||||
public final InputStream openInputStream(Uri p0){ return null; }
|
||||
public final OutputStream openOutputStream(Uri p0){ return null; }
|
||||
public final OutputStream openOutputStream(Uri p0, String p1){ return null; }
|
||||
public final ParcelFileDescriptor openFile(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final ParcelFileDescriptor openFileDescriptor(Uri p0, String p1){ return null; }
|
||||
public final ParcelFileDescriptor openFileDescriptor(Uri p0, String p1, CancellationSignal p2){ return null; }
|
||||
public final String getType(Uri p0){ return null; }
|
||||
public final Uri canonicalize(Uri p0){ return null; }
|
||||
public final Uri insert(Uri p0, ContentValues p1){ return null; }
|
||||
public final Uri insert(Uri p0, ContentValues p1, Bundle p2){ return null; }
|
||||
public final Uri uncanonicalize(Uri p0){ return null; }
|
||||
public final boolean refresh(Uri p0, Bundle p1, CancellationSignal p2){ return false; }
|
||||
public final int bulkInsert(Uri p0, ContentValues[] p1){ return 0; }
|
||||
public final int delete(Uri p0, Bundle p1){ return 0; }
|
||||
public final int delete(Uri p0, String p1, String[] p2){ return 0; }
|
||||
public final int update(Uri p0, ContentValues p1, Bundle p2){ return 0; }
|
||||
public final int update(Uri p0, ContentValues p1, String p2, String[] p3){ return 0; }
|
||||
public final void registerContentObserver(Uri p0, boolean p1, ContentObserver p2){}
|
||||
public final void unregisterContentObserver(ContentObserver p0){}
|
||||
public static ContentResolver wrap(ContentProvider p0){ return null; }
|
||||
public static ContentResolver wrap(ContentProviderClient p0){ return null; }
|
||||
public static List<PeriodicSync> getPeriodicSyncs(Account p0, String p1){ return null; }
|
||||
public static List<SyncInfo> getCurrentSyncs(){ return null; }
|
||||
public static Object addStatusChangeListener(int p0, SyncStatusObserver p1){ return null; }
|
||||
public static String ANY_CURSOR_ITEM_TYPE = null;
|
||||
public static String CURSOR_DIR_BASE_TYPE = null;
|
||||
public static String CURSOR_ITEM_BASE_TYPE = null;
|
||||
public static String EXTRA_HONORED_ARGS = null;
|
||||
public static String EXTRA_REFRESH_SUPPORTED = null;
|
||||
public static String EXTRA_SIZE = null;
|
||||
public static String EXTRA_TOTAL_COUNT = null;
|
||||
public static String QUERY_ARG_GROUP_COLUMNS = null;
|
||||
public static String QUERY_ARG_LIMIT = null;
|
||||
public static String QUERY_ARG_OFFSET = null;
|
||||
public static String QUERY_ARG_SORT_COLLATION = null;
|
||||
public static String QUERY_ARG_SORT_COLUMNS = null;
|
||||
public static String QUERY_ARG_SORT_DIRECTION = null;
|
||||
public static String QUERY_ARG_SORT_LOCALE = null;
|
||||
public static String QUERY_ARG_SQL_GROUP_BY = null;
|
||||
public static String QUERY_ARG_SQL_HAVING = null;
|
||||
public static String QUERY_ARG_SQL_LIMIT = null;
|
||||
public static String QUERY_ARG_SQL_SELECTION = null;
|
||||
public static String QUERY_ARG_SQL_SELECTION_ARGS = null;
|
||||
public static String QUERY_ARG_SQL_SORT_ORDER = null;
|
||||
public static String SCHEME_ANDROID_RESOURCE = null;
|
||||
public static String SCHEME_CONTENT = null;
|
||||
public static String SCHEME_FILE = null;
|
||||
public static String SYNC_EXTRAS_ACCOUNT = null;
|
||||
public static String SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS = null;
|
||||
public static String SYNC_EXTRAS_DO_NOT_RETRY = null;
|
||||
public static String SYNC_EXTRAS_EXPEDITED = null;
|
||||
public static String SYNC_EXTRAS_FORCE = null;
|
||||
public static String SYNC_EXTRAS_IGNORE_BACKOFF = null;
|
||||
public static String SYNC_EXTRAS_IGNORE_SETTINGS = null;
|
||||
public static String SYNC_EXTRAS_INITIALIZE = null;
|
||||
public static String SYNC_EXTRAS_MANUAL = null;
|
||||
public static String SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS = null;
|
||||
public static String SYNC_EXTRAS_REQUIRE_CHARGING = null;
|
||||
public static String SYNC_EXTRAS_UPLOAD = null;
|
||||
public static SyncAdapterType[] getSyncAdapterTypes(){ return null; }
|
||||
public static SyncInfo getCurrentSync(){ return null; }
|
||||
public static boolean getMasterSyncAutomatically(){ return false; }
|
||||
public static boolean getSyncAutomatically(Account p0, String p1){ return false; }
|
||||
public static boolean isSyncActive(Account p0, String p1){ return false; }
|
||||
public static boolean isSyncPending(Account p0, String p1){ return false; }
|
||||
public static int NOTIFY_DELETE = 0;
|
||||
public static int NOTIFY_INSERT = 0;
|
||||
public static int NOTIFY_SKIP_NOTIFY_FOR_DESCENDANTS = 0;
|
||||
public static int NOTIFY_SYNC_TO_NETWORK = 0;
|
||||
public static int NOTIFY_UPDATE = 0;
|
||||
public static int QUERY_SORT_DIRECTION_ASCENDING = 0;
|
||||
public static int QUERY_SORT_DIRECTION_DESCENDING = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_ACTIVE = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_PENDING = 0;
|
||||
public static int SYNC_OBSERVER_TYPE_SETTINGS = 0;
|
||||
public static int getIsSyncable(Account p0, String p1){ return 0; }
|
||||
public static void addPeriodicSync(Account p0, String p1, Bundle p2, long p3){}
|
||||
public static void cancelSync(Account p0, String p1){}
|
||||
public static void cancelSync(SyncRequest p0){}
|
||||
public static void removePeriodicSync(Account p0, String p1, Bundle p2){}
|
||||
public static void removeStatusChangeListener(Object p0){}
|
||||
public static void requestSync(Account p0, String p1, Bundle p2){}
|
||||
public static void requestSync(SyncRequest p0){}
|
||||
public static void setIsSyncable(Account p0, String p1, int p2){}
|
||||
public static void setMasterSyncAutomatically(boolean p0){}
|
||||
public static void setSyncAutomatically(Account p0, String p1, boolean p2){}
|
||||
public static void validateSyncExtrasBundle(Bundle p0){}
|
||||
public void cancelSync(Uri p0){}
|
||||
public void notifyChange(Collection<Uri> p0, ContentObserver p1, int p2){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1, boolean p2){}
|
||||
public void notifyChange(Uri p0, ContentObserver p1, int p2){}
|
||||
public void releasePersistableUriPermission(Uri p0, int p1){}
|
||||
public void startSync(Uri p0, Bundle p1){}
|
||||
public void takePersistableUriPermission(Uri p0, int p1){}
|
||||
static public class MimeTypeInfo
|
||||
{
|
||||
public CharSequence getContentDescription(){ return null; }
|
||||
public CharSequence getLabel(){ return null; }
|
||||
public Icon getIcon(){ return null; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,50 @@
|
||||
// Generated automatically from android.content.ContentValues for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
public class ContentValues {
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public class ContentValues implements Parcelable
|
||||
{
|
||||
public Boolean getAsBoolean(String p0){ return null; }
|
||||
public Byte getAsByte(String p0){ return null; }
|
||||
public ContentValues(){}
|
||||
public ContentValues(ContentValues p0){}
|
||||
public ContentValues(int p0){}
|
||||
public Double getAsDouble(String p0){ return null; }
|
||||
public Float getAsFloat(String p0){ return null; }
|
||||
public Integer getAsInteger(String p0){ return null; }
|
||||
public Long getAsLong(String p0){ return null; }
|
||||
public Object get(String p0){ return null; }
|
||||
public Set<Map.Entry<String, Object>> valueSet(){ return null; }
|
||||
public Set<String> keySet(){ return null; }
|
||||
public Short getAsShort(String p0){ return null; }
|
||||
public String getAsString(String p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean containsKey(String p0){ return false; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isEmpty(){ return false; }
|
||||
public byte[] getAsByteArray(String p0){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public int size(){ return 0; }
|
||||
public static Parcelable.Creator<ContentValues> CREATOR = null;
|
||||
public static String TAG = null;
|
||||
public void clear(){}
|
||||
public void put(String p0, Boolean p1){}
|
||||
public void put(String p0, Byte p1){}
|
||||
public void put(String p0, Double p1){}
|
||||
public void put(String p0, Float p1){}
|
||||
public void put(String p0, Integer p1){}
|
||||
public void put(String p0, Long p1){}
|
||||
public void put(String p0, Short p1){}
|
||||
public void put(String p0, String p1){}
|
||||
public void put(String p0, byte[] p1){}
|
||||
public void putAll(ContentValues p0){}
|
||||
public void putNull(String p0){}
|
||||
public void remove(String p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
|
||||
262
java/ql/test/stubs/android/android/content/Context.java
generated
262
java/ql/test/stubs/android/android/content/Context.java
generated
@@ -1,5 +1,265 @@
|
||||
// Generated automatically from android.content.Context for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
public class Context {
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.ComponentCallbacks;
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.IntentSender;
|
||||
import android.content.ServiceConnection;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.TypedArray;
|
||||
import android.database.DatabaseErrorHandler;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.os.UserHandle;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.Display;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.concurrent.Executor;
|
||||
|
||||
abstract public class Context
|
||||
{
|
||||
public Context createAttributionContext(String p0){ return null; }
|
||||
public Context createWindowContext(int p0, Bundle p1){ return null; }
|
||||
public Context(){}
|
||||
public Display getDisplay(){ return null; }
|
||||
public Executor getMainExecutor(){ return null; }
|
||||
public String getAttributionTag(){ return null; }
|
||||
public String getOpPackageName(){ return null; }
|
||||
public abstract ApplicationInfo getApplicationInfo();
|
||||
public abstract AssetManager getAssets();
|
||||
public abstract ClassLoader getClassLoader();
|
||||
public abstract ComponentName startForegroundService(Intent p0);
|
||||
public abstract ComponentName startService(Intent p0);
|
||||
public abstract ContentResolver getContentResolver();
|
||||
public abstract Context createConfigurationContext(Configuration p0);
|
||||
public abstract Context createContextForSplit(String p0);
|
||||
public abstract Context createDeviceProtectedStorageContext();
|
||||
public abstract Context createDisplayContext(Display p0);
|
||||
public abstract Context createPackageContext(String p0, int p1);
|
||||
public abstract Context getApplicationContext();
|
||||
public abstract Drawable getWallpaper();
|
||||
public abstract Drawable peekWallpaper();
|
||||
public abstract File getCacheDir();
|
||||
public abstract File getCodeCacheDir();
|
||||
public abstract File getDataDir();
|
||||
public abstract File getDatabasePath(String p0);
|
||||
public abstract File getDir(String p0, int p1);
|
||||
public abstract File getExternalCacheDir();
|
||||
public abstract File getExternalFilesDir(String p0);
|
||||
public abstract File getFileStreamPath(String p0);
|
||||
public abstract File getFilesDir();
|
||||
public abstract File getNoBackupFilesDir();
|
||||
public abstract File getObbDir();
|
||||
public abstract FileInputStream openFileInput(String p0);
|
||||
public abstract FileOutputStream openFileOutput(String p0, int p1);
|
||||
public abstract File[] getExternalCacheDirs();
|
||||
public abstract File[] getExternalFilesDirs(String p0);
|
||||
public abstract File[] getExternalMediaDirs();
|
||||
public abstract File[] getObbDirs();
|
||||
public abstract Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1);
|
||||
public abstract Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, String p2, Handler p3);
|
||||
public abstract Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, String p2, Handler p3, int p4);
|
||||
public abstract Intent registerReceiver(BroadcastReceiver p0, IntentFilter p1, int p2);
|
||||
public abstract Looper getMainLooper();
|
||||
public abstract Object getSystemService(String p0);
|
||||
public abstract PackageManager getPackageManager();
|
||||
public abstract Resources getResources();
|
||||
public abstract Resources.Theme getTheme();
|
||||
public abstract SQLiteDatabase openOrCreateDatabase(String p0, int p1, SQLiteDatabase.CursorFactory p2);
|
||||
public abstract SQLiteDatabase openOrCreateDatabase(String p0, int p1, SQLiteDatabase.CursorFactory p2, DatabaseErrorHandler p3);
|
||||
public abstract SharedPreferences getSharedPreferences(String p0, int p1);
|
||||
public abstract String getPackageCodePath();
|
||||
public abstract String getPackageName();
|
||||
public abstract String getPackageResourcePath();
|
||||
public abstract String getSystemServiceName(Class<? extends Object> p0);
|
||||
public abstract String[] databaseList();
|
||||
public abstract String[] fileList();
|
||||
public abstract boolean bindService(Intent p0, ServiceConnection p1, int p2);
|
||||
public abstract boolean deleteDatabase(String p0);
|
||||
public abstract boolean deleteFile(String p0);
|
||||
public abstract boolean deleteSharedPreferences(String p0);
|
||||
public abstract boolean isDeviceProtectedStorage();
|
||||
public abstract boolean moveDatabaseFrom(Context p0, String p1);
|
||||
public abstract boolean moveSharedPreferencesFrom(Context p0, String p1);
|
||||
public abstract boolean startInstrumentation(ComponentName p0, String p1, Bundle p2);
|
||||
public abstract boolean stopService(Intent p0);
|
||||
public abstract int checkCallingOrSelfPermission(String p0);
|
||||
public abstract int checkCallingOrSelfUriPermission(Uri p0, int p1);
|
||||
public abstract int checkCallingPermission(String p0);
|
||||
public abstract int checkCallingUriPermission(Uri p0, int p1);
|
||||
public abstract int checkPermission(String p0, int p1, int p2);
|
||||
public abstract int checkSelfPermission(String p0);
|
||||
public abstract int checkUriPermission(Uri p0, String p1, String p2, int p3, int p4, int p5);
|
||||
public abstract int checkUriPermission(Uri p0, int p1, int p2, int p3);
|
||||
public abstract int getWallpaperDesiredMinimumHeight();
|
||||
public abstract int getWallpaperDesiredMinimumWidth();
|
||||
public abstract void clearWallpaper();
|
||||
public abstract void enforceCallingOrSelfPermission(String p0, String p1);
|
||||
public abstract void enforceCallingOrSelfUriPermission(Uri p0, int p1, String p2);
|
||||
public abstract void enforceCallingPermission(String p0, String p1);
|
||||
public abstract void enforceCallingUriPermission(Uri p0, int p1, String p2);
|
||||
public abstract void enforcePermission(String p0, int p1, int p2, String p3);
|
||||
public abstract void enforceUriPermission(Uri p0, String p1, String p2, int p3, int p4, int p5, String p6);
|
||||
public abstract void enforceUriPermission(Uri p0, int p1, int p2, int p3, String p4);
|
||||
public abstract void grantUriPermission(String p0, Uri p1, int p2);
|
||||
public abstract void removeStickyBroadcast(Intent p0);
|
||||
public abstract void removeStickyBroadcastAsUser(Intent p0, UserHandle p1);
|
||||
public abstract void revokeUriPermission(String p0, Uri p1, int p2);
|
||||
public abstract void revokeUriPermission(Uri p0, int p1);
|
||||
public abstract void sendBroadcast(Intent p0);
|
||||
public abstract void sendBroadcast(Intent p0, String p1);
|
||||
public abstract void sendBroadcastAsUser(Intent p0, UserHandle p1);
|
||||
public abstract void sendBroadcastAsUser(Intent p0, UserHandle p1, String p2);
|
||||
public abstract void sendOrderedBroadcast(Intent p0, String p1);
|
||||
public abstract void sendOrderedBroadcast(Intent p0, String p1, BroadcastReceiver p2, Handler p3, int p4, String p5, Bundle p6);
|
||||
public abstract void sendOrderedBroadcastAsUser(Intent p0, UserHandle p1, String p2, BroadcastReceiver p3, Handler p4, int p5, String p6, Bundle p7);
|
||||
public abstract void sendStickyBroadcast(Intent p0);
|
||||
public abstract void sendStickyBroadcastAsUser(Intent p0, UserHandle p1);
|
||||
public abstract void sendStickyOrderedBroadcast(Intent p0, BroadcastReceiver p1, Handler p2, int p3, String p4, Bundle p5);
|
||||
public abstract void sendStickyOrderedBroadcastAsUser(Intent p0, UserHandle p1, BroadcastReceiver p2, Handler p3, int p4, String p5, Bundle p6);
|
||||
public abstract void setTheme(int p0);
|
||||
public abstract void setWallpaper(Bitmap p0);
|
||||
public abstract void setWallpaper(InputStream p0);
|
||||
public abstract void startActivities(Intent[] p0);
|
||||
public abstract void startActivities(Intent[] p0, Bundle p1);
|
||||
public abstract void startActivity(Intent p0);
|
||||
public abstract void startActivity(Intent p0, Bundle p1);
|
||||
public abstract void startIntentSender(IntentSender p0, Intent p1, int p2, int p3, int p4);
|
||||
public abstract void startIntentSender(IntentSender p0, Intent p1, int p2, int p3, int p4, Bundle p5);
|
||||
public abstract void unbindService(ServiceConnection p0);
|
||||
public abstract void unregisterReceiver(BroadcastReceiver p0);
|
||||
public boolean bindIsolatedService(Intent p0, int p1, String p2, Executor p3, ServiceConnection p4){ return false; }
|
||||
public boolean bindService(Intent p0, int p1, Executor p2, ServiceConnection p3){ return false; }
|
||||
public boolean bindServiceAsUser(Intent p0, ServiceConnection p1, int p2, UserHandle p3){ return false; }
|
||||
public boolean isRestricted(){ return false; }
|
||||
public final <T> T getSystemService(Class<T> p0){ return null; }
|
||||
public final CharSequence getText(int p0){ return null; }
|
||||
public final ColorStateList getColorStateList(int p0){ return null; }
|
||||
public final Drawable getDrawable(int p0){ return null; }
|
||||
public final String getString(int p0){ return null; }
|
||||
public final String getString(int p0, Object... p1){ return null; }
|
||||
public final TypedArray obtainStyledAttributes(AttributeSet p0, int[] p1){ return null; }
|
||||
public final TypedArray obtainStyledAttributes(AttributeSet p0, int[] p1, int p2, int p3){ return null; }
|
||||
public final TypedArray obtainStyledAttributes(int p0, int[] p1){ return null; }
|
||||
public final TypedArray obtainStyledAttributes(int[] p0){ return null; }
|
||||
public final int getColor(int p0){ return 0; }
|
||||
public static String ACCESSIBILITY_SERVICE = null;
|
||||
public static String ACCOUNT_SERVICE = null;
|
||||
public static String ACTIVITY_SERVICE = null;
|
||||
public static String ALARM_SERVICE = null;
|
||||
public static String APPWIDGET_SERVICE = null;
|
||||
public static String APP_OPS_SERVICE = null;
|
||||
public static String AUDIO_SERVICE = null;
|
||||
public static String BATTERY_SERVICE = null;
|
||||
public static String BIOMETRIC_SERVICE = null;
|
||||
public static String BLOB_STORE_SERVICE = null;
|
||||
public static String BLUETOOTH_SERVICE = null;
|
||||
public static String CAMERA_SERVICE = null;
|
||||
public static String CAPTIONING_SERVICE = null;
|
||||
public static String CARRIER_CONFIG_SERVICE = null;
|
||||
public static String CLIPBOARD_SERVICE = null;
|
||||
public static String COMPANION_DEVICE_SERVICE = null;
|
||||
public static String CONNECTIVITY_DIAGNOSTICS_SERVICE = null;
|
||||
public static String CONNECTIVITY_SERVICE = null;
|
||||
public static String CONSUMER_IR_SERVICE = null;
|
||||
public static String CROSS_PROFILE_APPS_SERVICE = null;
|
||||
public static String DEVICE_POLICY_SERVICE = null;
|
||||
public static String DISPLAY_SERVICE = null;
|
||||
public static String DOWNLOAD_SERVICE = null;
|
||||
public static String DROPBOX_SERVICE = null;
|
||||
public static String EUICC_SERVICE = null;
|
||||
public static String FILE_INTEGRITY_SERVICE = null;
|
||||
public static String FINGERPRINT_SERVICE = null;
|
||||
public static String HARDWARE_PROPERTIES_SERVICE = null;
|
||||
public static String INPUT_METHOD_SERVICE = null;
|
||||
public static String INPUT_SERVICE = null;
|
||||
public static String IPSEC_SERVICE = null;
|
||||
public static String JOB_SCHEDULER_SERVICE = null;
|
||||
public static String KEYGUARD_SERVICE = null;
|
||||
public static String LAUNCHER_APPS_SERVICE = null;
|
||||
public static String LAYOUT_INFLATER_SERVICE = null;
|
||||
public static String LOCATION_SERVICE = null;
|
||||
public static String MEDIA_PROJECTION_SERVICE = null;
|
||||
public static String MEDIA_ROUTER_SERVICE = null;
|
||||
public static String MEDIA_SESSION_SERVICE = null;
|
||||
public static String MIDI_SERVICE = null;
|
||||
public static String NETWORK_STATS_SERVICE = null;
|
||||
public static String NFC_SERVICE = null;
|
||||
public static String NOTIFICATION_SERVICE = null;
|
||||
public static String NSD_SERVICE = null;
|
||||
public static String POWER_SERVICE = null;
|
||||
public static String PRINT_SERVICE = null;
|
||||
public static String RESTRICTIONS_SERVICE = null;
|
||||
public static String ROLE_SERVICE = null;
|
||||
public static String SEARCH_SERVICE = null;
|
||||
public static String SENSOR_SERVICE = null;
|
||||
public static String SHORTCUT_SERVICE = null;
|
||||
public static String STORAGE_SERVICE = null;
|
||||
public static String STORAGE_STATS_SERVICE = null;
|
||||
public static String SYSTEM_HEALTH_SERVICE = null;
|
||||
public static String TELECOM_SERVICE = null;
|
||||
public static String TELEPHONY_IMS_SERVICE = null;
|
||||
public static String TELEPHONY_SERVICE = null;
|
||||
public static String TELEPHONY_SUBSCRIPTION_SERVICE = null;
|
||||
public static String TEXT_CLASSIFICATION_SERVICE = null;
|
||||
public static String TEXT_SERVICES_MANAGER_SERVICE = null;
|
||||
public static String TV_INPUT_SERVICE = null;
|
||||
public static String UI_MODE_SERVICE = null;
|
||||
public static String USAGE_STATS_SERVICE = null;
|
||||
public static String USB_SERVICE = null;
|
||||
public static String USER_SERVICE = null;
|
||||
public static String VIBRATOR_SERVICE = null;
|
||||
public static String VPN_MANAGEMENT_SERVICE = null;
|
||||
public static String WALLPAPER_SERVICE = null;
|
||||
public static String WIFI_AWARE_SERVICE = null;
|
||||
public static String WIFI_P2P_SERVICE = null;
|
||||
public static String WIFI_RTT_RANGING_SERVICE = null;
|
||||
public static String WIFI_SERVICE = null;
|
||||
public static String WINDOW_SERVICE = null;
|
||||
public static int BIND_ABOVE_CLIENT = 0;
|
||||
public static int BIND_ADJUST_WITH_ACTIVITY = 0;
|
||||
public static int BIND_ALLOW_OOM_MANAGEMENT = 0;
|
||||
public static int BIND_AUTO_CREATE = 0;
|
||||
public static int BIND_DEBUG_UNBIND = 0;
|
||||
public static int BIND_EXTERNAL_SERVICE = 0;
|
||||
public static int BIND_IMPORTANT = 0;
|
||||
public static int BIND_INCLUDE_CAPABILITIES = 0;
|
||||
public static int BIND_NOT_FOREGROUND = 0;
|
||||
public static int BIND_NOT_PERCEPTIBLE = 0;
|
||||
public static int BIND_WAIVE_PRIORITY = 0;
|
||||
public static int CONTEXT_IGNORE_SECURITY = 0;
|
||||
public static int CONTEXT_INCLUDE_CODE = 0;
|
||||
public static int CONTEXT_RESTRICTED = 0;
|
||||
public static int MODE_APPEND = 0;
|
||||
public static int MODE_ENABLE_WRITE_AHEAD_LOGGING = 0;
|
||||
public static int MODE_MULTI_PROCESS = 0;
|
||||
public static int MODE_NO_LOCALIZED_COLLATORS = 0;
|
||||
public static int MODE_PRIVATE = 0;
|
||||
public static int MODE_WORLD_READABLE = 0;
|
||||
public static int MODE_WORLD_WRITEABLE = 0;
|
||||
public static int RECEIVER_VISIBLE_TO_INSTANT_APPS = 0;
|
||||
public void registerComponentCallbacks(ComponentCallbacks p0){}
|
||||
public void sendBroadcastWithMultiplePermissions(Intent p0, String[] p1){}
|
||||
public void sendOrderedBroadcast(Intent p0, String p1, String p2, BroadcastReceiver p3, Handler p4, int p5, String p6, Bundle p7){}
|
||||
public void unregisterComponentCallbacks(ComponentCallbacks p0){}
|
||||
public void updateServiceGroup(ServiceConnection p0, int p1, int p2){}
|
||||
}
|
||||
|
||||
641
java/ql/test/stubs/android/android/content/Intent.java
generated
641
java/ql/test/stubs/android/android/content/Intent.java
generated
@@ -1,196 +1,461 @@
|
||||
/*
|
||||
* 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 applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Generated automatically from android.content.Intent for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ClipData;
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Context;
|
||||
import android.content.IntentSender;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Rect;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.net.URISyntaxException;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.AttributeSet;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Set;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
public class Intent implements Cloneable {
|
||||
|
||||
public static Intent createChooser(Intent target, CharSequence title) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Intent() {
|
||||
}
|
||||
|
||||
public Intent(Intent o) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object clone() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Intent(String action) {
|
||||
}
|
||||
|
||||
public Intent(String action, Uri uri) {
|
||||
}
|
||||
|
||||
public Intent(Context packageContext, Class<?> cls) {
|
||||
}
|
||||
|
||||
public Intent(String action, Uri uri, Context packageContext, Class<?> cls) {
|
||||
}
|
||||
|
||||
public static Intent makeMainSelectorActivity(String selectorAction, String selectorCategory) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Intent getIntent(String uri) throws URISyntaxException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Intent getIntentOld(String uri) throws URISyntaxException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void printIntentArgsHelp(PrintWriter pw, String prefix) {
|
||||
}
|
||||
|
||||
public boolean hasCategory(String category) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public Set<String> getCategories() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getContentUserHint() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String getLaunchToken() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setLaunchToken(String launchToken) {
|
||||
}
|
||||
|
||||
public boolean hasExtra(String name) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasFileDescriptors() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void setAllowFds(boolean allowFds) {
|
||||
}
|
||||
|
||||
public void setDefusable(boolean defusable) {
|
||||
}
|
||||
|
||||
public Object getExtra(String name) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean getBooleanExtra(String name, boolean defaultValue) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public byte getByteExtra(String name, byte defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public short getShortExtra(String name, short defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public char getCharExtra(String name, char defaultValue) {
|
||||
return '0';
|
||||
}
|
||||
|
||||
public int getIntExtra(String name, int defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long getLongExtra(String name, long defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public float getFloatExtra(String name, float defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public double getDoubleExtra(String name, double defaultValue) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public String getStringExtra(String string) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void removeUnsafeExtras() {
|
||||
}
|
||||
|
||||
public boolean canStripForHistory() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public Intent maybeStripForHistory() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isExcludingStopped() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void removeCategory(String category) {
|
||||
}
|
||||
|
||||
public void prepareToLeaveUser(int userId) {
|
||||
}
|
||||
|
||||
public boolean filterEquals(Intent other) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public int filterHashCode() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toInsecureString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toInsecureStringWithClip() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public String toShortString(boolean secure, boolean comp, boolean extras, boolean clip) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void toShortString(StringBuilder b, boolean secure, boolean comp, boolean extras, boolean clip) {
|
||||
}
|
||||
|
||||
public Bundle getExtras() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public class Intent implements Cloneable, Parcelable
|
||||
{
|
||||
public <T extends Parcelable> ArrayList<T> getParcelableArrayListExtra(String p0){ return null; }
|
||||
public <T extends Parcelable> T getParcelableExtra(String p0){ return null; }
|
||||
public ActivityInfo resolveActivityInfo(PackageManager p0, int p1){ return null; }
|
||||
public ArrayList<CharSequence> getCharSequenceArrayListExtra(String p0){ return null; }
|
||||
public ArrayList<Integer> getIntegerArrayListExtra(String p0){ return null; }
|
||||
public ArrayList<String> getStringArrayListExtra(String p0){ return null; }
|
||||
public Bundle getBundleExtra(String p0){ return null; }
|
||||
public Bundle getExtras(){ return null; }
|
||||
public CharSequence getCharSequenceExtra(String p0){ return null; }
|
||||
public CharSequence[] getCharSequenceArrayExtra(String p0){ return null; }
|
||||
public ClipData getClipData(){ return null; }
|
||||
public ComponentName getComponent(){ return null; }
|
||||
public ComponentName resolveActivity(PackageManager p0){ return null; }
|
||||
public Intent addCategory(String p0){ return null; }
|
||||
public Intent addFlags(int p0){ return null; }
|
||||
public Intent cloneFilter(){ return null; }
|
||||
public Intent getSelector(){ return null; }
|
||||
public Intent putCharSequenceArrayListExtra(String p0, ArrayList<CharSequence> p1){ return null; }
|
||||
public Intent putExtra(String p0, Bundle p1){ return null; }
|
||||
public Intent putExtra(String p0, CharSequence p1){ return null; }
|
||||
public Intent putExtra(String p0, CharSequence[] p1){ return null; }
|
||||
public Intent putExtra(String p0, Parcelable p1){ return null; }
|
||||
public Intent putExtra(String p0, Parcelable[] p1){ return null; }
|
||||
public Intent putExtra(String p0, Serializable p1){ return null; }
|
||||
public Intent putExtra(String p0, String p1){ return null; }
|
||||
public Intent putExtra(String p0, String[] p1){ return null; }
|
||||
public Intent putExtra(String p0, boolean p1){ return null; }
|
||||
public Intent putExtra(String p0, boolean[] p1){ return null; }
|
||||
public Intent putExtra(String p0, byte p1){ return null; }
|
||||
public Intent putExtra(String p0, byte[] p1){ return null; }
|
||||
public Intent putExtra(String p0, char p1){ return null; }
|
||||
public Intent putExtra(String p0, char[] p1){ return null; }
|
||||
public Intent putExtra(String p0, double p1){ return null; }
|
||||
public Intent putExtra(String p0, double[] p1){ return null; }
|
||||
public Intent putExtra(String p0, float p1){ return null; }
|
||||
public Intent putExtra(String p0, float[] p1){ return null; }
|
||||
public Intent putExtra(String p0, int p1){ return null; }
|
||||
public Intent putExtra(String p0, int[] p1){ return null; }
|
||||
public Intent putExtra(String p0, long p1){ return null; }
|
||||
public Intent putExtra(String p0, long[] p1){ return null; }
|
||||
public Intent putExtra(String p0, short p1){ return null; }
|
||||
public Intent putExtra(String p0, short[] p1){ return null; }
|
||||
public Intent putExtras(Bundle p0){ return null; }
|
||||
public Intent putExtras(Intent p0){ return null; }
|
||||
public Intent putIntegerArrayListExtra(String p0, ArrayList<Integer> p1){ return null; }
|
||||
public Intent putParcelableArrayListExtra(String p0, ArrayList<? extends Parcelable> p1){ return null; }
|
||||
public Intent putStringArrayListExtra(String p0, ArrayList<String> p1){ return null; }
|
||||
public Intent replaceExtras(Bundle p0){ return null; }
|
||||
public Intent replaceExtras(Intent p0){ return null; }
|
||||
public Intent setAction(String p0){ return null; }
|
||||
public Intent setClass(Context p0, Class<? extends Object> p1){ return null; }
|
||||
public Intent setClassName(Context p0, String p1){ return null; }
|
||||
public Intent setClassName(String p0, String p1){ return null; }
|
||||
public Intent setComponent(ComponentName p0){ return null; }
|
||||
public Intent setData(Uri p0){ return null; }
|
||||
public Intent setDataAndNormalize(Uri p0){ return null; }
|
||||
public Intent setDataAndType(Uri p0, String p1){ return null; }
|
||||
public Intent setDataAndTypeAndNormalize(Uri p0, String p1){ return null; }
|
||||
public Intent setFlags(int p0){ return null; }
|
||||
public Intent setIdentifier(String p0){ return null; }
|
||||
public Intent setPackage(String p0){ return null; }
|
||||
public Intent setType(String p0){ return null; }
|
||||
public Intent setTypeAndNormalize(String p0){ return null; }
|
||||
public Intent(){}
|
||||
public Intent(Context p0, Class<? extends Object> p1){}
|
||||
public Intent(Intent p0){}
|
||||
public Intent(String p0){}
|
||||
public Intent(String p0, Uri p1){}
|
||||
public Intent(String p0, Uri p1, Context p2, Class<? extends Object> p3){}
|
||||
public Object clone(){ return null; }
|
||||
public Parcelable[] getParcelableArrayExtra(String p0){ return null; }
|
||||
public Rect getSourceBounds(){ return null; }
|
||||
public Serializable getSerializableExtra(String p0){ return null; }
|
||||
public Set<String> getCategories(){ return null; }
|
||||
public String getAction(){ return null; }
|
||||
public String getDataString(){ return null; }
|
||||
public String getIdentifier(){ return null; }
|
||||
public String getPackage(){ return null; }
|
||||
public String getScheme(){ return null; }
|
||||
public String getStringExtra(String p0){ return null; }
|
||||
public String getType(){ return null; }
|
||||
public String resolveType(ContentResolver p0){ return null; }
|
||||
public String resolveType(Context p0){ return null; }
|
||||
public String resolveTypeIfNeeded(ContentResolver p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public String toURI(){ return null; }
|
||||
public String toUri(int p0){ return null; }
|
||||
public String[] getStringArrayExtra(String p0){ return null; }
|
||||
public Uri getData(){ return null; }
|
||||
public boolean filterEquals(Intent p0){ return false; }
|
||||
public boolean getBooleanExtra(String p0, boolean p1){ return false; }
|
||||
public boolean hasCategory(String p0){ return false; }
|
||||
public boolean hasExtra(String p0){ return false; }
|
||||
public boolean hasFileDescriptors(){ return false; }
|
||||
public boolean[] getBooleanArrayExtra(String p0){ return null; }
|
||||
public byte getByteExtra(String p0, byte p1){ return 0; }
|
||||
public byte[] getByteArrayExtra(String p0){ return null; }
|
||||
public char getCharExtra(String p0, char p1){ return '0'; }
|
||||
public char[] getCharArrayExtra(String p0){ return null; }
|
||||
public double getDoubleExtra(String p0, double p1){ return 0; }
|
||||
public double[] getDoubleArrayExtra(String p0){ return null; }
|
||||
public float getFloatExtra(String p0, float p1){ return 0; }
|
||||
public float[] getFloatArrayExtra(String p0){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int fillIn(Intent p0, int p1){ return 0; }
|
||||
public int filterHashCode(){ return 0; }
|
||||
public int getFlags(){ return 0; }
|
||||
public int getIntExtra(String p0, int p1){ return 0; }
|
||||
public int[] getIntArrayExtra(String p0){ return null; }
|
||||
public long getLongExtra(String p0, long p1){ return 0; }
|
||||
public long[] getLongArrayExtra(String p0){ return null; }
|
||||
public short getShortExtra(String p0, short p1){ return 0; }
|
||||
public short[] getShortArrayExtra(String p0){ return null; }
|
||||
public static Intent createChooser(Intent p0, CharSequence p1){ return null; }
|
||||
public static Intent createChooser(Intent p0, CharSequence p1, IntentSender p2){ return null; }
|
||||
public static Intent getIntent(String p0){ return null; }
|
||||
public static Intent getIntentOld(String p0){ return null; }
|
||||
public static Intent makeMainActivity(ComponentName p0){ return null; }
|
||||
public static Intent makeMainSelectorActivity(String p0, String p1){ return null; }
|
||||
public static Intent makeRestartActivityTask(ComponentName p0){ return null; }
|
||||
public static Intent parseIntent(Resources p0, XmlPullParser p1, AttributeSet p2){ return null; }
|
||||
public static Intent parseUri(String p0, int p1){ return null; }
|
||||
public static Parcelable.Creator<Intent> CREATOR = null;
|
||||
public static String ACTION_AIRPLANE_MODE_CHANGED = null;
|
||||
public static String ACTION_ALL_APPS = null;
|
||||
public static String ACTION_ANSWER = null;
|
||||
public static String ACTION_APPLICATION_PREFERENCES = null;
|
||||
public static String ACTION_APPLICATION_RESTRICTIONS_CHANGED = null;
|
||||
public static String ACTION_APP_ERROR = null;
|
||||
public static String ACTION_ASSIST = null;
|
||||
public static String ACTION_ATTACH_DATA = null;
|
||||
public static String ACTION_AUTO_REVOKE_PERMISSIONS = null;
|
||||
public static String ACTION_BATTERY_CHANGED = null;
|
||||
public static String ACTION_BATTERY_LOW = null;
|
||||
public static String ACTION_BATTERY_OKAY = null;
|
||||
public static String ACTION_BOOT_COMPLETED = null;
|
||||
public static String ACTION_BUG_REPORT = null;
|
||||
public static String ACTION_CALL = null;
|
||||
public static String ACTION_CALL_BUTTON = null;
|
||||
public static String ACTION_CAMERA_BUTTON = null;
|
||||
public static String ACTION_CARRIER_SETUP = null;
|
||||
public static String ACTION_CHOOSER = null;
|
||||
public static String ACTION_CLOSE_SYSTEM_DIALOGS = null;
|
||||
public static String ACTION_CONFIGURATION_CHANGED = null;
|
||||
public static String ACTION_CREATE_DOCUMENT = null;
|
||||
public static String ACTION_CREATE_REMINDER = null;
|
||||
public static String ACTION_CREATE_SHORTCUT = null;
|
||||
public static String ACTION_DATE_CHANGED = null;
|
||||
public static String ACTION_DEFAULT = null;
|
||||
public static String ACTION_DEFINE = null;
|
||||
public static String ACTION_DELETE = null;
|
||||
public static String ACTION_DEVICE_STORAGE_LOW = null;
|
||||
public static String ACTION_DEVICE_STORAGE_OK = null;
|
||||
public static String ACTION_DIAL = null;
|
||||
public static String ACTION_DOCK_EVENT = null;
|
||||
public static String ACTION_DREAMING_STARTED = null;
|
||||
public static String ACTION_DREAMING_STOPPED = null;
|
||||
public static String ACTION_EDIT = null;
|
||||
public static String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = null;
|
||||
public static String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = null;
|
||||
public static String ACTION_FACTORY_TEST = null;
|
||||
public static String ACTION_GET_CONTENT = null;
|
||||
public static String ACTION_GET_RESTRICTION_ENTRIES = null;
|
||||
public static String ACTION_GTALK_SERVICE_CONNECTED = null;
|
||||
public static String ACTION_GTALK_SERVICE_DISCONNECTED = null;
|
||||
public static String ACTION_HEADSET_PLUG = null;
|
||||
public static String ACTION_INPUT_METHOD_CHANGED = null;
|
||||
public static String ACTION_INSERT = null;
|
||||
public static String ACTION_INSERT_OR_EDIT = null;
|
||||
public static String ACTION_INSTALL_FAILURE = null;
|
||||
public static String ACTION_INSTALL_PACKAGE = null;
|
||||
public static String ACTION_LOCALE_CHANGED = null;
|
||||
public static String ACTION_LOCKED_BOOT_COMPLETED = null;
|
||||
public static String ACTION_MAIN = null;
|
||||
public static String ACTION_MANAGED_PROFILE_ADDED = null;
|
||||
public static String ACTION_MANAGED_PROFILE_AVAILABLE = null;
|
||||
public static String ACTION_MANAGED_PROFILE_REMOVED = null;
|
||||
public static String ACTION_MANAGED_PROFILE_UNAVAILABLE = null;
|
||||
public static String ACTION_MANAGED_PROFILE_UNLOCKED = null;
|
||||
public static String ACTION_MANAGE_NETWORK_USAGE = null;
|
||||
public static String ACTION_MANAGE_PACKAGE_STORAGE = null;
|
||||
public static String ACTION_MEDIA_BAD_REMOVAL = null;
|
||||
public static String ACTION_MEDIA_BUTTON = null;
|
||||
public static String ACTION_MEDIA_CHECKING = null;
|
||||
public static String ACTION_MEDIA_EJECT = null;
|
||||
public static String ACTION_MEDIA_MOUNTED = null;
|
||||
public static String ACTION_MEDIA_NOFS = null;
|
||||
public static String ACTION_MEDIA_REMOVED = null;
|
||||
public static String ACTION_MEDIA_SCANNER_FINISHED = null;
|
||||
public static String ACTION_MEDIA_SCANNER_SCAN_FILE = null;
|
||||
public static String ACTION_MEDIA_SCANNER_STARTED = null;
|
||||
public static String ACTION_MEDIA_SHARED = null;
|
||||
public static String ACTION_MEDIA_UNMOUNTABLE = null;
|
||||
public static String ACTION_MEDIA_UNMOUNTED = null;
|
||||
public static String ACTION_MY_PACKAGE_REPLACED = null;
|
||||
public static String ACTION_MY_PACKAGE_SUSPENDED = null;
|
||||
public static String ACTION_MY_PACKAGE_UNSUSPENDED = null;
|
||||
public static String ACTION_NEW_OUTGOING_CALL = null;
|
||||
public static String ACTION_OPEN_DOCUMENT = null;
|
||||
public static String ACTION_OPEN_DOCUMENT_TREE = null;
|
||||
public static String ACTION_PACKAGES_SUSPENDED = null;
|
||||
public static String ACTION_PACKAGES_UNSUSPENDED = null;
|
||||
public static String ACTION_PACKAGE_ADDED = null;
|
||||
public static String ACTION_PACKAGE_CHANGED = null;
|
||||
public static String ACTION_PACKAGE_DATA_CLEARED = null;
|
||||
public static String ACTION_PACKAGE_FIRST_LAUNCH = null;
|
||||
public static String ACTION_PACKAGE_FULLY_REMOVED = null;
|
||||
public static String ACTION_PACKAGE_INSTALL = null;
|
||||
public static String ACTION_PACKAGE_NEEDS_VERIFICATION = null;
|
||||
public static String ACTION_PACKAGE_REMOVED = null;
|
||||
public static String ACTION_PACKAGE_REPLACED = null;
|
||||
public static String ACTION_PACKAGE_RESTARTED = null;
|
||||
public static String ACTION_PACKAGE_VERIFIED = null;
|
||||
public static String ACTION_PASTE = null;
|
||||
public static String ACTION_PICK = null;
|
||||
public static String ACTION_PICK_ACTIVITY = null;
|
||||
public static String ACTION_POWER_CONNECTED = null;
|
||||
public static String ACTION_POWER_DISCONNECTED = null;
|
||||
public static String ACTION_POWER_USAGE_SUMMARY = null;
|
||||
public static String ACTION_PROCESS_TEXT = null;
|
||||
public static String ACTION_PROVIDER_CHANGED = null;
|
||||
public static String ACTION_QUICK_CLOCK = null;
|
||||
public static String ACTION_QUICK_VIEW = null;
|
||||
public static String ACTION_REBOOT = null;
|
||||
public static String ACTION_RUN = null;
|
||||
public static String ACTION_SCREEN_OFF = null;
|
||||
public static String ACTION_SCREEN_ON = null;
|
||||
public static String ACTION_SEARCH = null;
|
||||
public static String ACTION_SEARCH_LONG_PRESS = null;
|
||||
public static String ACTION_SEND = null;
|
||||
public static String ACTION_SENDTO = null;
|
||||
public static String ACTION_SEND_MULTIPLE = null;
|
||||
public static String ACTION_SET_WALLPAPER = null;
|
||||
public static String ACTION_SHOW_APP_INFO = null;
|
||||
public static String ACTION_SHUTDOWN = null;
|
||||
public static String ACTION_SYNC = null;
|
||||
public static String ACTION_SYSTEM_TUTORIAL = null;
|
||||
public static String ACTION_TIMEZONE_CHANGED = null;
|
||||
public static String ACTION_TIME_CHANGED = null;
|
||||
public static String ACTION_TIME_TICK = null;
|
||||
public static String ACTION_TRANSLATE = null;
|
||||
public static String ACTION_UID_REMOVED = null;
|
||||
public static String ACTION_UMS_CONNECTED = null;
|
||||
public static String ACTION_UMS_DISCONNECTED = null;
|
||||
public static String ACTION_UNINSTALL_PACKAGE = null;
|
||||
public static String ACTION_USER_BACKGROUND = null;
|
||||
public static String ACTION_USER_FOREGROUND = null;
|
||||
public static String ACTION_USER_INITIALIZE = null;
|
||||
public static String ACTION_USER_PRESENT = null;
|
||||
public static String ACTION_USER_UNLOCKED = null;
|
||||
public static String ACTION_VIEW = null;
|
||||
public static String ACTION_VIEW_LOCUS = null;
|
||||
public static String ACTION_VIEW_PERMISSION_USAGE = null;
|
||||
public static String ACTION_VOICE_COMMAND = null;
|
||||
public static String ACTION_WALLPAPER_CHANGED = null;
|
||||
public static String ACTION_WEB_SEARCH = null;
|
||||
public static String CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = null;
|
||||
public static String CATEGORY_ALTERNATIVE = null;
|
||||
public static String CATEGORY_APP_BROWSER = null;
|
||||
public static String CATEGORY_APP_CALCULATOR = null;
|
||||
public static String CATEGORY_APP_CALENDAR = null;
|
||||
public static String CATEGORY_APP_CONTACTS = null;
|
||||
public static String CATEGORY_APP_EMAIL = null;
|
||||
public static String CATEGORY_APP_FILES = null;
|
||||
public static String CATEGORY_APP_GALLERY = null;
|
||||
public static String CATEGORY_APP_MAPS = null;
|
||||
public static String CATEGORY_APP_MARKET = null;
|
||||
public static String CATEGORY_APP_MESSAGING = null;
|
||||
public static String CATEGORY_APP_MUSIC = null;
|
||||
public static String CATEGORY_BROWSABLE = null;
|
||||
public static String CATEGORY_CAR_DOCK = null;
|
||||
public static String CATEGORY_CAR_MODE = null;
|
||||
public static String CATEGORY_DEFAULT = null;
|
||||
public static String CATEGORY_DESK_DOCK = null;
|
||||
public static String CATEGORY_DEVELOPMENT_PREFERENCE = null;
|
||||
public static String CATEGORY_EMBED = null;
|
||||
public static String CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = null;
|
||||
public static String CATEGORY_HE_DESK_DOCK = null;
|
||||
public static String CATEGORY_HOME = null;
|
||||
public static String CATEGORY_INFO = null;
|
||||
public static String CATEGORY_LAUNCHER = null;
|
||||
public static String CATEGORY_LEANBACK_LAUNCHER = null;
|
||||
public static String CATEGORY_LE_DESK_DOCK = null;
|
||||
public static String CATEGORY_MONKEY = null;
|
||||
public static String CATEGORY_OPENABLE = null;
|
||||
public static String CATEGORY_PREFERENCE = null;
|
||||
public static String CATEGORY_SAMPLE_CODE = null;
|
||||
public static String CATEGORY_SECONDARY_HOME = null;
|
||||
public static String CATEGORY_SELECTED_ALTERNATIVE = null;
|
||||
public static String CATEGORY_TAB = null;
|
||||
public static String CATEGORY_TEST = null;
|
||||
public static String CATEGORY_TYPED_OPENABLE = null;
|
||||
public static String CATEGORY_UNIT_TEST = null;
|
||||
public static String CATEGORY_VOICE = null;
|
||||
public static String CATEGORY_VR_HOME = null;
|
||||
public static String EXTRA_ALARM_COUNT = null;
|
||||
public static String EXTRA_ALLOW_MULTIPLE = null;
|
||||
public static String EXTRA_ALLOW_REPLACE = null;
|
||||
public static String EXTRA_ALTERNATE_INTENTS = null;
|
||||
public static String EXTRA_ASSIST_CONTEXT = null;
|
||||
public static String EXTRA_ASSIST_INPUT_DEVICE_ID = null;
|
||||
public static String EXTRA_ASSIST_INPUT_HINT_KEYBOARD = null;
|
||||
public static String EXTRA_ASSIST_PACKAGE = null;
|
||||
public static String EXTRA_ASSIST_UID = null;
|
||||
public static String EXTRA_AUTO_LAUNCH_SINGLE_CHOICE = null;
|
||||
public static String EXTRA_BCC = null;
|
||||
public static String EXTRA_BUG_REPORT = null;
|
||||
public static String EXTRA_CC = null;
|
||||
public static String EXTRA_CHANGED_COMPONENT_NAME = null;
|
||||
public static String EXTRA_CHANGED_COMPONENT_NAME_LIST = null;
|
||||
public static String EXTRA_CHANGED_PACKAGE_LIST = null;
|
||||
public static String EXTRA_CHANGED_UID_LIST = null;
|
||||
public static String EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = null;
|
||||
public static String EXTRA_CHOOSER_TARGETS = null;
|
||||
public static String EXTRA_CHOSEN_COMPONENT = null;
|
||||
public static String EXTRA_CHOSEN_COMPONENT_INTENT_SENDER = null;
|
||||
public static String EXTRA_COMPONENT_NAME = null;
|
||||
public static String EXTRA_CONTENT_ANNOTATIONS = null;
|
||||
public static String EXTRA_CONTENT_QUERY = null;
|
||||
public static String EXTRA_DATA_REMOVED = null;
|
||||
public static String EXTRA_DOCK_STATE = null;
|
||||
public static String EXTRA_DONT_KILL_APP = null;
|
||||
public static String EXTRA_DURATION_MILLIS = null;
|
||||
public static String EXTRA_EMAIL = null;
|
||||
public static String EXTRA_EXCLUDE_COMPONENTS = null;
|
||||
public static String EXTRA_FROM_STORAGE = null;
|
||||
public static String EXTRA_HTML_TEXT = null;
|
||||
public static String EXTRA_INDEX = null;
|
||||
public static String EXTRA_INITIAL_INTENTS = null;
|
||||
public static String EXTRA_INSTALLER_PACKAGE_NAME = null;
|
||||
public static String EXTRA_INTENT = null;
|
||||
public static String EXTRA_KEY_EVENT = null;
|
||||
public static String EXTRA_LOCAL_ONLY = null;
|
||||
public static String EXTRA_LOCUS_ID = null;
|
||||
public static String EXTRA_MIME_TYPES = null;
|
||||
public static String EXTRA_NOT_UNKNOWN_SOURCE = null;
|
||||
public static String EXTRA_ORIGINATING_URI = null;
|
||||
public static String EXTRA_PACKAGE_NAME = null;
|
||||
public static String EXTRA_PHONE_NUMBER = null;
|
||||
public static String EXTRA_PROCESS_TEXT = null;
|
||||
public static String EXTRA_PROCESS_TEXT_READONLY = null;
|
||||
public static String EXTRA_QUICK_VIEW_FEATURES = null;
|
||||
public static String EXTRA_QUIET_MODE = null;
|
||||
public static String EXTRA_REFERRER = null;
|
||||
public static String EXTRA_REFERRER_NAME = null;
|
||||
public static String EXTRA_REMOTE_INTENT_TOKEN = null;
|
||||
public static String EXTRA_REPLACEMENT_EXTRAS = null;
|
||||
public static String EXTRA_REPLACING = null;
|
||||
public static String EXTRA_RESTRICTIONS_BUNDLE = null;
|
||||
public static String EXTRA_RESTRICTIONS_INTENT = null;
|
||||
public static String EXTRA_RESTRICTIONS_LIST = null;
|
||||
public static String EXTRA_RESULT_RECEIVER = null;
|
||||
public static String EXTRA_RETURN_RESULT = null;
|
||||
public static String EXTRA_SHORTCUT_ICON = null;
|
||||
public static String EXTRA_SHORTCUT_ICON_RESOURCE = null;
|
||||
public static String EXTRA_SHORTCUT_ID = null;
|
||||
public static String EXTRA_SHORTCUT_INTENT = null;
|
||||
public static String EXTRA_SHORTCUT_NAME = null;
|
||||
public static String EXTRA_SHUTDOWN_USERSPACE_ONLY = null;
|
||||
public static String EXTRA_SPLIT_NAME = null;
|
||||
public static String EXTRA_STREAM = null;
|
||||
public static String EXTRA_SUBJECT = null;
|
||||
public static String EXTRA_SUSPENDED_PACKAGE_EXTRAS = null;
|
||||
public static String EXTRA_TEMPLATE = null;
|
||||
public static String EXTRA_TEXT = null;
|
||||
public static String EXTRA_TIME = null;
|
||||
public static String EXTRA_TIMEZONE = null;
|
||||
public static String EXTRA_TITLE = null;
|
||||
public static String EXTRA_UID = null;
|
||||
public static String EXTRA_USER = null;
|
||||
public static String METADATA_DOCK_HOME = null;
|
||||
public static String normalizeMimeType(String p0){ return null; }
|
||||
public static int EXTRA_DOCK_STATE_CAR = 0;
|
||||
public static int EXTRA_DOCK_STATE_DESK = 0;
|
||||
public static int EXTRA_DOCK_STATE_HE_DESK = 0;
|
||||
public static int EXTRA_DOCK_STATE_LE_DESK = 0;
|
||||
public static int EXTRA_DOCK_STATE_UNDOCKED = 0;
|
||||
public static int FILL_IN_ACTION = 0;
|
||||
public static int FILL_IN_CATEGORIES = 0;
|
||||
public static int FILL_IN_CLIP_DATA = 0;
|
||||
public static int FILL_IN_COMPONENT = 0;
|
||||
public static int FILL_IN_DATA = 0;
|
||||
public static int FILL_IN_IDENTIFIER = 0;
|
||||
public static int FILL_IN_PACKAGE = 0;
|
||||
public static int FILL_IN_SELECTOR = 0;
|
||||
public static int FILL_IN_SOURCE_BOUNDS = 0;
|
||||
public static int FLAG_ACTIVITY_BROUGHT_TO_FRONT = 0;
|
||||
public static int FLAG_ACTIVITY_CLEAR_TASK = 0;
|
||||
public static int FLAG_ACTIVITY_CLEAR_TOP = 0;
|
||||
public static int FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET = 0;
|
||||
public static int FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS = 0;
|
||||
public static int FLAG_ACTIVITY_FORWARD_RESULT = 0;
|
||||
public static int FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY = 0;
|
||||
public static int FLAG_ACTIVITY_LAUNCH_ADJACENT = 0;
|
||||
public static int FLAG_ACTIVITY_MATCH_EXTERNAL = 0;
|
||||
public static int FLAG_ACTIVITY_MULTIPLE_TASK = 0;
|
||||
public static int FLAG_ACTIVITY_NEW_DOCUMENT = 0;
|
||||
public static int FLAG_ACTIVITY_NEW_TASK = 0;
|
||||
public static int FLAG_ACTIVITY_NO_ANIMATION = 0;
|
||||
public static int FLAG_ACTIVITY_NO_HISTORY = 0;
|
||||
public static int FLAG_ACTIVITY_NO_USER_ACTION = 0;
|
||||
public static int FLAG_ACTIVITY_PREVIOUS_IS_TOP = 0;
|
||||
public static int FLAG_ACTIVITY_REORDER_TO_FRONT = 0;
|
||||
public static int FLAG_ACTIVITY_REQUIRE_DEFAULT = 0;
|
||||
public static int FLAG_ACTIVITY_REQUIRE_NON_BROWSER = 0;
|
||||
public static int FLAG_ACTIVITY_RESET_TASK_IF_NEEDED = 0;
|
||||
public static int FLAG_ACTIVITY_RETAIN_IN_RECENTS = 0;
|
||||
public static int FLAG_ACTIVITY_SINGLE_TOP = 0;
|
||||
public static int FLAG_ACTIVITY_TASK_ON_HOME = 0;
|
||||
public static int FLAG_DEBUG_LOG_RESOLUTION = 0;
|
||||
public static int FLAG_DIRECT_BOOT_AUTO = 0;
|
||||
public static int FLAG_EXCLUDE_STOPPED_PACKAGES = 0;
|
||||
public static int FLAG_FROM_BACKGROUND = 0;
|
||||
public static int FLAG_GRANT_PERSISTABLE_URI_PERMISSION = 0;
|
||||
public static int FLAG_GRANT_PREFIX_URI_PERMISSION = 0;
|
||||
public static int FLAG_GRANT_READ_URI_PERMISSION = 0;
|
||||
public static int FLAG_GRANT_WRITE_URI_PERMISSION = 0;
|
||||
public static int FLAG_INCLUDE_STOPPED_PACKAGES = 0;
|
||||
public static int FLAG_RECEIVER_FOREGROUND = 0;
|
||||
public static int FLAG_RECEIVER_NO_ABORT = 0;
|
||||
public static int FLAG_RECEIVER_REGISTERED_ONLY = 0;
|
||||
public static int FLAG_RECEIVER_REPLACE_PENDING = 0;
|
||||
public static int FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS = 0;
|
||||
public static int URI_ALLOW_UNSAFE = 0;
|
||||
public static int URI_ANDROID_APP_SCHEME = 0;
|
||||
public static int URI_INTENT_SCHEME = 0;
|
||||
public void readFromParcel(Parcel p0){}
|
||||
public void removeCategory(String p0){}
|
||||
public void removeExtra(String p0){}
|
||||
public void removeFlags(int p0){}
|
||||
public void setClipData(ClipData p0){}
|
||||
public void setExtrasClassLoader(ClassLoader p0){}
|
||||
public void setSelector(Intent p0){}
|
||||
public void setSourceBounds(Rect p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
|
||||
104
java/ql/test/stubs/android/android/content/IntentFilter.java
generated
Normal file
104
java/ql/test/stubs/android/android/content/IntentFilter.java
generated
Normal file
@@ -0,0 +1,104 @@
|
||||
// Generated automatically from android.content.IntentFilter for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PatternMatcher;
|
||||
import android.util.AndroidException;
|
||||
import android.util.Printer;
|
||||
import java.util.Iterator;
|
||||
import java.util.Set;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
import org.xmlpull.v1.XmlSerializer;
|
||||
|
||||
public class IntentFilter implements Parcelable
|
||||
{
|
||||
public IntentFilter(){}
|
||||
public IntentFilter(IntentFilter p0){}
|
||||
public IntentFilter(String p0){}
|
||||
public IntentFilter(String p0, String p1){}
|
||||
public final IntentFilter.AuthorityEntry getDataAuthority(int p0){ return null; }
|
||||
public final Iterator<IntentFilter.AuthorityEntry> authoritiesIterator(){ return null; }
|
||||
public final Iterator<PatternMatcher> pathsIterator(){ return null; }
|
||||
public final Iterator<PatternMatcher> schemeSpecificPartsIterator(){ return null; }
|
||||
public final Iterator<String> actionsIterator(){ return null; }
|
||||
public final Iterator<String> categoriesIterator(){ return null; }
|
||||
public final Iterator<String> schemesIterator(){ return null; }
|
||||
public final Iterator<String> typesIterator(){ return null; }
|
||||
public final PatternMatcher getDataPath(int p0){ return null; }
|
||||
public final PatternMatcher getDataSchemeSpecificPart(int p0){ return null; }
|
||||
public final String getAction(int p0){ return null; }
|
||||
public final String getCategory(int p0){ return null; }
|
||||
public final String getDataScheme(int p0){ return null; }
|
||||
public final String getDataType(int p0){ return null; }
|
||||
public final String matchCategories(Set<String> p0){ return null; }
|
||||
public final boolean hasAction(String p0){ return false; }
|
||||
public final boolean hasCategory(String p0){ return false; }
|
||||
public final boolean hasDataAuthority(Uri p0){ return false; }
|
||||
public final boolean hasDataPath(String p0){ return false; }
|
||||
public final boolean hasDataScheme(String p0){ return false; }
|
||||
public final boolean hasDataSchemeSpecificPart(String p0){ return false; }
|
||||
public final boolean hasDataType(String p0){ return false; }
|
||||
public final boolean matchAction(String p0){ return false; }
|
||||
public final int countActions(){ return 0; }
|
||||
public final int countCategories(){ return 0; }
|
||||
public final int countDataAuthorities(){ return 0; }
|
||||
public final int countDataPaths(){ return 0; }
|
||||
public final int countDataSchemeSpecificParts(){ return 0; }
|
||||
public final int countDataSchemes(){ return 0; }
|
||||
public final int countDataTypes(){ return 0; }
|
||||
public final int describeContents(){ return 0; }
|
||||
public final int getPriority(){ return 0; }
|
||||
public final int match(ContentResolver p0, Intent p1, boolean p2, String p3){ return 0; }
|
||||
public final int match(String p0, String p1, String p2, Uri p3, Set<String> p4, String p5){ return 0; }
|
||||
public final int matchData(String p0, String p1, Uri p2){ return 0; }
|
||||
public final int matchDataAuthority(Uri p0){ return 0; }
|
||||
public final void addAction(String p0){}
|
||||
public final void addCategory(String p0){}
|
||||
public final void addDataAuthority(String p0, String p1){}
|
||||
public final void addDataPath(String p0, int p1){}
|
||||
public final void addDataScheme(String p0){}
|
||||
public final void addDataSchemeSpecificPart(String p0, int p1){}
|
||||
public final void addDataType(String p0){}
|
||||
public final void setPriority(int p0){}
|
||||
public final void writeToParcel(Parcel p0, int p1){}
|
||||
public static IntentFilter create(String p0, String p1){ return null; }
|
||||
public static Parcelable.Creator<IntentFilter> CREATOR = null;
|
||||
public static int MATCH_ADJUSTMENT_MASK = 0;
|
||||
public static int MATCH_ADJUSTMENT_NORMAL = 0;
|
||||
public static int MATCH_CATEGORY_EMPTY = 0;
|
||||
public static int MATCH_CATEGORY_HOST = 0;
|
||||
public static int MATCH_CATEGORY_MASK = 0;
|
||||
public static int MATCH_CATEGORY_PATH = 0;
|
||||
public static int MATCH_CATEGORY_PORT = 0;
|
||||
public static int MATCH_CATEGORY_SCHEME = 0;
|
||||
public static int MATCH_CATEGORY_SCHEME_SPECIFIC_PART = 0;
|
||||
public static int MATCH_CATEGORY_TYPE = 0;
|
||||
public static int NO_MATCH_ACTION = 0;
|
||||
public static int NO_MATCH_CATEGORY = 0;
|
||||
public static int NO_MATCH_DATA = 0;
|
||||
public static int NO_MATCH_TYPE = 0;
|
||||
public static int SYSTEM_HIGH_PRIORITY = 0;
|
||||
public static int SYSTEM_LOW_PRIORITY = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void readFromXml(XmlPullParser p0){}
|
||||
public void writeToXml(XmlSerializer p0){}
|
||||
static public class AuthorityEntry
|
||||
{
|
||||
protected AuthorityEntry() {}
|
||||
public AuthorityEntry(String p0, String p1){}
|
||||
public String getHost(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int getPort(){ return 0; }
|
||||
public int match(Uri p0){ return 0; }
|
||||
}
|
||||
static public class MalformedMimeTypeException extends AndroidException
|
||||
{
|
||||
public MalformedMimeTypeException(){}
|
||||
public MalformedMimeTypeException(String p0){}
|
||||
}
|
||||
}
|
||||
40
java/ql/test/stubs/android/android/content/IntentSender.java
generated
Normal file
40
java/ql/test/stubs/android/android/content/IntentSender.java
generated
Normal file
@@ -0,0 +1,40 @@
|
||||
// Generated automatically from android.content.IntentSender for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.UserHandle;
|
||||
import android.util.AndroidException;
|
||||
|
||||
public class IntentSender implements Parcelable
|
||||
{
|
||||
public String getCreatorPackage(){ return null; }
|
||||
public String getTargetPackage(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public UserHandle getCreatorUserHandle(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getCreatorUid(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static IntentSender readIntentSenderOrNullFromParcel(Parcel p0){ return null; }
|
||||
public static Parcelable.Creator<IntentSender> CREATOR = null;
|
||||
public static void writeIntentSenderOrNullToParcel(IntentSender p0, Parcel p1){}
|
||||
public void sendIntent(Context p0, int p1, Intent p2, IntentSender.OnFinished p3, Handler p4){}
|
||||
public void sendIntent(Context p0, int p1, Intent p2, IntentSender.OnFinished p3, Handler p4, String p5){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class SendIntentException extends AndroidException
|
||||
{
|
||||
public SendIntentException(){}
|
||||
public SendIntentException(Exception p0){}
|
||||
public SendIntentException(String p0){}
|
||||
}
|
||||
static public interface OnFinished
|
||||
{
|
||||
void onSendFinished(IntentSender p0, Intent p1, int p2, String p3, Bundle p4);
|
||||
}
|
||||
}
|
||||
23
java/ql/test/stubs/android/android/content/PeriodicSync.java
generated
Normal file
23
java/ql/test/stubs/android/android/content/PeriodicSync.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from android.content.PeriodicSync for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PeriodicSync implements Parcelable
|
||||
{
|
||||
protected PeriodicSync() {}
|
||||
public PeriodicSync(Account p0, String p1, Bundle p2, long p3){}
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final Account account = null;
|
||||
public final Bundle extras = null;
|
||||
public final String authority = null;
|
||||
public final long period = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<PeriodicSync> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
14
java/ql/test/stubs/android/android/content/ServiceConnection.java
generated
Normal file
14
java/ql/test/stubs/android/android/content/ServiceConnection.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from android.content.ServiceConnection for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.os.IBinder;
|
||||
|
||||
public interface ServiceConnection
|
||||
{
|
||||
default void onBindingDied(ComponentName p0){}
|
||||
default void onNullBinding(ComponentName p0){}
|
||||
void onServiceConnected(ComponentName p0, IBinder p1);
|
||||
void onServiceDisconnected(ComponentName p0);
|
||||
}
|
||||
38
java/ql/test/stubs/android/android/content/SharedPreferences.java
generated
Normal file
38
java/ql/test/stubs/android/android/content/SharedPreferences.java
generated
Normal file
@@ -0,0 +1,38 @@
|
||||
// Generated automatically from android.content.SharedPreferences for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
public interface SharedPreferences
|
||||
{
|
||||
Map<String, ? extends Object> getAll();
|
||||
Set<String> getStringSet(String p0, Set<String> p1);
|
||||
SharedPreferences.Editor edit();
|
||||
String getString(String p0, String p1);
|
||||
boolean contains(String p0);
|
||||
boolean getBoolean(String p0, boolean p1);
|
||||
float getFloat(String p0, float p1);
|
||||
int getInt(String p0, int p1);
|
||||
long getLong(String p0, long p1);
|
||||
static public interface Editor
|
||||
{
|
||||
SharedPreferences.Editor clear();
|
||||
SharedPreferences.Editor putBoolean(String p0, boolean p1);
|
||||
SharedPreferences.Editor putFloat(String p0, float p1);
|
||||
SharedPreferences.Editor putInt(String p0, int p1);
|
||||
SharedPreferences.Editor putLong(String p0, long p1);
|
||||
SharedPreferences.Editor putString(String p0, String p1);
|
||||
SharedPreferences.Editor putStringSet(String p0, Set<String> p1);
|
||||
SharedPreferences.Editor remove(String p0);
|
||||
boolean commit();
|
||||
void apply();
|
||||
}
|
||||
static public interface OnSharedPreferenceChangeListener
|
||||
{
|
||||
void onSharedPreferenceChanged(SharedPreferences p0, String p1);
|
||||
}
|
||||
void registerOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener p0);
|
||||
void unregisterOnSharedPreferenceChangeListener(SharedPreferences.OnSharedPreferenceChangeListener p0);
|
||||
}
|
||||
28
java/ql/test/stubs/android/android/content/SyncAdapterType.java
generated
Normal file
28
java/ql/test/stubs/android/android/content/SyncAdapterType.java
generated
Normal file
@@ -0,0 +1,28 @@
|
||||
// Generated automatically from android.content.SyncAdapterType for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SyncAdapterType implements Parcelable
|
||||
{
|
||||
protected SyncAdapterType() {}
|
||||
public String getSettingsActivity(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public SyncAdapterType(Parcel p0){}
|
||||
public SyncAdapterType(String p0, String p1, boolean p2, boolean p3){}
|
||||
public boolean allowParallelSyncs(){ return false; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isAlwaysSyncable(){ return false; }
|
||||
public boolean isUserVisible(){ return false; }
|
||||
public boolean supportsUploading(){ return false; }
|
||||
public final String accountType = null;
|
||||
public final String authority = null;
|
||||
public final boolean isKey = false;
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<SyncAdapterType> CREATOR = null;
|
||||
public static SyncAdapterType newKey(String p0, String p1){ return null; }
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
16
java/ql/test/stubs/android/android/content/SyncInfo.java
generated
Normal file
16
java/ql/test/stubs/android/android/content/SyncInfo.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from android.content.SyncInfo for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.accounts.Account;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SyncInfo implements Parcelable
|
||||
{
|
||||
public final Account account = null;
|
||||
public final String authority = null;
|
||||
public final long startTime = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
13
java/ql/test/stubs/android/android/content/SyncRequest.java
generated
Normal file
13
java/ql/test/stubs/android/android/content/SyncRequest.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from android.content.SyncRequest for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SyncRequest implements Parcelable
|
||||
{
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<SyncRequest> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
9
java/ql/test/stubs/android/android/content/SyncStatusObserver.java
generated
Normal file
9
java/ql/test/stubs/android/android/content/SyncStatusObserver.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from android.content.SyncStatusObserver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
|
||||
public interface SyncStatusObserver
|
||||
{
|
||||
void onStatusChanged(int p0);
|
||||
}
|
||||
20
java/ql/test/stubs/android/android/content/UriPermission.java
generated
Normal file
20
java/ql/test/stubs/android/android/content/UriPermission.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from android.content.UriPermission for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class UriPermission implements Parcelable
|
||||
{
|
||||
public String toString(){ return null; }
|
||||
public Uri getUri(){ return null; }
|
||||
public boolean isReadPermission(){ return false; }
|
||||
public boolean isWritePermission(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public long getPersistedTime(){ return 0; }
|
||||
public static Parcelable.Creator<UriPermission> CREATOR = null;
|
||||
public static long INVALID_TIME = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
112
java/ql/test/stubs/android/android/content/pm/ActivityInfo.java
generated
Normal file
112
java/ql/test/stubs/android/android/content/pm/ActivityInfo.java
generated
Normal file
@@ -0,0 +1,112 @@
|
||||
// Generated automatically from android.content.pm.ActivityInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ActivityInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo(){}
|
||||
public ActivityInfo(ActivityInfo p0){}
|
||||
public ActivityInfo.WindowLayout windowLayout = null;
|
||||
public String parentActivityName = null;
|
||||
public String permission = null;
|
||||
public String targetActivity = null;
|
||||
public String taskAffinity = null;
|
||||
public String toString(){ return null; }
|
||||
public final int getThemeResource(){ return 0; }
|
||||
public int colorMode = 0;
|
||||
public int configChanges = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int documentLaunchMode = 0;
|
||||
public int flags = 0;
|
||||
public int launchMode = 0;
|
||||
public int maxRecents = 0;
|
||||
public int persistableMode = 0;
|
||||
public int screenOrientation = 0;
|
||||
public int softInputMode = 0;
|
||||
public int theme = 0;
|
||||
public int uiOptions = 0;
|
||||
public static Parcelable.Creator<ActivityInfo> CREATOR = null;
|
||||
public static int COLOR_MODE_DEFAULT = 0;
|
||||
public static int COLOR_MODE_HDR = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT = 0;
|
||||
public static int CONFIG_COLOR_MODE = 0;
|
||||
public static int CONFIG_DENSITY = 0;
|
||||
public static int CONFIG_FONT_SCALE = 0;
|
||||
public static int CONFIG_KEYBOARD = 0;
|
||||
public static int CONFIG_KEYBOARD_HIDDEN = 0;
|
||||
public static int CONFIG_LAYOUT_DIRECTION = 0;
|
||||
public static int CONFIG_LOCALE = 0;
|
||||
public static int CONFIG_MCC = 0;
|
||||
public static int CONFIG_MNC = 0;
|
||||
public static int CONFIG_NAVIGATION = 0;
|
||||
public static int CONFIG_ORIENTATION = 0;
|
||||
public static int CONFIG_SCREEN_LAYOUT = 0;
|
||||
public static int CONFIG_SCREEN_SIZE = 0;
|
||||
public static int CONFIG_SMALLEST_SCREEN_SIZE = 0;
|
||||
public static int CONFIG_TOUCHSCREEN = 0;
|
||||
public static int CONFIG_UI_MODE = 0;
|
||||
public static int DOCUMENT_LAUNCH_ALWAYS = 0;
|
||||
public static int DOCUMENT_LAUNCH_INTO_EXISTING = 0;
|
||||
public static int DOCUMENT_LAUNCH_NEVER = 0;
|
||||
public static int DOCUMENT_LAUNCH_NONE = 0;
|
||||
public static int FLAG_ALLOW_TASK_REPARENTING = 0;
|
||||
public static int FLAG_ALWAYS_RETAIN_TASK_STATE = 0;
|
||||
public static int FLAG_AUTO_REMOVE_FROM_RECENTS = 0;
|
||||
public static int FLAG_CLEAR_TASK_ON_LAUNCH = 0;
|
||||
public static int FLAG_ENABLE_VR_MODE = 0;
|
||||
public static int FLAG_EXCLUDE_FROM_RECENTS = 0;
|
||||
public static int FLAG_FINISH_ON_CLOSE_SYSTEM_DIALOGS = 0;
|
||||
public static int FLAG_FINISH_ON_TASK_LAUNCH = 0;
|
||||
public static int FLAG_HARDWARE_ACCELERATED = 0;
|
||||
public static int FLAG_IMMERSIVE = 0;
|
||||
public static int FLAG_MULTIPROCESS = 0;
|
||||
public static int FLAG_NO_HISTORY = 0;
|
||||
public static int FLAG_PREFER_MINIMAL_POST_PROCESSING = 0;
|
||||
public static int FLAG_RELINQUISH_TASK_IDENTITY = 0;
|
||||
public static int FLAG_RESUME_WHILE_PAUSING = 0;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public static int FLAG_STATE_NOT_NEEDED = 0;
|
||||
public static int LAUNCH_MULTIPLE = 0;
|
||||
public static int LAUNCH_SINGLE_INSTANCE = 0;
|
||||
public static int LAUNCH_SINGLE_TASK = 0;
|
||||
public static int LAUNCH_SINGLE_TOP = 0;
|
||||
public static int PERSIST_ACROSS_REBOOTS = 0;
|
||||
public static int PERSIST_NEVER = 0;
|
||||
public static int PERSIST_ROOT_ONLY = 0;
|
||||
public static int SCREEN_ORIENTATION_BEHIND = 0;
|
||||
public static int SCREEN_ORIENTATION_FULL_SENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_FULL_USER = 0;
|
||||
public static int SCREEN_ORIENTATION_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_LOCKED = 0;
|
||||
public static int SCREEN_ORIENTATION_NOSENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_REVERSE_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_REVERSE_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_SENSOR_PORTRAIT = 0;
|
||||
public static int SCREEN_ORIENTATION_UNSPECIFIED = 0;
|
||||
public static int SCREEN_ORIENTATION_USER = 0;
|
||||
public static int SCREEN_ORIENTATION_USER_LANDSCAPE = 0;
|
||||
public static int SCREEN_ORIENTATION_USER_PORTRAIT = 0;
|
||||
public static int UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public class WindowLayout
|
||||
{
|
||||
protected WindowLayout() {}
|
||||
public WindowLayout(int p0, float p1, int p2, float p3, int p4, int p5, int p6){}
|
||||
public final float heightFraction = 0;
|
||||
public final float widthFraction = 0;
|
||||
public final int gravity = 0;
|
||||
public final int height = 0;
|
||||
public final int minHeight = 0;
|
||||
public final int minWidth = 0;
|
||||
public final int width = 0;
|
||||
}
|
||||
}
|
||||
101
java/ql/test/stubs/android/android/content/pm/ApplicationInfo.java
generated
Normal file
101
java/ql/test/stubs/android/android/content/pm/ApplicationInfo.java
generated
Normal file
@@ -0,0 +1,101 @@
|
||||
// Generated automatically from android.content.pm.ApplicationInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
import java.util.UUID;
|
||||
|
||||
public class ApplicationInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public ApplicationInfo(){}
|
||||
public ApplicationInfo(ApplicationInfo p0){}
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public String appComponentFactory = null;
|
||||
public String backupAgentName = null;
|
||||
public String className = null;
|
||||
public String dataDir = null;
|
||||
public String deviceProtectedDataDir = null;
|
||||
public String manageSpaceActivityName = null;
|
||||
public String nativeLibraryDir = null;
|
||||
public String permission = null;
|
||||
public String processName = null;
|
||||
public String publicSourceDir = null;
|
||||
public String sourceDir = null;
|
||||
public String taskAffinity = null;
|
||||
public String toString(){ return null; }
|
||||
public String[] sharedLibraryFiles = null;
|
||||
public String[] splitNames = null;
|
||||
public String[] splitPublicSourceDirs = null;
|
||||
public String[] splitSourceDirs = null;
|
||||
public UUID storageUuid = null;
|
||||
public boolean enabled = false;
|
||||
public boolean isProfileableByShell(){ return false; }
|
||||
public boolean isResourceOverlay(){ return false; }
|
||||
public boolean isVirtualPreload(){ return false; }
|
||||
public int category = 0;
|
||||
public int compatibleWidthLimitDp = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int getGwpAsanMode(){ return 0; }
|
||||
public int largestWidthLimitDp = 0;
|
||||
public int minSdkVersion = 0;
|
||||
public int requiresSmallestWidthDp = 0;
|
||||
public int targetSdkVersion = 0;
|
||||
public int theme = 0;
|
||||
public int uiOptions = 0;
|
||||
public int uid = 0;
|
||||
public static CharSequence getCategoryTitle(Context p0, int p1){ return null; }
|
||||
public static Parcelable.Creator<ApplicationInfo> CREATOR = null;
|
||||
public static int CATEGORY_AUDIO = 0;
|
||||
public static int CATEGORY_GAME = 0;
|
||||
public static int CATEGORY_IMAGE = 0;
|
||||
public static int CATEGORY_MAPS = 0;
|
||||
public static int CATEGORY_NEWS = 0;
|
||||
public static int CATEGORY_PRODUCTIVITY = 0;
|
||||
public static int CATEGORY_SOCIAL = 0;
|
||||
public static int CATEGORY_UNDEFINED = 0;
|
||||
public static int CATEGORY_VIDEO = 0;
|
||||
public static int FLAG_ALLOW_BACKUP = 0;
|
||||
public static int FLAG_ALLOW_CLEAR_USER_DATA = 0;
|
||||
public static int FLAG_ALLOW_TASK_REPARENTING = 0;
|
||||
public static int FLAG_DEBUGGABLE = 0;
|
||||
public static int FLAG_EXTERNAL_STORAGE = 0;
|
||||
public static int FLAG_EXTRACT_NATIVE_LIBS = 0;
|
||||
public static int FLAG_FACTORY_TEST = 0;
|
||||
public static int FLAG_FULL_BACKUP_ONLY = 0;
|
||||
public static int FLAG_HARDWARE_ACCELERATED = 0;
|
||||
public static int FLAG_HAS_CODE = 0;
|
||||
public static int FLAG_INSTALLED = 0;
|
||||
public static int FLAG_IS_DATA_ONLY = 0;
|
||||
public static int FLAG_IS_GAME = 0;
|
||||
public static int FLAG_KILL_AFTER_RESTORE = 0;
|
||||
public static int FLAG_LARGE_HEAP = 0;
|
||||
public static int FLAG_MULTIARCH = 0;
|
||||
public static int FLAG_PERSISTENT = 0;
|
||||
public static int FLAG_RESIZEABLE_FOR_SCREENS = 0;
|
||||
public static int FLAG_RESTORE_ANY_VERSION = 0;
|
||||
public static int FLAG_STOPPED = 0;
|
||||
public static int FLAG_SUPPORTS_LARGE_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_NORMAL_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_RTL = 0;
|
||||
public static int FLAG_SUPPORTS_SCREEN_DENSITIES = 0;
|
||||
public static int FLAG_SUPPORTS_SMALL_SCREENS = 0;
|
||||
public static int FLAG_SUPPORTS_XLARGE_SCREENS = 0;
|
||||
public static int FLAG_SUSPENDED = 0;
|
||||
public static int FLAG_SYSTEM = 0;
|
||||
public static int FLAG_TEST_ONLY = 0;
|
||||
public static int FLAG_UPDATED_SYSTEM_APP = 0;
|
||||
public static int FLAG_USES_CLEARTEXT_TRAFFIC = 0;
|
||||
public static int FLAG_VM_SAFE_MODE = 0;
|
||||
public static int GWP_ASAN_ALWAYS = 0;
|
||||
public static int GWP_ASAN_DEFAULT = 0;
|
||||
public static int GWP_ASAN_NEVER = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
18
java/ql/test/stubs/android/android/content/pm/ChangedPackages.java
generated
Normal file
18
java/ql/test/stubs/android/android/content/pm/ChangedPackages.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.content.pm.ChangedPackages for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.List;
|
||||
|
||||
public class ChangedPackages implements Parcelable
|
||||
{
|
||||
protected ChangedPackages() {}
|
||||
public ChangedPackages(int p0, List<String> p1){}
|
||||
public List<String> getPackageNames(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getSequenceNumber(){ return 0; }
|
||||
public static Parcelable.Creator<ChangedPackages> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
29
java/ql/test/stubs/android/android/content/pm/ComponentInfo.java
generated
Normal file
29
java/ql/test/stubs/android/android/content/pm/ComponentInfo.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from android.content.pm.ComponentInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.os.Parcel;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ComponentInfo extends PackageItemInfo
|
||||
{
|
||||
protected ComponentInfo(Parcel p0){}
|
||||
protected void dumpBack(Printer p0, String p1){}
|
||||
protected void dumpFront(Printer p0, String p1){}
|
||||
public ApplicationInfo applicationInfo = null;
|
||||
public ComponentInfo(){}
|
||||
public ComponentInfo(ComponentInfo p0){}
|
||||
public String processName = null;
|
||||
public String splitName = null;
|
||||
public boolean directBootAware = false;
|
||||
public boolean enabled = false;
|
||||
public boolean exported = false;
|
||||
public boolean isEnabled(){ return false; }
|
||||
public final int getBannerResource(){ return 0; }
|
||||
public final int getIconResource(){ return 0; }
|
||||
public final int getLogoResource(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
25
java/ql/test/stubs/android/android/content/pm/ConfigurationInfo.java
generated
Normal file
25
java/ql/test/stubs/android/android/content/pm/ConfigurationInfo.java
generated
Normal file
@@ -0,0 +1,25 @@
|
||||
// Generated automatically from android.content.pm.ConfigurationInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ConfigurationInfo implements Parcelable
|
||||
{
|
||||
public ConfigurationInfo(){}
|
||||
public ConfigurationInfo(ConfigurationInfo p0){}
|
||||
public String getGlEsVersion(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int reqGlEsVersion = 0;
|
||||
public int reqInputFeatures = 0;
|
||||
public int reqKeyboardType = 0;
|
||||
public int reqNavigation = 0;
|
||||
public int reqTouchScreen = 0;
|
||||
public static Parcelable.Creator<ConfigurationInfo> CREATOR = null;
|
||||
public static int GL_ES_VERSION_UNDEFINED = 0;
|
||||
public static int INPUT_FEATURE_FIVE_WAY_NAV = 0;
|
||||
public static int INPUT_FEATURE_HARD_KEYBOARD = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
17
java/ql/test/stubs/android/android/content/pm/FeatureGroupInfo.java
generated
Normal file
17
java/ql/test/stubs/android/android/content/pm/FeatureGroupInfo.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from android.content.pm.FeatureGroupInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.FeatureInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class FeatureGroupInfo implements Parcelable
|
||||
{
|
||||
public FeatureGroupInfo(){}
|
||||
public FeatureGroupInfo(FeatureGroupInfo p0){}
|
||||
public FeatureInfo[] features = null;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<FeatureGroupInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
23
java/ql/test/stubs/android/android/content/pm/FeatureInfo.java
generated
Normal file
23
java/ql/test/stubs/android/android/content/pm/FeatureInfo.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from android.content.pm.FeatureInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class FeatureInfo implements Parcelable
|
||||
{
|
||||
public FeatureInfo(){}
|
||||
public FeatureInfo(FeatureInfo p0){}
|
||||
public String getGlEsVersion(){ return null; }
|
||||
public String name = null;
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int flags = 0;
|
||||
public int reqGlEsVersion = 0;
|
||||
public int version = 0;
|
||||
public static Parcelable.Creator<FeatureInfo> CREATOR = null;
|
||||
public static int FLAG_REQUIRED = 0;
|
||||
public static int GL_ES_VERSION_UNDEFINED = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
18
java/ql/test/stubs/android/android/content/pm/InstallSourceInfo.java
generated
Normal file
18
java/ql/test/stubs/android/android/content/pm/InstallSourceInfo.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.content.pm.InstallSourceInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.SigningInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class InstallSourceInfo implements Parcelable
|
||||
{
|
||||
public SigningInfo getInitiatingPackageSigningInfo(){ return null; }
|
||||
public String getInitiatingPackageName(){ return null; }
|
||||
public String getInstallingPackageName(){ return null; }
|
||||
public String getOriginatingPackageName(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<InstallSourceInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
27
java/ql/test/stubs/android/android/content/pm/InstrumentationInfo.java
generated
Normal file
27
java/ql/test/stubs/android/android/content/pm/InstrumentationInfo.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from android.content.pm.InstrumentationInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class InstrumentationInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public InstrumentationInfo(){}
|
||||
public InstrumentationInfo(InstrumentationInfo p0){}
|
||||
public String dataDir = null;
|
||||
public String publicSourceDir = null;
|
||||
public String sourceDir = null;
|
||||
public String targetPackage = null;
|
||||
public String targetProcesses = null;
|
||||
public String toString(){ return null; }
|
||||
public String[] splitNames = null;
|
||||
public String[] splitPublicSourceDirs = null;
|
||||
public String[] splitSourceDirs = null;
|
||||
public boolean functionalTest = false;
|
||||
public boolean handleProfiling = false;
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<InstrumentationInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
19
java/ql/test/stubs/android/android/content/pm/ModuleInfo.java
generated
Normal file
19
java/ql/test/stubs/android/android/content/pm/ModuleInfo.java
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
// Generated automatically from android.content.pm.ModuleInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class ModuleInfo implements Parcelable
|
||||
{
|
||||
public CharSequence getName(){ return null; }
|
||||
public String getPackageName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isHidden(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<ModuleInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
59
java/ql/test/stubs/android/android/content/pm/PackageInfo.java
generated
Normal file
59
java/ql/test/stubs/android/android/content/pm/PackageInfo.java
generated
Normal file
@@ -0,0 +1,59 @@
|
||||
// Generated automatically from android.content.pm.PackageInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.ConfigurationInfo;
|
||||
import android.content.pm.FeatureGroupInfo;
|
||||
import android.content.pm.FeatureInfo;
|
||||
import android.content.pm.InstrumentationInfo;
|
||||
import android.content.pm.PermissionInfo;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.content.pm.Signature;
|
||||
import android.content.pm.SigningInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PackageInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo[] activities = null;
|
||||
public ActivityInfo[] receivers = null;
|
||||
public ApplicationInfo applicationInfo = null;
|
||||
public ConfigurationInfo[] configPreferences = null;
|
||||
public FeatureGroupInfo[] featureGroups = null;
|
||||
public FeatureInfo[] reqFeatures = null;
|
||||
public InstrumentationInfo[] instrumentation = null;
|
||||
public PackageInfo(){}
|
||||
public PermissionInfo[] permissions = null;
|
||||
public ProviderInfo[] providers = null;
|
||||
public ServiceInfo[] services = null;
|
||||
public Signature[] signatures = null;
|
||||
public SigningInfo signingInfo = null;
|
||||
public String packageName = null;
|
||||
public String sharedUserId = null;
|
||||
public String toString(){ return null; }
|
||||
public String versionName = null;
|
||||
public String[] requestedPermissions = null;
|
||||
public String[] splitNames = null;
|
||||
public boolean isApex = false;
|
||||
public int baseRevisionCode = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int installLocation = 0;
|
||||
public int sharedUserLabel = 0;
|
||||
public int versionCode = 0;
|
||||
public int[] gids = null;
|
||||
public int[] requestedPermissionsFlags = null;
|
||||
public int[] splitRevisionCodes = null;
|
||||
public long firstInstallTime = 0;
|
||||
public long getLongVersionCode(){ return 0; }
|
||||
public long lastUpdateTime = 0;
|
||||
public static Parcelable.Creator<PackageInfo> CREATOR = null;
|
||||
public static int INSTALL_LOCATION_AUTO = 0;
|
||||
public static int INSTALL_LOCATION_INTERNAL_ONLY = 0;
|
||||
public static int INSTALL_LOCATION_PREFER_EXTERNAL = 0;
|
||||
public static int REQUESTED_PERMISSION_GRANTED = 0;
|
||||
public void setLongVersionCode(long p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
151
java/ql/test/stubs/android/android/content/pm/PackageInstaller.java
generated
Normal file
151
java/ql/test/stubs/android/android/content/pm/PackageInstaller.java
generated
Normal file
@@ -0,0 +1,151 @@
|
||||
// Generated automatically from android.content.pm.PackageInstaller for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.content.IntentSender;
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.graphics.Bitmap;
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.UserHandle;
|
||||
import java.io.Closeable;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class PackageInstaller
|
||||
{
|
||||
abstract static public class SessionCallback
|
||||
{
|
||||
public SessionCallback(){}
|
||||
public abstract void onActiveChanged(int p0, boolean p1);
|
||||
public abstract void onBadgingChanged(int p0);
|
||||
public abstract void onCreated(int p0);
|
||||
public abstract void onFinished(int p0, boolean p1);
|
||||
public abstract void onProgressChanged(int p0, float p1);
|
||||
}
|
||||
public List<PackageInstaller.SessionInfo> getActiveStagedSessions(){ return null; }
|
||||
public List<PackageInstaller.SessionInfo> getAllSessions(){ return null; }
|
||||
public List<PackageInstaller.SessionInfo> getMySessions(){ return null; }
|
||||
public List<PackageInstaller.SessionInfo> getStagedSessions(){ return null; }
|
||||
public PackageInstaller.Session openSession(int p0){ return null; }
|
||||
public PackageInstaller.SessionInfo getActiveStagedSession(){ return null; }
|
||||
public PackageInstaller.SessionInfo getSessionInfo(int p0){ return null; }
|
||||
public int createSession(PackageInstaller.SessionParams p0){ return 0; }
|
||||
public static String ACTION_SESSION_COMMITTED = null;
|
||||
public static String ACTION_SESSION_DETAILS = null;
|
||||
public static String ACTION_SESSION_UPDATED = null;
|
||||
public static String EXTRA_OTHER_PACKAGE_NAME = null;
|
||||
public static String EXTRA_PACKAGE_NAME = null;
|
||||
public static String EXTRA_SESSION = null;
|
||||
public static String EXTRA_SESSION_ID = null;
|
||||
public static String EXTRA_STATUS = null;
|
||||
public static String EXTRA_STATUS_MESSAGE = null;
|
||||
public static String EXTRA_STORAGE_PATH = null;
|
||||
public static int STATUS_FAILURE = 0;
|
||||
public static int STATUS_FAILURE_ABORTED = 0;
|
||||
public static int STATUS_FAILURE_BLOCKED = 0;
|
||||
public static int STATUS_FAILURE_CONFLICT = 0;
|
||||
public static int STATUS_FAILURE_INCOMPATIBLE = 0;
|
||||
public static int STATUS_FAILURE_INVALID = 0;
|
||||
public static int STATUS_FAILURE_STORAGE = 0;
|
||||
public static int STATUS_PENDING_USER_ACTION = 0;
|
||||
public static int STATUS_SUCCESS = 0;
|
||||
public void abandonSession(int p0){}
|
||||
public void installExistingPackage(String p0, int p1, IntentSender p2){}
|
||||
public void registerSessionCallback(PackageInstaller.SessionCallback p0){}
|
||||
public void registerSessionCallback(PackageInstaller.SessionCallback p0, Handler p1){}
|
||||
public void uninstall(String p0, IntentSender p1){}
|
||||
public void uninstall(VersionedPackage p0, IntentSender p1){}
|
||||
public void unregisterSessionCallback(PackageInstaller.SessionCallback p0){}
|
||||
public void updateSessionAppIcon(int p0, Bitmap p1){}
|
||||
public void updateSessionAppLabel(int p0, CharSequence p1){}
|
||||
static public class Session implements Closeable
|
||||
{
|
||||
public InputStream openRead(String p0){ return null; }
|
||||
public OutputStream openWrite(String p0, long p1, long p2){ return null; }
|
||||
public String[] getNames(){ return null; }
|
||||
public boolean isMultiPackage(){ return false; }
|
||||
public boolean isStaged(){ return false; }
|
||||
public int getParentSessionId(){ return 0; }
|
||||
public int[] getChildSessionIds(){ return null; }
|
||||
public void abandon(){}
|
||||
public void addChildSessionId(int p0){}
|
||||
public void close(){}
|
||||
public void commit(IntentSender p0){}
|
||||
public void fsync(OutputStream p0){}
|
||||
public void removeChildSessionId(int p0){}
|
||||
public void removeSplit(String p0){}
|
||||
public void setStagingProgress(float p0){}
|
||||
public void transfer(String p0){}
|
||||
}
|
||||
static public class SessionInfo implements Parcelable
|
||||
{
|
||||
public Bitmap getAppIcon(){ return null; }
|
||||
public CharSequence getAppLabel(){ return null; }
|
||||
public Intent createDetailsIntent(){ return null; }
|
||||
public String getAppPackageName(){ return null; }
|
||||
public String getInstallerPackageName(){ return null; }
|
||||
public String getStagedSessionErrorMessage(){ return null; }
|
||||
public Uri getOriginatingUri(){ return null; }
|
||||
public Uri getReferrerUri(){ return null; }
|
||||
public UserHandle getUser(){ return null; }
|
||||
public boolean hasParentSessionId(){ return false; }
|
||||
public boolean isActive(){ return false; }
|
||||
public boolean isCommitted(){ return false; }
|
||||
public boolean isMultiPackage(){ return false; }
|
||||
public boolean isSealed(){ return false; }
|
||||
public boolean isStaged(){ return false; }
|
||||
public boolean isStagedSessionActive(){ return false; }
|
||||
public boolean isStagedSessionApplied(){ return false; }
|
||||
public boolean isStagedSessionFailed(){ return false; }
|
||||
public boolean isStagedSessionReady(){ return false; }
|
||||
public float getProgress(){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getInstallLocation(){ return 0; }
|
||||
public int getInstallReason(){ return 0; }
|
||||
public int getMode(){ return 0; }
|
||||
public int getOriginatingUid(){ return 0; }
|
||||
public int getParentSessionId(){ return 0; }
|
||||
public int getSessionId(){ return 0; }
|
||||
public int getStagedSessionErrorCode(){ return 0; }
|
||||
public int[] getChildSessionIds(){ return null; }
|
||||
public long getCreatedMillis(){ return 0; }
|
||||
public long getSize(){ return 0; }
|
||||
public long getUpdatedMillis(){ return 0; }
|
||||
public static Parcelable.Creator<PackageInstaller.SessionInfo> CREATOR = null;
|
||||
public static int INVALID_ID = 0;
|
||||
public static int STAGED_SESSION_ACTIVATION_FAILED = 0;
|
||||
public static int STAGED_SESSION_NO_ERROR = 0;
|
||||
public static int STAGED_SESSION_UNKNOWN = 0;
|
||||
public static int STAGED_SESSION_VERIFICATION_FAILED = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
static public class SessionParams implements Parcelable
|
||||
{
|
||||
protected SessionParams() {}
|
||||
public SessionParams(int p0){}
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<PackageInstaller.SessionParams> CREATOR = null;
|
||||
public static Set<String> RESTRICTED_PERMISSIONS_ALL = null;
|
||||
public static int MODE_FULL_INSTALL = 0;
|
||||
public static int MODE_INHERIT_EXISTING = 0;
|
||||
public void setAppIcon(Bitmap p0){}
|
||||
public void setAppLabel(CharSequence p0){}
|
||||
public void setAppPackageName(String p0){}
|
||||
public void setAutoRevokePermissionsMode(boolean p0){}
|
||||
public void setInstallLocation(int p0){}
|
||||
public void setInstallReason(int p0){}
|
||||
public void setMultiPackage(){}
|
||||
public void setOriginatingUid(int p0){}
|
||||
public void setOriginatingUri(Uri p0){}
|
||||
public void setReferrerUri(Uri p0){}
|
||||
public void setSize(long p0){}
|
||||
public void setWhitelistedRestrictedPermissions(Set<String> p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
}
|
||||
34
java/ql/test/stubs/android/android/content/pm/PackageItemInfo.java
generated
Normal file
34
java/ql/test/stubs/android/android/content/pm/PackageItemInfo.java
generated
Normal file
@@ -0,0 +1,34 @@
|
||||
// Generated automatically from android.content.pm.PackageItemInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.util.Printer;
|
||||
|
||||
public class PackageItemInfo
|
||||
{
|
||||
protected PackageItemInfo(Parcel p0){}
|
||||
protected void dumpBack(Printer p0, String p1){}
|
||||
protected void dumpFront(Printer p0, String p1){}
|
||||
public Bundle metaData = null;
|
||||
public CharSequence loadLabel(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedLabel = null;
|
||||
public Drawable loadBanner(PackageManager p0){ return null; }
|
||||
public Drawable loadIcon(PackageManager p0){ return null; }
|
||||
public Drawable loadLogo(PackageManager p0){ return null; }
|
||||
public Drawable loadUnbadgedIcon(PackageManager p0){ return null; }
|
||||
public PackageItemInfo(){}
|
||||
public PackageItemInfo(PackageItemInfo p0){}
|
||||
public String name = null;
|
||||
public String packageName = null;
|
||||
public XmlResourceParser loadXmlMetaData(PackageManager p0, String p1){ return null; }
|
||||
public int banner = 0;
|
||||
public int icon = 0;
|
||||
public int labelRes = 0;
|
||||
public int logo = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
331
java/ql/test/stubs/android/android/content/pm/PackageManager.java
generated
Normal file
331
java/ql/test/stubs/android/android/content/pm/PackageManager.java
generated
Normal file
@@ -0,0 +1,331 @@
|
||||
// Generated automatically from android.content.pm.PackageManager for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.ChangedPackages;
|
||||
import android.content.pm.FeatureInfo;
|
||||
import android.content.pm.InstallSourceInfo;
|
||||
import android.content.pm.InstrumentationInfo;
|
||||
import android.content.pm.ModuleInfo;
|
||||
import android.content.pm.PackageInfo;
|
||||
import android.content.pm.PackageInstaller;
|
||||
import android.content.pm.PermissionGroupInfo;
|
||||
import android.content.pm.PermissionInfo;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ResolveInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.content.pm.SharedLibraryInfo;
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
import android.util.AndroidException;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
abstract public class PackageManager
|
||||
{
|
||||
public Bundle getSuspendedPackageAppExtras(){ return null; }
|
||||
public CharSequence getBackgroundPermissionOptionLabel(){ return null; }
|
||||
public InstallSourceInfo getInstallSourceInfo(String p0){ return null; }
|
||||
public List<ModuleInfo> getInstalledModules(int p0){ return null; }
|
||||
public ModuleInfo getModuleInfo(String p0, int p1){ return null; }
|
||||
public PackageInfo getPackageArchiveInfo(String p0, int p1){ return null; }
|
||||
public PackageManager(){}
|
||||
public Set<String> getMimeGroup(String p0){ return null; }
|
||||
public Set<String> getWhitelistedRestrictedPermissions(String p0, int p1){ return null; }
|
||||
public abstract ActivityInfo getActivityInfo(ComponentName p0, int p1);
|
||||
public abstract ActivityInfo getReceiverInfo(ComponentName p0, int p1);
|
||||
public abstract ApplicationInfo getApplicationInfo(String p0, int p1);
|
||||
public abstract ChangedPackages getChangedPackages(int p0);
|
||||
public abstract CharSequence getApplicationLabel(ApplicationInfo p0);
|
||||
public abstract CharSequence getText(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract CharSequence getUserBadgedLabel(CharSequence p0, UserHandle p1);
|
||||
public abstract Drawable getActivityBanner(ComponentName p0);
|
||||
public abstract Drawable getActivityBanner(Intent p0);
|
||||
public abstract Drawable getActivityIcon(ComponentName p0);
|
||||
public abstract Drawable getActivityIcon(Intent p0);
|
||||
public abstract Drawable getActivityLogo(ComponentName p0);
|
||||
public abstract Drawable getActivityLogo(Intent p0);
|
||||
public abstract Drawable getApplicationBanner(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationBanner(String p0);
|
||||
public abstract Drawable getApplicationIcon(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationIcon(String p0);
|
||||
public abstract Drawable getApplicationLogo(ApplicationInfo p0);
|
||||
public abstract Drawable getApplicationLogo(String p0);
|
||||
public abstract Drawable getDefaultActivityIcon();
|
||||
public abstract Drawable getDrawable(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract Drawable getUserBadgedDrawableForDensity(Drawable p0, UserHandle p1, Rect p2, int p3);
|
||||
public abstract Drawable getUserBadgedIcon(Drawable p0, UserHandle p1);
|
||||
public abstract FeatureInfo[] getSystemAvailableFeatures();
|
||||
public abstract InstrumentationInfo getInstrumentationInfo(ComponentName p0, int p1);
|
||||
public abstract Intent getLaunchIntentForPackage(String p0);
|
||||
public abstract Intent getLeanbackLaunchIntentForPackage(String p0);
|
||||
public abstract List<ApplicationInfo> getInstalledApplications(int p0);
|
||||
public abstract List<InstrumentationInfo> queryInstrumentation(String p0, int p1);
|
||||
public abstract List<PackageInfo> getInstalledPackages(int p0);
|
||||
public abstract List<PackageInfo> getPackagesHoldingPermissions(String[] p0, int p1);
|
||||
public abstract List<PackageInfo> getPreferredPackages(int p0);
|
||||
public abstract List<PermissionGroupInfo> getAllPermissionGroups(int p0);
|
||||
public abstract List<PermissionInfo> queryPermissionsByGroup(String p0, int p1);
|
||||
public abstract List<ProviderInfo> queryContentProviders(String p0, int p1, int p2);
|
||||
public abstract List<ResolveInfo> queryBroadcastReceivers(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentActivities(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentActivityOptions(ComponentName p0, Intent[] p1, Intent p2, int p3);
|
||||
public abstract List<ResolveInfo> queryIntentContentProviders(Intent p0, int p1);
|
||||
public abstract List<ResolveInfo> queryIntentServices(Intent p0, int p1);
|
||||
public abstract List<SharedLibraryInfo> getSharedLibraries(int p0);
|
||||
public abstract PackageInfo getPackageInfo(String p0, int p1);
|
||||
public abstract PackageInfo getPackageInfo(VersionedPackage p0, int p1);
|
||||
public abstract PackageInstaller getPackageInstaller();
|
||||
public abstract PermissionGroupInfo getPermissionGroupInfo(String p0, int p1);
|
||||
public abstract PermissionInfo getPermissionInfo(String p0, int p1);
|
||||
public abstract ProviderInfo getProviderInfo(ComponentName p0, int p1);
|
||||
public abstract ProviderInfo resolveContentProvider(String p0, int p1);
|
||||
public abstract ResolveInfo resolveActivity(Intent p0, int p1);
|
||||
public abstract ResolveInfo resolveService(Intent p0, int p1);
|
||||
public abstract Resources getResourcesForActivity(ComponentName p0);
|
||||
public abstract Resources getResourcesForApplication(ApplicationInfo p0);
|
||||
public abstract Resources getResourcesForApplication(String p0);
|
||||
public abstract ServiceInfo getServiceInfo(ComponentName p0, int p1);
|
||||
public abstract String getInstallerPackageName(String p0);
|
||||
public abstract String getNameForUid(int p0);
|
||||
public abstract String[] canonicalToCurrentPackageNames(String[] p0);
|
||||
public abstract String[] currentToCanonicalPackageNames(String[] p0);
|
||||
public abstract String[] getPackagesForUid(int p0);
|
||||
public abstract String[] getSystemSharedLibraryNames();
|
||||
public abstract XmlResourceParser getXml(String p0, int p1, ApplicationInfo p2);
|
||||
public abstract boolean addPermission(PermissionInfo p0);
|
||||
public abstract boolean addPermissionAsync(PermissionInfo p0);
|
||||
public abstract boolean canRequestPackageInstalls();
|
||||
public abstract boolean hasSystemFeature(String p0);
|
||||
public abstract boolean hasSystemFeature(String p0, int p1);
|
||||
public abstract boolean isInstantApp();
|
||||
public abstract boolean isInstantApp(String p0);
|
||||
public abstract boolean isPermissionRevokedByPolicy(String p0, String p1);
|
||||
public abstract boolean isSafeMode();
|
||||
public abstract byte[] getInstantAppCookie();
|
||||
public abstract int checkPermission(String p0, String p1);
|
||||
public abstract int checkSignatures(String p0, String p1);
|
||||
public abstract int checkSignatures(int p0, int p1);
|
||||
public abstract int getApplicationEnabledSetting(String p0);
|
||||
public abstract int getComponentEnabledSetting(ComponentName p0);
|
||||
public abstract int getInstantAppCookieMaxBytes();
|
||||
public abstract int getPackageUid(String p0, int p1);
|
||||
public abstract int getPreferredActivities(List<IntentFilter> p0, List<ComponentName> p1, String p2);
|
||||
public abstract int[] getPackageGids(String p0);
|
||||
public abstract int[] getPackageGids(String p0, int p1);
|
||||
public abstract void addPackageToPreferred(String p0);
|
||||
public abstract void addPreferredActivity(IntentFilter p0, int p1, ComponentName[] p2, ComponentName p3);
|
||||
public abstract void clearInstantAppCookie();
|
||||
public abstract void clearPackagePreferredActivities(String p0);
|
||||
public abstract void extendVerificationTimeout(int p0, int p1, long p2);
|
||||
public abstract void removePackageFromPreferred(String p0);
|
||||
public abstract void removePermission(String p0);
|
||||
public abstract void setApplicationCategoryHint(String p0, int p1);
|
||||
public abstract void setApplicationEnabledSetting(String p0, int p1, int p2);
|
||||
public abstract void setComponentEnabledSetting(ComponentName p0, int p1, int p2);
|
||||
public abstract void setInstallerPackageName(String p0, String p1);
|
||||
public abstract void updateInstantAppCookie(byte[] p0);
|
||||
public abstract void verifyPendingInstall(int p0, int p1);
|
||||
public boolean addWhitelistedRestrictedPermission(String p0, String p1, int p2){ return false; }
|
||||
public boolean getSyntheticAppDetailsActivityEnabled(String p0){ return false; }
|
||||
public boolean hasSigningCertificate(String p0, byte[] p1, int p2){ return false; }
|
||||
public boolean hasSigningCertificate(int p0, byte[] p1, int p2){ return false; }
|
||||
public boolean isAutoRevokeWhitelisted(){ return false; }
|
||||
public boolean isAutoRevokeWhitelisted(String p0){ return false; }
|
||||
public boolean isDefaultApplicationIcon(Drawable p0){ return false; }
|
||||
public boolean isDeviceUpgrading(){ return false; }
|
||||
public boolean isPackageSuspended(){ return false; }
|
||||
public boolean isPackageSuspended(String p0){ return false; }
|
||||
public boolean removeWhitelistedRestrictedPermission(String p0, String p1, int p2){ return false; }
|
||||
public boolean setAutoRevokeWhitelisted(String p0, boolean p1){ return false; }
|
||||
public static String EXTRA_VERIFICATION_ID = null;
|
||||
public static String EXTRA_VERIFICATION_RESULT = null;
|
||||
public static String FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS = null;
|
||||
public static String FEATURE_APP_WIDGETS = null;
|
||||
public static String FEATURE_AUDIO_LOW_LATENCY = null;
|
||||
public static String FEATURE_AUDIO_OUTPUT = null;
|
||||
public static String FEATURE_AUDIO_PRO = null;
|
||||
public static String FEATURE_AUTOFILL = null;
|
||||
public static String FEATURE_AUTOMOTIVE = null;
|
||||
public static String FEATURE_BACKUP = null;
|
||||
public static String FEATURE_BLUETOOTH = null;
|
||||
public static String FEATURE_BLUETOOTH_LE = null;
|
||||
public static String FEATURE_CAMERA = null;
|
||||
public static String FEATURE_CAMERA_ANY = null;
|
||||
public static String FEATURE_CAMERA_AR = null;
|
||||
public static String FEATURE_CAMERA_AUTOFOCUS = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_MANUAL_POST_PROCESSING = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_MANUAL_SENSOR = null;
|
||||
public static String FEATURE_CAMERA_CAPABILITY_RAW = null;
|
||||
public static String FEATURE_CAMERA_CONCURRENT = null;
|
||||
public static String FEATURE_CAMERA_EXTERNAL = null;
|
||||
public static String FEATURE_CAMERA_FLASH = null;
|
||||
public static String FEATURE_CAMERA_FRONT = null;
|
||||
public static String FEATURE_CAMERA_LEVEL_FULL = null;
|
||||
public static String FEATURE_CANT_SAVE_STATE = null;
|
||||
public static String FEATURE_COMPANION_DEVICE_SETUP = null;
|
||||
public static String FEATURE_CONNECTION_SERVICE = null;
|
||||
public static String FEATURE_CONSUMER_IR = null;
|
||||
public static String FEATURE_CONTROLS = null;
|
||||
public static String FEATURE_DEVICE_ADMIN = null;
|
||||
public static String FEATURE_EMBEDDED = null;
|
||||
public static String FEATURE_ETHERNET = null;
|
||||
public static String FEATURE_FACE = null;
|
||||
public static String FEATURE_FAKETOUCH = null;
|
||||
public static String FEATURE_FAKETOUCH_MULTITOUCH_DISTINCT = null;
|
||||
public static String FEATURE_FAKETOUCH_MULTITOUCH_JAZZHAND = null;
|
||||
public static String FEATURE_FINGERPRINT = null;
|
||||
public static String FEATURE_FREEFORM_WINDOW_MANAGEMENT = null;
|
||||
public static String FEATURE_GAMEPAD = null;
|
||||
public static String FEATURE_HIFI_SENSORS = null;
|
||||
public static String FEATURE_HOME_SCREEN = null;
|
||||
public static String FEATURE_INPUT_METHODS = null;
|
||||
public static String FEATURE_IPSEC_TUNNELS = null;
|
||||
public static String FEATURE_IRIS = null;
|
||||
public static String FEATURE_LEANBACK = null;
|
||||
public static String FEATURE_LEANBACK_ONLY = null;
|
||||
public static String FEATURE_LIVE_TV = null;
|
||||
public static String FEATURE_LIVE_WALLPAPER = null;
|
||||
public static String FEATURE_LOCATION = null;
|
||||
public static String FEATURE_LOCATION_GPS = null;
|
||||
public static String FEATURE_LOCATION_NETWORK = null;
|
||||
public static String FEATURE_MANAGED_USERS = null;
|
||||
public static String FEATURE_MICROPHONE = null;
|
||||
public static String FEATURE_MIDI = null;
|
||||
public static String FEATURE_NFC = null;
|
||||
public static String FEATURE_NFC_BEAM = null;
|
||||
public static String FEATURE_NFC_HOST_CARD_EMULATION = null;
|
||||
public static String FEATURE_NFC_HOST_CARD_EMULATION_NFCF = null;
|
||||
public static String FEATURE_NFC_OFF_HOST_CARD_EMULATION_ESE = null;
|
||||
public static String FEATURE_NFC_OFF_HOST_CARD_EMULATION_UICC = null;
|
||||
public static String FEATURE_OPENGLES_EXTENSION_PACK = null;
|
||||
public static String FEATURE_PC = null;
|
||||
public static String FEATURE_PICTURE_IN_PICTURE = null;
|
||||
public static String FEATURE_PRINTING = null;
|
||||
public static String FEATURE_RAM_LOW = null;
|
||||
public static String FEATURE_RAM_NORMAL = null;
|
||||
public static String FEATURE_SCREEN_LANDSCAPE = null;
|
||||
public static String FEATURE_SCREEN_PORTRAIT = null;
|
||||
public static String FEATURE_SECURELY_REMOVES_USERS = null;
|
||||
public static String FEATURE_SECURE_LOCK_SCREEN = null;
|
||||
public static String FEATURE_SENSOR_ACCELEROMETER = null;
|
||||
public static String FEATURE_SENSOR_AMBIENT_TEMPERATURE = null;
|
||||
public static String FEATURE_SENSOR_BAROMETER = null;
|
||||
public static String FEATURE_SENSOR_COMPASS = null;
|
||||
public static String FEATURE_SENSOR_GYROSCOPE = null;
|
||||
public static String FEATURE_SENSOR_HEART_RATE = null;
|
||||
public static String FEATURE_SENSOR_HEART_RATE_ECG = null;
|
||||
public static String FEATURE_SENSOR_HINGE_ANGLE = null;
|
||||
public static String FEATURE_SENSOR_LIGHT = null;
|
||||
public static String FEATURE_SENSOR_PROXIMITY = null;
|
||||
public static String FEATURE_SENSOR_RELATIVE_HUMIDITY = null;
|
||||
public static String FEATURE_SENSOR_STEP_COUNTER = null;
|
||||
public static String FEATURE_SENSOR_STEP_DETECTOR = null;
|
||||
public static String FEATURE_SE_OMAPI_ESE = null;
|
||||
public static String FEATURE_SE_OMAPI_SD = null;
|
||||
public static String FEATURE_SE_OMAPI_UICC = null;
|
||||
public static String FEATURE_SIP = null;
|
||||
public static String FEATURE_SIP_VOIP = null;
|
||||
public static String FEATURE_STRONGBOX_KEYSTORE = null;
|
||||
public static String FEATURE_TELEPHONY = null;
|
||||
public static String FEATURE_TELEPHONY_CDMA = null;
|
||||
public static String FEATURE_TELEPHONY_EUICC = null;
|
||||
public static String FEATURE_TELEPHONY_GSM = null;
|
||||
public static String FEATURE_TELEPHONY_IMS = null;
|
||||
public static String FEATURE_TELEPHONY_MBMS = null;
|
||||
public static String FEATURE_TELEVISION = null;
|
||||
public static String FEATURE_TOUCHSCREEN = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT = null;
|
||||
public static String FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND = null;
|
||||
public static String FEATURE_USB_ACCESSORY = null;
|
||||
public static String FEATURE_USB_HOST = null;
|
||||
public static String FEATURE_VERIFIED_BOOT = null;
|
||||
public static String FEATURE_VR_HEADTRACKING = null;
|
||||
public static String FEATURE_VR_MODE = null;
|
||||
public static String FEATURE_VR_MODE_HIGH_PERFORMANCE = null;
|
||||
public static String FEATURE_VULKAN_DEQP_LEVEL = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_COMPUTE = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_LEVEL = null;
|
||||
public static String FEATURE_VULKAN_HARDWARE_VERSION = null;
|
||||
public static String FEATURE_WATCH = null;
|
||||
public static String FEATURE_WEBVIEW = null;
|
||||
public static String FEATURE_WIFI = null;
|
||||
public static String FEATURE_WIFI_AWARE = null;
|
||||
public static String FEATURE_WIFI_DIRECT = null;
|
||||
public static String FEATURE_WIFI_PASSPOINT = null;
|
||||
public static String FEATURE_WIFI_RTT = null;
|
||||
public static int CERT_INPUT_RAW_X509 = 0;
|
||||
public static int CERT_INPUT_SHA256 = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DEFAULT = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED_UNTIL_USED = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_DISABLED_USER = 0;
|
||||
public static int COMPONENT_ENABLED_STATE_ENABLED = 0;
|
||||
public static int DONT_KILL_APP = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_INSTALLER = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_SYSTEM = 0;
|
||||
public static int FLAG_PERMISSION_WHITELIST_UPGRADE = 0;
|
||||
public static int GET_ACTIVITIES = 0;
|
||||
public static int GET_CONFIGURATIONS = 0;
|
||||
public static int GET_DISABLED_COMPONENTS = 0;
|
||||
public static int GET_DISABLED_UNTIL_USED_COMPONENTS = 0;
|
||||
public static int GET_GIDS = 0;
|
||||
public static int GET_INSTRUMENTATION = 0;
|
||||
public static int GET_INTENT_FILTERS = 0;
|
||||
public static int GET_META_DATA = 0;
|
||||
public static int GET_PERMISSIONS = 0;
|
||||
public static int GET_PROVIDERS = 0;
|
||||
public static int GET_RECEIVERS = 0;
|
||||
public static int GET_RESOLVED_FILTER = 0;
|
||||
public static int GET_SERVICES = 0;
|
||||
public static int GET_SHARED_LIBRARY_FILES = 0;
|
||||
public static int GET_SIGNATURES = 0;
|
||||
public static int GET_SIGNING_CERTIFICATES = 0;
|
||||
public static int GET_UNINSTALLED_PACKAGES = 0;
|
||||
public static int GET_URI_PERMISSION_PATTERNS = 0;
|
||||
public static int INSTALL_REASON_DEVICE_RESTORE = 0;
|
||||
public static int INSTALL_REASON_DEVICE_SETUP = 0;
|
||||
public static int INSTALL_REASON_POLICY = 0;
|
||||
public static int INSTALL_REASON_UNKNOWN = 0;
|
||||
public static int INSTALL_REASON_USER = 0;
|
||||
public static int MATCH_ALL = 0;
|
||||
public static int MATCH_APEX = 0;
|
||||
public static int MATCH_DEFAULT_ONLY = 0;
|
||||
public static int MATCH_DIRECT_BOOT_AUTO = 0;
|
||||
public static int MATCH_DIRECT_BOOT_AWARE = 0;
|
||||
public static int MATCH_DIRECT_BOOT_UNAWARE = 0;
|
||||
public static int MATCH_DISABLED_COMPONENTS = 0;
|
||||
public static int MATCH_DISABLED_UNTIL_USED_COMPONENTS = 0;
|
||||
public static int MATCH_SYSTEM_ONLY = 0;
|
||||
public static int MATCH_UNINSTALLED_PACKAGES = 0;
|
||||
public static int PERMISSION_DENIED = 0;
|
||||
public static int PERMISSION_GRANTED = 0;
|
||||
public static int SIGNATURE_FIRST_NOT_SIGNED = 0;
|
||||
public static int SIGNATURE_MATCH = 0;
|
||||
public static int SIGNATURE_NEITHER_SIGNED = 0;
|
||||
public static int SIGNATURE_NO_MATCH = 0;
|
||||
public static int SIGNATURE_SECOND_NOT_SIGNED = 0;
|
||||
public static int SIGNATURE_UNKNOWN_PACKAGE = 0;
|
||||
public static int SYNCHRONOUS = 0;
|
||||
public static int VERIFICATION_ALLOW = 0;
|
||||
public static int VERIFICATION_REJECT = 0;
|
||||
public static int VERSION_CODE_HIGHEST = 0;
|
||||
public static long MAXIMUM_VERIFICATION_TIMEOUT = 0;
|
||||
public void setMimeGroup(String p0, Set<String> p1){}
|
||||
static public class NameNotFoundException extends AndroidException
|
||||
{
|
||||
public NameNotFoundException(){}
|
||||
public NameNotFoundException(String p0){}
|
||||
}
|
||||
}
|
||||
18
java/ql/test/stubs/android/android/content/pm/PathPermission.java
generated
Normal file
18
java/ql/test/stubs/android/android/content/pm/PathPermission.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.content.pm.PathPermission for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PatternMatcher;
|
||||
|
||||
public class PathPermission extends PatternMatcher
|
||||
{
|
||||
protected PathPermission() {}
|
||||
public PathPermission(Parcel p0){}
|
||||
public PathPermission(String p0, int p1, String p2, String p3){}
|
||||
public String getReadPermission(){ return null; }
|
||||
public String getWritePermission(){ return null; }
|
||||
public static Parcelable.Creator<PathPermission> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
24
java/ql/test/stubs/android/android/content/pm/PermissionGroupInfo.java
generated
Normal file
24
java/ql/test/stubs/android/android/content/pm/PermissionGroupInfo.java
generated
Normal file
@@ -0,0 +1,24 @@
|
||||
// Generated automatically from android.content.pm.PermissionGroupInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PermissionGroupInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedDescription = null;
|
||||
public PermissionGroupInfo(){}
|
||||
public PermissionGroupInfo(PermissionGroupInfo p0){}
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int priority = 0;
|
||||
public static Parcelable.Creator<PermissionGroupInfo> CREATOR = null;
|
||||
public static int FLAG_PERSONAL_INFO = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
48
java/ql/test/stubs/android/android/content/pm/PermissionInfo.java
generated
Normal file
48
java/ql/test/stubs/android/android/content/pm/PermissionInfo.java
generated
Normal file
@@ -0,0 +1,48 @@
|
||||
// Generated automatically from android.content.pm.PermissionInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.PackageItemInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class PermissionInfo extends PackageItemInfo implements Parcelable
|
||||
{
|
||||
public CharSequence loadDescription(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedDescription = null;
|
||||
public PermissionInfo(){}
|
||||
public PermissionInfo(PermissionInfo p0){}
|
||||
public String group = null;
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int descriptionRes = 0;
|
||||
public int flags = 0;
|
||||
public int getProtection(){ return 0; }
|
||||
public int getProtectionFlags(){ return 0; }
|
||||
public int protectionLevel = 0;
|
||||
public static Parcelable.Creator<PermissionInfo> CREATOR = null;
|
||||
public static int FLAG_COSTS_MONEY = 0;
|
||||
public static int FLAG_HARD_RESTRICTED = 0;
|
||||
public static int FLAG_IMMUTABLY_RESTRICTED = 0;
|
||||
public static int FLAG_INSTALLED = 0;
|
||||
public static int FLAG_SOFT_RESTRICTED = 0;
|
||||
public static int PROTECTION_DANGEROUS = 0;
|
||||
public static int PROTECTION_FLAG_APPOP = 0;
|
||||
public static int PROTECTION_FLAG_DEVELOPMENT = 0;
|
||||
public static int PROTECTION_FLAG_INSTALLER = 0;
|
||||
public static int PROTECTION_FLAG_INSTANT = 0;
|
||||
public static int PROTECTION_FLAG_PRE23 = 0;
|
||||
public static int PROTECTION_FLAG_PREINSTALLED = 0;
|
||||
public static int PROTECTION_FLAG_PRIVILEGED = 0;
|
||||
public static int PROTECTION_FLAG_RUNTIME_ONLY = 0;
|
||||
public static int PROTECTION_FLAG_SETUP = 0;
|
||||
public static int PROTECTION_FLAG_SYSTEM = 0;
|
||||
public static int PROTECTION_FLAG_VERIFIER = 0;
|
||||
public static int PROTECTION_MASK_BASE = 0;
|
||||
public static int PROTECTION_MASK_FLAGS = 0;
|
||||
public static int PROTECTION_NORMAL = 0;
|
||||
public static int PROTECTION_SIGNATURE = 0;
|
||||
public static int PROTECTION_SIGNATURE_OR_SYSTEM = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
33
java/ql/test/stubs/android/android/content/pm/ProviderInfo.java
generated
Normal file
33
java/ql/test/stubs/android/android/content/pm/ProviderInfo.java
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
// Generated automatically from android.content.pm.ProviderInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.content.pm.PathPermission;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.os.PatternMatcher;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ProviderInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public PathPermission[] pathPermissions = null;
|
||||
public PatternMatcher[] uriPermissionPatterns = null;
|
||||
public ProviderInfo(){}
|
||||
public ProviderInfo(ProviderInfo p0){}
|
||||
public String authority = null;
|
||||
public String readPermission = null;
|
||||
public String toString(){ return null; }
|
||||
public String writePermission = null;
|
||||
public boolean forceUriPermissions = false;
|
||||
public boolean grantUriPermissions = false;
|
||||
public boolean isSyncable = false;
|
||||
public boolean multiprocess = false;
|
||||
public int describeContents(){ return 0; }
|
||||
public int flags = 0;
|
||||
public int initOrder = 0;
|
||||
public static Parcelable.Creator<ProviderInfo> CREATOR = null;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
42
java/ql/test/stubs/android/android/content/pm/ResolveInfo.java
generated
Normal file
42
java/ql/test/stubs/android/android/content/pm/ResolveInfo.java
generated
Normal file
@@ -0,0 +1,42 @@
|
||||
// Generated automatically from android.content.pm.ResolveInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.IntentFilter;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.content.pm.ProviderInfo;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ResolveInfo implements Parcelable
|
||||
{
|
||||
public ActivityInfo activityInfo = null;
|
||||
public CharSequence loadLabel(PackageManager p0){ return null; }
|
||||
public CharSequence nonLocalizedLabel = null;
|
||||
public Drawable loadIcon(PackageManager p0){ return null; }
|
||||
public IntentFilter filter = null;
|
||||
public ProviderInfo providerInfo = null;
|
||||
public ResolveInfo(){}
|
||||
public ResolveInfo(ResolveInfo p0){}
|
||||
public ServiceInfo serviceInfo = null;
|
||||
public String resolvePackageName = null;
|
||||
public String toString(){ return null; }
|
||||
public boolean isCrossProfileIntentForwarderActivity(){ return false; }
|
||||
public boolean isDefault = false;
|
||||
public boolean isInstantAppAvailable = false;
|
||||
public final int getIconResource(){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int icon = 0;
|
||||
public int labelRes = 0;
|
||||
public int match = 0;
|
||||
public int preferredOrder = 0;
|
||||
public int priority = 0;
|
||||
public int specificIndex = 0;
|
||||
public static Parcelable.Creator<ResolveInfo> CREATOR = null;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
37
java/ql/test/stubs/android/android/content/pm/ServiceInfo.java
generated
Normal file
37
java/ql/test/stubs/android/android/content/pm/ServiceInfo.java
generated
Normal file
@@ -0,0 +1,37 @@
|
||||
// Generated automatically from android.content.pm.ServiceInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.ComponentInfo;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.Printer;
|
||||
|
||||
public class ServiceInfo extends ComponentInfo implements Parcelable
|
||||
{
|
||||
public ServiceInfo(){}
|
||||
public ServiceInfo(ServiceInfo p0){}
|
||||
public String permission = null;
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int flags = 0;
|
||||
public int getForegroundServiceType(){ return 0; }
|
||||
public static Parcelable.Creator<ServiceInfo> CREATOR = null;
|
||||
public static int FLAG_EXTERNAL_SERVICE = 0;
|
||||
public static int FLAG_ISOLATED_PROCESS = 0;
|
||||
public static int FLAG_SINGLE_USER = 0;
|
||||
public static int FLAG_STOP_WITH_TASK = 0;
|
||||
public static int FLAG_USE_APP_ZYGOTE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_CAMERA = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_DATA_SYNC = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_LOCATION = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MANIFEST = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_MICROPHONE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_NONE = 0;
|
||||
public static int FOREGROUND_SERVICE_TYPE_PHONE_CALL = 0;
|
||||
public void dump(Printer p0, String p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
26
java/ql/test/stubs/android/android/content/pm/SharedLibraryInfo.java
generated
Normal file
26
java/ql/test/stubs/android/android/content/pm/SharedLibraryInfo.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from android.content.pm.SharedLibraryInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.VersionedPackage;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.List;
|
||||
|
||||
public class SharedLibraryInfo implements Parcelable
|
||||
{
|
||||
public List<VersionedPackage> getDependentPackages(){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public VersionedPackage getDeclaringPackage(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getType(){ return 0; }
|
||||
public int getVersion(){ return 0; }
|
||||
public long getLongVersion(){ return 0; }
|
||||
public static Parcelable.Creator<SharedLibraryInfo> CREATOR = null;
|
||||
public static int TYPE_BUILTIN = 0;
|
||||
public static int TYPE_DYNAMIC = 0;
|
||||
public static int TYPE_STATIC = 0;
|
||||
public static int VERSION_UNDEFINED = 0;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
22
java/ql/test/stubs/android/android/content/pm/Signature.java
generated
Normal file
22
java/ql/test/stubs/android/android/content/pm/Signature.java
generated
Normal file
@@ -0,0 +1,22 @@
|
||||
// Generated automatically from android.content.pm.Signature for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class Signature implements Parcelable
|
||||
{
|
||||
protected Signature() {}
|
||||
public Signature(String p0){}
|
||||
public Signature(byte[] p0){}
|
||||
public String toCharsString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public byte[] toByteArray(){ return null; }
|
||||
public char[] toChars(){ return null; }
|
||||
public char[] toChars(char[] p0, int[] p1){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Parcelable.Creator<Signature> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
20
java/ql/test/stubs/android/android/content/pm/SigningInfo.java
generated
Normal file
20
java/ql/test/stubs/android/android/content/pm/SigningInfo.java
generated
Normal file
@@ -0,0 +1,20 @@
|
||||
// Generated automatically from android.content.pm.SigningInfo for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.content.pm.Signature;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class SigningInfo implements Parcelable
|
||||
{
|
||||
public Signature[] getApkContentsSigners(){ return null; }
|
||||
public Signature[] getSigningCertificateHistory(){ return null; }
|
||||
public SigningInfo(){}
|
||||
public SigningInfo(SigningInfo p0){}
|
||||
public boolean hasMultipleSigners(){ return false; }
|
||||
public boolean hasPastSigningCertificates(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public static Parcelable.Creator<SigningInfo> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
22
java/ql/test/stubs/android/android/content/pm/VersionedPackage.java
generated
Normal file
22
java/ql/test/stubs/android/android/content/pm/VersionedPackage.java
generated
Normal file
@@ -0,0 +1,22 @@
|
||||
// Generated automatically from android.content.pm.VersionedPackage for testing purposes
|
||||
|
||||
package android.content.pm;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class VersionedPackage implements Parcelable
|
||||
{
|
||||
protected VersionedPackage() {}
|
||||
public String getPackageName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public VersionedPackage(String p0, int p1){}
|
||||
public VersionedPackage(String p0, long p1){}
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getVersionCode(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public long getLongVersionCode(){ return 0; }
|
||||
public static Parcelable.Creator<VersionedPackage> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
33
java/ql/test/stubs/android/android/content/res/AssetFileDescriptor.java
generated
Normal file
33
java/ql/test/stubs/android/android/content/res/AssetFileDescriptor.java
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
// Generated automatically from android.content.res.AssetFileDescriptor for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcel;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import android.os.Parcelable;
|
||||
import java.io.Closeable;
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
|
||||
public class AssetFileDescriptor implements Closeable, Parcelable
|
||||
{
|
||||
protected AssetFileDescriptor() {}
|
||||
public AssetFileDescriptor(ParcelFileDescriptor p0, long p1, long p2){}
|
||||
public AssetFileDescriptor(ParcelFileDescriptor p0, long p1, long p2, Bundle p3){}
|
||||
public Bundle getExtras(){ return null; }
|
||||
public FileDescriptor getFileDescriptor(){ return null; }
|
||||
public FileInputStream createInputStream(){ return null; }
|
||||
public FileOutputStream createOutputStream(){ return null; }
|
||||
public ParcelFileDescriptor getParcelFileDescriptor(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public long getDeclaredLength(){ return 0; }
|
||||
public long getLength(){ return 0; }
|
||||
public long getStartOffset(){ return 0; }
|
||||
public static Parcelable.Creator<AssetFileDescriptor> CREATOR = null;
|
||||
public static long UNKNOWN_LENGTH = 0;
|
||||
public void close(){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
26
java/ql/test/stubs/android/android/content/res/AssetManager.java
generated
Normal file
26
java/ql/test/stubs/android/android/content/res/AssetManager.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from android.content.res.AssetManager for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class AssetManager implements AutoCloseable
|
||||
{
|
||||
protected void finalize(){}
|
||||
public AssetFileDescriptor openFd(String p0){ return null; }
|
||||
public AssetFileDescriptor openNonAssetFd(String p0){ return null; }
|
||||
public AssetFileDescriptor openNonAssetFd(int p0, String p1){ return null; }
|
||||
public InputStream open(String p0){ return null; }
|
||||
public InputStream open(String p0, int p1){ return null; }
|
||||
public String[] getLocales(){ return null; }
|
||||
public String[] list(String p0){ return null; }
|
||||
public XmlResourceParser openXmlResourceParser(String p0){ return null; }
|
||||
public XmlResourceParser openXmlResourceParser(int p0, String p1){ return null; }
|
||||
public static int ACCESS_BUFFER = 0;
|
||||
public static int ACCESS_RANDOM = 0;
|
||||
public static int ACCESS_STREAMING = 0;
|
||||
public static int ACCESS_UNKNOWN = 0;
|
||||
public void close(){}
|
||||
}
|
||||
27
java/ql/test/stubs/android/android/content/res/ColorStateList.java
generated
Normal file
27
java/ql/test/stubs/android/android/content/res/ColorStateList.java
generated
Normal file
@@ -0,0 +1,27 @@
|
||||
// Generated automatically from android.content.res.ColorStateList for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
public class ColorStateList implements Parcelable
|
||||
{
|
||||
protected ColorStateList() {}
|
||||
public ColorStateList withAlpha(int p0){ return null; }
|
||||
public ColorStateList(int[][] p0, int[] p1){}
|
||||
public String toString(){ return null; }
|
||||
public boolean isOpaque(){ return false; }
|
||||
public boolean isStateful(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getColorForState(int[] p0, int p1){ return 0; }
|
||||
public int getDefaultColor(){ return 0; }
|
||||
public static ColorStateList createFromXml(Resources p0, XmlPullParser p1){ return null; }
|
||||
public static ColorStateList createFromXml(Resources p0, XmlPullParser p1, Resources.Theme p2){ return null; }
|
||||
public static ColorStateList valueOf(int p0){ return null; }
|
||||
public static Parcelable.Creator<ColorStateList> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
130
java/ql/test/stubs/android/android/content/res/Configuration.java
generated
Normal file
130
java/ql/test/stubs/android/android/content/res/Configuration.java
generated
Normal file
@@ -0,0 +1,130 @@
|
||||
// Generated automatically from android.content.res.Configuration for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.os.LocaleList;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.Locale;
|
||||
|
||||
public class Configuration implements Comparable<Configuration>, Parcelable
|
||||
{
|
||||
public Configuration(){}
|
||||
public Configuration(Configuration p0){}
|
||||
public Locale locale = null;
|
||||
public LocaleList getLocales(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Configuration p0){ return false; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isLayoutSizeAtLeast(int p0){ return false; }
|
||||
public boolean isNightModeActive(){ return false; }
|
||||
public boolean isScreenHdr(){ return false; }
|
||||
public boolean isScreenRound(){ return false; }
|
||||
public boolean isScreenWideColorGamut(){ return false; }
|
||||
public float fontScale = 0;
|
||||
public int colorMode = 0;
|
||||
public int compareTo(Configuration p0){ return 0; }
|
||||
public int densityDpi = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int diff(Configuration p0){ return 0; }
|
||||
public int getLayoutDirection(){ return 0; }
|
||||
public int hardKeyboardHidden = 0;
|
||||
public int hashCode(){ return 0; }
|
||||
public int keyboard = 0;
|
||||
public int keyboardHidden = 0;
|
||||
public int mcc = 0;
|
||||
public int mnc = 0;
|
||||
public int navigation = 0;
|
||||
public int navigationHidden = 0;
|
||||
public int orientation = 0;
|
||||
public int screenHeightDp = 0;
|
||||
public int screenLayout = 0;
|
||||
public int screenWidthDp = 0;
|
||||
public int smallestScreenWidthDp = 0;
|
||||
public int touchscreen = 0;
|
||||
public int uiMode = 0;
|
||||
public int updateFrom(Configuration p0){ return 0; }
|
||||
public static Parcelable.Creator<Configuration> CREATOR = null;
|
||||
public static boolean needNewResources(int p0, int p1){ return false; }
|
||||
public static int COLOR_MODE_HDR_MASK = 0;
|
||||
public static int COLOR_MODE_HDR_NO = 0;
|
||||
public static int COLOR_MODE_HDR_SHIFT = 0;
|
||||
public static int COLOR_MODE_HDR_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_HDR_YES = 0;
|
||||
public static int COLOR_MODE_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_MASK = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_NO = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_UNDEFINED = 0;
|
||||
public static int COLOR_MODE_WIDE_COLOR_GAMUT_YES = 0;
|
||||
public static int DENSITY_DPI_UNDEFINED = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_NO = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_UNDEFINED = 0;
|
||||
public static int HARDKEYBOARDHIDDEN_YES = 0;
|
||||
public static int KEYBOARDHIDDEN_NO = 0;
|
||||
public static int KEYBOARDHIDDEN_UNDEFINED = 0;
|
||||
public static int KEYBOARDHIDDEN_YES = 0;
|
||||
public static int KEYBOARD_12KEY = 0;
|
||||
public static int KEYBOARD_NOKEYS = 0;
|
||||
public static int KEYBOARD_QWERTY = 0;
|
||||
public static int KEYBOARD_UNDEFINED = 0;
|
||||
public static int MNC_ZERO = 0;
|
||||
public static int NAVIGATIONHIDDEN_NO = 0;
|
||||
public static int NAVIGATIONHIDDEN_UNDEFINED = 0;
|
||||
public static int NAVIGATIONHIDDEN_YES = 0;
|
||||
public static int NAVIGATION_DPAD = 0;
|
||||
public static int NAVIGATION_NONAV = 0;
|
||||
public static int NAVIGATION_TRACKBALL = 0;
|
||||
public static int NAVIGATION_UNDEFINED = 0;
|
||||
public static int NAVIGATION_WHEEL = 0;
|
||||
public static int ORIENTATION_LANDSCAPE = 0;
|
||||
public static int ORIENTATION_PORTRAIT = 0;
|
||||
public static int ORIENTATION_SQUARE = 0;
|
||||
public static int ORIENTATION_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_LTR = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_MASK = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_RTL = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_SHIFT = 0;
|
||||
public static int SCREENLAYOUT_LAYOUTDIR_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LONG_MASK = 0;
|
||||
public static int SCREENLAYOUT_LONG_NO = 0;
|
||||
public static int SCREENLAYOUT_LONG_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_LONG_YES = 0;
|
||||
public static int SCREENLAYOUT_ROUND_MASK = 0;
|
||||
public static int SCREENLAYOUT_ROUND_NO = 0;
|
||||
public static int SCREENLAYOUT_ROUND_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_ROUND_YES = 0;
|
||||
public static int SCREENLAYOUT_SIZE_LARGE = 0;
|
||||
public static int SCREENLAYOUT_SIZE_MASK = 0;
|
||||
public static int SCREENLAYOUT_SIZE_NORMAL = 0;
|
||||
public static int SCREENLAYOUT_SIZE_SMALL = 0;
|
||||
public static int SCREENLAYOUT_SIZE_UNDEFINED = 0;
|
||||
public static int SCREENLAYOUT_SIZE_XLARGE = 0;
|
||||
public static int SCREENLAYOUT_UNDEFINED = 0;
|
||||
public static int SCREEN_HEIGHT_DP_UNDEFINED = 0;
|
||||
public static int SCREEN_WIDTH_DP_UNDEFINED = 0;
|
||||
public static int SMALLEST_SCREEN_WIDTH_DP_UNDEFINED = 0;
|
||||
public static int TOUCHSCREEN_FINGER = 0;
|
||||
public static int TOUCHSCREEN_NOTOUCH = 0;
|
||||
public static int TOUCHSCREEN_STYLUS = 0;
|
||||
public static int TOUCHSCREEN_UNDEFINED = 0;
|
||||
public static int UI_MODE_NIGHT_MASK = 0;
|
||||
public static int UI_MODE_NIGHT_NO = 0;
|
||||
public static int UI_MODE_NIGHT_UNDEFINED = 0;
|
||||
public static int UI_MODE_NIGHT_YES = 0;
|
||||
public static int UI_MODE_TYPE_APPLIANCE = 0;
|
||||
public static int UI_MODE_TYPE_CAR = 0;
|
||||
public static int UI_MODE_TYPE_DESK = 0;
|
||||
public static int UI_MODE_TYPE_MASK = 0;
|
||||
public static int UI_MODE_TYPE_NORMAL = 0;
|
||||
public static int UI_MODE_TYPE_TELEVISION = 0;
|
||||
public static int UI_MODE_TYPE_UNDEFINED = 0;
|
||||
public static int UI_MODE_TYPE_VR_HEADSET = 0;
|
||||
public static int UI_MODE_TYPE_WATCH = 0;
|
||||
public void readFromParcel(Parcel p0){}
|
||||
public void setLayoutDirection(Locale p0){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setLocales(LocaleList p0){}
|
||||
public void setTo(Configuration p0){}
|
||||
public void setToDefaults(){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
105
java/ql/test/stubs/android/android/content/res/Resources.java
generated
Normal file
105
java/ql/test/stubs/android/android/content/res/Resources.java
generated
Normal file
@@ -0,0 +1,105 @@
|
||||
// Generated automatically from android.content.res.Resources for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
import android.content.res.AssetManager;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.TypedArray;
|
||||
import android.content.res.XmlResourceParser;
|
||||
import android.content.res.loader.ResourcesLoader;
|
||||
import android.graphics.Movie;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.TypedValue;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class Resources
|
||||
{
|
||||
protected Resources() {}
|
||||
public AssetFileDescriptor openRawResourceFd(int p0){ return null; }
|
||||
public CharSequence getQuantityText(int p0, int p1){ return null; }
|
||||
public CharSequence getText(int p0){ return null; }
|
||||
public CharSequence getText(int p0, CharSequence p1){ return null; }
|
||||
public CharSequence[] getTextArray(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0, Resources.Theme p1){ return null; }
|
||||
public Configuration getConfiguration(){ return null; }
|
||||
public DisplayMetrics getDisplayMetrics(){ return null; }
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Drawable getDrawable(int p0, Resources.Theme p1){ return null; }
|
||||
public Drawable getDrawableForDensity(int p0, int p1){ return null; }
|
||||
public Drawable getDrawableForDensity(int p0, int p1, Resources.Theme p2){ return null; }
|
||||
public InputStream openRawResource(int p0){ return null; }
|
||||
public InputStream openRawResource(int p0, TypedValue p1){ return null; }
|
||||
public Movie getMovie(int p0){ return null; }
|
||||
public Resources(AssetManager p0, DisplayMetrics p1, Configuration p2){}
|
||||
public String getQuantityString(int p0, int p1){ return null; }
|
||||
public String getQuantityString(int p0, int p1, Object... p2){ return null; }
|
||||
public String getResourceEntryName(int p0){ return null; }
|
||||
public String getResourceName(int p0){ return null; }
|
||||
public String getResourcePackageName(int p0){ return null; }
|
||||
public String getResourceTypeName(int p0){ return null; }
|
||||
public String getString(int p0){ return null; }
|
||||
public String getString(int p0, Object... p1){ return null; }
|
||||
public String[] getStringArray(int p0){ return null; }
|
||||
public TypedArray obtainAttributes(AttributeSet p0, int[] p1){ return null; }
|
||||
public TypedArray obtainTypedArray(int p0){ return null; }
|
||||
public Typeface getFont(int p0){ return null; }
|
||||
public XmlResourceParser getAnimation(int p0){ return null; }
|
||||
public XmlResourceParser getLayout(int p0){ return null; }
|
||||
public XmlResourceParser getXml(int p0){ return null; }
|
||||
public boolean getBoolean(int p0){ return false; }
|
||||
public class Theme
|
||||
{
|
||||
protected Theme() {}
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Resources getResources(){ return null; }
|
||||
public TypedArray obtainStyledAttributes(AttributeSet p0, int[] p1, int p2, int p3){ return null; }
|
||||
public TypedArray obtainStyledAttributes(int p0, int[] p1){ return null; }
|
||||
public TypedArray obtainStyledAttributes(int[] p0){ return null; }
|
||||
public boolean resolveAttribute(int p0, TypedValue p1, boolean p2){ return false; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getExplicitStyle(AttributeSet p0){ return 0; }
|
||||
public int[] getAttributeResolutionStack(int p0, int p1, int p2){ return null; }
|
||||
public void applyStyle(int p0, boolean p1){}
|
||||
public void dump(int p0, String p1, String p2){}
|
||||
public void rebase(){}
|
||||
public void setTo(Resources.Theme p0){}
|
||||
}
|
||||
public final AssetManager getAssets(){ return null; }
|
||||
public final Resources.Theme newTheme(){ return null; }
|
||||
public final void finishPreloading(){}
|
||||
public final void flushLayoutCache(){}
|
||||
public float getDimension(int p0){ return 0; }
|
||||
public float getFloat(int p0){ return 0; }
|
||||
public float getFraction(int p0, int p1, int p2){ return 0; }
|
||||
public int getColor(int p0){ return 0; }
|
||||
public int getColor(int p0, Resources.Theme p1){ return 0; }
|
||||
public int getDimensionPixelOffset(int p0){ return 0; }
|
||||
public int getDimensionPixelSize(int p0){ return 0; }
|
||||
public int getIdentifier(String p0, String p1, String p2){ return 0; }
|
||||
public int getInteger(int p0){ return 0; }
|
||||
public int[] getIntArray(int p0){ return null; }
|
||||
public static Resources getSystem(){ return null; }
|
||||
public static int ID_NULL = 0;
|
||||
public static int getAttributeSetSourceResId(AttributeSet p0){ return 0; }
|
||||
public void addLoaders(ResourcesLoader... p0){}
|
||||
public void getValue(String p0, TypedValue p1, boolean p2){}
|
||||
public void getValue(int p0, TypedValue p1, boolean p2){}
|
||||
public void getValueForDensity(int p0, int p1, TypedValue p2, boolean p3){}
|
||||
public void parseBundleExtra(String p0, AttributeSet p1, Bundle p2){}
|
||||
public void parseBundleExtras(XmlResourceParser p0, Bundle p1){}
|
||||
public void removeLoaders(ResourcesLoader... p0){}
|
||||
public void updateConfiguration(Configuration p0, DisplayMetrics p1){}
|
||||
static public class NotFoundException extends RuntimeException
|
||||
{
|
||||
public NotFoundException(){}
|
||||
public NotFoundException(String p0){}
|
||||
public NotFoundException(String p0, Exception p1){}
|
||||
}
|
||||
}
|
||||
46
java/ql/test/stubs/android/android/content/res/TypedArray.java
generated
Normal file
46
java/ql/test/stubs/android/android/content/res/TypedArray.java
generated
Normal file
@@ -0,0 +1,46 @@
|
||||
// Generated automatically from android.content.res.TypedArray for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.content.res.ColorStateList;
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.TypedValue;
|
||||
|
||||
public class TypedArray
|
||||
{
|
||||
public CharSequence getText(int p0){ return null; }
|
||||
public CharSequence[] getTextArray(int p0){ return null; }
|
||||
public ColorStateList getColorStateList(int p0){ return null; }
|
||||
public Drawable getDrawable(int p0){ return null; }
|
||||
public Resources getResources(){ return null; }
|
||||
public String getNonResourceString(int p0){ return null; }
|
||||
public String getPositionDescription(){ return null; }
|
||||
public String getString(int p0){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public TypedValue peekValue(int p0){ return null; }
|
||||
public Typeface getFont(int p0){ return null; }
|
||||
public boolean getBoolean(int p0, boolean p1){ return false; }
|
||||
public boolean getValue(int p0, TypedValue p1){ return false; }
|
||||
public boolean hasValue(int p0){ return false; }
|
||||
public boolean hasValueOrEmpty(int p0){ return false; }
|
||||
public float getDimension(int p0, float p1){ return 0; }
|
||||
public float getFloat(int p0, float p1){ return 0; }
|
||||
public float getFraction(int p0, int p1, int p2, float p3){ return 0; }
|
||||
public int getChangingConfigurations(){ return 0; }
|
||||
public int getColor(int p0, int p1){ return 0; }
|
||||
public int getDimensionPixelOffset(int p0, int p1){ return 0; }
|
||||
public int getDimensionPixelSize(int p0, int p1){ return 0; }
|
||||
public int getIndex(int p0){ return 0; }
|
||||
public int getIndexCount(){ return 0; }
|
||||
public int getInt(int p0, int p1){ return 0; }
|
||||
public int getInteger(int p0, int p1){ return 0; }
|
||||
public int getLayoutDimension(int p0, String p1){ return 0; }
|
||||
public int getLayoutDimension(int p0, int p1){ return 0; }
|
||||
public int getResourceId(int p0, int p1){ return 0; }
|
||||
public int getSourceResourceId(int p0, int p1){ return 0; }
|
||||
public int getType(int p0){ return 0; }
|
||||
public int length(){ return 0; }
|
||||
public void recycle(){}
|
||||
}
|
||||
12
java/ql/test/stubs/android/android/content/res/XmlResourceParser.java
generated
Normal file
12
java/ql/test/stubs/android/android/content/res/XmlResourceParser.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
// Generated automatically from android.content.res.XmlResourceParser for testing purposes
|
||||
|
||||
package android.content.res;
|
||||
|
||||
import android.util.AttributeSet;
|
||||
import org.xmlpull.v1.XmlPullParser;
|
||||
|
||||
public interface XmlResourceParser extends AttributeSet, AutoCloseable, XmlPullParser
|
||||
{
|
||||
String getAttributeNamespace(int p0);
|
||||
void close();
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/content/res/loader/AssetsProvider.java
generated
Normal file
10
java/ql/test/stubs/android/android/content/res/loader/AssetsProvider.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.content.res.loader.AssetsProvider for testing purposes
|
||||
|
||||
package android.content.res.loader;
|
||||
|
||||
import android.content.res.AssetFileDescriptor;
|
||||
|
||||
public interface AssetsProvider
|
||||
{
|
||||
default AssetFileDescriptor loadAssetFd(String p0, int p1){ return null; }
|
||||
}
|
||||
16
java/ql/test/stubs/android/android/content/res/loader/ResourcesLoader.java
generated
Normal file
16
java/ql/test/stubs/android/android/content/res/loader/ResourcesLoader.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from android.content.res.loader.ResourcesLoader for testing purposes
|
||||
|
||||
package android.content.res.loader;
|
||||
|
||||
import android.content.res.loader.ResourcesProvider;
|
||||
import java.util.List;
|
||||
|
||||
public class ResourcesLoader
|
||||
{
|
||||
public List<ResourcesProvider> getProviders(){ return null; }
|
||||
public ResourcesLoader(){}
|
||||
public void addProvider(ResourcesProvider p0){}
|
||||
public void clearProviders(){}
|
||||
public void removeProvider(ResourcesProvider p0){}
|
||||
public void setProviders(List<ResourcesProvider> p0){}
|
||||
}
|
||||
21
java/ql/test/stubs/android/android/content/res/loader/ResourcesProvider.java
generated
Normal file
21
java/ql/test/stubs/android/android/content/res/loader/ResourcesProvider.java
generated
Normal file
@@ -0,0 +1,21 @@
|
||||
// Generated automatically from android.content.res.loader.ResourcesProvider for testing purposes
|
||||
|
||||
package android.content.res.loader;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.loader.AssetsProvider;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
import java.io.Closeable;
|
||||
|
||||
public class ResourcesProvider implements AutoCloseable, Closeable
|
||||
{
|
||||
protected ResourcesProvider() {}
|
||||
protected void finalize(){}
|
||||
public static ResourcesProvider empty(AssetsProvider p0){ return null; }
|
||||
public static ResourcesProvider loadFromApk(ParcelFileDescriptor p0){ return null; }
|
||||
public static ResourcesProvider loadFromApk(ParcelFileDescriptor p0, AssetsProvider p1){ return null; }
|
||||
public static ResourcesProvider loadFromDirectory(String p0, AssetsProvider p1){ return null; }
|
||||
public static ResourcesProvider loadFromSplit(Context p0, String p1){ return null; }
|
||||
public static ResourcesProvider loadFromTable(ParcelFileDescriptor p0, AssetsProvider p1){ return null; }
|
||||
public void close(){}
|
||||
}
|
||||
13
java/ql/test/stubs/android/android/database/CharArrayBuffer.java
generated
Normal file
13
java/ql/test/stubs/android/android/database/CharArrayBuffer.java
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
// Generated automatically from android.database.CharArrayBuffer for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
|
||||
public class CharArrayBuffer
|
||||
{
|
||||
protected CharArrayBuffer() {}
|
||||
public CharArrayBuffer(char[] p0){}
|
||||
public CharArrayBuffer(int p0){}
|
||||
public char[] data = null;
|
||||
public int sizeCopied = 0;
|
||||
}
|
||||
22
java/ql/test/stubs/android/android/database/ContentObserver.java
generated
Normal file
22
java/ql/test/stubs/android/android/database/ContentObserver.java
generated
Normal file
@@ -0,0 +1,22 @@
|
||||
// Generated automatically from android.database.ContentObserver for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
import android.net.Uri;
|
||||
import android.os.Handler;
|
||||
import java.util.Collection;
|
||||
|
||||
abstract public class ContentObserver
|
||||
{
|
||||
protected ContentObserver() {}
|
||||
public ContentObserver(Handler p0){}
|
||||
public boolean deliverSelfNotifications(){ return false; }
|
||||
public final void dispatchChange(boolean p0){}
|
||||
public final void dispatchChange(boolean p0, Collection<Uri> p1, int p2){}
|
||||
public final void dispatchChange(boolean p0, Uri p1){}
|
||||
public final void dispatchChange(boolean p0, Uri p1, int p2){}
|
||||
public void onChange(boolean p0){}
|
||||
public void onChange(boolean p0, Collection<Uri> p1, int p2){}
|
||||
public void onChange(boolean p0, Uri p1){}
|
||||
public void onChange(boolean p0, Uri p1, int p2){}
|
||||
}
|
||||
@@ -1,5 +1,64 @@
|
||||
// Generated automatically from android.database.Cursor for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
public interface Cursor {
|
||||
import android.content.ContentResolver;
|
||||
import android.database.CharArrayBuffer;
|
||||
import android.database.ContentObserver;
|
||||
import android.database.DataSetObserver;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import java.io.Closeable;
|
||||
import java.util.List;
|
||||
|
||||
public interface Cursor extends Closeable
|
||||
{
|
||||
Bundle getExtras();
|
||||
Bundle respond(Bundle p0);
|
||||
String getColumnName(int p0);
|
||||
String getString(int p0);
|
||||
String[] getColumnNames();
|
||||
Uri getNotificationUri();
|
||||
boolean getWantsAllOnMoveCalls();
|
||||
boolean isAfterLast();
|
||||
boolean isBeforeFirst();
|
||||
boolean isClosed();
|
||||
boolean isFirst();
|
||||
boolean isLast();
|
||||
boolean isNull(int p0);
|
||||
boolean move(int p0);
|
||||
boolean moveToFirst();
|
||||
boolean moveToLast();
|
||||
boolean moveToNext();
|
||||
boolean moveToPosition(int p0);
|
||||
boolean moveToPrevious();
|
||||
boolean requery();
|
||||
byte[] getBlob(int p0);
|
||||
default List<Uri> getNotificationUris(){ return null; }
|
||||
default void setNotificationUris(ContentResolver p0, List<Uri> p1){}
|
||||
double getDouble(int p0);
|
||||
float getFloat(int p0);
|
||||
int getColumnCount();
|
||||
int getColumnIndex(String p0);
|
||||
int getColumnIndexOrThrow(String p0);
|
||||
int getCount();
|
||||
int getInt(int p0);
|
||||
int getPosition();
|
||||
int getType(int p0);
|
||||
long getLong(int p0);
|
||||
short getShort(int p0);
|
||||
static int FIELD_TYPE_BLOB = 0;
|
||||
static int FIELD_TYPE_FLOAT = 0;
|
||||
static int FIELD_TYPE_INTEGER = 0;
|
||||
static int FIELD_TYPE_NULL = 0;
|
||||
static int FIELD_TYPE_STRING = 0;
|
||||
void close();
|
||||
void copyStringToBuffer(int p0, CharArrayBuffer p1);
|
||||
void deactivate();
|
||||
void registerContentObserver(ContentObserver p0);
|
||||
void registerDataSetObserver(DataSetObserver p0);
|
||||
void setExtras(Bundle p0);
|
||||
void setNotificationUri(ContentResolver p0, Uri p1);
|
||||
void unregisterContentObserver(ContentObserver p0);
|
||||
void unregisterDataSetObserver(DataSetObserver p0);
|
||||
}
|
||||
|
||||
11
java/ql/test/stubs/android/android/database/DataSetObserver.java
generated
Normal file
11
java/ql/test/stubs/android/android/database/DataSetObserver.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from android.database.DataSetObserver for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
|
||||
abstract public class DataSetObserver
|
||||
{
|
||||
public DataSetObserver(){}
|
||||
public void onChanged(){}
|
||||
public void onInvalidated(){}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/database/DatabaseErrorHandler.java
generated
Normal file
10
java/ql/test/stubs/android/android/database/DatabaseErrorHandler.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.database.DatabaseErrorHandler for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
|
||||
public interface DatabaseErrorHandler
|
||||
{
|
||||
void onCorruption(SQLiteDatabase p0);
|
||||
}
|
||||
16
java/ql/test/stubs/android/android/database/sqlite/SQLiteClosable.java
generated
Normal file
16
java/ql/test/stubs/android/android/database/sqlite/SQLiteClosable.java
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteClosable for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import java.io.Closeable;
|
||||
|
||||
abstract public class SQLiteClosable implements Closeable
|
||||
{
|
||||
protected abstract void onAllReferencesReleased();
|
||||
protected void onAllReferencesReleasedFromContainer(){}
|
||||
public SQLiteClosable(){}
|
||||
public void acquireReference(){}
|
||||
public void close(){}
|
||||
public void releaseReference(){}
|
||||
public void releaseReferenceFromContainer(){}
|
||||
}
|
||||
15
java/ql/test/stubs/android/android/database/sqlite/SQLiteCursorDriver.java
generated
Normal file
15
java/ql/test/stubs/android/android/database/sqlite/SQLiteCursorDriver.java
generated
Normal file
@@ -0,0 +1,15 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteCursorDriver for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import android.database.Cursor;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
|
||||
public interface SQLiteCursorDriver
|
||||
{
|
||||
Cursor query(SQLiteDatabase.CursorFactory p0, String[] p1);
|
||||
void cursorClosed();
|
||||
void cursorDeactivated();
|
||||
void cursorRequeried(Cursor p0);
|
||||
void setBindArguments(String[] p0);
|
||||
}
|
||||
@@ -1,56 +1,127 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteDatabase for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import android.content.ContentValues;
|
||||
import android.database.Cursor;
|
||||
import android.database.DatabaseErrorHandler;
|
||||
import android.database.sqlite.SQLiteClosable;
|
||||
import android.database.sqlite.SQLiteCursorDriver;
|
||||
import android.database.sqlite.SQLiteQuery;
|
||||
import android.database.sqlite.SQLiteStatement;
|
||||
import android.database.sqlite.SQLiteTransactionListener;
|
||||
import android.os.CancellationSignal;
|
||||
import android.util.Pair;
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.function.BinaryOperator;
|
||||
import java.util.function.UnaryOperator;
|
||||
|
||||
public abstract class SQLiteDatabase {
|
||||
public class CursorFactory {
|
||||
|
||||
}
|
||||
|
||||
public abstract void execPerConnectionSQL(String sql, Object[] bindArgs);
|
||||
|
||||
public abstract void execSQL(String sql);
|
||||
|
||||
public abstract void execSQL(String sql, Object[] bindArgs);
|
||||
|
||||
public abstract void query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs,
|
||||
String groupBy, String having, String orderBy, String limit);
|
||||
|
||||
public abstract void query(boolean distinct, String table, String[] columns, String selection, String[] selectionArgs,
|
||||
String groupBy, String having, String orderBy, String limit, CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract void query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy,
|
||||
String having, String orderBy, String limit);
|
||||
|
||||
public abstract void query(String table, String[] columns, String selection, String[] selectionArgs, String groupBy,
|
||||
String having, String orderBy);
|
||||
|
||||
public abstract void queryWithFactory(SQLiteDatabase.CursorFactory cursorFactory, boolean distinct, String table,
|
||||
String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy,
|
||||
String limit, CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract void queryWithFactory(SQLiteDatabase.CursorFactory cursorFactory, boolean distinct, String table,
|
||||
String[] columns, String selection, String[] selectionArgs, String groupBy, String having, String orderBy,
|
||||
String limit);
|
||||
|
||||
public abstract void rawQuery(String sql, String[] selectionArgs, CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract void rawQuery(String sql, String[] selectionArgs);
|
||||
|
||||
public abstract void rawQueryWithFactory(SQLiteDatabase.CursorFactory cursorFactory, String sql, String[] selectionArgs,
|
||||
String editTable, CancellationSignal cancellationSignal);
|
||||
|
||||
public abstract void rawQueryWithFactory(SQLiteDatabase.CursorFactory cursorFactory, String sql, String[] selectionArgs,
|
||||
String editTable);
|
||||
|
||||
public abstract void compileStatement(String sql);
|
||||
|
||||
public abstract void delete(String table, String whereClause, String[] whereArgs);
|
||||
|
||||
public abstract void update(String table, ContentValues values, String whereClause, String[] whereArgs);
|
||||
|
||||
public abstract void updateWithOnConflict(String table, ContentValues values, String whereClause, String[] whereArgs,
|
||||
int conflictAlgorithm);
|
||||
|
||||
public class SQLiteDatabase extends SQLiteClosable
|
||||
{
|
||||
protected SQLiteDatabase() {}
|
||||
protected void finalize(){}
|
||||
protected void onAllReferencesReleased(){}
|
||||
public Cursor query(String p0, String[] p1, String p2, String[] p3, String p4, String p5, String p6){ return null; }
|
||||
public Cursor query(String p0, String[] p1, String p2, String[] p3, String p4, String p5, String p6, String p7){ return null; }
|
||||
public Cursor query(boolean p0, String p1, String[] p2, String p3, String[] p4, String p5, String p6, String p7, String p8){ return null; }
|
||||
public Cursor query(boolean p0, String p1, String[] p2, String p3, String[] p4, String p5, String p6, String p7, String p8, CancellationSignal p9){ return null; }
|
||||
public Cursor queryWithFactory(SQLiteDatabase.CursorFactory p0, boolean p1, String p2, String[] p3, String p4, String[] p5, String p6, String p7, String p8, String p9){ return null; }
|
||||
public Cursor queryWithFactory(SQLiteDatabase.CursorFactory p0, boolean p1, String p2, String[] p3, String p4, String[] p5, String p6, String p7, String p8, String p9, CancellationSignal p10){ return null; }
|
||||
public Cursor rawQuery(String p0, String[] p1){ return null; }
|
||||
public Cursor rawQuery(String p0, String[] p1, CancellationSignal p2){ return null; }
|
||||
public Cursor rawQueryWithFactory(SQLiteDatabase.CursorFactory p0, String p1, String[] p2, String p3){ return null; }
|
||||
public Cursor rawQueryWithFactory(SQLiteDatabase.CursorFactory p0, String p1, String[] p2, String p3, CancellationSignal p4){ return null; }
|
||||
public List<Pair<String, String>> getAttachedDbs(){ return null; }
|
||||
public Map<String, String> getSyncedTables(){ return null; }
|
||||
public SQLiteStatement compileStatement(String p0){ return null; }
|
||||
public String getPath(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean enableWriteAheadLogging(){ return false; }
|
||||
public boolean inTransaction(){ return false; }
|
||||
public boolean isDatabaseIntegrityOk(){ return false; }
|
||||
public boolean isDbLockedByCurrentThread(){ return false; }
|
||||
public boolean isDbLockedByOtherThreads(){ return false; }
|
||||
public boolean isOpen(){ return false; }
|
||||
public boolean isReadOnly(){ return false; }
|
||||
public boolean isWriteAheadLoggingEnabled(){ return false; }
|
||||
public boolean needUpgrade(int p0){ return false; }
|
||||
public boolean yieldIfContended(){ return false; }
|
||||
public boolean yieldIfContendedSafely(){ return false; }
|
||||
public boolean yieldIfContendedSafely(long p0){ return false; }
|
||||
public int delete(String p0, String p1, String[] p2){ return 0; }
|
||||
public int getVersion(){ return 0; }
|
||||
public int update(String p0, ContentValues p1, String p2, String[] p3){ return 0; }
|
||||
public int updateWithOnConflict(String p0, ContentValues p1, String p2, String[] p3, int p4){ return 0; }
|
||||
public long getMaximumSize(){ return 0; }
|
||||
public long getPageSize(){ return 0; }
|
||||
public long insert(String p0, String p1, ContentValues p2){ return 0; }
|
||||
public long insertOrThrow(String p0, String p1, ContentValues p2){ return 0; }
|
||||
public long insertWithOnConflict(String p0, String p1, ContentValues p2, int p3){ return 0; }
|
||||
public long replace(String p0, String p1, ContentValues p2){ return 0; }
|
||||
public long replaceOrThrow(String p0, String p1, ContentValues p2){ return 0; }
|
||||
public long setMaximumSize(long p0){ return 0; }
|
||||
public static SQLiteDatabase create(SQLiteDatabase.CursorFactory p0){ return null; }
|
||||
public static SQLiteDatabase createInMemory(SQLiteDatabase.OpenParams p0){ return null; }
|
||||
public static SQLiteDatabase openDatabase(File p0, SQLiteDatabase.OpenParams p1){ return null; }
|
||||
public static SQLiteDatabase openDatabase(String p0, SQLiteDatabase.CursorFactory p1, int p2){ return null; }
|
||||
public static SQLiteDatabase openDatabase(String p0, SQLiteDatabase.CursorFactory p1, int p2, DatabaseErrorHandler p3){ return null; }
|
||||
public static SQLiteDatabase openOrCreateDatabase(File p0, SQLiteDatabase.CursorFactory p1){ return null; }
|
||||
public static SQLiteDatabase openOrCreateDatabase(String p0, SQLiteDatabase.CursorFactory p1){ return null; }
|
||||
public static SQLiteDatabase openOrCreateDatabase(String p0, SQLiteDatabase.CursorFactory p1, DatabaseErrorHandler p2){ return null; }
|
||||
public static String findEditTable(String p0){ return null; }
|
||||
public static boolean deleteDatabase(File p0){ return false; }
|
||||
public static int CONFLICT_ABORT = 0;
|
||||
public static int CONFLICT_FAIL = 0;
|
||||
public static int CONFLICT_IGNORE = 0;
|
||||
public static int CONFLICT_NONE = 0;
|
||||
public static int CONFLICT_REPLACE = 0;
|
||||
public static int CONFLICT_ROLLBACK = 0;
|
||||
public static int CREATE_IF_NECESSARY = 0;
|
||||
public static int ENABLE_WRITE_AHEAD_LOGGING = 0;
|
||||
public static int MAX_SQL_CACHE_SIZE = 0;
|
||||
public static int NO_LOCALIZED_COLLATORS = 0;
|
||||
public static int OPEN_READONLY = 0;
|
||||
public static int OPEN_READWRITE = 0;
|
||||
public static int SQLITE_MAX_LIKE_PATTERN_LENGTH = 0;
|
||||
public static int releaseMemory(){ return 0; }
|
||||
public void beginTransaction(){}
|
||||
public void beginTransactionNonExclusive(){}
|
||||
public void beginTransactionWithListener(SQLiteTransactionListener p0){}
|
||||
public void beginTransactionWithListenerNonExclusive(SQLiteTransactionListener p0){}
|
||||
public void disableWriteAheadLogging(){}
|
||||
public void endTransaction(){}
|
||||
public void execPerConnectionSQL(String p0, Object[] p1){}
|
||||
public void execSQL(String p0){}
|
||||
public void execSQL(String p0, Object[] p1){}
|
||||
public void markTableSyncable(String p0, String p1){}
|
||||
public void markTableSyncable(String p0, String p1, String p2){}
|
||||
public void setCustomAggregateFunction(String p0, BinaryOperator<String> p1){}
|
||||
public void setCustomScalarFunction(String p0, UnaryOperator<String> p1){}
|
||||
public void setForeignKeyConstraintsEnabled(boolean p0){}
|
||||
public void setLocale(Locale p0){}
|
||||
public void setLockingEnabled(boolean p0){}
|
||||
public void setMaxSqlCacheSize(int p0){}
|
||||
public void setPageSize(long p0){}
|
||||
public void setTransactionSuccessful(){}
|
||||
public void setVersion(int p0){}
|
||||
public void validateSql(String p0, CancellationSignal p1){}
|
||||
static public class OpenParams
|
||||
{
|
||||
protected OpenParams() {}
|
||||
public DatabaseErrorHandler getErrorHandler(){ return null; }
|
||||
public SQLiteDatabase.CursorFactory getCursorFactory(){ return null; }
|
||||
public String getJournalMode(){ return null; }
|
||||
public String getSynchronousMode(){ return null; }
|
||||
public int getLookasideSlotCount(){ return 0; }
|
||||
public int getLookasideSlotSize(){ return 0; }
|
||||
public int getOpenFlags(){ return 0; }
|
||||
public long getIdleConnectionTimeout(){ return 0; }
|
||||
}
|
||||
static public interface CursorFactory
|
||||
{
|
||||
Cursor newCursor(SQLiteDatabase p0, SQLiteCursorDriver p1, String p2, SQLiteQuery p3);
|
||||
}
|
||||
}
|
||||
|
||||
18
java/ql/test/stubs/android/android/database/sqlite/SQLiteProgram.java
generated
Normal file
18
java/ql/test/stubs/android/android/database/sqlite/SQLiteProgram.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteProgram for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import android.database.sqlite.SQLiteClosable;
|
||||
|
||||
abstract public class SQLiteProgram extends SQLiteClosable
|
||||
{
|
||||
protected void onAllReferencesReleased(){}
|
||||
public final int getUniqueId(){ return 0; }
|
||||
public void bindAllArgsAsStrings(String[] p0){}
|
||||
public void bindBlob(int p0, byte[] p1){}
|
||||
public void bindDouble(int p0, double p1){}
|
||||
public void bindLong(int p0, long p1){}
|
||||
public void bindNull(int p0){}
|
||||
public void bindString(int p0, String p1){}
|
||||
public void clearBindings(){}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/database/sqlite/SQLiteQuery.java
generated
Normal file
10
java/ql/test/stubs/android/android/database/sqlite/SQLiteQuery.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteQuery for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import android.database.sqlite.SQLiteProgram;
|
||||
|
||||
public class SQLiteQuery extends SQLiteProgram
|
||||
{
|
||||
public String toString(){ return null; }
|
||||
}
|
||||
17
java/ql/test/stubs/android/android/database/sqlite/SQLiteStatement.java
generated
Normal file
17
java/ql/test/stubs/android/android/database/sqlite/SQLiteStatement.java
generated
Normal file
@@ -0,0 +1,17 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteStatement for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
import android.database.sqlite.SQLiteProgram;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
|
||||
public class SQLiteStatement extends SQLiteProgram
|
||||
{
|
||||
public ParcelFileDescriptor simpleQueryForBlobFileDescriptor(){ return null; }
|
||||
public String simpleQueryForString(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public int executeUpdateDelete(){ return 0; }
|
||||
public long executeInsert(){ return 0; }
|
||||
public long simpleQueryForLong(){ return 0; }
|
||||
public void execute(){}
|
||||
}
|
||||
11
java/ql/test/stubs/android/android/database/sqlite/SQLiteTransactionListener.java
generated
Normal file
11
java/ql/test/stubs/android/android/database/sqlite/SQLiteTransactionListener.java
generated
Normal file
@@ -0,0 +1,11 @@
|
||||
// Generated automatically from android.database.sqlite.SQLiteTransactionListener for testing purposes
|
||||
|
||||
package android.database.sqlite;
|
||||
|
||||
|
||||
public interface SQLiteTransactionListener
|
||||
{
|
||||
void onBegin();
|
||||
void onCommit();
|
||||
void onRollback();
|
||||
}
|
||||
97
java/ql/test/stubs/android/android/graphics/Bitmap.java
generated
Normal file
97
java/ql/test/stubs/android/android/graphics/Bitmap.java
generated
Normal file
@@ -0,0 +1,97 @@
|
||||
// Generated automatically from android.graphics.Bitmap for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.ColorSpace;
|
||||
import android.graphics.Matrix;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Picture;
|
||||
import android.hardware.HardwareBuffer;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.util.DisplayMetrics;
|
||||
import java.io.OutputStream;
|
||||
import java.nio.Buffer;
|
||||
|
||||
public class Bitmap implements Parcelable
|
||||
{
|
||||
public Bitmap copy(Bitmap.Config p0, boolean p1){ return null; }
|
||||
public Bitmap extractAlpha(){ return null; }
|
||||
public Bitmap extractAlpha(Paint p0, int[] p1){ return null; }
|
||||
public Bitmap.Config getConfig(){ return null; }
|
||||
public Color getColor(int p0, int p1){ return null; }
|
||||
public ColorSpace getColorSpace(){ return null; }
|
||||
public boolean compress(Bitmap.CompressFormat p0, int p1, OutputStream p2){ return false; }
|
||||
public boolean hasAlpha(){ return false; }
|
||||
public boolean hasMipMap(){ return false; }
|
||||
public boolean isMutable(){ return false; }
|
||||
public boolean isPremultiplied(){ return false; }
|
||||
public boolean isRecycled(){ return false; }
|
||||
public boolean sameAs(Bitmap p0){ return false; }
|
||||
public byte[] getNinePatchChunk(){ return null; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int getAllocationByteCount(){ return 0; }
|
||||
public int getByteCount(){ return 0; }
|
||||
public int getDensity(){ return 0; }
|
||||
public int getGenerationId(){ return 0; }
|
||||
public int getHeight(){ return 0; }
|
||||
public int getPixel(int p0, int p1){ return 0; }
|
||||
public int getRowBytes(){ return 0; }
|
||||
public int getScaledHeight(Canvas p0){ return 0; }
|
||||
public int getScaledHeight(DisplayMetrics p0){ return 0; }
|
||||
public int getScaledHeight(int p0){ return 0; }
|
||||
public int getScaledWidth(Canvas p0){ return 0; }
|
||||
public int getScaledWidth(DisplayMetrics p0){ return 0; }
|
||||
public int getScaledWidth(int p0){ return 0; }
|
||||
public int getWidth(){ return 0; }
|
||||
public static Bitmap createBitmap(Bitmap p0){ return null; }
|
||||
public static Bitmap createBitmap(Bitmap p0, int p1, int p2, int p3, int p4){ return null; }
|
||||
public static Bitmap createBitmap(Bitmap p0, int p1, int p2, int p3, int p4, Matrix p5, boolean p6){ return null; }
|
||||
public static Bitmap createBitmap(DisplayMetrics p0, int p1, int p2, Bitmap.Config p3){ return null; }
|
||||
public static Bitmap createBitmap(DisplayMetrics p0, int p1, int p2, Bitmap.Config p3, boolean p4){ return null; }
|
||||
public static Bitmap createBitmap(DisplayMetrics p0, int p1, int p2, Bitmap.Config p3, boolean p4, ColorSpace p5){ return null; }
|
||||
public static Bitmap createBitmap(DisplayMetrics p0, int[] p1, int p2, int p3, Bitmap.Config p4){ return null; }
|
||||
public static Bitmap createBitmap(DisplayMetrics p0, int[] p1, int p2, int p3, int p4, int p5, Bitmap.Config p6){ return null; }
|
||||
public static Bitmap createBitmap(Picture p0){ return null; }
|
||||
public static Bitmap createBitmap(Picture p0, int p1, int p2, Bitmap.Config p3){ return null; }
|
||||
public static Bitmap createBitmap(int p0, int p1, Bitmap.Config p2){ return null; }
|
||||
public static Bitmap createBitmap(int p0, int p1, Bitmap.Config p2, boolean p3){ return null; }
|
||||
public static Bitmap createBitmap(int p0, int p1, Bitmap.Config p2, boolean p3, ColorSpace p4){ return null; }
|
||||
public static Bitmap createBitmap(int[] p0, int p1, int p2, Bitmap.Config p3){ return null; }
|
||||
public static Bitmap createBitmap(int[] p0, int p1, int p2, int p3, int p4, Bitmap.Config p5){ return null; }
|
||||
public static Bitmap createScaledBitmap(Bitmap p0, int p1, int p2, boolean p3){ return null; }
|
||||
public static Bitmap wrapHardwareBuffer(HardwareBuffer p0, ColorSpace p1){ return null; }
|
||||
public static Parcelable.Creator<Bitmap> CREATOR = null;
|
||||
public static int DENSITY_NONE = 0;
|
||||
public void copyPixelsFromBuffer(Buffer p0){}
|
||||
public void copyPixelsToBuffer(Buffer p0){}
|
||||
public void eraseColor(int p0){}
|
||||
public void eraseColor(long p0){}
|
||||
public void getPixels(int[] p0, int p1, int p2, int p3, int p4, int p5, int p6){}
|
||||
public void prepareToDraw(){}
|
||||
public void reconfigure(int p0, int p1, Bitmap.Config p2){}
|
||||
public void recycle(){}
|
||||
public void setColorSpace(ColorSpace p0){}
|
||||
public void setConfig(Bitmap.Config p0){}
|
||||
public void setDensity(int p0){}
|
||||
public void setHasAlpha(boolean p0){}
|
||||
public void setHasMipMap(boolean p0){}
|
||||
public void setHeight(int p0){}
|
||||
public void setPixel(int p0, int p1, int p2){}
|
||||
public void setPixels(int[] p0, int p1, int p2, int p3, int p4, int p5, int p6){}
|
||||
public void setPremultiplied(boolean p0){}
|
||||
public void setWidth(int p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public enum CompressFormat
|
||||
{
|
||||
JPEG, PNG, WEBP, WEBP_LOSSLESS, WEBP_LOSSY;
|
||||
private CompressFormat() {}
|
||||
}
|
||||
static public enum Config
|
||||
{
|
||||
ALPHA_8, ARGB_4444, ARGB_8888, HARDWARE, RGBA_F16, RGB_565;
|
||||
private Config() {}
|
||||
}
|
||||
}
|
||||
54
java/ql/test/stubs/android/android/graphics/BitmapFactory.java
generated
Normal file
54
java/ql/test/stubs/android/android/graphics/BitmapFactory.java
generated
Normal file
@@ -0,0 +1,54 @@
|
||||
// Generated automatically from android.graphics.BitmapFactory for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.ColorSpace;
|
||||
import android.graphics.Rect;
|
||||
import android.util.TypedValue;
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class BitmapFactory
|
||||
{
|
||||
public BitmapFactory(){}
|
||||
public static Bitmap decodeByteArray(byte[] p0, int p1, int p2){ return null; }
|
||||
public static Bitmap decodeByteArray(byte[] p0, int p1, int p2, BitmapFactory.Options p3){ return null; }
|
||||
public static Bitmap decodeFile(String p0){ return null; }
|
||||
public static Bitmap decodeFile(String p0, BitmapFactory.Options p1){ return null; }
|
||||
public static Bitmap decodeFileDescriptor(FileDescriptor p0){ return null; }
|
||||
public static Bitmap decodeFileDescriptor(FileDescriptor p0, Rect p1, BitmapFactory.Options p2){ return null; }
|
||||
public static Bitmap decodeResource(Resources p0, int p1){ return null; }
|
||||
public static Bitmap decodeResource(Resources p0, int p1, BitmapFactory.Options p2){ return null; }
|
||||
public static Bitmap decodeResourceStream(Resources p0, TypedValue p1, InputStream p2, Rect p3, BitmapFactory.Options p4){ return null; }
|
||||
public static Bitmap decodeStream(InputStream p0){ return null; }
|
||||
public static Bitmap decodeStream(InputStream p0, Rect p1, BitmapFactory.Options p2){ return null; }
|
||||
static public class Options
|
||||
{
|
||||
public Bitmap inBitmap = null;
|
||||
public Bitmap.Config inPreferredConfig = null;
|
||||
public Bitmap.Config outConfig = null;
|
||||
public ColorSpace inPreferredColorSpace = null;
|
||||
public ColorSpace outColorSpace = null;
|
||||
public Options(){}
|
||||
public String outMimeType = null;
|
||||
public boolean inDither = false;
|
||||
public boolean inInputShareable = false;
|
||||
public boolean inJustDecodeBounds = false;
|
||||
public boolean inMutable = false;
|
||||
public boolean inPreferQualityOverSpeed = false;
|
||||
public boolean inPremultiplied = false;
|
||||
public boolean inPurgeable = false;
|
||||
public boolean inScaled = false;
|
||||
public boolean mCancel = false;
|
||||
public byte[] inTempStorage = null;
|
||||
public int inDensity = 0;
|
||||
public int inSampleSize = 0;
|
||||
public int inScreenDensity = 0;
|
||||
public int inTargetDensity = 0;
|
||||
public int outHeight = 0;
|
||||
public int outWidth = 0;
|
||||
public void requestCancelDecode(){}
|
||||
}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/graphics/BlendMode.java
generated
Normal file
10
java/ql/test/stubs/android/android/graphics/BlendMode.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.graphics.BlendMode for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public enum BlendMode
|
||||
{
|
||||
CLEAR, COLOR, COLOR_BURN, COLOR_DODGE, DARKEN, DIFFERENCE, DST, DST_ATOP, DST_IN, DST_OUT, DST_OVER, EXCLUSION, HARD_LIGHT, HUE, LIGHTEN, LUMINOSITY, MODULATE, MULTIPLY, OVERLAY, PLUS, SATURATION, SCREEN, SOFT_LIGHT, SRC, SRC_ATOP, SRC_IN, SRC_OUT, SRC_OVER, XOR;
|
||||
private BlendMode() {}
|
||||
}
|
||||
141
java/ql/test/stubs/android/android/graphics/Canvas.java
generated
Normal file
141
java/ql/test/stubs/android/android/graphics/Canvas.java
generated
Normal file
@@ -0,0 +1,141 @@
|
||||
// Generated automatically from android.graphics.Canvas for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BlendMode;
|
||||
import android.graphics.DrawFilter;
|
||||
import android.graphics.Matrix;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Path;
|
||||
import android.graphics.Picture;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.Region;
|
||||
import android.graphics.RenderNode;
|
||||
import android.graphics.text.MeasuredText;
|
||||
|
||||
public class Canvas
|
||||
{
|
||||
public Canvas(){}
|
||||
public Canvas(Bitmap p0){}
|
||||
public DrawFilter getDrawFilter(){ return null; }
|
||||
public boolean clipOutPath(Path p0){ return false; }
|
||||
public boolean clipOutRect(Rect p0){ return false; }
|
||||
public boolean clipOutRect(RectF p0){ return false; }
|
||||
public boolean clipOutRect(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean clipOutRect(int p0, int p1, int p2, int p3){ return false; }
|
||||
public boolean clipPath(Path p0){ return false; }
|
||||
public boolean clipPath(Path p0, Region.Op p1){ return false; }
|
||||
public boolean clipRect(Rect p0){ return false; }
|
||||
public boolean clipRect(Rect p0, Region.Op p1){ return false; }
|
||||
public boolean clipRect(RectF p0){ return false; }
|
||||
public boolean clipRect(RectF p0, Region.Op p1){ return false; }
|
||||
public boolean clipRect(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean clipRect(float p0, float p1, float p2, float p3, Region.Op p4){ return false; }
|
||||
public boolean clipRect(int p0, int p1, int p2, int p3){ return false; }
|
||||
public boolean getClipBounds(Rect p0){ return false; }
|
||||
public boolean isHardwareAccelerated(){ return false; }
|
||||
public boolean isOpaque(){ return false; }
|
||||
public boolean quickReject(Path p0){ return false; }
|
||||
public boolean quickReject(Path p0, Canvas.EdgeType p1){ return false; }
|
||||
public boolean quickReject(RectF p0){ return false; }
|
||||
public boolean quickReject(RectF p0, Canvas.EdgeType p1){ return false; }
|
||||
public boolean quickReject(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean quickReject(float p0, float p1, float p2, float p3, Canvas.EdgeType p4){ return false; }
|
||||
public final Matrix getMatrix(){ return null; }
|
||||
public final Rect getClipBounds(){ return null; }
|
||||
public final void rotate(float p0, float p1, float p2){}
|
||||
public final void scale(float p0, float p1, float p2, float p3){}
|
||||
public int getDensity(){ return 0; }
|
||||
public int getHeight(){ return 0; }
|
||||
public int getMaximumBitmapHeight(){ return 0; }
|
||||
public int getMaximumBitmapWidth(){ return 0; }
|
||||
public int getSaveCount(){ return 0; }
|
||||
public int getWidth(){ return 0; }
|
||||
public int save(){ return 0; }
|
||||
public int saveLayer(RectF p0, Paint p1){ return 0; }
|
||||
public int saveLayer(RectF p0, Paint p1, int p2){ return 0; }
|
||||
public int saveLayer(float p0, float p1, float p2, float p3, Paint p4){ return 0; }
|
||||
public int saveLayer(float p0, float p1, float p2, float p3, Paint p4, int p5){ return 0; }
|
||||
public int saveLayerAlpha(RectF p0, int p1){ return 0; }
|
||||
public int saveLayerAlpha(RectF p0, int p1, int p2){ return 0; }
|
||||
public int saveLayerAlpha(float p0, float p1, float p2, float p3, int p4){ return 0; }
|
||||
public int saveLayerAlpha(float p0, float p1, float p2, float p3, int p4, int p5){ return 0; }
|
||||
public static int ALL_SAVE_FLAG = 0;
|
||||
public void concat(Matrix p0){}
|
||||
public void disableZ(){}
|
||||
public void drawARGB(int p0, int p1, int p2, int p3){}
|
||||
public void drawArc(RectF p0, float p1, float p2, boolean p3, Paint p4){}
|
||||
public void drawArc(float p0, float p1, float p2, float p3, float p4, float p5, boolean p6, Paint p7){}
|
||||
public void drawBitmap(Bitmap p0, Matrix p1, Paint p2){}
|
||||
public void drawBitmap(Bitmap p0, Rect p1, Rect p2, Paint p3){}
|
||||
public void drawBitmap(Bitmap p0, Rect p1, RectF p2, Paint p3){}
|
||||
public void drawBitmap(Bitmap p0, float p1, float p2, Paint p3){}
|
||||
public void drawBitmap(int[] p0, int p1, int p2, float p3, float p4, int p5, int p6, boolean p7, Paint p8){}
|
||||
public void drawBitmap(int[] p0, int p1, int p2, int p3, int p4, int p5, int p6, boolean p7, Paint p8){}
|
||||
public void drawBitmapMesh(Bitmap p0, int p1, int p2, float[] p3, int p4, int[] p5, int p6, Paint p7){}
|
||||
public void drawCircle(float p0, float p1, float p2, Paint p3){}
|
||||
public void drawColor(int p0){}
|
||||
public void drawColor(int p0, BlendMode p1){}
|
||||
public void drawColor(int p0, PorterDuff.Mode p1){}
|
||||
public void drawColor(long p0){}
|
||||
public void drawColor(long p0, BlendMode p1){}
|
||||
public void drawDoubleRoundRect(RectF p0, float p1, float p2, RectF p3, float p4, float p5, Paint p6){}
|
||||
public void drawDoubleRoundRect(RectF p0, float[] p1, RectF p2, float[] p3, Paint p4){}
|
||||
public void drawLine(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public void drawLines(float[] p0, Paint p1){}
|
||||
public void drawLines(float[] p0, int p1, int p2, Paint p3){}
|
||||
public void drawOval(RectF p0, Paint p1){}
|
||||
public void drawOval(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public void drawPaint(Paint p0){}
|
||||
public void drawPath(Path p0, Paint p1){}
|
||||
public void drawPicture(Picture p0){}
|
||||
public void drawPicture(Picture p0, Rect p1){}
|
||||
public void drawPicture(Picture p0, RectF p1){}
|
||||
public void drawPoint(float p0, float p1, Paint p2){}
|
||||
public void drawPoints(float[] p0, Paint p1){}
|
||||
public void drawPoints(float[] p0, int p1, int p2, Paint p3){}
|
||||
public void drawPosText(String p0, float[] p1, Paint p2){}
|
||||
public void drawPosText(char[] p0, int p1, int p2, float[] p3, Paint p4){}
|
||||
public void drawRGB(int p0, int p1, int p2){}
|
||||
public void drawRect(Rect p0, Paint p1){}
|
||||
public void drawRect(RectF p0, Paint p1){}
|
||||
public void drawRect(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public void drawRenderNode(RenderNode p0){}
|
||||
public void drawRoundRect(RectF p0, float p1, float p2, Paint p3){}
|
||||
public void drawRoundRect(float p0, float p1, float p2, float p3, float p4, float p5, Paint p6){}
|
||||
public void drawText(CharSequence p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public void drawText(String p0, float p1, float p2, Paint p3){}
|
||||
public void drawText(String p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public void drawText(char[] p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public void drawTextOnPath(String p0, Path p1, float p2, float p3, Paint p4){}
|
||||
public void drawTextOnPath(char[] p0, int p1, int p2, Path p3, float p4, float p5, Paint p6){}
|
||||
public void drawTextRun(CharSequence p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public void drawTextRun(MeasuredText p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public void drawTextRun(char[] p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public void drawVertices(Canvas.VertexMode p0, int p1, float[] p2, int p3, float[] p4, int p5, int[] p6, int p7, short[] p8, int p9, int p10, Paint p11){}
|
||||
public void enableZ(){}
|
||||
public void getMatrix(Matrix p0){}
|
||||
public void restore(){}
|
||||
public void restoreToCount(int p0){}
|
||||
public void rotate(float p0){}
|
||||
public void scale(float p0, float p1){}
|
||||
public void setBitmap(Bitmap p0){}
|
||||
public void setDensity(int p0){}
|
||||
public void setDrawFilter(DrawFilter p0){}
|
||||
public void setMatrix(Matrix p0){}
|
||||
public void skew(float p0, float p1){}
|
||||
public void translate(float p0, float p1){}
|
||||
static public enum EdgeType
|
||||
{
|
||||
AA, BW;
|
||||
private EdgeType() {}
|
||||
}
|
||||
static public enum VertexMode
|
||||
{
|
||||
TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP;
|
||||
private VertexMode() {}
|
||||
}
|
||||
}
|
||||
80
java/ql/test/stubs/android/android/graphics/Color.java
generated
Normal file
80
java/ql/test/stubs/android/android/graphics/Color.java
generated
Normal file
@@ -0,0 +1,80 @@
|
||||
// Generated automatically from android.graphics.Color for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.ColorSpace;
|
||||
|
||||
public class Color
|
||||
{
|
||||
public Color convert(ColorSpace p0){ return null; }
|
||||
public Color(){}
|
||||
public ColorSpace getColorSpace(){ return null; }
|
||||
public ColorSpace.Model getModel(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isSrgb(){ return false; }
|
||||
public boolean isWideGamut(){ return false; }
|
||||
public float alpha(){ return 0; }
|
||||
public float blue(){ return 0; }
|
||||
public float getComponent(int p0){ return 0; }
|
||||
public float green(){ return 0; }
|
||||
public float luminance(){ return 0; }
|
||||
public float red(){ return 0; }
|
||||
public float[] getComponents(){ return null; }
|
||||
public float[] getComponents(float[] p0){ return null; }
|
||||
public int getComponentCount(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public int toArgb(){ return 0; }
|
||||
public long pack(){ return 0; }
|
||||
public static Color valueOf(float p0, float p1, float p2){ return null; }
|
||||
public static Color valueOf(float p0, float p1, float p2, float p3){ return null; }
|
||||
public static Color valueOf(float p0, float p1, float p2, float p3, ColorSpace p4){ return null; }
|
||||
public static Color valueOf(float[] p0, ColorSpace p1){ return null; }
|
||||
public static Color valueOf(int p0){ return null; }
|
||||
public static Color valueOf(long p0){ return null; }
|
||||
public static ColorSpace colorSpace(long p0){ return null; }
|
||||
public static boolean isInColorSpace(long p0, ColorSpace p1){ return false; }
|
||||
public static boolean isSrgb(long p0){ return false; }
|
||||
public static boolean isWideGamut(long p0){ return false; }
|
||||
public static float alpha(long p0){ return 0; }
|
||||
public static float blue(long p0){ return 0; }
|
||||
public static float green(long p0){ return 0; }
|
||||
public static float luminance(int p0){ return 0; }
|
||||
public static float luminance(long p0){ return 0; }
|
||||
public static float red(long p0){ return 0; }
|
||||
public static int BLACK = 0;
|
||||
public static int BLUE = 0;
|
||||
public static int CYAN = 0;
|
||||
public static int DKGRAY = 0;
|
||||
public static int GRAY = 0;
|
||||
public static int GREEN = 0;
|
||||
public static int HSVToColor(float[] p0){ return 0; }
|
||||
public static int HSVToColor(int p0, float[] p1){ return 0; }
|
||||
public static int LTGRAY = 0;
|
||||
public static int MAGENTA = 0;
|
||||
public static int RED = 0;
|
||||
public static int TRANSPARENT = 0;
|
||||
public static int WHITE = 0;
|
||||
public static int YELLOW = 0;
|
||||
public static int alpha(int p0){ return 0; }
|
||||
public static int argb(float p0, float p1, float p2, float p3){ return 0; }
|
||||
public static int argb(int p0, int p1, int p2, int p3){ return 0; }
|
||||
public static int blue(int p0){ return 0; }
|
||||
public static int green(int p0){ return 0; }
|
||||
public static int parseColor(String p0){ return 0; }
|
||||
public static int red(int p0){ return 0; }
|
||||
public static int rgb(float p0, float p1, float p2){ return 0; }
|
||||
public static int rgb(int p0, int p1, int p2){ return 0; }
|
||||
public static int toArgb(long p0){ return 0; }
|
||||
public static long convert(float p0, float p1, float p2, float p3, ColorSpace p4, ColorSpace p5){ return 0; }
|
||||
public static long convert(float p0, float p1, float p2, float p3, ColorSpace.Connector p4){ return 0; }
|
||||
public static long convert(int p0, ColorSpace p1){ return 0; }
|
||||
public static long convert(long p0, ColorSpace p1){ return 0; }
|
||||
public static long convert(long p0, ColorSpace.Connector p1){ return 0; }
|
||||
public static long pack(float p0, float p1, float p2){ return 0; }
|
||||
public static long pack(float p0, float p1, float p2, float p3){ return 0; }
|
||||
public static long pack(float p0, float p1, float p2, float p3, ColorSpace p4){ return 0; }
|
||||
public static long pack(int p0){ return 0; }
|
||||
public static void RGBToHSV(int p0, int p1, int p2, float[] p3){}
|
||||
public static void colorToHSV(int p0, float[] p1){}
|
||||
}
|
||||
9
java/ql/test/stubs/android/android/graphics/ColorFilter.java
generated
Normal file
9
java/ql/test/stubs/android/android/graphics/ColorFilter.java
generated
Normal file
@@ -0,0 +1,9 @@
|
||||
// Generated automatically from android.graphics.ColorFilter for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public class ColorFilter
|
||||
{
|
||||
public ColorFilter(){}
|
||||
}
|
||||
120
java/ql/test/stubs/android/android/graphics/ColorSpace.java
generated
Normal file
120
java/ql/test/stubs/android/android/graphics/ColorSpace.java
generated
Normal file
@@ -0,0 +1,120 @@
|
||||
// Generated automatically from android.graphics.ColorSpace for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import java.util.function.DoubleUnaryOperator;
|
||||
|
||||
abstract public class ColorSpace
|
||||
{
|
||||
public ColorSpace.Model getModel(){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public abstract boolean isWideGamut();
|
||||
public abstract float getMaxValue(int p0);
|
||||
public abstract float getMinValue(int p0);
|
||||
public abstract float[] fromXyz(float[] p0);
|
||||
public abstract float[] toXyz(float[] p0);
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isSrgb(){ return false; }
|
||||
public float[] fromXyz(float p0, float p1, float p2){ return null; }
|
||||
public float[] toXyz(float p0, float p1, float p2){ return null; }
|
||||
public int getComponentCount(){ return 0; }
|
||||
public int getId(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static ColorSpace adapt(ColorSpace p0, float[] p1){ return null; }
|
||||
public static ColorSpace adapt(ColorSpace p0, float[] p1, ColorSpace.Adaptation p2){ return null; }
|
||||
public static ColorSpace get(ColorSpace.Named p0){ return null; }
|
||||
public static ColorSpace match(float[] p0, ColorSpace.Rgb.TransferParameters p1){ return null; }
|
||||
public static ColorSpace.Connector connect(ColorSpace p0){ return null; }
|
||||
public static ColorSpace.Connector connect(ColorSpace p0, ColorSpace p1){ return null; }
|
||||
public static ColorSpace.Connector connect(ColorSpace p0, ColorSpace p1, ColorSpace.RenderIntent p2){ return null; }
|
||||
public static ColorSpace.Connector connect(ColorSpace p0, ColorSpace.RenderIntent p1){ return null; }
|
||||
public static float[] ILLUMINANT_A = null;
|
||||
public static float[] ILLUMINANT_B = null;
|
||||
public static float[] ILLUMINANT_C = null;
|
||||
public static float[] ILLUMINANT_D50 = null;
|
||||
public static float[] ILLUMINANT_D55 = null;
|
||||
public static float[] ILLUMINANT_D60 = null;
|
||||
public static float[] ILLUMINANT_D65 = null;
|
||||
public static float[] ILLUMINANT_D75 = null;
|
||||
public static float[] ILLUMINANT_E = null;
|
||||
public static int MAX_ID = 0;
|
||||
public static int MIN_ID = 0;
|
||||
static public class Connector
|
||||
{
|
||||
public ColorSpace getDestination(){ return null; }
|
||||
public ColorSpace getSource(){ return null; }
|
||||
public ColorSpace.RenderIntent getRenderIntent(){ return null; }
|
||||
public float[] transform(float p0, float p1, float p2){ return null; }
|
||||
public float[] transform(float[] p0){ return null; }
|
||||
}
|
||||
static public class Rgb extends ColorSpace
|
||||
{
|
||||
protected Rgb() {}
|
||||
public ColorSpace.Rgb.TransferParameters getTransferParameters(){ return null; }
|
||||
public DoubleUnaryOperator getEotf(){ return null; }
|
||||
public DoubleUnaryOperator getOetf(){ return null; }
|
||||
public Rgb(String p0, float[] p1, ColorSpace.Rgb.TransferParameters p2){}
|
||||
public Rgb(String p0, float[] p1, DoubleUnaryOperator p2, DoubleUnaryOperator p3){}
|
||||
public Rgb(String p0, float[] p1, double p2){}
|
||||
public Rgb(String p0, float[] p1, float[] p2, ColorSpace.Rgb.TransferParameters p3){}
|
||||
public Rgb(String p0, float[] p1, float[] p2, DoubleUnaryOperator p3, DoubleUnaryOperator p4, float p5, float p6){}
|
||||
public Rgb(String p0, float[] p1, float[] p2, double p3){}
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean isSrgb(){ return false; }
|
||||
public boolean isWideGamut(){ return false; }
|
||||
public float getMaxValue(int p0){ return 0; }
|
||||
public float getMinValue(int p0){ return 0; }
|
||||
public float[] fromLinear(float p0, float p1, float p2){ return null; }
|
||||
public float[] fromLinear(float[] p0){ return null; }
|
||||
public float[] fromXyz(float[] p0){ return null; }
|
||||
public float[] getInverseTransform(){ return null; }
|
||||
public float[] getInverseTransform(float[] p0){ return null; }
|
||||
public float[] getPrimaries(){ return null; }
|
||||
public float[] getPrimaries(float[] p0){ return null; }
|
||||
public float[] getTransform(){ return null; }
|
||||
public float[] getTransform(float[] p0){ return null; }
|
||||
public float[] getWhitePoint(){ return null; }
|
||||
public float[] getWhitePoint(float[] p0){ return null; }
|
||||
public float[] toLinear(float p0, float p1, float p2){ return null; }
|
||||
public float[] toLinear(float[] p0){ return null; }
|
||||
public float[] toXyz(float[] p0){ return null; }
|
||||
public int hashCode(){ return 0; }
|
||||
static public class TransferParameters
|
||||
{
|
||||
protected TransferParameters() {}
|
||||
public TransferParameters(double p0, double p1, double p2, double p3, double p4){}
|
||||
public TransferParameters(double p0, double p1, double p2, double p3, double p4, double p5, double p6){}
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final double a = 0;
|
||||
public final double b = 0;
|
||||
public final double c = 0;
|
||||
public final double d = 0;
|
||||
public final double e = 0;
|
||||
public final double f = 0;
|
||||
public final double g = 0;
|
||||
public int hashCode(){ return 0; }
|
||||
}
|
||||
}
|
||||
static public enum Adaptation
|
||||
{
|
||||
BRADFORD, CIECAT02, VON_KRIES;
|
||||
private Adaptation() {}
|
||||
}
|
||||
static public enum Model
|
||||
{
|
||||
CMYK, LAB, RGB, XYZ;
|
||||
private Model() {}
|
||||
public int getComponentCount(){ return 0; }
|
||||
}
|
||||
static public enum Named
|
||||
{
|
||||
ACES, ACESCG, ADOBE_RGB, BT2020, BT709, CIE_LAB, CIE_XYZ, DCI_P3, DISPLAY_P3, EXTENDED_SRGB, LINEAR_EXTENDED_SRGB, LINEAR_SRGB, NTSC_1953, PRO_PHOTO_RGB, SMPTE_C, SRGB;
|
||||
private Named() {}
|
||||
}
|
||||
static public enum RenderIntent
|
||||
{
|
||||
ABSOLUTE, PERCEPTUAL, RELATIVE, SATURATION;
|
||||
private RenderIntent() {}
|
||||
}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/graphics/DrawFilter.java
generated
Normal file
10
java/ql/test/stubs/android/android/graphics/DrawFilter.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.graphics.DrawFilter for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public class DrawFilter
|
||||
{
|
||||
protected void finalize(){}
|
||||
public DrawFilter(){}
|
||||
}
|
||||
29
java/ql/test/stubs/android/android/graphics/Insets.java
generated
Normal file
29
java/ql/test/stubs/android/android/graphics/Insets.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from android.graphics.Insets for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class Insets implements Parcelable
|
||||
{
|
||||
protected Insets() {}
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final int bottom = 0;
|
||||
public final int left = 0;
|
||||
public final int right = 0;
|
||||
public final int top = 0;
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static Insets NONE = null;
|
||||
public static Insets add(Insets p0, Insets p1){ return null; }
|
||||
public static Insets max(Insets p0, Insets p1){ return null; }
|
||||
public static Insets min(Insets p0, Insets p1){ return null; }
|
||||
public static Insets of(Rect p0){ return null; }
|
||||
public static Insets of(int p0, int p1, int p2, int p3){ return null; }
|
||||
public static Insets subtract(Insets p0, Insets p1){ return null; }
|
||||
public static Parcelable.Creator<Insets> CREATOR = null;
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/graphics/MaskFilter.java
generated
Normal file
10
java/ql/test/stubs/android/android/graphics/MaskFilter.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.graphics.MaskFilter for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public class MaskFilter
|
||||
{
|
||||
protected void finalize(){}
|
||||
public MaskFilter(){}
|
||||
}
|
||||
74
java/ql/test/stubs/android/android/graphics/Matrix.java
generated
Normal file
74
java/ql/test/stubs/android/android/graphics/Matrix.java
generated
Normal file
@@ -0,0 +1,74 @@
|
||||
// Generated automatically from android.graphics.Matrix for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.RectF;
|
||||
|
||||
public class Matrix
|
||||
{
|
||||
public Matrix(){}
|
||||
public Matrix(Matrix p0){}
|
||||
public String toShortString(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean invert(Matrix p0){ return false; }
|
||||
public boolean isAffine(){ return false; }
|
||||
public boolean isIdentity(){ return false; }
|
||||
public boolean mapRect(RectF p0){ return false; }
|
||||
public boolean mapRect(RectF p0, RectF p1){ return false; }
|
||||
public boolean postConcat(Matrix p0){ return false; }
|
||||
public boolean postRotate(float p0){ return false; }
|
||||
public boolean postRotate(float p0, float p1, float p2){ return false; }
|
||||
public boolean postScale(float p0, float p1){ return false; }
|
||||
public boolean postScale(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean postSkew(float p0, float p1){ return false; }
|
||||
public boolean postSkew(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean postTranslate(float p0, float p1){ return false; }
|
||||
public boolean preConcat(Matrix p0){ return false; }
|
||||
public boolean preRotate(float p0){ return false; }
|
||||
public boolean preRotate(float p0, float p1, float p2){ return false; }
|
||||
public boolean preScale(float p0, float p1){ return false; }
|
||||
public boolean preScale(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean preSkew(float p0, float p1){ return false; }
|
||||
public boolean preSkew(float p0, float p1, float p2, float p3){ return false; }
|
||||
public boolean preTranslate(float p0, float p1){ return false; }
|
||||
public boolean rectStaysRect(){ return false; }
|
||||
public boolean setConcat(Matrix p0, Matrix p1){ return false; }
|
||||
public boolean setPolyToPoly(float[] p0, int p1, float[] p2, int p3, int p4){ return false; }
|
||||
public boolean setRectToRect(RectF p0, RectF p1, Matrix.ScaleToFit p2){ return false; }
|
||||
public float mapRadius(float p0){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public static int MPERSP_0 = 0;
|
||||
public static int MPERSP_1 = 0;
|
||||
public static int MPERSP_2 = 0;
|
||||
public static int MSCALE_X = 0;
|
||||
public static int MSCALE_Y = 0;
|
||||
public static int MSKEW_X = 0;
|
||||
public static int MSKEW_Y = 0;
|
||||
public static int MTRANS_X = 0;
|
||||
public static int MTRANS_Y = 0;
|
||||
public void getValues(float[] p0){}
|
||||
public void mapPoints(float[] p0){}
|
||||
public void mapPoints(float[] p0, float[] p1){}
|
||||
public void mapPoints(float[] p0, int p1, float[] p2, int p3, int p4){}
|
||||
public void mapVectors(float[] p0){}
|
||||
public void mapVectors(float[] p0, float[] p1){}
|
||||
public void mapVectors(float[] p0, int p1, float[] p2, int p3, int p4){}
|
||||
public void reset(){}
|
||||
public void set(Matrix p0){}
|
||||
public void setRotate(float p0){}
|
||||
public void setRotate(float p0, float p1, float p2){}
|
||||
public void setScale(float p0, float p1){}
|
||||
public void setScale(float p0, float p1, float p2, float p3){}
|
||||
public void setSinCos(float p0, float p1){}
|
||||
public void setSinCos(float p0, float p1, float p2, float p3){}
|
||||
public void setSkew(float p0, float p1){}
|
||||
public void setSkew(float p0, float p1, float p2, float p3){}
|
||||
public void setTranslate(float p0, float p1){}
|
||||
public void setValues(float[] p0){}
|
||||
static public enum ScaleToFit
|
||||
{
|
||||
CENTER, END, FILL, START;
|
||||
private ScaleToFit() {}
|
||||
}
|
||||
}
|
||||
23
java/ql/test/stubs/android/android/graphics/Movie.java
generated
Normal file
23
java/ql/test/stubs/android/android/graphics/Movie.java
generated
Normal file
@@ -0,0 +1,23 @@
|
||||
// Generated automatically from android.graphics.Movie for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class Movie
|
||||
{
|
||||
protected Movie() {}
|
||||
protected void finalize(){}
|
||||
public boolean isOpaque(){ return false; }
|
||||
public boolean setTime(int p0){ return false; }
|
||||
public int duration(){ return 0; }
|
||||
public int height(){ return 0; }
|
||||
public int width(){ return 0; }
|
||||
public static Movie decodeByteArray(byte[] p0, int p1, int p2){ return null; }
|
||||
public static Movie decodeFile(String p0){ return null; }
|
||||
public static Movie decodeStream(InputStream p0){ return null; }
|
||||
public void draw(Canvas p0, float p1, float p2){}
|
||||
public void draw(Canvas p0, float p1, float p2, Paint p3){}
|
||||
}
|
||||
31
java/ql/test/stubs/android/android/graphics/NinePatch.java
generated
Normal file
31
java/ql/test/stubs/android/android/graphics/NinePatch.java
generated
Normal file
@@ -0,0 +1,31 @@
|
||||
// Generated automatically from android.graphics.NinePatch for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.Region;
|
||||
|
||||
public class NinePatch
|
||||
{
|
||||
protected NinePatch() {}
|
||||
protected void finalize(){}
|
||||
public Bitmap getBitmap(){ return null; }
|
||||
public NinePatch(Bitmap p0, byte[] p1){}
|
||||
public NinePatch(Bitmap p0, byte[] p1, String p2){}
|
||||
public Paint getPaint(){ return null; }
|
||||
public String getName(){ return null; }
|
||||
public final Region getTransparentRegion(Rect p0){ return null; }
|
||||
public final boolean hasAlpha(){ return false; }
|
||||
public int getDensity(){ return 0; }
|
||||
public int getHeight(){ return 0; }
|
||||
public int getWidth(){ return 0; }
|
||||
public static boolean isNinePatchChunk(byte[] p0){ return false; }
|
||||
public void draw(Canvas p0, Rect p1){}
|
||||
public void draw(Canvas p0, Rect p1, Paint p2){}
|
||||
public void draw(Canvas p0, RectF p1){}
|
||||
public void setPaint(Paint p0){}
|
||||
}
|
||||
29
java/ql/test/stubs/android/android/graphics/Outline.java
generated
Normal file
29
java/ql/test/stubs/android/android/graphics/Outline.java
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
// Generated automatically from android.graphics.Outline for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Path;
|
||||
import android.graphics.Rect;
|
||||
|
||||
public class Outline
|
||||
{
|
||||
public Outline(){}
|
||||
public Outline(Outline p0){}
|
||||
public boolean canClip(){ return false; }
|
||||
public boolean getRect(Rect p0){ return false; }
|
||||
public boolean isEmpty(){ return false; }
|
||||
public float getAlpha(){ return 0; }
|
||||
public float getRadius(){ return 0; }
|
||||
public void offset(int p0, int p1){}
|
||||
public void set(Outline p0){}
|
||||
public void setAlpha(float p0){}
|
||||
public void setConvexPath(Path p0){}
|
||||
public void setEmpty(){}
|
||||
public void setOval(Rect p0){}
|
||||
public void setOval(int p0, int p1, int p2, int p3){}
|
||||
public void setPath(Path p0){}
|
||||
public void setRect(Rect p0){}
|
||||
public void setRect(int p0, int p1, int p2, int p3){}
|
||||
public void setRoundRect(Rect p0, float p1){}
|
||||
public void setRoundRect(int p0, int p1, int p2, int p3, float p4){}
|
||||
}
|
||||
212
java/ql/test/stubs/android/android/graphics/Paint.java
generated
Normal file
212
java/ql/test/stubs/android/android/graphics/Paint.java
generated
Normal file
@@ -0,0 +1,212 @@
|
||||
// Generated automatically from android.graphics.Paint for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.BlendMode;
|
||||
import android.graphics.ColorFilter;
|
||||
import android.graphics.MaskFilter;
|
||||
import android.graphics.Path;
|
||||
import android.graphics.PathEffect;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.Shader;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.Xfermode;
|
||||
import android.os.LocaleList;
|
||||
import java.util.Locale;
|
||||
|
||||
public class Paint
|
||||
{
|
||||
public BlendMode getBlendMode(){ return null; }
|
||||
public ColorFilter getColorFilter(){ return null; }
|
||||
public ColorFilter setColorFilter(ColorFilter p0){ return null; }
|
||||
public Locale getTextLocale(){ return null; }
|
||||
public LocaleList getTextLocales(){ return null; }
|
||||
public MaskFilter getMaskFilter(){ return null; }
|
||||
public MaskFilter setMaskFilter(MaskFilter p0){ return null; }
|
||||
public Paint(){}
|
||||
public Paint(Paint p0){}
|
||||
public Paint(int p0){}
|
||||
public Paint.Align getTextAlign(){ return null; }
|
||||
public Paint.Cap getStrokeCap(){ return null; }
|
||||
public Paint.FontMetrics getFontMetrics(){ return null; }
|
||||
public Paint.FontMetricsInt getFontMetricsInt(){ return null; }
|
||||
public Paint.Join getStrokeJoin(){ return null; }
|
||||
public Paint.Style getStyle(){ return null; }
|
||||
public PathEffect getPathEffect(){ return null; }
|
||||
public PathEffect setPathEffect(PathEffect p0){ return null; }
|
||||
public Shader getShader(){ return null; }
|
||||
public Shader setShader(Shader p0){ return null; }
|
||||
public String getFontFeatureSettings(){ return null; }
|
||||
public String getFontVariationSettings(){ return null; }
|
||||
public Typeface getTypeface(){ return null; }
|
||||
public Typeface setTypeface(Typeface p0){ return null; }
|
||||
public Xfermode getXfermode(){ return null; }
|
||||
public Xfermode setXfermode(Xfermode p0){ return null; }
|
||||
public boolean equalsForTextMeasurement(Paint p0){ return false; }
|
||||
public boolean getFillPath(Path p0, Path p1){ return false; }
|
||||
public boolean hasGlyph(String p0){ return false; }
|
||||
public boolean isElegantTextHeight(){ return false; }
|
||||
public boolean setFontVariationSettings(String p0){ return false; }
|
||||
public final boolean isAntiAlias(){ return false; }
|
||||
public final boolean isDither(){ return false; }
|
||||
public final boolean isFakeBoldText(){ return false; }
|
||||
public final boolean isFilterBitmap(){ return false; }
|
||||
public final boolean isLinearText(){ return false; }
|
||||
public final boolean isStrikeThruText(){ return false; }
|
||||
public final boolean isSubpixelText(){ return false; }
|
||||
public final boolean isUnderlineText(){ return false; }
|
||||
public float ascent(){ return 0; }
|
||||
public float descent(){ return 0; }
|
||||
public float getFontMetrics(Paint.FontMetrics p0){ return 0; }
|
||||
public float getFontSpacing(){ return 0; }
|
||||
public float getLetterSpacing(){ return 0; }
|
||||
public float getRunAdvance(CharSequence p0, int p1, int p2, int p3, int p4, boolean p5, int p6){ return 0; }
|
||||
public float getRunAdvance(char[] p0, int p1, int p2, int p3, int p4, boolean p5, int p6){ return 0; }
|
||||
public float getShadowLayerDx(){ return 0; }
|
||||
public float getShadowLayerDy(){ return 0; }
|
||||
public float getShadowLayerRadius(){ return 0; }
|
||||
public float getStrikeThruPosition(){ return 0; }
|
||||
public float getStrikeThruThickness(){ return 0; }
|
||||
public float getStrokeMiter(){ return 0; }
|
||||
public float getStrokeWidth(){ return 0; }
|
||||
public float getTextRunAdvances(char[] p0, int p1, int p2, int p3, int p4, boolean p5, float[] p6, int p7){ return 0; }
|
||||
public float getTextScaleX(){ return 0; }
|
||||
public float getTextSize(){ return 0; }
|
||||
public float getTextSkewX(){ return 0; }
|
||||
public float getUnderlinePosition(){ return 0; }
|
||||
public float getUnderlineThickness(){ return 0; }
|
||||
public float getWordSpacing(){ return 0; }
|
||||
public float measureText(CharSequence p0, int p1, int p2){ return 0; }
|
||||
public float measureText(String p0){ return 0; }
|
||||
public float measureText(String p0, int p1, int p2){ return 0; }
|
||||
public float measureText(char[] p0, int p1, int p2){ return 0; }
|
||||
public int breakText(CharSequence p0, int p1, int p2, boolean p3, float p4, float[] p5){ return 0; }
|
||||
public int breakText(String p0, boolean p1, float p2, float[] p3){ return 0; }
|
||||
public int breakText(char[] p0, int p1, int p2, float p3, float[] p4){ return 0; }
|
||||
public int getAlpha(){ return 0; }
|
||||
public int getColor(){ return 0; }
|
||||
public int getEndHyphenEdit(){ return 0; }
|
||||
public int getFlags(){ return 0; }
|
||||
public int getFontMetricsInt(Paint.FontMetricsInt p0){ return 0; }
|
||||
public int getHinting(){ return 0; }
|
||||
public int getOffsetForAdvance(CharSequence p0, int p1, int p2, int p3, int p4, boolean p5, float p6){ return 0; }
|
||||
public int getOffsetForAdvance(char[] p0, int p1, int p2, int p3, int p4, boolean p5, float p6){ return 0; }
|
||||
public int getShadowLayerColor(){ return 0; }
|
||||
public int getStartHyphenEdit(){ return 0; }
|
||||
public int getTextRunCursor(CharSequence p0, int p1, int p2, boolean p3, int p4, int p5){ return 0; }
|
||||
public int getTextRunCursor(char[] p0, int p1, int p2, boolean p3, int p4, int p5){ return 0; }
|
||||
public int getTextWidths(CharSequence p0, int p1, int p2, float[] p3){ return 0; }
|
||||
public int getTextWidths(String p0, float[] p1){ return 0; }
|
||||
public int getTextWidths(String p0, int p1, int p2, float[] p3){ return 0; }
|
||||
public int getTextWidths(char[] p0, int p1, int p2, float[] p3){ return 0; }
|
||||
public long getColorLong(){ return 0; }
|
||||
public long getShadowLayerColorLong(){ return 0; }
|
||||
public static int ANTI_ALIAS_FLAG = 0;
|
||||
public static int CURSOR_AFTER = 0;
|
||||
public static int CURSOR_AT = 0;
|
||||
public static int CURSOR_AT_OR_AFTER = 0;
|
||||
public static int CURSOR_AT_OR_BEFORE = 0;
|
||||
public static int CURSOR_BEFORE = 0;
|
||||
public static int DEV_KERN_TEXT_FLAG = 0;
|
||||
public static int DITHER_FLAG = 0;
|
||||
public static int EMBEDDED_BITMAP_TEXT_FLAG = 0;
|
||||
public static int END_HYPHEN_EDIT_INSERT_ARMENIAN_HYPHEN = 0;
|
||||
public static int END_HYPHEN_EDIT_INSERT_HYPHEN = 0;
|
||||
public static int END_HYPHEN_EDIT_INSERT_MAQAF = 0;
|
||||
public static int END_HYPHEN_EDIT_INSERT_UCAS_HYPHEN = 0;
|
||||
public static int END_HYPHEN_EDIT_INSERT_ZWJ_AND_HYPHEN = 0;
|
||||
public static int END_HYPHEN_EDIT_NO_EDIT = 0;
|
||||
public static int END_HYPHEN_EDIT_REPLACE_WITH_HYPHEN = 0;
|
||||
public static int FAKE_BOLD_TEXT_FLAG = 0;
|
||||
public static int FILTER_BITMAP_FLAG = 0;
|
||||
public static int HINTING_OFF = 0;
|
||||
public static int HINTING_ON = 0;
|
||||
public static int LINEAR_TEXT_FLAG = 0;
|
||||
public static int START_HYPHEN_EDIT_INSERT_HYPHEN = 0;
|
||||
public static int START_HYPHEN_EDIT_INSERT_ZWJ = 0;
|
||||
public static int START_HYPHEN_EDIT_NO_EDIT = 0;
|
||||
public static int STRIKE_THRU_TEXT_FLAG = 0;
|
||||
public static int SUBPIXEL_TEXT_FLAG = 0;
|
||||
public static int UNDERLINE_TEXT_FLAG = 0;
|
||||
public void clearShadowLayer(){}
|
||||
public void getTextBounds(CharSequence p0, int p1, int p2, Rect p3){}
|
||||
public void getTextBounds(String p0, int p1, int p2, Rect p3){}
|
||||
public void getTextBounds(char[] p0, int p1, int p2, Rect p3){}
|
||||
public void getTextPath(String p0, int p1, int p2, float p3, float p4, Path p5){}
|
||||
public void getTextPath(char[] p0, int p1, int p2, float p3, float p4, Path p5){}
|
||||
public void reset(){}
|
||||
public void set(Paint p0){}
|
||||
public void setARGB(int p0, int p1, int p2, int p3){}
|
||||
public void setAlpha(int p0){}
|
||||
public void setAntiAlias(boolean p0){}
|
||||
public void setBlendMode(BlendMode p0){}
|
||||
public void setColor(int p0){}
|
||||
public void setColor(long p0){}
|
||||
public void setDither(boolean p0){}
|
||||
public void setElegantTextHeight(boolean p0){}
|
||||
public void setEndHyphenEdit(int p0){}
|
||||
public void setFakeBoldText(boolean p0){}
|
||||
public void setFilterBitmap(boolean p0){}
|
||||
public void setFlags(int p0){}
|
||||
public void setFontFeatureSettings(String p0){}
|
||||
public void setHinting(int p0){}
|
||||
public void setLetterSpacing(float p0){}
|
||||
public void setLinearText(boolean p0){}
|
||||
public void setShadowLayer(float p0, float p1, float p2, int p3){}
|
||||
public void setShadowLayer(float p0, float p1, float p2, long p3){}
|
||||
public void setStartHyphenEdit(int p0){}
|
||||
public void setStrikeThruText(boolean p0){}
|
||||
public void setStrokeCap(Paint.Cap p0){}
|
||||
public void setStrokeJoin(Paint.Join p0){}
|
||||
public void setStrokeMiter(float p0){}
|
||||
public void setStrokeWidth(float p0){}
|
||||
public void setStyle(Paint.Style p0){}
|
||||
public void setSubpixelText(boolean p0){}
|
||||
public void setTextAlign(Paint.Align p0){}
|
||||
public void setTextLocale(Locale p0){}
|
||||
public void setTextLocales(LocaleList p0){}
|
||||
public void setTextScaleX(float p0){}
|
||||
public void setTextSize(float p0){}
|
||||
public void setTextSkewX(float p0){}
|
||||
public void setUnderlineText(boolean p0){}
|
||||
public void setWordSpacing(float p0){}
|
||||
static public class FontMetrics
|
||||
{
|
||||
public FontMetrics(){}
|
||||
public float ascent = 0;
|
||||
public float bottom = 0;
|
||||
public float descent = 0;
|
||||
public float leading = 0;
|
||||
public float top = 0;
|
||||
}
|
||||
static public class FontMetricsInt
|
||||
{
|
||||
public FontMetricsInt(){}
|
||||
public String toString(){ return null; }
|
||||
public int ascent = 0;
|
||||
public int bottom = 0;
|
||||
public int descent = 0;
|
||||
public int leading = 0;
|
||||
public int top = 0;
|
||||
}
|
||||
static public enum Align
|
||||
{
|
||||
CENTER, LEFT, RIGHT;
|
||||
private Align() {}
|
||||
}
|
||||
static public enum Cap
|
||||
{
|
||||
BUTT, ROUND, SQUARE;
|
||||
private Cap() {}
|
||||
}
|
||||
static public enum Join
|
||||
{
|
||||
BEVEL, MITER, ROUND;
|
||||
private Join() {}
|
||||
}
|
||||
static public enum Style
|
||||
{
|
||||
FILL, FILL_AND_STROKE, STROKE;
|
||||
private Style() {}
|
||||
}
|
||||
}
|
||||
73
java/ql/test/stubs/android/android/graphics/Path.java
generated
Normal file
73
java/ql/test/stubs/android/android/graphics/Path.java
generated
Normal file
@@ -0,0 +1,73 @@
|
||||
// Generated automatically from android.graphics.Path for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Matrix;
|
||||
import android.graphics.RectF;
|
||||
|
||||
public class Path
|
||||
{
|
||||
public Path(){}
|
||||
public Path(Path p0){}
|
||||
public Path.FillType getFillType(){ return null; }
|
||||
public boolean isConvex(){ return false; }
|
||||
public boolean isEmpty(){ return false; }
|
||||
public boolean isInverseFillType(){ return false; }
|
||||
public boolean isRect(RectF p0){ return false; }
|
||||
public boolean op(Path p0, Path p1, Path.Op p2){ return false; }
|
||||
public boolean op(Path p0, Path.Op p1){ return false; }
|
||||
public float[] approximate(float p0){ return null; }
|
||||
public void addArc(RectF p0, float p1, float p2){}
|
||||
public void addArc(float p0, float p1, float p2, float p3, float p4, float p5){}
|
||||
public void addCircle(float p0, float p1, float p2, Path.Direction p3){}
|
||||
public void addOval(RectF p0, Path.Direction p1){}
|
||||
public void addOval(float p0, float p1, float p2, float p3, Path.Direction p4){}
|
||||
public void addPath(Path p0){}
|
||||
public void addPath(Path p0, Matrix p1){}
|
||||
public void addPath(Path p0, float p1, float p2){}
|
||||
public void addRect(RectF p0, Path.Direction p1){}
|
||||
public void addRect(float p0, float p1, float p2, float p3, Path.Direction p4){}
|
||||
public void addRoundRect(RectF p0, float p1, float p2, Path.Direction p3){}
|
||||
public void addRoundRect(RectF p0, float[] p1, Path.Direction p2){}
|
||||
public void addRoundRect(float p0, float p1, float p2, float p3, float p4, float p5, Path.Direction p6){}
|
||||
public void addRoundRect(float p0, float p1, float p2, float p3, float[] p4, Path.Direction p5){}
|
||||
public void arcTo(RectF p0, float p1, float p2){}
|
||||
public void arcTo(RectF p0, float p1, float p2, boolean p3){}
|
||||
public void arcTo(float p0, float p1, float p2, float p3, float p4, float p5, boolean p6){}
|
||||
public void close(){}
|
||||
public void computeBounds(RectF p0, boolean p1){}
|
||||
public void cubicTo(float p0, float p1, float p2, float p3, float p4, float p5){}
|
||||
public void incReserve(int p0){}
|
||||
public void lineTo(float p0, float p1){}
|
||||
public void moveTo(float p0, float p1){}
|
||||
public void offset(float p0, float p1){}
|
||||
public void offset(float p0, float p1, Path p2){}
|
||||
public void quadTo(float p0, float p1, float p2, float p3){}
|
||||
public void rCubicTo(float p0, float p1, float p2, float p3, float p4, float p5){}
|
||||
public void rLineTo(float p0, float p1){}
|
||||
public void rMoveTo(float p0, float p1){}
|
||||
public void rQuadTo(float p0, float p1, float p2, float p3){}
|
||||
public void reset(){}
|
||||
public void rewind(){}
|
||||
public void set(Path p0){}
|
||||
public void setFillType(Path.FillType p0){}
|
||||
public void setLastPoint(float p0, float p1){}
|
||||
public void toggleInverseFillType(){}
|
||||
public void transform(Matrix p0){}
|
||||
public void transform(Matrix p0, Path p1){}
|
||||
static public enum Direction
|
||||
{
|
||||
CCW, CW;
|
||||
private Direction() {}
|
||||
}
|
||||
static public enum FillType
|
||||
{
|
||||
EVEN_ODD, INVERSE_EVEN_ODD, INVERSE_WINDING, WINDING;
|
||||
private FillType() {}
|
||||
}
|
||||
static public enum Op
|
||||
{
|
||||
DIFFERENCE, INTERSECT, REVERSE_DIFFERENCE, UNION, XOR;
|
||||
private Op() {}
|
||||
}
|
||||
}
|
||||
10
java/ql/test/stubs/android/android/graphics/PathEffect.java
generated
Normal file
10
java/ql/test/stubs/android/android/graphics/PathEffect.java
generated
Normal file
@@ -0,0 +1,10 @@
|
||||
// Generated automatically from android.graphics.PathEffect for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public class PathEffect
|
||||
{
|
||||
protected void finalize(){}
|
||||
public PathEffect(){}
|
||||
}
|
||||
18
java/ql/test/stubs/android/android/graphics/Picture.java
generated
Normal file
18
java/ql/test/stubs/android/android/graphics/Picture.java
generated
Normal file
@@ -0,0 +1,18 @@
|
||||
// Generated automatically from android.graphics.Picture for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
|
||||
public class Picture
|
||||
{
|
||||
protected void finalize(){}
|
||||
public Canvas beginRecording(int p0, int p1){ return null; }
|
||||
public Picture(){}
|
||||
public Picture(Picture p0){}
|
||||
public boolean requiresHardwareAcceleration(){ return false; }
|
||||
public int getHeight(){ return 0; }
|
||||
public int getWidth(){ return 0; }
|
||||
public void draw(Canvas p0){}
|
||||
public void endRecording(){}
|
||||
}
|
||||
26
java/ql/test/stubs/android/android/graphics/Point.java
generated
Normal file
26
java/ql/test/stubs/android/android/graphics/Point.java
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
// Generated automatically from android.graphics.Point for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class Point implements Parcelable
|
||||
{
|
||||
public Point(){}
|
||||
public Point(Point p0){}
|
||||
public Point(int p0, int p1){}
|
||||
public String toString(){ return null; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public final boolean equals(int p0, int p1){ return false; }
|
||||
public final void negate(){}
|
||||
public final void offset(int p0, int p1){}
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public int x = 0;
|
||||
public int y = 0;
|
||||
public static Parcelable.Creator<Point> CREATOR = null;
|
||||
public void readFromParcel(Parcel p0){}
|
||||
public void set(int p0, int p1){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
14
java/ql/test/stubs/android/android/graphics/PorterDuff.java
generated
Normal file
14
java/ql/test/stubs/android/android/graphics/PorterDuff.java
generated
Normal file
@@ -0,0 +1,14 @@
|
||||
// Generated automatically from android.graphics.PorterDuff for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
|
||||
public class PorterDuff
|
||||
{
|
||||
public PorterDuff(){}
|
||||
static public enum Mode
|
||||
{
|
||||
ADD, CLEAR, DARKEN, DST, DST_ATOP, DST_IN, DST_OUT, DST_OVER, LIGHTEN, MULTIPLY, OVERLAY, SCREEN, SRC, SRC_ATOP, SRC_IN, SRC_OUT, SRC_OVER, XOR;
|
||||
private Mode() {}
|
||||
}
|
||||
}
|
||||
82
java/ql/test/stubs/android/android/graphics/RecordingCanvas.java
generated
Normal file
82
java/ql/test/stubs/android/android/graphics/RecordingCanvas.java
generated
Normal file
@@ -0,0 +1,82 @@
|
||||
// Generated automatically from android.graphics.RecordingCanvas for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BlendMode;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Matrix;
|
||||
import android.graphics.NinePatch;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Path;
|
||||
import android.graphics.Picture;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.RectF;
|
||||
import android.graphics.RenderNode;
|
||||
import android.graphics.text.MeasuredText;
|
||||
|
||||
public class RecordingCanvas extends Canvas
|
||||
{
|
||||
public boolean isHardwareAccelerated(){ return false; }
|
||||
public boolean isOpaque(){ return false; }
|
||||
public final void drawARGB(int p0, int p1, int p2, int p3){}
|
||||
public final void drawArc(RectF p0, float p1, float p2, boolean p3, Paint p4){}
|
||||
public final void drawArc(float p0, float p1, float p2, float p3, float p4, float p5, boolean p6, Paint p7){}
|
||||
public final void drawBitmap(Bitmap p0, Matrix p1, Paint p2){}
|
||||
public final void drawBitmap(Bitmap p0, Rect p1, Rect p2, Paint p3){}
|
||||
public final void drawBitmap(Bitmap p0, Rect p1, RectF p2, Paint p3){}
|
||||
public final void drawBitmap(Bitmap p0, float p1, float p2, Paint p3){}
|
||||
public final void drawBitmap(int[] p0, int p1, int p2, float p3, float p4, int p5, int p6, boolean p7, Paint p8){}
|
||||
public final void drawBitmap(int[] p0, int p1, int p2, int p3, int p4, int p5, int p6, boolean p7, Paint p8){}
|
||||
public final void drawBitmapMesh(Bitmap p0, int p1, int p2, float[] p3, int p4, int[] p5, int p6, Paint p7){}
|
||||
public final void drawCircle(float p0, float p1, float p2, Paint p3){}
|
||||
public final void drawColor(int p0){}
|
||||
public final void drawColor(int p0, BlendMode p1){}
|
||||
public final void drawColor(int p0, PorterDuff.Mode p1){}
|
||||
public final void drawColor(long p0, BlendMode p1){}
|
||||
public final void drawDoubleRoundRect(RectF p0, float p1, float p2, RectF p3, float p4, float p5, Paint p6){}
|
||||
public final void drawDoubleRoundRect(RectF p0, float[] p1, RectF p2, float[] p3, Paint p4){}
|
||||
public final void drawLine(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public final void drawLines(float[] p0, Paint p1){}
|
||||
public final void drawLines(float[] p0, int p1, int p2, Paint p3){}
|
||||
public final void drawOval(RectF p0, Paint p1){}
|
||||
public final void drawOval(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public final void drawPaint(Paint p0){}
|
||||
public final void drawPatch(NinePatch p0, Rect p1, Paint p2){}
|
||||
public final void drawPatch(NinePatch p0, RectF p1, Paint p2){}
|
||||
public final void drawPath(Path p0, Paint p1){}
|
||||
public final void drawPicture(Picture p0){}
|
||||
public final void drawPicture(Picture p0, Rect p1){}
|
||||
public final void drawPicture(Picture p0, RectF p1){}
|
||||
public final void drawPoint(float p0, float p1, Paint p2){}
|
||||
public final void drawPoints(float[] p0, Paint p1){}
|
||||
public final void drawPoints(float[] p0, int p1, int p2, Paint p3){}
|
||||
public final void drawPosText(String p0, float[] p1, Paint p2){}
|
||||
public final void drawPosText(char[] p0, int p1, int p2, float[] p3, Paint p4){}
|
||||
public final void drawRGB(int p0, int p1, int p2){}
|
||||
public final void drawRect(Rect p0, Paint p1){}
|
||||
public final void drawRect(RectF p0, Paint p1){}
|
||||
public final void drawRect(float p0, float p1, float p2, float p3, Paint p4){}
|
||||
public final void drawRoundRect(RectF p0, float p1, float p2, Paint p3){}
|
||||
public final void drawRoundRect(float p0, float p1, float p2, float p3, float p4, float p5, Paint p6){}
|
||||
public final void drawText(CharSequence p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public final void drawText(String p0, float p1, float p2, Paint p3){}
|
||||
public final void drawText(String p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public final void drawText(char[] p0, int p1, int p2, float p3, float p4, Paint p5){}
|
||||
public final void drawTextOnPath(String p0, Path p1, float p2, float p3, Paint p4){}
|
||||
public final void drawTextOnPath(char[] p0, int p1, int p2, Path p3, float p4, float p5, Paint p6){}
|
||||
public final void drawTextRun(CharSequence p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public final void drawTextRun(char[] p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public final void drawVertices(Canvas.VertexMode p0, int p1, float[] p2, int p3, float[] p4, int p5, int[] p6, int p7, short[] p8, int p9, int p10, Paint p11){}
|
||||
public int getHeight(){ return 0; }
|
||||
public int getMaximumBitmapHeight(){ return 0; }
|
||||
public int getMaximumBitmapWidth(){ return 0; }
|
||||
public int getWidth(){ return 0; }
|
||||
public void disableZ(){}
|
||||
public void drawRenderNode(RenderNode p0){}
|
||||
public void drawTextRun(MeasuredText p0, int p1, int p2, int p3, int p4, float p5, float p6, boolean p7, Paint p8){}
|
||||
public void enableZ(){}
|
||||
public void setBitmap(Bitmap p0){}
|
||||
public void setDensity(int p0){}
|
||||
}
|
||||
52
java/ql/test/stubs/android/android/graphics/Rect.java
generated
Normal file
52
java/ql/test/stubs/android/android/graphics/Rect.java
generated
Normal file
@@ -0,0 +1,52 @@
|
||||
// Generated automatically from android.graphics.Rect for testing purposes
|
||||
|
||||
package android.graphics;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
public class Rect implements Parcelable
|
||||
{
|
||||
public Rect(){}
|
||||
public Rect(Rect p0){}
|
||||
public Rect(int p0, int p1, int p2, int p3){}
|
||||
public String flattenToString(){ return null; }
|
||||
public String toShortString(){ return null; }
|
||||
public String toString(){ return null; }
|
||||
public boolean contains(Rect p0){ return false; }
|
||||
public boolean contains(int p0, int p1){ return false; }
|
||||
public boolean contains(int p0, int p1, int p2, int p3){ return false; }
|
||||
public boolean equals(Object p0){ return false; }
|
||||
public boolean intersect(Rect p0){ return false; }
|
||||
public boolean intersect(int p0, int p1, int p2, int p3){ return false; }
|
||||
public boolean intersects(int p0, int p1, int p2, int p3){ return false; }
|
||||
public boolean isEmpty(){ return false; }
|
||||
public boolean setIntersect(Rect p0, Rect p1){ return false; }
|
||||
public float exactCenterX(){ return 0; }
|
||||
public float exactCenterY(){ return 0; }
|
||||
public int bottom = 0;
|
||||
public int centerX(){ return 0; }
|
||||
public int centerY(){ return 0; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int hashCode(){ return 0; }
|
||||
public int height(){ return 0; }
|
||||
public int left = 0;
|
||||
public int right = 0;
|
||||
public int top = 0;
|
||||
public int width(){ return 0; }
|
||||
public static Parcelable.Creator<Rect> CREATOR = null;
|
||||
public static Rect unflattenFromString(String p0){ return null; }
|
||||
public static boolean intersects(Rect p0, Rect p1){ return false; }
|
||||
public void inset(int p0, int p1){}
|
||||
public void offset(int p0, int p1){}
|
||||
public void offsetTo(int p0, int p1){}
|
||||
public void readFromParcel(Parcel p0){}
|
||||
public void set(Rect p0){}
|
||||
public void set(int p0, int p1, int p2, int p3){}
|
||||
public void setEmpty(){}
|
||||
public void sort(){}
|
||||
public void union(Rect p0){}
|
||||
public void union(int p0, int p1){}
|
||||
public void union(int p0, int p1, int p2, int p3){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user