Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2686779 authored by Jeff Hamilton's avatar Jeff Hamilton
Browse files

Remove the unused modification APIs from MockCursor. They shouldn't have been...

Remove the unused modification APIs from MockCursor. They shouldn't have been public in the first place.

Change-Id: I2932e5287f838f72acdc4c0c1fd5601ffa8c3f84
parent 7cd51efc
Loading
Loading
Loading
Loading
+0 −186
Original line number Diff line number Diff line
@@ -147782,17 +147782,6 @@
 visibility="public"
>
</constructor>
<method name="abortUpdates"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="close"
 return="void"
 abstract="false"
@@ -147804,30 +147793,6 @@
 visibility="public"
>
</method>
<method name="commitUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="commitUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="values" type="java.util.Map&lt;? extends java.lang.Long, ? extends java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;">
</parameter>
</method>
<method name="copyStringToBuffer"
 return="void"
 abstract="false"
@@ -147854,17 +147819,6 @@
 visibility="public"
>
</method>
<method name="deleteRow"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getBlob"
 return="byte[]"
 abstract="false"
@@ -148061,17 +148015,6 @@
 visibility="public"
>
</method>
<method name="hasUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="isAfterLast"
 return="boolean"
 abstract="false"
@@ -148275,17 +148218,6 @@
<parameter name="uri" type="android.net.Uri">
</parameter>
</method>
<method name="supportsUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="unregisterContentObserver"
 return="void"
 abstract="false"
@@ -148312,124 +148244,6 @@
<parameter name="observer" type="android.database.DataSetObserver">
</parameter>
</method>
<method name="updateBlob"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="byte[]">
</parameter>
</method>
<method name="updateDouble"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="double">
</parameter>
</method>
<method name="updateFloat"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="float">
</parameter>
</method>
<method name="updateInt"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="int">
</parameter>
</method>
<method name="updateLong"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="long">
</parameter>
</method>
<method name="updateShort"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="short">
</parameter>
</method>
<method name="updateString"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="java.lang.String">
</parameter>
</method>
<method name="updateToNull"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
</method>
</class>
<class name="MockDialogInterface"
 extends="java.lang.Object"
+0 −186
Original line number Diff line number Diff line
@@ -153479,17 +153479,6 @@
 visibility="public"
>
</constructor>
<method name="abortUpdates"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="close"
 return="void"
 abstract="false"
@@ -153501,30 +153490,6 @@
 visibility="public"
>
</method>
<method name="commitUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="commitUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="values" type="java.util.Map&lt;? extends java.lang.Long, ? extends java.util.Map&lt;java.lang.String, java.lang.Object&gt;&gt;">
</parameter>
</method>
<method name="copyStringToBuffer"
 return="void"
 abstract="false"
@@ -153551,17 +153516,6 @@
 visibility="public"
>
</method>
<method name="deleteRow"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="getBlob"
 return="byte[]"
 abstract="false"
@@ -153758,17 +153712,6 @@
 visibility="public"
>
</method>
<method name="hasUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="isAfterLast"
 return="boolean"
 abstract="false"
@@ -153972,17 +153915,6 @@
<parameter name="uri" type="android.net.Uri">
</parameter>
</method>
<method name="supportsUpdates"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</method>
<method name="unregisterContentObserver"
 return="void"
 abstract="false"
@@ -154009,124 +153941,6 @@
<parameter name="observer" type="android.database.DataSetObserver">
</parameter>
</method>
<method name="updateBlob"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="byte[]">
</parameter>
</method>
<method name="updateDouble"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="double">
</parameter>
</method>
<method name="updateFloat"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="float">
</parameter>
</method>
<method name="updateInt"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="int">
</parameter>
</method>
<method name="updateLong"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="long">
</parameter>
</method>
<method name="updateShort"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="short">
</parameter>
</method>
<method name="updateString"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
<parameter name="value" type="java.lang.String">
</parameter>
</method>
<method name="updateToNull"
 return="boolean"
 abstract="false"
 native="false"
 synchronized="false"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="columnIndex" type="int">
</parameter>
</method>
</class>
<class name="MockDialogInterface"
 extends="java.lang.Object"
+0 −70
Original line number Diff line number Diff line
@@ -177,36 +177,11 @@ public class MockCursor implements Cursor {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean commitUpdates() {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean commitUpdates(Map<? extends Long, ? extends Map<String, Object>> values) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean hasUpdates() {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public void setNotificationUri(ContentResolver cr, Uri uri) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean supportsUpdates() {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean deleteRow() {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public void unregisterContentObserver(ContentObserver observer) {
        throw new UnsupportedOperationException("unimplemented mock method");
@@ -216,49 +191,4 @@ public class MockCursor implements Cursor {
    public void unregisterDataSetObserver(DataSetObserver observer) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateBlob(int columnIndex, byte[] value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateDouble(int columnIndex, double value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateFloat(int columnIndex, float value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateInt(int columnIndex, int value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateLong(int columnIndex, long value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateShort(int columnIndex, short value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateString(int columnIndex, String value) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public boolean updateToNull(int columnIndex) {
        throw new UnsupportedOperationException("unimplemented mock method");
    }

    @SuppressWarnings("deprecation")
    public void abortUpdates() {
        throw new UnsupportedOperationException("unimplemented mock method");
    }
}
 No newline at end of file