am f09d63a5: Re-@hide some of the other StorageManager API
* commit 'f09d63a52c84386a7b3539eab5b43f020f194c77': Re-@hide some of the other StorageManager API
This commit is contained in:
152
api/11.xml
152
api/11.xml
@@ -147411,53 +147411,6 @@
|
||||
>
|
||||
</field>
|
||||
</class>
|
||||
<class name="StorageEventListener"
|
||||
extends="java.lang.Object"
|
||||
abstract="true"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<constructor name="StorageEventListener"
|
||||
type="android.os.storage.StorageEventListener"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</constructor>
|
||||
<method name="onStorageStateChanged"
|
||||
return="void"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="path" type="java.lang.String">
|
||||
</parameter>
|
||||
<parameter name="oldState" type="java.lang.String">
|
||||
</parameter>
|
||||
<parameter name="newState" type="java.lang.String">
|
||||
</parameter>
|
||||
</method>
|
||||
<method name="onUsbMassStorageConnectionChanged"
|
||||
return="void"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="connected" type="boolean">
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<class name="StorageManager"
|
||||
extends="java.lang.Object"
|
||||
abstract="false"
|
||||
@@ -147527,111 +147480,6 @@
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<class name="StorageResultCode"
|
||||
extends="java.lang.Object"
|
||||
abstract="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<constructor name="StorageResultCode"
|
||||
type="android.os.storage.StorageResultCode"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</constructor>
|
||||
<field name="OperationFailedInternalError"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-1"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedMediaBlank"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-3"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedMediaCorrupt"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-4"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedNoMedia"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-2"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageBusy"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-7"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageMounted"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-6"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageNotMounted"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-5"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationSucceeded"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="0"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
</class>
|
||||
</package>
|
||||
<package name="android.preference"
|
||||
>
|
||||
|
||||
152
api/current.xml
152
api/current.xml
@@ -148895,53 +148895,6 @@
|
||||
>
|
||||
</field>
|
||||
</class>
|
||||
<class name="StorageEventListener"
|
||||
extends="java.lang.Object"
|
||||
abstract="true"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<constructor name="StorageEventListener"
|
||||
type="android.os.storage.StorageEventListener"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</constructor>
|
||||
<method name="onStorageStateChanged"
|
||||
return="void"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="path" type="java.lang.String">
|
||||
</parameter>
|
||||
<parameter name="oldState" type="java.lang.String">
|
||||
</parameter>
|
||||
<parameter name="newState" type="java.lang.String">
|
||||
</parameter>
|
||||
</method>
|
||||
<method name="onUsbMassStorageConnectionChanged"
|
||||
return="void"
|
||||
abstract="false"
|
||||
native="false"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="connected" type="boolean">
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<class name="StorageManager"
|
||||
extends="java.lang.Object"
|
||||
abstract="false"
|
||||
@@ -149011,111 +148964,6 @@
|
||||
</parameter>
|
||||
</method>
|
||||
</class>
|
||||
<class name="StorageResultCode"
|
||||
extends="java.lang.Object"
|
||||
abstract="false"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<constructor name="StorageResultCode"
|
||||
type="android.os.storage.StorageResultCode"
|
||||
static="false"
|
||||
final="false"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</constructor>
|
||||
<field name="OperationFailedInternalError"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-1"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedMediaBlank"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-3"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedMediaCorrupt"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-4"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedNoMedia"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-2"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageBusy"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-7"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageMounted"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-6"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationFailedStorageNotMounted"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="-5"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
<field name="OperationSucceeded"
|
||||
type="int"
|
||||
transient="false"
|
||||
volatile="false"
|
||||
value="0"
|
||||
static="true"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
</field>
|
||||
</class>
|
||||
</package>
|
||||
<package name="android.preference"
|
||||
>
|
||||
|
||||
@@ -18,6 +18,8 @@ package android.os.storage;
|
||||
|
||||
/**
|
||||
* Used for receiving notifications from the StorageManager
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public abstract class StorageEventListener {
|
||||
/**
|
||||
|
||||
@@ -19,6 +19,8 @@ package android.os.storage;
|
||||
/**
|
||||
* Class that provides access to constants returned from StorageManager
|
||||
* and lower level MountService APIs.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public class StorageResultCode
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user