summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorEvan Charlton <evanc@google.com>2014-05-28 13:22:05 -0700
committerEvan Charlton <evanc@google.com>2014-05-28 13:22:05 -0700
commitb4eb0c086363b5c65e0c5c2a7581c5c60a179fc8 (patch)
tree3bb3c94a2127e91687ff1561bc709646d4bf339c /api
parenta0b731363d7fa12a121425fb6845461203d8756f (diff)
downloadframeworks_base-b4eb0c086363b5c65e0c5c2a7581c5c60a179fc8.zip
frameworks_base-b4eb0c086363b5c65e0c5c2a7581c5c60a179fc8.tar.gz
frameworks_base-b4eb0c086363b5c65e0c5c2a7581c5c60a179fc8.tar.bz2
@hide Telecomm APIs [DO NOT MERGE]
Change-Id: Id2d8d21f5de79bd5ffa468a82b29b77daf07e120
Diffstat (limited to 'api')
-rw-r--r--api/current.txt300
1 files changed, 0 insertions, 300 deletions
diff --git a/api/current.txt b/api/current.txt
index 96e83f7..d8d9b96 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -27427,306 +27427,6 @@ package android.system {
}
-package android.telecomm {
-
- public final class CallAudioState implements android.os.Parcelable {
- method public int describeContents();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- field public static int ROUTE_ALL;
- field public static int ROUTE_BLUETOOTH;
- field public static int ROUTE_EARPIECE;
- field public static int ROUTE_SPEAKER;
- field public static int ROUTE_WIRED_HEADSET;
- field public static int ROUTE_WIRED_OR_EARPIECE;
- field public final boolean isMuted;
- field public final int route;
- field public final int supportedRouteMask;
- }
-
- public class CallCapabilities {
- ctor public CallCapabilities();
- field public static final int ADD_CALL = 16; // 0x10
- field public static final int ALL = 511; // 0x1ff
- field public static final int CONNECTION_HANDOFF = 256; // 0x100
- field public static final int GENERIC_CONFERENCE = 128; // 0x80
- field public static final int HOLD = 1; // 0x1
- field public static final int MERGE_CALLS = 4; // 0x4
- field public static final int MUTE = 64; // 0x40
- field public static final int RESPOND_VIA_TEXT = 32; // 0x20
- field public static final int SUPPORT_HOLD = 2; // 0x2
- field public static final int SWAP_CALLS = 8; // 0x8
- }
-
- public final class CallInfo implements android.os.Parcelable {
- ctor public CallInfo(java.lang.String, android.telecomm.CallState, android.net.Uri);
- method public int describeContents();
- method public android.telecomm.CallServiceDescriptor getCurrentCallServiceDescriptor();
- method public android.os.Bundle getExtras();
- method public android.telecomm.GatewayInfo getGatewayInfo();
- method public android.net.Uri getHandle();
- method public java.lang.String getId();
- method public android.net.Uri getOriginalHandle();
- method public android.telecomm.CallState getState();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- }
-
- public final class CallNumberPresentation extends java.lang.Enum {
- method public static android.telecomm.CallNumberPresentation valueOf(java.lang.String);
- method public static final android.telecomm.CallNumberPresentation[] values();
- enum_constant public static final android.telecomm.CallNumberPresentation ALLOWED;
- enum_constant public static final android.telecomm.CallNumberPresentation PAYPHONE;
- enum_constant public static final android.telecomm.CallNumberPresentation RESTRICTED;
- enum_constant public static final android.telecomm.CallNumberPresentation UNKNOWN;
- }
-
- public abstract class CallService extends android.app.Service {
- ctor public CallService();
- method public abstract void abort(java.lang.String);
- method public abstract void answer(java.lang.String);
- method public abstract void call(android.telecomm.CallInfo);
- method public abstract void disconnect(java.lang.String);
- method protected final android.telecomm.CallServiceAdapter getAdapter();
- method public final android.os.IBinder getBinder();
- method public abstract void hold(java.lang.String);
- method public abstract void isCompatibleWith(android.telecomm.CallInfo);
- method protected void onAdapterAttached(android.telecomm.CallServiceAdapter);
- method public abstract void onAudioStateChanged(java.lang.String, android.telecomm.CallAudioState);
- method public final android.os.IBinder onBind(android.content.Intent);
- method public abstract void playDtmfTone(java.lang.String, char);
- method public abstract void reject(java.lang.String);
- method public abstract void setIncomingCallId(java.lang.String, android.os.Bundle);
- method public abstract void stopDtmfTone(java.lang.String);
- method public abstract void unhold(java.lang.String);
- }
-
- public final class CallServiceAdapter {
- method public void handleFailedOutgoingCall(java.lang.String, java.lang.String);
- method public void handleSuccessfulOutgoingCall(java.lang.String);
- method public void notifyIncomingCall(android.telecomm.CallInfo);
- method public void setActive(java.lang.String);
- method public void setDialing(java.lang.String);
- method public void setDisconnected(java.lang.String, int, java.lang.String);
- method public void setIsCompatibleWith(java.lang.String, boolean);
- method public void setOnHold(java.lang.String);
- method public void setRinging(java.lang.String);
- }
-
- public final class CallServiceDescriptor implements android.os.Parcelable {
- method public int describeContents();
- method public java.lang.String getCallServiceId();
- method public int getNetworkType();
- method public android.content.ComponentName getServiceComponent();
- method public static android.telecomm.CallServiceDescriptor.Builder newBuilder(android.content.Context);
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- field public static final int FLAG_MOBILE = 4; // 0x4
- field public static final int FLAG_PSTN = 2; // 0x2
- field public static final int FLAG_WIFI = 1; // 0x1
- }
-
- public static class CallServiceDescriptor.Builder {
- method public android.telecomm.CallServiceDescriptor build();
- method public android.telecomm.CallServiceDescriptor.Builder setCallService(java.lang.Class<? extends android.telecomm.CallService>);
- method public android.telecomm.CallServiceDescriptor.Builder setNetworkType(int);
- }
-
- public final class CallServiceLookupResponse {
- method public void setCallServiceDescriptors(java.util.List<android.telecomm.CallServiceDescriptor>);
- }
-
- public abstract class CallServiceProvider extends android.app.Service {
- ctor protected CallServiceProvider();
- method public abstract void lookupCallServices(android.telecomm.CallServiceLookupResponse);
- method public android.os.IBinder onBind(android.content.Intent);
- }
-
- public abstract class CallServiceSelector extends android.app.Service {
- ctor protected CallServiceSelector();
- method protected final void cancelOutgoingCall(android.telecomm.CallInfo);
- method protected final android.telecomm.CallServiceSelectorAdapter getAdapter();
- method protected final java.util.Collection<android.telecomm.CallInfo> getCalls();
- method protected void onAdapterAttached(android.telecomm.CallServiceSelectorAdapter);
- method public final android.os.IBinder onBind(android.content.Intent);
- method protected abstract void select(android.telecomm.CallInfo, java.util.List<android.telecomm.CallServiceDescriptor>);
- }
-
- public final class CallServiceSelectorAdapter {
- method public void cancelOutgoingCall(java.lang.String);
- method public void setHandoffInfo(java.lang.String, android.net.Uri, android.os.Bundle);
- method public void setSelectedCallServices(java.lang.String, java.util.List<android.telecomm.CallServiceDescriptor>);
- }
-
- public final class CallState extends java.lang.Enum {
- method public static android.telecomm.CallState valueOf(java.lang.String);
- method public static final android.telecomm.CallState[] values();
- enum_constant public static final android.telecomm.CallState ACTIVE;
- enum_constant public static final android.telecomm.CallState DIALING;
- enum_constant public static final android.telecomm.CallState DISCONNECTED;
- enum_constant public static final android.telecomm.CallState NEW;
- enum_constant public static final android.telecomm.CallState ON_HOLD;
- enum_constant public static final android.telecomm.CallState POST_DIAL;
- enum_constant public static final android.telecomm.CallState POST_DIAL_WAIT;
- enum_constant public static final android.telecomm.CallState RINGING;
- }
-
- public abstract class Connection {
- ctor protected Connection();
- method public final android.telecomm.CallAudioState getCallAudioState();
- method public final android.net.Uri getHandle();
- method protected void onAbort();
- method protected void onAnswer();
- method protected void onDisconnect();
- method protected void onHold();
- method protected void onPlayDtmfTone(char);
- method protected void onReject();
- method protected void onSetAudioState(android.telecomm.CallAudioState);
- method protected void onSetSignal(android.os.Bundle);
- method protected void onStopDtmfTone();
- method protected void onUnhold();
- method protected void setActive();
- method public void setAudioState(android.telecomm.CallAudioState);
- method protected void setDialing();
- method protected void setDisconnected(int, java.lang.String);
- method protected void setHandle(android.net.Uri);
- method protected void setOnHold();
- method protected void setRinging();
- method public static java.lang.String stateToString(int);
- }
-
- public static abstract interface Connection.Listener {
- method public abstract void onAudioStateChanged(android.telecomm.Connection, android.telecomm.CallAudioState);
- method public abstract void onDestroyed(android.telecomm.Connection);
- method public abstract void onDisconnected(android.telecomm.Connection, int, java.lang.String);
- method public abstract void onHandleChanged(android.telecomm.Connection, android.net.Uri);
- method public abstract void onSignalChanged(android.telecomm.Connection, android.os.Bundle);
- method public abstract void onStateChanged(android.telecomm.Connection, int);
- }
-
- public static class Connection.ListenerBase implements android.telecomm.Connection.Listener {
- ctor public Connection.ListenerBase();
- method public void onAudioStateChanged(android.telecomm.Connection, android.telecomm.CallAudioState);
- method public void onDestroyed(android.telecomm.Connection);
- method public void onDisconnected(android.telecomm.Connection, int, java.lang.String);
- method public void onHandleChanged(android.telecomm.Connection, android.net.Uri);
- method public void onSignalChanged(android.telecomm.Connection, android.os.Bundle);
- method public void onStateChanged(android.telecomm.Connection, int);
- }
-
- public final class Connection.State {
- field public static final int ACTIVE = 3; // 0x3
- field public static final int DIALING = 2; // 0x2
- field public static final int DISCONNECTED = 5; // 0x5
- field public static final int HOLDING = 4; // 0x4
- field public static final int NEW = 0; // 0x0
- field public static final int RINGING = 1; // 0x1
- }
-
- public final class ConnectionRequest {
- ctor public ConnectionRequest(android.net.Uri, android.os.Bundle);
- method public android.os.Bundle getExtras();
- method public android.net.Uri getHandle();
- }
-
- public abstract class ConnectionService extends android.telecomm.CallService {
- ctor public ConnectionService();
- method public final void abort(java.lang.String);
- method public final void answer(java.lang.String);
- method public final void call(android.telecomm.CallInfo);
- method public final void disconnect(java.lang.String);
- method public final void hold(java.lang.String);
- method public final void isCompatibleWith(android.telecomm.CallInfo);
- method public final void onAudioStateChanged(java.lang.String, android.telecomm.CallAudioState);
- method public void onCreateConnections(android.telecomm.ConnectionRequest, android.telecomm.Response<android.telecomm.ConnectionRequest, android.telecomm.Connection>);
- method public void onCreateIncomingConnection(android.telecomm.ConnectionRequest, android.telecomm.Response<android.telecomm.ConnectionRequest, android.telecomm.Connection>);
- method public void onFindSubscriptions(android.net.Uri, android.telecomm.Response<android.net.Uri, android.telecomm.Subscription>);
- method public final void playDtmfTone(java.lang.String, char);
- method public final void reject(java.lang.String);
- method public final void setIncomingCallId(java.lang.String, android.os.Bundle);
- method public final void stopDtmfTone(java.lang.String);
- method public final void unhold(java.lang.String);
- }
-
- public class GatewayInfo implements android.os.Parcelable {
- method public int describeContents();
- method public android.net.Uri getGatewayHandle();
- method public java.lang.String getGatewayProviderPackageName();
- method public android.net.Uri getOriginalHandle();
- method public boolean isEmpty();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- }
-
- public final class InCallAdapter {
- method public void answerCall(java.lang.String);
- method public void disconnectCall(java.lang.String);
- method public void handoffCall(java.lang.String);
- method public void holdCall(java.lang.String);
- method public void mute(boolean);
- method public void playDtmfTone(java.lang.String, char);
- method public void postDialContinue(java.lang.String);
- method public void rejectCall(java.lang.String);
- method public void setAudioRoute(int);
- method public void stopDtmfTone(java.lang.String);
- method public void unholdCall(java.lang.String);
- }
-
- public final class InCallCall implements android.os.Parcelable {
- method public int describeContents();
- method public int getCapabilities();
- method public long getConnectTimeMillis();
- method public android.telecomm.CallServiceDescriptor getCurrentCallServiceDescriptor();
- method public int getDisconnectCause();
- method public android.telecomm.GatewayInfo getGatewayInfo();
- method public android.net.Uri getHandle();
- method public android.telecomm.CallServiceDescriptor getHandoffCallServiceDescriptor();
- method public java.lang.String getId();
- method public android.telecomm.CallState getState();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- }
-
- public abstract class InCallService extends android.app.Service {
- ctor protected InCallService();
- method protected abstract void addCall(android.telecomm.InCallCall);
- method protected final android.telecomm.InCallAdapter getAdapter();
- method protected void onAdapterAttached(android.telecomm.InCallAdapter);
- method protected abstract void onAudioStateChanged(android.telecomm.CallAudioState);
- method public final android.os.IBinder onBind(android.content.Intent);
- method protected abstract void setPostDial(java.lang.String, java.lang.String);
- method protected abstract void setPostDialWait(java.lang.String, java.lang.String);
- method protected abstract void updateCall(android.telecomm.InCallCall);
- }
-
- public abstract interface Response {
- method public abstract void onError(IN, java.lang.String);
- method public abstract void onResult(IN, OUT...);
- }
-
- public class Subscription implements android.os.Parcelable {
- ctor public Subscription();
- method public int describeContents();
- method public void writeToParcel(android.os.Parcel, int);
- field public static final android.os.Parcelable.Creator CREATOR;
- }
-
- public final class TelecommConstants {
- ctor public TelecommConstants();
- field public static final java.lang.String ACTION_CALL_SERVICE;
- field public static final java.lang.String ACTION_CALL_SERVICE_PROVIDER;
- field public static final java.lang.String ACTION_CALL_SERVICE_SELECTOR;
- field public static final java.lang.String ACTION_INCOMING_CALL = "android.intent.action.INCOMING_CALL";
- field public static final char DTMF_CHARACTER_PAUSE = 44; // 0x002c ','
- field public static final char DTMF_CHARACTER_WAIT = 59; // 0x003b ';'
- field public static final java.lang.String EXTRA_CALL_DISCONNECT_CAUSE = "android.telecomm.extra.CALL_DISCONNECT_CAUSE";
- field public static final java.lang.String EXTRA_CALL_DISCONNECT_MESSAGE = "android.telecomm.extra.CALL_DISCONNECT_MESSAGE";
- field public static final java.lang.String EXTRA_CALL_SERVICE_DESCRIPTOR = "android.intent.extra.CALL_SERVICE_DESCRIPTOR";
- field public static final java.lang.String EXTRA_INCOMING_CALL_EXTRAS = "android.intent.extra.INCOMING_CALL_EXTRAS";
- }
-
-}
-
package android.telephony {
public final class CellIdentityCdma implements android.os.Parcelable {