mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Merge branch 'main' into rb/summarize-loads-v2
This commit is contained in:
23
csharp/ql/src/meta/frameworks/UnsupportedExternalAPIs.ql
Normal file
23
csharp/ql/src/meta/frameworks/UnsupportedExternalAPIs.ql
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @name Usage of unsupported external library API
|
||||
* @description A call to an unsuppported external library API.
|
||||
* @kind problem
|
||||
* @problem.severity recommendation
|
||||
* @tags meta
|
||||
* @id csharp/meta/unsupported-external-api
|
||||
* @precision very-low
|
||||
*/
|
||||
|
||||
private import csharp
|
||||
private import semmle.code.csharp.dispatch.Dispatch
|
||||
private import semmle.code.csharp.dataflow.internal.FlowSummaryImpl as FlowSummaryImpl
|
||||
private import semmle.code.csharp.dataflow.internal.NegativeSummary
|
||||
private import Telemetry.ExternalApi
|
||||
|
||||
from DispatchCall c, ExternalApi api
|
||||
where
|
||||
c = api.getACall() and
|
||||
not api.isUninteresting() and
|
||||
not api.isSupported() and
|
||||
not api instanceof FlowSummaryImpl::Public::NegativeSummarizedCallable
|
||||
select c, "Call to unsupported external API $@.", api, api.toString()
|
||||
@@ -15,11 +15,13 @@ For information about writing queries to run with ``database analyze``, see
|
||||
|
||||
Before starting an analysis you must:
|
||||
|
||||
- :doc:`Set up the CodeQL CLI <getting-started-with-the-codeql-cli>` so that it can find the queries
|
||||
and libraries included in the CodeQL repository.
|
||||
- :doc:`Set up the CodeQL CLI <getting-started-with-the-codeql-cli>` to run commands locally.
|
||||
- :doc:`Create a CodeQL database <creating-codeql-databases>` for the source
|
||||
code you want to analyze.
|
||||
|
||||
The simplest way to run ``codeql database analyze`` is using CodeQL packs. You can also
|
||||
run the command using queries from a local checkout of the CodeQL repository,
|
||||
which you may want to do if you want to customize the CodeQL core queries.
|
||||
|
||||
Running ``codeql database analyze``
|
||||
------------------------------------
|
||||
@@ -34,7 +36,7 @@ When you run ``database analyze``, it:
|
||||
|
||||
You can analyze a database by running the following command::
|
||||
|
||||
codeql database analyze <database> --format=<format> --output=<output> <queries>
|
||||
codeql database analyze <database> --format=<format> --output=<output> <query-specifiers>...
|
||||
|
||||
|
||||
You must specify:
|
||||
@@ -52,8 +54,8 @@ You must specify:
|
||||
|
||||
You can also specify:
|
||||
|
||||
- ``...<query-specifications>``: a list of queries to run over your database. This
|
||||
is a list of arguments. Where each argument can be:
|
||||
- ``<query-specifiers>...``: a space-separated list of queries to run over your database. This
|
||||
is a list of arguments, where each argument can be:
|
||||
|
||||
- a path to a query file
|
||||
- a path to a directory containing query files
|
||||
@@ -62,7 +64,7 @@ You can also specify:
|
||||
- with an optional version range
|
||||
- with an optional path to a query, directory, or query suite inside the pack
|
||||
|
||||
If omitted, the default query suite for the language of the database being analyzed will be used. For more information, see the :ref:`examples <database-analyze-examples>` below.
|
||||
If omitted, the default query suite for the language of the analyzed database will be used. For the complete syntax of query specifiers, see :ref:`"Specifying which queries to run in a CodeQL pack"<specifying-which-queries>`.
|
||||
|
||||
- ``--sarif-category``: an identifying category for the results. Used when
|
||||
you want to upload more than one set of results for a commit.
|
||||
@@ -95,14 +97,77 @@ You can also specify:
|
||||
For full details of all the options you can use when analyzing databases, see
|
||||
the `database analyze reference documentation <../manual/database-analyze>`__.
|
||||
|
||||
.. _database-analyze-examples:
|
||||
|
||||
Examples
|
||||
--------
|
||||
.. _specifying-which-queries:
|
||||
|
||||
The following examples assume your CodeQL databases have been created in a
|
||||
directory that is a sibling of your local copies of the CodeQL and CodeQL for Go
|
||||
repositories.
|
||||
Specifying which queries to run in a CodeQL pack
|
||||
------------------------------------------------
|
||||
|
||||
Query specifiers are used by ``codeql database analyze`` and other commands that operate on a set of queries.
|
||||
The complete form of a query specifier is``scope/name@range:path``, where:
|
||||
|
||||
- ``scope/name`` is the qualified name of a CodeQL pack.
|
||||
- ``range`` is a `semver range <https://docs.npmjs.com/cli/v6/using-npm/semver#ranges>`_.
|
||||
- ``path`` is a file system path to a single query, a directory containing queries, or a query suite file.
|
||||
|
||||
When you specify a ``scope/name``, the ``range`` and ``path`` are
|
||||
optional. If you omit a ``range`` then the latest version of the
|
||||
specified pack is used. If you omit a ``path`` then the default query suite
|
||||
of the specified pack is used.
|
||||
|
||||
The ``path`` can be one of: a ``.ql`` query file, a directory
|
||||
containing one or more queries, or a ``.qls`` query suite file. If
|
||||
you omit a pack name, then you must provide a ``path``,
|
||||
which will be interpreted relative to the working directory
|
||||
of the current process. Glob patterns are not supported.
|
||||
|
||||
If you specify both a ``scope/name`` and ``path``, then the ``path`` cannot
|
||||
be absolute. It is considered relative to the root of the CodeQL
|
||||
pack.
|
||||
|
||||
Example query specifiers
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* ``codeql/python-queries`` - All the queries in the default query suite of the latest version of the ``codeql/python-queries`` pack.
|
||||
* ``codeql/python-queries@1.2.3`` - All the queries in the default query suite of version ``1.2.3`` of the ``codeql/python-queries`` pack.
|
||||
* ``codeql/python-queries@~1.2.3`` - All the queries in the default query suite of the latest version of the ``codeql/python-queries`` pack that is >= ``1.2.3`` and < ``1.3.0``.
|
||||
* ``codeql/python-queries:Functions`` - All queries in the ``Functions`` directory in the latest version of the ``codeql/python-queries`` pack.
|
||||
* ``codeql/python-queries@1.2.3:Functions`` - All queries in the ``Functions`` directory in version 1.2.3 of the ``codeql/python-queries`` pack.
|
||||
* ``codeql/python-queries@1.2.3:codeql-suites/python-code-scanning.qls`` - All queries in the ``codeql-suites/python-code-scanning.qls`` directory in version 1.2.3 of the ``codeql/python-queries`` pack.
|
||||
* ``suites/my-suite.qls`` - All queries in the ``suites/my-suite.qls`` file relative to the current working directory.
|
||||
|
||||
.. pull-quote::
|
||||
|
||||
Tip
|
||||
|
||||
The default query suite of the standard CodeQL query packs are ``codeql-suites/<lang>-code-scanning.qls``. Several other useful query suites can also be found in the ``codeql-suites`` directory of each pack. For example, the ``codeql/cpp-queries`` pack contains the following query suites:
|
||||
|
||||
* ``cpp-code-scanning.qls`` - Standard Code Scanning queries for C++. The default query suite for this pack.
|
||||
* ``cpp-security-extended.qls`` - Queries from the default ``cpp-code-scanning.qls`` suite for C++, plus lower severity and precision queries.
|
||||
* ``cpp-security-and-quality.qls`` - Queries from ``cpp-security-extended.qls``, plus maintainability and reliability queries.
|
||||
|
||||
You can see the sources for these query suites in the `CodeQL repository <https://github.com/github/codeql/tree/main/cpp/ql/src/codeql-suites>`__. Query suites for other languages are similar.
|
||||
|
||||
Examples of running database analyses
|
||||
---------------------------------------------
|
||||
|
||||
The following examples show how to run ``database analyze`` using CodeQL packs, and how to use a local checkout of the CodeQL repository. These examples assume your CodeQL databases have been created in a directory that is a sibling of your local copies of the CodeQL repository.
|
||||
|
||||
.. _run-query-pack:
|
||||
|
||||
Running a CodeQL query pack
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. include:: ../reusables/beta-note-package-management.rst
|
||||
|
||||
To run an existing CodeQL query pack from the GitHub Container registry, you can specify one or more
|
||||
pack names::
|
||||
|
||||
codeql database analyze <database> microsoft/coding-standards@1.0.0 github/security-queries --format=sarifv2.1.0 --output=query-results.sarif --download
|
||||
|
||||
This command runs the default query suite of two CodeQL query packs: ``microsoft/coding-standards`` version 1.0.0 and the latest version of ``github/security-queries`` on the specified database. For further information about default suites, see ":ref:`Publishing and using CodeQL packs <publishing-and-using-codeql-packs>`".
|
||||
|
||||
The ``--download`` flag is optional. Using it will ensure the query pack is downloaded if it isn't yet available locally.
|
||||
|
||||
Running a single query
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
@@ -110,41 +175,23 @@ Running a single query
|
||||
To run a single query over a CodeQL database for a JavaScript codebase,
|
||||
you could use the following command from the directory containing your database::
|
||||
|
||||
codeql database analyze <javascript-database> ../ql/javascript/ql/src/Declarations/UnusedVariable.ql --format=csv --output=js-analysis/js-results.csv
|
||||
codeql database analyze --download <javascript-database> codeql/javascript-queries:Declarations/UnusedVariable.ql --format=csv --output=js-analysis/js-results.csv
|
||||
|
||||
This command runs a simple query that finds potential bugs related to unused
|
||||
variables, imports, functions, or classes---it is one of the JavaScript
|
||||
queries included in the CodeQL repository. You could run more than one query by
|
||||
specifying a space-separated list of similar paths.
|
||||
|
||||
The analysis generates a CSV file (``js-results.csv``) in a new directory
|
||||
(``js-analysis``).
|
||||
The analysis generates a CSV file (``js-results.csv``) in a new directory (``js-analysis``).
|
||||
|
||||
Alternatively, if you have the CodeQL repository checked out, you can execute the same queries by specifying the path to the query directly::
|
||||
|
||||
codeql database analyze <javascript-database> ../ql/javascript/ql/src/Declarations/UnusedVariable.ql --format=csv --output=js-analysis/js-results.csv
|
||||
|
||||
You can also run your own custom queries with the ``database analyze`` command.
|
||||
For more information about preparing your queries to use with the CodeQL CLI,
|
||||
see ":doc:`Using custom queries with the CodeQL CLI <using-custom-queries-with-the-codeql-cli>`."
|
||||
|
||||
If you do not have the CodeQL repository checked out, you can execute the same queries by specifying the query pack name and the path to the queries::
|
||||
|
||||
codeql database analyze --download <javascript-database> codeql/javascript-queries:Declarations/UnusedVariable.ql --format=csv --output=js-analysis/js-results.csv
|
||||
|
||||
Use the ``--download`` flag to download the query pack if it isn't yet available locally.
|
||||
|
||||
.. _run-query-pack:
|
||||
|
||||
Running a CodeQL pack
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. include:: ../reusables/beta-note-package-management.rst
|
||||
|
||||
To run an existing CodeQL query pack from the GitHub Container registry, you can specify one or more
|
||||
pack names and use the ``--download`` flag::
|
||||
|
||||
codeql database analyze <database> microsoft/coding-standards@1.0.0 github/security-queries --format=sarifv2.1.0 --output=query-results.sarif --download
|
||||
|
||||
The ``analyze`` command above runs the default suite from ``microsoft/coding-standards v1.0.0`` and the latest version of ``github/security-queries`` on the specified database.
|
||||
For further information about default suites, see ":ref:`Publishing and using CodeQL packs <publishing-and-using-codeql-packs>`".
|
||||
|
||||
Running all queries in a directory
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -163,7 +210,13 @@ recursively, so any queries contained in subfolders will also be executed.
|
||||
pack's default queries in the analysis, or run one of the
|
||||
code scanning query suites.
|
||||
|
||||
For example, to execute all Python queries contained in the ``Functions`` directory you would run::
|
||||
For example, to execute all Python queries contained in the ``Functions`` directory in the
|
||||
``codeql/python-queries`` query pack you would run::
|
||||
|
||||
codeql database analyze <python-database> codeql/python-queries:Functions --format=sarif-latest --output=python-analysis/python-results.sarif --download
|
||||
|
||||
Alternatively, if you have the CodeQL repository checked out, you can execute the
|
||||
same queries by specifying the path to the directory directly::
|
||||
|
||||
codeql database analyze <python-database> ../ql/python/ql/src/Functions/ --format=sarif-latest --output=python-analysis/python-results.sarif
|
||||
|
||||
@@ -171,8 +224,6 @@ When the analysis has finished, a SARIF results file is generated. Specifying ``
|
||||
that the results are formatted according to the most recent SARIF specification
|
||||
supported by CodeQL.
|
||||
|
||||
.. _including-query-help-for-custom-codeql-queries-in-sarif-files:
|
||||
|
||||
Running a subset of queries in a CodeQL pack
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -224,13 +275,12 @@ For more information about CodeQL packs, see :doc:`About CodeQL Packs <about-cod
|
||||
Running query suites
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
To run a query suite over a CodeQL database for a C/C++ codebase,
|
||||
To run a query suite on a CodeQL database for a C/C++ codebase,
|
||||
you could use the following command from the directory containing your database::
|
||||
|
||||
codeql database analyze <cpp-database> cpp-code-scanning.qls --format=sarifv2.1.0 --output=cpp-results.sarif
|
||||
codeql database analyze <cpp-database> codeql/cpp-queries:codeql-suites/cpp-code-scanning.qls --format=sarifv2.1.0 --output=cpp-results.sarif --download
|
||||
|
||||
The analysis generates a file in the v2.1.0 SARIF format that is supported by all versions of GitHub.
|
||||
This file can be uploaded to GitHub by executing ``codeql github upload-results`` or the code scanning API.
|
||||
This command downloads the ``codeql/cpp-queries`` CodeQL query pack, runs the analysis, and generates a file in the SARIF version 2.1.0 format that is supported by all versions of GitHub. This file can be uploaded to GitHub by executing ``codeql github upload-results`` or the code scanning API.
|
||||
For more information, see `Analyzing a CodeQL database <https://docs.github.com/en/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system#analyzing-a-codeql-database>`__
|
||||
or `Code scanning API <https://docs.github.com/en/rest/reference/code-scanning>`__ in the GitHub documentation.
|
||||
|
||||
@@ -238,19 +288,8 @@ CodeQL query suites are ``.qls`` files that use directives to select queries to
|
||||
based on certain metadata properties. The standard CodeQL packs have metadata that specify
|
||||
the location of the query suites used by code scanning, so the CodeQL CLI knows where to find these
|
||||
suite files automatically, and you don't have to specify the full path on the command line.
|
||||
For more information, see ":ref:`About CodeQL packs <standard-codeql-packs>`."
|
||||
For more information, see ":ref:`Creating CodeQL query suites <creating-codeql-query-suites>`."
|
||||
|
||||
The standard query suites are stored at the following paths in
|
||||
the CodeQL repository::
|
||||
|
||||
ql/<language>/ql/src/codeql-suites/<language>-code-scanning.qls
|
||||
|
||||
and at the following path in the CodeQL for Go repository::
|
||||
|
||||
ql/src/codeql-suites/go-code-scanning.qls
|
||||
|
||||
The repository also includes the query suites used by `LGTM.com <https://lgtm.com>`__.
|
||||
These are stored alongside the query suites for code scanning with names of the form: ``<language>-lgtm.qls``.
|
||||
|
||||
For information about creating custom query suites, see ":doc:`Creating
|
||||
CodeQL query suites <creating-codeql-query-suites>`."
|
||||
@@ -265,11 +304,11 @@ If the analysis found fewer results for standard queries than you expected, revi
|
||||
Integrating a CodeQL pack into a code scanning workflow in GitHub
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. include:: ../reusables/beta-note-package-management.rst
|
||||
|
||||
You can use CodeQL query packs in your code scanning setup. This allows you to select query packs published by various sources and use them to analyze your code.
|
||||
For more information, see "`Using CodeQL query packs in the CodeQL action <https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-codeql-query-packs/>`_" or "`Downloading and using CodeQL query packs in your CI system <https://docs.github.com/en/code-security/secure-coding/using-codeql-code-scanning-with-your-existing-ci-system/configuring-codeql-cli-in-your-ci-system#downloading-and-using-codeql-query-packs>`_."
|
||||
|
||||
.. _including-query-help-for-custom-codeql-queries-in-sarif-files:
|
||||
|
||||
Including query help for custom CodeQL queries in SARIF files
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.github.codeql
|
||||
import com.github.codeql.comments.CommentExtractor
|
||||
import com.github.codeql.utils.*
|
||||
import com.github.codeql.utils.versions.functionN
|
||||
import com.github.codeql.utils.versions.getIrStubFromDescriptor
|
||||
import com.github.codeql.utils.versions.isUnderscoreParameter
|
||||
import com.semmle.extractor.java.OdasaOutput
|
||||
import org.jetbrains.kotlin.backend.common.extensions.IrPluginContext
|
||||
@@ -1788,7 +1787,8 @@ open class KotlinFileExtractor(
|
||||
|
||||
private fun extractCall(c: IrCall, callable: Label<out DbCallable>, stmtExprParent: StmtExprParent) {
|
||||
with("call", c) {
|
||||
val target = tryReplaceSyntheticFunction(c.symbol.owner)
|
||||
val owner = getBoundSymbolOwner(c.symbol, c) ?: return
|
||||
val target = tryReplaceSyntheticFunction(owner)
|
||||
|
||||
// The vast majority of types of call want an expr context, so make one available lazily:
|
||||
val exprParent by lazy {
|
||||
@@ -2965,15 +2965,7 @@ open class KotlinFileExtractor(
|
||||
tw.writeCallableEnclosingExpr(id, callable)
|
||||
tw.writeStatementEnclosingExpr(id, exprParent.enclosingStmt)
|
||||
|
||||
val owner = if (e.symbol.isBound) {
|
||||
e.symbol.owner
|
||||
}
|
||||
else {
|
||||
logger.warnElement("Unbound enum value, trying to use enum entry stub from descriptor", e)
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
getIrStubFromDescriptor() { it.generateEnumEntryStub(e.symbol.descriptor) }
|
||||
} ?: return
|
||||
val owner = getBoundSymbolOwner(e.symbol, e) ?: return
|
||||
|
||||
val vId = useEnumEntry(owner)
|
||||
tw.writeVariableBinding(id, vId)
|
||||
@@ -3150,15 +3142,7 @@ open class KotlinFileExtractor(
|
||||
// automatically-generated `public static final MyObject INSTANCE`
|
||||
// field that we are accessing here.
|
||||
val exprParent = parent.expr(e, callable)
|
||||
val c = if (e.symbol.isBound) {
|
||||
e.symbol.owner
|
||||
}
|
||||
else {
|
||||
logger.warnElement("Unbound object value, trying to use class stub from descriptor", e)
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
getIrStubFromDescriptor() { it.generateClassStub(e.symbol.descriptor) }
|
||||
} ?: return
|
||||
val c = getBoundSymbolOwner(e.symbol, e) ?: return
|
||||
|
||||
val instance = if (c.isCompanion) useCompanionObjectClassInstance(c) else useObjectClassInstance(c)
|
||||
|
||||
@@ -3271,6 +3255,15 @@ open class KotlinFileExtractor(
|
||||
}
|
||||
}
|
||||
|
||||
private inline fun <D: DeclarationDescriptor, reified B: IrSymbolOwner> getBoundSymbolOwner(symbol: IrBindableSymbol<D, B>, e: IrExpression): B? {
|
||||
if (symbol.isBound) {
|
||||
return symbol.owner
|
||||
}
|
||||
|
||||
logger.errorElement("Unbound symbol found, skipping extraction of expression", e)
|
||||
return null
|
||||
}
|
||||
|
||||
private fun extractSuperAccess(irType: IrType, callable: Label<out DbCallable>, parent: Label<out DbExprparent>, idx: Int, enclosingStmt: Label<out DbStmt>, locId: Label<out DbLocation>) =
|
||||
tw.getFreshIdLabel<DbSuperaccess>().also {
|
||||
val type = useType(irType)
|
||||
|
||||
@@ -308,15 +308,30 @@ open class KotlinUsesExtractor(
|
||||
c.hasEqualFqName(FqName("java.lang.Object")))
|
||||
return c
|
||||
return globalExtensionState.syntheticToRealClassMap.getOrPut(c) {
|
||||
val result = c.fqNameWhenAvailable?.let {
|
||||
pluginContext.referenceClass(it)?.owner
|
||||
val qualifiedName = c.fqNameWhenAvailable
|
||||
if (qualifiedName == null) {
|
||||
logger.warn("Failed to replace synthetic class ${c.name} because it has no fully qualified name")
|
||||
return@getOrPut null
|
||||
}
|
||||
if (result == null) {
|
||||
logger.warn("Failed to replace synthetic class ${c.name}")
|
||||
} else {
|
||||
|
||||
val result = pluginContext.referenceClass(qualifiedName)?.owner
|
||||
if (result != null) {
|
||||
logger.info("Replaced synthetic class ${c.name} with its real equivalent")
|
||||
return@getOrPut result
|
||||
}
|
||||
result
|
||||
|
||||
// The above doesn't work for (some) generated nested classes, such as R$id, which should be R.id
|
||||
val fqn = qualifiedName.asString()
|
||||
if (fqn.indexOf('$') >= 0) {
|
||||
val nested = pluginContext.referenceClass(FqName(fqn.replace('$', '.')))?.owner
|
||||
if (nested != null) {
|
||||
logger.info("Replaced synthetic nested class ${c.name} with its real equivalent")
|
||||
return@getOrPut nested
|
||||
}
|
||||
}
|
||||
|
||||
logger.warn("Failed to replace synthetic class ${c.name}")
|
||||
return@getOrPut null
|
||||
} ?: c
|
||||
}
|
||||
|
||||
@@ -351,9 +366,8 @@ open class KotlinUsesExtractor(
|
||||
if (replacementClass === parentClass)
|
||||
return f
|
||||
return globalExtensionState.syntheticToRealFieldMap.getOrPut(f) {
|
||||
val result = replacementClass.declarations.findSubType<IrField> { replacementDecl ->
|
||||
replacementDecl.name == f.name
|
||||
}
|
||||
val result = replacementClass.declarations.findSubType<IrField> { replacementDecl -> replacementDecl.name == f.name }
|
||||
?: replacementClass.declarations.findSubType<IrProperty> { it.backingField?.name == f.name}?.backingField
|
||||
if (result == null) {
|
||||
logger.warn("Failed to replace synthetic class field ${f.name}")
|
||||
} else {
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
package com.github.codeql.utils.versions
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor
|
||||
import com.github.codeql.Severity
|
||||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI
|
||||
import org.jetbrains.kotlin.ir.util.DeclarationStubGenerator
|
||||
import org.jetbrains.kotlin.ir.util.SymbolTable
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
fun <TIrStub> KotlinUsesExtractor.getIrStubFromDescriptor(generateStub: (DeclarationStubGenerator) -> TIrStub) : TIrStub? =
|
||||
(pluginContext.symbolTable as? SymbolTable) ?.let {
|
||||
val stubGenerator = DeclarationStubGenerator(pluginContext.moduleDescriptor, it, pluginContext.languageVersionSettings)
|
||||
generateStub(stubGenerator)
|
||||
} ?: run {
|
||||
logger.error("Plugin context has no symbol table, couldn't get IR stub")
|
||||
null
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.github.codeql.utils.versions
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor
|
||||
import com.github.codeql.Severity
|
||||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI
|
||||
import org.jetbrains.kotlin.ir.util.DeclarationStubGenerator
|
||||
import org.jetbrains.kotlin.ir.util.SymbolTable
|
||||
import org.jetbrains.kotlin.psi2ir.generators.DeclarationStubGeneratorImpl
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
fun <TIrStub> KotlinUsesExtractor.getIrStubFromDescriptor(generateStub: (DeclarationStubGenerator) -> TIrStub) : TIrStub? =
|
||||
(pluginContext.symbolTable as? SymbolTable) ?.let {
|
||||
val stubGenerator = DeclarationStubGeneratorImpl(pluginContext.moduleDescriptor, it, pluginContext.languageVersionSettings)
|
||||
generateStub(stubGenerator)
|
||||
} ?: run {
|
||||
logger.error("Plugin context has no symbol table, couldn't get IR stub")
|
||||
null
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package com.github.codeql.utils.versions
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor
|
||||
import com.github.codeql.Severity
|
||||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI
|
||||
import org.jetbrains.kotlin.ir.util.DeclarationStubGenerator
|
||||
import org.jetbrains.kotlin.ir.util.SymbolTable
|
||||
import org.jetbrains.kotlin.psi2ir.generators.DeclarationStubGeneratorImpl
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
fun <TIrStub> KotlinUsesExtractor.getIrStubFromDescriptor(generateStub: (DeclarationStubGenerator) -> TIrStub) : TIrStub? =
|
||||
(pluginContext.symbolTable as? SymbolTable) ?.let {
|
||||
val stubGenerator = DeclarationStubGeneratorImpl(pluginContext.moduleDescriptor, it, pluginContext.irBuiltIns)
|
||||
generateStub(stubGenerator)
|
||||
} ?: run {
|
||||
logger.error("Plugin context has no symbol table, couldn't get IR stub")
|
||||
null
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.github.codeql.utils.versions
|
||||
|
||||
import com.github.codeql.KotlinUsesExtractor
|
||||
import org.jetbrains.kotlin.backend.common.serialization.DescriptorByIdSignatureFinderImpl
|
||||
import org.jetbrains.kotlin.idea.MainFunctionDetector
|
||||
import org.jetbrains.kotlin.ir.ObsoleteDescriptorBasedAPI
|
||||
import org.jetbrains.kotlin.ir.backend.jvm.serialization.JvmDescriptorMangler
|
||||
import org.jetbrains.kotlin.ir.util.DeclarationStubGenerator
|
||||
import org.jetbrains.kotlin.ir.util.SymbolTable
|
||||
import org.jetbrains.kotlin.psi2ir.generators.DeclarationStubGeneratorImpl
|
||||
|
||||
@OptIn(ObsoleteDescriptorBasedAPI::class)
|
||||
fun <TIrStub> KotlinUsesExtractor.getIrStubFromDescriptor(generateStub: (DeclarationStubGenerator) -> TIrStub) : TIrStub? =
|
||||
(pluginContext.symbolTable as? SymbolTable) ?.let {
|
||||
// Copying the construction seen in JvmIrLinker.kt
|
||||
val mangler = JvmDescriptorMangler(MainFunctionDetector(pluginContext.bindingContext, pluginContext.languageVersionSettings))
|
||||
val descriptorFinder = DescriptorByIdSignatureFinderImpl(
|
||||
pluginContext.moduleDescriptor,
|
||||
mangler,
|
||||
DescriptorByIdSignatureFinderImpl.LookupMode.MODULE_ONLY
|
||||
)
|
||||
val stubGenerator = DeclarationStubGeneratorImpl(pluginContext.moduleDescriptor, it, pluginContext.irBuiltIns, descriptorFinder)
|
||||
generateStub(stubGenerator)
|
||||
} ?: run {
|
||||
logger.error("Plugin context has no symbol table, couldn't get IR stub")
|
||||
null
|
||||
}
|
||||
@@ -183,8 +183,6 @@ app/src/main/kotlin/testProject/App.kt:
|
||||
# 7| 0: [ReturnStmt] return ...
|
||||
# 7| 0: [ArrayCreationExpr] new KSerializer<?>[]
|
||||
# 7| -2: [ArrayInit] {...}
|
||||
# 7| 0: [VarAccess] INSTANCE
|
||||
# 7| 1: [VarAccess] INSTANCE
|
||||
# 7| -1: [TypeAccess] KSerializer<?>
|
||||
# 7| 0: [IntegerLiteral] 2
|
||||
# 0| 3: [Method] deserialize
|
||||
|
||||
@@ -1 +1 @@
|
||||
| CodeQL Kotlin extractor | 2 | | Unbound object value, trying to use class stub from descriptor | app/src/main/kotlin/testProject/App.kt:7:1:8:55 | app/src/main/kotlin/testProject/App.kt:7:1:8:55 |
|
||||
| CodeQL Kotlin extractor | 5 | | Unbound symbol found, skipping extraction of expression | app/src/main/kotlin/testProject/App.kt:7:1:8:55 | app/src/main/kotlin/testProject/App.kt:7:1:8:55 |
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: feature
|
||||
---
|
||||
* Added the predicate `CompilationUnit.getATypeInScope()`.
|
||||
@@ -31,5 +31,38 @@ class CompilationUnit extends Element, File {
|
||||
*/
|
||||
Module getModule() { cumodule(this, result) }
|
||||
|
||||
/**
|
||||
* Gets a type which is available in the top-level scope of this compilation unit.
|
||||
* This can be a type:
|
||||
* - declared in this compilation unit as top-level type
|
||||
* - imported with an `import` declaration
|
||||
* - declared in the same package as this compilation unit
|
||||
* - declared in the package `java.lang`
|
||||
*
|
||||
* This predicate not consider "shadowing", it can have types as result whose simple name is
|
||||
* shadowed by another type in scope.
|
||||
*/
|
||||
ClassOrInterface getATypeInScope() {
|
||||
// See "Shadowing", https://docs.oracle.com/javase/specs/jls/se17/html/jls-6.html#jls-6.4.1
|
||||
// Currently shadowing is not considered
|
||||
result.(TopLevelType).getCompilationUnit() = this
|
||||
or
|
||||
exists(Import importDecl | importDecl.getCompilationUnit() = this |
|
||||
result =
|
||||
[
|
||||
importDecl.(ImportStaticTypeMember).getATypeImport(),
|
||||
importDecl.(ImportType).getImportedType(),
|
||||
importDecl.(ImportStaticOnDemand).getATypeImport(),
|
||||
importDecl.(ImportOnDemandFromType).getAnImport(),
|
||||
importDecl.(ImportOnDemandFromPackage).getAnImport(),
|
||||
]
|
||||
)
|
||||
or
|
||||
// From same package or java.lang, see https://docs.oracle.com/javase/specs/jls/se17/html/jls-7.html
|
||||
result.(TopLevelType).getPackage() = this.getPackage()
|
||||
or
|
||||
result.(TopLevelType).getPackage().hasName("java.lang")
|
||||
}
|
||||
|
||||
override string getAPrimaryQlClass() { result = "CompilationUnit" }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
/** Definitions for the Android Webview Debugging Enabled query */
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.DataFlow
|
||||
import semmle.code.java.controlflow.Guards
|
||||
import semmle.code.java.security.SecurityTests
|
||||
|
||||
/** Holds if `ex` looks like a check that this is a debug build. */
|
||||
private predicate isDebugCheck(Expr ex) {
|
||||
exists(Expr subex, string debug |
|
||||
debug.toLowerCase().matches(["%debug%", "%test%"]) and
|
||||
subex.getParent*() = ex
|
||||
|
|
||||
subex.(VarAccess).getVariable().getName() = debug
|
||||
or
|
||||
subex.(MethodAccess).getMethod().hasName("getProperty") and
|
||||
subex.(MethodAccess).getAnArgument().(CompileTimeConstantExpr).getStringValue() = debug
|
||||
)
|
||||
}
|
||||
|
||||
/** A configuration to find instances of `setWebContentDebuggingEnabled` called with `true` values. */
|
||||
class WebviewDebugEnabledConfig extends DataFlow::Configuration {
|
||||
WebviewDebugEnabledConfig() { this = "WebviewDebugEnabledConfig" }
|
||||
|
||||
override predicate isSource(DataFlow::Node node) {
|
||||
node.asExpr().(BooleanLiteral).getBooleanValue() = true
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node node) {
|
||||
exists(MethodAccess ma |
|
||||
ma.getMethod().hasQualifiedName("android.webkit", "WebView", "setWebContentsDebuggingEnabled") and
|
||||
node.asExpr() = ma.getArgument(0)
|
||||
)
|
||||
}
|
||||
|
||||
override predicate isBarrier(DataFlow::Node node) {
|
||||
exists(Guard debug | isDebugCheck(debug) and debug.controls(node.asExpr().getBasicBlock(), _))
|
||||
or
|
||||
node.getEnclosingCallable().getDeclaringType() instanceof NonSecurityTestClass
|
||||
}
|
||||
}
|
||||
@@ -11,22 +11,20 @@
|
||||
|
||||
import java
|
||||
|
||||
RefType getTaggedType(ThrowsTag tag) {
|
||||
ClassOrInterface getTaggedType(ThrowsTag tag) {
|
||||
result.hasName(tag.getExceptionName()) and
|
||||
exists(ImportType i | i.getFile() = tag.getFile() | i.getImportedType() = result)
|
||||
result = tag.getFile().(CompilationUnit).getATypeInScope()
|
||||
}
|
||||
|
||||
predicate canThrow(Callable callable, RefType exception) {
|
||||
exists(string uncheckedException |
|
||||
uncheckedException = "RuntimeException" or uncheckedException = "Error"
|
||||
|
|
||||
exception.getAnAncestor().hasQualifiedName("java.lang", uncheckedException)
|
||||
)
|
||||
predicate canThrow(Callable callable, Class exception) {
|
||||
exception instanceof UncheckedThrowableType
|
||||
or
|
||||
callable.getAnException().getType().getADescendant() = exception
|
||||
}
|
||||
|
||||
from ThrowsTag throwsTag, RefType thrownType, Callable docMethod
|
||||
// Uses ClassOrInterface as type for thrownType to also cover case where erroneously an interface
|
||||
// type is declared as thrown exception
|
||||
from ThrowsTag throwsTag, ClassOrInterface thrownType, Callable docMethod
|
||||
where
|
||||
getTaggedType(throwsTag) = thrownType and
|
||||
docMethod.getDoc().getJavadoc().getAChild*() = throwsTag and
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
// BAD - debugging is always enabled
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
|
||||
// GOOD - debugging is only enabled when this is a debug build, as indicated by the debuggable flag being set.
|
||||
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE)) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE qhelp PUBLIC
|
||||
"-//Semmle//qhelp//EN"
|
||||
"qhelp.dtd">
|
||||
<qhelp>
|
||||
|
||||
<overview>
|
||||
<p>The <code>WebView.setWebContentsDebuggingEnabled</code> method enables or disables the contents of any <code>WebView</code> in the application to be debugged.</p>
|
||||
|
||||
<p>You should only enable debugging features during development. When you create a production build, you should disable it. If you enable debugging features, this can make your code vulnerable by adding entry points, or leaking sensitive information.</p>
|
||||
</overview>
|
||||
<recommendation>
|
||||
<p>Ensure that debugging features are not enabled in production builds, such as by guarding calls to <code>WebView.setWebContentsDebuggingEnabled(true)</code> by a flag that is only enabled in debug builds. </p>
|
||||
|
||||
</recommendation>
|
||||
<example>
|
||||
|
||||
<p>In the first (bad) example, WebView debugging is always enabled.
|
||||
whereas the GOOD case only enables it if the <code>android:debuggable</code> attribute is set to <code>true</code>.</p>
|
||||
|
||||
<sample src="WebviewDebuggingEnabled.java" />
|
||||
|
||||
</example>
|
||||
<references>
|
||||
|
||||
<li>
|
||||
Android Developers:
|
||||
<a href="https://developer.android.com/reference/android/webkit/WebView.html#setWebContentsDebuggingEnabled(boolean)">setWebContentsDebuggingEnabled</a>.
|
||||
</li>
|
||||
|
||||
<li>
|
||||
Android Developers:
|
||||
<a href="https://developer.chrome.com/docs/devtools/remote-debugging/webviews/">Remote debugging WebViews</a>.
|
||||
</li>
|
||||
|
||||
</references>
|
||||
</qhelp>
|
||||
19
java/ql/src/Security/CWE/CWE-489/WebviewDebuggingEnabled.ql
Normal file
19
java/ql/src/Security/CWE/CWE-489/WebviewDebuggingEnabled.ql
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* @name Android Webview debugging enabled
|
||||
* @description Enabling Webview debugging in production builds can expose entry points or leak sensitive information.
|
||||
* @kind path-problem
|
||||
* @problem.severity warning
|
||||
* @security-severity 7.2
|
||||
* @id java/android/webview-debugging-enabled
|
||||
* @tags security
|
||||
* external/cwe/cwe-489
|
||||
* @precision high
|
||||
*/
|
||||
|
||||
import java
|
||||
import semmle.code.java.security.WebviewDubuggingEnabledQuery
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from WebviewDebugEnabledConfig conf, DataFlow::PathNode source, DataFlow::PathNode sink
|
||||
where conf.hasFlowPath(source, sink)
|
||||
select sink, source, sink, "Webview debugging is enabled."
|
||||
4
java/ql/src/change-notes/2022-08-31-webview-dubugging.md
Normal file
4
java/ql/src/change-notes/2022-08-31-webview-dubugging.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: newQuery
|
||||
---
|
||||
* Added a new query, `java/android/webview-debugging-enabled`, to detect instances of WebView debugging being enabled in production builds.
|
||||
@@ -1 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/android
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/google-android-9.0.0
|
||||
|
||||
@@ -1 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/android
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/google-android-9.0.0
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
| ImpossibleJavadocThrows.java:9:5:9:12 | @throws | Javadoc for bad1 claims to throw InterruptedException but this is impossible. |
|
||||
| ImpossibleJavadocThrows.java:16:5:16:15 | @exception | Javadoc for bad2 claims to throw Exception but this is impossible. |
|
||||
| ImpossibleJavadocThrows.java:23:5:23:12 | @throws | Javadoc for bad3 claims to throw Runnable but this is impossible. |
|
||||
|
||||
@@ -18,6 +18,13 @@ class ImpossibleJavadocThrows {
|
||||
public void bad2() {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws Runnable
|
||||
*/
|
||||
public void bad3() {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @throws InterruptedException
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/google-android-9.0.0
|
||||
@@ -0,0 +1,23 @@
|
||||
import android.webkit.WebView;
|
||||
|
||||
class Test {
|
||||
boolean DEBUG_BUILD;
|
||||
|
||||
void test1() {
|
||||
WebView.setWebContentsDebuggingEnabled(true); // $hasValueFlow
|
||||
}
|
||||
|
||||
void test2(){
|
||||
if (DEBUG_BUILD) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
void test3(boolean enabled){
|
||||
WebView.setWebContentsDebuggingEnabled(enabled); // $hasValueFlow
|
||||
}
|
||||
|
||||
void test4(){
|
||||
test3(true);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import java
|
||||
import TestUtilities.InlineFlowTest
|
||||
import semmle.code.java.security.WebviewDubuggingEnabledQuery
|
||||
|
||||
class HasFlowTest extends InlineFlowTest {
|
||||
override DataFlow::Configuration getTaintFlowConfig() { none() }
|
||||
|
||||
override DataFlow::Configuration getValueFlowConfig() {
|
||||
result = any(WebviewDebugEnabledConfig c)
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/google-android-9.0.0
|
||||
//semmle-extractor-options: --javac-args -cp ${testdir}/../../../../stubs/google-android-9.0.0
|
||||
@@ -1,21 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
38
java/ql/test/stubs/android/android/app/Activity.java
generated
38
java/ql/test/stubs/android/android/app/Activity.java
generated
@@ -1,38 +0,0 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
package android.app;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
||||
public class Activity {
|
||||
|
||||
public void onCreate(Bundle bundle) {
|
||||
}
|
||||
|
||||
public Intent getIntent() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public Object findViewById(int id) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void setContentView(int view) {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
// Generated automatically from android.content.BroadcastReceiver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
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){}
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
// 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; }
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
// 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();
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
// 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);
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
// 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,82 +0,0 @@
|
||||
// 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;
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
// 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(){}
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
// 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; }
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// 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,160 +0,0 @@
|
||||
// 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;
|
||||
|
||||
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,50 +0,0 @@
|
||||
// Generated automatically from android.content.ContentValues for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
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){}
|
||||
}
|
||||
265
java/ql/test/stubs/android/android/content/Context.java
generated
265
java/ql/test/stubs/android/android/content/Context.java
generated
@@ -1,265 +0,0 @@
|
||||
// Generated automatically from android.content.Context for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
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){}
|
||||
}
|
||||
461
java/ql/test/stubs/android/android/content/Intent.java
generated
461
java/ql/test/stubs/android/android/content/Intent.java
generated
@@ -1,461 +0,0 @@
|
||||
// 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 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, 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){}
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// 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);
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
// 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);
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
// Generated automatically from android.content.SyncStatusObserver for testing purposes
|
||||
|
||||
package android.content;
|
||||
|
||||
|
||||
public interface SyncStatusObserver
|
||||
{
|
||||
void onStatusChanged(int p0);
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
@@ -1,101 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,151 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,331 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,37 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
// 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(){}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,130 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
// 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(){}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// 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();
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// 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; }
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
// 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){}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
// 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(){}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// 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;
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
// 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,64 +0,0 @@
|
||||
// Generated automatically from android.database.Cursor for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
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);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
// Generated automatically from android.database.DataSetObserver for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
|
||||
abstract public class DataSetObserver
|
||||
{
|
||||
public DataSetObserver(){}
|
||||
public void onChanged(){}
|
||||
public void onInvalidated(){}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// Generated automatically from android.database.DatabaseErrorHandler for testing purposes
|
||||
|
||||
package android.database;
|
||||
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
|
||||
public interface DatabaseErrorHandler
|
||||
{
|
||||
void onCorruption(SQLiteDatabase p0);
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
package android.database;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.os.ParcelFileDescriptor;
|
||||
|
||||
public class DatabaseUtils {
|
||||
|
||||
public static ParcelFileDescriptor blobFileDescriptorForQuery(SQLiteDatabase db, String query,
|
||||
String[] selectionArgs) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static String stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) {
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
public static void createDbFromSqlStatements(Context context, String dbName, int dbVersion, String sqlStatements) {
|
||||
|
||||
}
|
||||
|
||||
public static int queryNumEntries(SQLiteDatabase db, String table, String selection) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static int queryNumEntries(SQLiteDatabase db, String table, String selection, String[] selectionArgs) {
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
public static String[] appendSelectionArgs(String[] originalValues, String[] newValues) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String concatenateWhere(String a, String b) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user