mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Update stubs
This commit is contained in:
@@ -1,149 +1,58 @@
|
||||
/*
|
||||
* Copyright (C) 2006 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
||||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||
* or implied. See the License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
// Generated automatically from android.os.ParcelFileDescriptor for testing purposes
|
||||
|
||||
package android.os;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.io.Closeable;
|
||||
import java.io.File;
|
||||
import java.io.FileDescriptor;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.net.DatagramSocket;
|
||||
import java.net.Socket;
|
||||
|
||||
public class ParcelFileDescriptor implements Parcelable, Closeable {
|
||||
public ParcelFileDescriptor(ParcelFileDescriptor wrapped) {}
|
||||
|
||||
public ParcelFileDescriptor(FileDescriptor fd) {}
|
||||
|
||||
public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) {}
|
||||
|
||||
public static ParcelFileDescriptor open(File file, int mode) throws FileNotFoundException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor dup(FileDescriptor orig) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public ParcelFileDescriptor dup() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor fromFd(int fd) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor adoptFd(int fd) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor fromSocket(Socket socket) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor fromDatagramSocket(DatagramSocket datagramSocket) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createPipe() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createReliablePipe() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createSocketPair() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createSocketPair(int type) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createReliableSocketPair() throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor[] createReliableSocketPair(int type) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static ParcelFileDescriptor fromData(byte[] data, String name) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static int parseMode(String mode) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static File getFile(FileDescriptor fd) throws IOException {
|
||||
return null;
|
||||
}
|
||||
|
||||
public FileDescriptor getFileDescriptor() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public long getStatSize() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public long seekTo(long pos) throws IOException {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getFd() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int detachFd() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {}
|
||||
|
||||
public void closeWithError(String msg) throws IOException {}
|
||||
|
||||
public void releaseResources() {}
|
||||
|
||||
public boolean canDetectErrors() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void checkError() throws IOException {}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel out, int flags) {}
|
||||
|
||||
public interface OnCloseListener {
|
||||
public void onClose(IOException e);
|
||||
|
||||
}
|
||||
public static class FileDescriptorDetachedException extends IOException {
|
||||
public FileDescriptorDetachedException() {}
|
||||
|
||||
}
|
||||
public class ParcelFileDescriptor implements Closeable, Parcelable
|
||||
{
|
||||
protected ParcelFileDescriptor() {}
|
||||
protected void finalize(){}
|
||||
public FileDescriptor getFileDescriptor(){ return null; }
|
||||
public ParcelFileDescriptor dup(){ return null; }
|
||||
public ParcelFileDescriptor(ParcelFileDescriptor p0){}
|
||||
public String toString(){ return null; }
|
||||
public boolean canDetectErrors(){ return false; }
|
||||
public int describeContents(){ return 0; }
|
||||
public int detachFd(){ return 0; }
|
||||
public int getFd(){ return 0; }
|
||||
public long getStatSize(){ return 0; }
|
||||
public static ParcelFileDescriptor adoptFd(int p0){ return null; }
|
||||
public static ParcelFileDescriptor dup(FileDescriptor p0){ return null; }
|
||||
public static ParcelFileDescriptor fromDatagramSocket(DatagramSocket p0){ return null; }
|
||||
public static ParcelFileDescriptor fromFd(int p0){ return null; }
|
||||
public static ParcelFileDescriptor fromSocket(Socket p0){ return null; }
|
||||
public static ParcelFileDescriptor open(File p0, int p1){ return null; }
|
||||
public static ParcelFileDescriptor open(File p0, int p1, Handler p2, ParcelFileDescriptor.OnCloseListener p3){ return null; }
|
||||
public static ParcelFileDescriptor wrap(ParcelFileDescriptor p0, Handler p1, ParcelFileDescriptor.OnCloseListener p2){ return null; }
|
||||
public static ParcelFileDescriptor[] createPipe(){ return null; }
|
||||
public static ParcelFileDescriptor[] createReliablePipe(){ return null; }
|
||||
public static ParcelFileDescriptor[] createReliableSocketPair(){ return null; }
|
||||
public static ParcelFileDescriptor[] createSocketPair(){ return null; }
|
||||
public static Parcelable.Creator<ParcelFileDescriptor> CREATOR = null;
|
||||
public static int MODE_APPEND = 0;
|
||||
public static int MODE_CREATE = 0;
|
||||
public static int MODE_READ_ONLY = 0;
|
||||
public static int MODE_READ_WRITE = 0;
|
||||
public static int MODE_TRUNCATE = 0;
|
||||
public static int MODE_WORLD_READABLE = 0;
|
||||
public static int MODE_WORLD_WRITEABLE = 0;
|
||||
public static int MODE_WRITE_ONLY = 0;
|
||||
public static int parseMode(String p0){ return 0; }
|
||||
public void checkError(){}
|
||||
public void close(){}
|
||||
public void closeWithError(String p0){}
|
||||
public void writeToParcel(Parcel p0, int p1){}
|
||||
static public interface OnCloseListener
|
||||
{
|
||||
void onClose(IOException p0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user