META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/ons/
com/android/ons/ONSAutoBoot.class
ONSAutoBoot.java
package com.android.ons
public com.android.ons.ONSAutoBoot extends android.content.BroadcastReceiver {
private static final String TAG
public void <init> ()
public void onReceive (android.content.Context, android.content.Intent)
android.content.ComponentName comp
android.content.ComponentName service
android.content.Context context
android.content.Intent intent
}
com/android/ons/ONSConfigInput.class
ONSConfigInput.java
package com.android.ons
public com.android.ons.ONSConfigInput extends java.lang.Object {
private static final String TAG
private static final boolean DBG
private java.util.ArrayList mAvailableNetworkInfos
private int mPreferredDataSub
private int mPrimarySub
private com.android.internal.telephony.IUpdateAvailableNetworksCallback mAvailableNetworkCallback
void <init> (java.util.ArrayList, com.android.internal.telephony.IUpdateAvailableNetworksCallback)
java.util.ArrayList availableNetworkInfos
com.android.internal.telephony.IUpdateAvailableNetworksCallback callback
public com.android.internal.telephony.IUpdateAvailableNetworksCallback getAvailableNetworkCallback ()
public void setAvailableNetworkInfo (java.util.ArrayList)
java.util.ArrayList availableNetworkInfos
public void setPreferredDataSub (int)
int preferredDataSub
public int getPreferredDataSub ()
public void setPrimarySub (int)
int primarySub
public int getPrimarySub ()
public java.util.ArrayList getAvailableNetworkInfos ()
public java.lang.String toString ()
}
com/android/ons/ONSNetworkScanCtlr$1.class
ONSNetworkScanCtlr.java
package com.android.ons
com.android.ons.ONSNetworkScanCtlr$1 extends android.telephony.TelephonyScanManager$NetworkScanCallback {
final synthetic com.android.ons.ONSNetworkScanCtlr this$0
void <init> (com.android.ons.ONSNetworkScanCtlr)
com.android.ons.ONSNetworkScanCtlr this$0
public void onResults (java.util.List)
android.telephony.CellInfo cellInfo
java.util.List results
android.os.Message message
public void onComplete ()
android.os.Message message
public void onError (int)
int error
android.os.Message message
}
com/android/ons/ONSNetworkScanCtlr$2.class
ONSNetworkScanCtlr.java
package com.android.ons
com.android.ons.ONSNetworkScanCtlr$2 extends android.os.Handler {
final synthetic com.android.ons.ONSNetworkScanCtlr this$0
void <init> (com.android.ons.ONSNetworkScanCtlr, android.os.Looper)
com.android.ons.ONSNetworkScanCtlr this$0
android.os.Looper looper
public void handleMessage (android.os.Message)
android.os.Message msg
}
com/android/ons/ONSNetworkScanCtlr$NetworkAvailableCallBack.class
ONSNetworkScanCtlr.java
package com.android.ons
public abstract com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack extends java.lang.Object {
public abstract void onNetworkAvailability (java.util.List)
public abstract void onError (int)
}
com/android/ons/ONSNetworkScanCtlr.class
ONSNetworkScanCtlr.java
package com.android.ons
public com.android.ons.ONSNetworkScanCtlr extends java.lang.Object {
private static final String LOG_TAG
private static final boolean DBG
private static final int SEARCH_PERIODICITY_SLOW
private static final int SEARCH_PERIODICITY_FAST
private static final int MAX_SEARCH_TIME
private static final int SCAN_RESTART_TIME
private final Object mLock
private static final int MSG_SCAN_RESULTS_AVAILABLE
private static final int MSG_SCAN_COMPLETE
private static final int MSG_SCAN_ERROR
private Boolean mIs4gScanEnabled
static final android.telephony.RadioAccessSpecifier DEFAULT_5G_RAS
static final android.telephony.RadioAccessSpecifier DEFAULT_4G_RAS
private android.telephony.NetworkScan mCurrentScan
private boolean mIsScanActive
private android.telephony.NetworkScanRequest mCurrentScanRequest
private java.util.List mMccMncs
private android.telephony.TelephonyManager mTelephonyManager
private android.telephony.CarrierConfigManager configManager
private int mRsrpEntryThreshold
private int mSsRsrpEntryThreshold
protected com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack mNetworkAvailableCallBack
android.os.HandlerThread mThread
private android.os.Handler mHandler
public android.telephony.TelephonyScanManager$NetworkScanCallback mNetworkScanCallback
private android.os.PersistableBundle getConfigBundle ()
private int getIntCarrierConfig (java.lang.String)
String key
android.os.PersistableBundle b
private boolean getBooleanCarrierConfig (java.lang.String)
String key
android.os.PersistableBundle b
public void analyzeScanResults (java.util.List)
android.telephony.CellInfoNr nrCellInfo
int ssRsrp
int rsrp
android.telephony.CellInfo cellInfo
java.util.List results
java.util.List filteredResults
private void invalidateScanOnError (int)
int error
public void <init> (android.content.Context, android.telephony.TelephonyManager, com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack)
android.content.Context c
android.telephony.TelephonyManager telephonyManager
com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack networkAvailableCallBack
public void init (android.content.Context, android.telephony.TelephonyManager, com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack)
android.content.Context context
android.telephony.TelephonyManager telephonyManager
com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack networkAvailableCallBack
protected java.lang.String getMccMnc (android.telephony.CellInfo)
android.telephony.CellInfo cellInfo
private boolean getIs4gScanEnabled ()
void setIs4gScanEnabled (boolean)
boolean enabled
android.telephony.NetworkScanRequest createNetworkScanRequest (java.util.ArrayList, int)
int radioAccessNetworkType
android.telephony.RadioAccessSpecifier radioAccessSpecifier
java.util.List radioAccessSpecifiers
android.telephony.AvailableNetworkInfo availableNetwork
java.util.ArrayList availableNetworks
int periodicity
android.telephony.RadioAccessSpecifier[] ras
java.util.ArrayList mccMncs
java.util.Set bandSet5G
java.util.Set bandSet4G
int rasSize
android.telephony.NetworkScanRequest networkScanRequest
public boolean startFastNetworkScan (java.util.ArrayList)
java.util.ArrayList availableNetworks
android.telephony.NetworkScanRequest networkScanRequest
private boolean startNetworkScan (android.telephony.NetworkScanRequest)
android.telephony.NetworkScan networkScan
android.telephony.NetworkScanRequest networkScanRequest
android.telephony.NetworkScan networkScan
private void restartScan ()
android.telephony.NetworkScan networkScan
public void stopNetworkScan ()
IllegalArgumentException iae
private static void log (java.lang.String)
String msg
private static void logDebug (java.lang.String)
String msg
private static synthetic int lambda$createNetworkScanRequest$1 (java.lang.Integer)
Integer band
private static synthetic int lambda$createNetworkScanRequest$0 (java.lang.Integer)
Integer band
static void <clinit> ()
}
com/android/ons/ONSProfileActivator$1.class
ONSProfileActivator.java
package com.android.ons
com.android.ons.ONSProfileActivator$1 extends android.os.Handler {
final synthetic com.android.ons.ONSProfileActivator this$0
void <init> (com.android.ons.ONSProfileActivator, android.os.Looper)
com.android.ons.ONSProfileActivator this$0
android.os.Looper looper
public void handleMessage (android.os.Message)
com.android.ons.ONSProfileActivator$Result res
android.os.Message msg
}
com/android/ons/ONSProfileActivator$2.class
ONSProfileActivator.java
package com.android.ons
synthetic com.android.ons.ONSProfileActivator$2 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ons$ONSProfileDownloader$DownloadProfileResult
static final synthetic int[] $SwitchMap$com$android$ons$ONSProfileDownloader$DownloadRetryResultCode
static void <clinit> ()
}
com/android/ons/ONSProfileActivator$NetworkCallback.class
ONSProfileActivator.java
package com.android.ons
com.android.ons.ONSProfileActivator$NetworkCallback extends android.net.ConnectivityManager$NetworkCallback {
final synthetic com.android.ons.ONSProfileActivator this$0
private void <init> (com.android.ons.ONSProfileActivator)
public void onAvailable (android.net.Network)
com.android.ons.ONSProfileActivator$Result res
android.net.Network network
public void onLost (android.net.Network)
android.net.Network network
}
com/android/ons/ONSProfileActivator$Result.class
ONSProfileActivator.java
package com.android.ons
public final enum com.android.ons.ONSProfileActivator$Result extends java.lang.Enum {
public static final enum com.android.ons.ONSProfileActivator$Result SUCCESS
public static final enum com.android.ons.ONSProfileActivator$Result DOWNLOAD_REQUESTED
public static final enum com.android.ons.ONSProfileActivator$Result ERR_SWITCHING_TO_DUAL_SIM_MODE
public static final enum com.android.ons.ONSProfileActivator$Result ERR_AUTO_PROVISIONING_DISABLED
public static final enum com.android.ons.ONSProfileActivator$Result ERR_ESIM_NOT_SUPPORTED
public static final enum com.android.ons.ONSProfileActivator$Result ERR_MULTISIM_NOT_SUPPORTED
public static final enum com.android.ons.ONSProfileActivator$Result ERR_CARRIER_DOESNT_SUPPORT_CBRS
public static final enum com.android.ons.ONSProfileActivator$Result ERR_DUAL_ACTIVE_SUBSCRIPTIONS
public static final enum com.android.ons.ONSProfileActivator$Result ERR_NO_SIM_INSERTED
public static final enum com.android.ons.ONSProfileActivator$Result ERR_SINGLE_ACTIVE_OPPORTUNISTIC_SIM
public static final enum com.android.ons.ONSProfileActivator$Result ERR_CANNOT_SWITCH_TO_DUAL_SIM_MODE
public static final enum com.android.ons.ONSProfileActivator$Result ERR_WAITING_FOR_INTERNET_CONNECTION
public static final enum com.android.ons.ONSProfileActivator$Result ERR_WAITING_FOR_WIFI_CONNECTION
public static final enum com.android.ons.ONSProfileActivator$Result ERR_DUPLICATE_DOWNLOAD_REQUEST
public static final enum com.android.ons.ONSProfileActivator$Result ERR_INVALID_CARRIER_CONFIG
public static final enum com.android.ons.ONSProfileActivator$Result ERR_DOWNLOADED_ESIM_NOT_FOUND
public static final enum com.android.ons.ONSProfileActivator$Result ERR_PSIM_NOT_FOUND
public static final enum com.android.ons.ONSProfileActivator$Result ERR_UNKNOWN
private static final synthetic com.android.ons.ONSProfileActivator$Result[] $VALUES
public static com.android.ons.ONSProfileActivator$Result[] values ()
public static com.android.ons.ONSProfileActivator$Result valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic com.android.ons.ONSProfileActivator$Result[] $values ()
static void <clinit> ()
}
com/android/ons/ONSProfileActivator.class
ONSProfileActivator.java
package com.android.ons
public com.android.ons.ONSProfileActivator extends java.lang.Object implements com.android.ons.ONSProfileConfigurator$ONSProfConfigListener com.android.ons.ONSProfileDownloader$IONSProfileDownloaderListener {
private static final String TAG
private final android.content.Context mContext
private final android.telephony.SubscriptionManager mSubManager
private final android.telephony.TelephonyManager mTelephonyManager
private final android.telephony.CarrierConfigManager mCarrierConfigMgr
private final android.telephony.euicc.EuiccManager mEuiccManager
private final com.android.ons.ONSProfileConfigurator mONSProfileConfig
private final com.android.ons.ONSProfileDownloader mONSProfileDownloader
private final android.net.ConnectivityManager mConnectivityManager
private final com.android.ons.ONSStats mONSStats
protected boolean mIsInternetConnAvailable
protected boolean mRetryDownloadWhenNWConnected
protected int mDownloadRetryCount
protected static final int REQUEST_CODE_DOWNLOAD_RETRY
private final android.os.Handler mHandler
public void <init> (android.content.Context, com.android.ons.ONSStats)
android.content.Context context
com.android.ons.ONSStats onsStats
android.telephony.SubscriptionManager sm
android.net.NetworkRequest request
void <init> (android.content.Context, android.telephony.SubscriptionManager, android.telephony.TelephonyManager, android.telephony.CarrierConfigManager, android.telephony.euicc.EuiccManager, android.net.ConnectivityManager, com.android.ons.ONSProfileConfigurator, com.android.ons.ONSProfileDownloader, com.android.ons.ONSStats)
android.content.Context mockContext
android.telephony.SubscriptionManager subscriptionManager
android.telephony.TelephonyManager telephonyManager
android.telephony.CarrierConfigManager carrierConfigMgr
android.telephony.euicc.EuiccManager euiccManager
android.net.ConnectivityManager connManager
com.android.ons.ONSProfileConfigurator onsProfileConfigurator
com.android.ons.ONSProfileDownloader onsProfileDownloader
com.android.ons.ONSStats onsStats
com.android.ons.ONSProfileConfigurator getONSProfileConfigurator ()
com.android.ons.ONSProfileDownloader getONSProfileDownloader ()
public com.android.ons.ONSProfileActivator$Result handleCarrierConfigChange ()
com.android.ons.ONSProfileActivator$Result res
public void onOppSubscriptionDeleted (int)
int pSIMId
com.android.ons.ONSProfileActivator$Result res
private com.android.ons.ONSProfileActivator$Result provisionCBRS ()
android.telephony.SubscriptionInfo pSubInfo
android.telephony.SubscriptionInfo subInfo
android.os.ParcelUuid pSIMGroupId
android.telephony.SubscriptionInfo oppSubInfo
int pSubId
android.telephony.SubscriptionInfo subInfo
boolean allPhysicalSIMs
java.util.List activeSubInfos
int activeSubCount
private com.android.ons.ONSProfileActivator$Result downloadAndActivateOpportunisticSubscription (android.telephony.SubscriptionInfo)
android.telephony.SubscriptionInfo primaryCBRSSubInfo
android.os.ParcelUuid pSIMgroupId
android.telephony.SubscriptionInfo oppSubInfo
com.android.ons.ONSProfileDownloader$DownloadProfileResult res
public void onDownloadComplete (int)
int primarySubId
android.telephony.SubscriptionInfo opportunisticESIM
android.telephony.SubscriptionInfo pSIMSubInfo
public void onDownloadError (int, com.android.ons.ONSProfileDownloader$DownloadRetryResultCode, int)
java.util.ArrayList oppSubIds
java.util.ArrayList oppSubIds
int pSIMSubId
com.android.ons.ONSProfileDownloader$DownloadRetryResultCode resultCode
int detailedErrorCode
boolean logStats
protected boolean startBackoffTimer (int)
int pSIMSubId
int backoffTimerVal
int delay
android.os.Message retryMsg
protected static int calculateBackoffDelay (int, int)
int retryCount
int backoffTimerVal
java.util.Random random
int maxTime
private int getDownloadRetryMaxAttemptsVal (int)
int subscriptionId
android.os.PersistableBundle config
private int getDownloadRetryBackOffTimerVal (int)
int subscriptionId
android.os.PersistableBundle config
private boolean isESIMSupported ()
android.telephony.euicc.EuiccManager euiccManager
android.telephony.UiccCardInfo uiccCardInfo
private boolean isONSAutoProvisioningEnabled ()
private boolean isMultiSIMPhone ()
private boolean isOppDataAutoProvisioningSupported (int)
int pSIMSubId
android.os.PersistableBundle config
private boolean isDeviceInSingleSIMMode ()
private boolean switchToMultiSIMMode ()
private boolean isWiFiConnected ()
android.net.Network activeNetwork
private boolean getESIMDownloadViaWiFiOnlyFlag (int)
int subscriptionId
android.os.PersistableBundle config
static void <clinit> ()
}
com/android/ons/ONSProfileConfigurator$1.class
ONSProfileConfigurator.java
package com.android.ons
com.android.ons.ONSProfileConfigurator$1 extends android.os.Handler {
final synthetic com.android.ons.ONSProfileConfigurator this$0
void <init> (com.android.ons.ONSProfileConfigurator, android.os.Looper)
com.android.ons.ONSProfileConfigurator this$0
android.os.Looper looper
public void handleMessage (android.os.Message)
android.os.Message msg
}
com/android/ons/ONSProfileConfigurator$ONSProfConfigListener.class
ONSProfileConfigurator.java
package com.android.ons
public abstract com.android.ons.ONSProfileConfigurator$ONSProfConfigListener extends java.lang.Object {
public abstract void onOppSubscriptionDeleted (int)
}
com/android/ons/ONSProfileConfigurator.class
ONSProfileConfigurator.java
package com.android.ons
public com.android.ons.ONSProfileConfigurator extends java.lang.Object {
private static final String TAG
protected static final String PARAM_SUB_ID
protected static final String PARAM_REQUEST_TYPE
protected static final int REQUEST_CODE_ACTIVATE_SUB
protected static final int REQUEST_CODE_DELETE_SUB
protected static final String ACTION_ONS_ESIM_CONFIG
private final android.content.Context mContext
private final android.telephony.SubscriptionManager mSubscriptionManager
private final android.telephony.CarrierConfigManager mCarrierConfigManager
private final android.telephony.euicc.EuiccManager mEuiccManager
private com.android.ons.ONSProfileConfigurator$ONSProfConfigListener mONSProfConfigListener
private final android.os.Handler mHandler
public void <init> (android.content.Context, android.telephony.SubscriptionManager, android.telephony.CarrierConfigManager, android.telephony.euicc.EuiccManager, com.android.ons.ONSProfileConfigurator$ONSProfConfigListener)
android.content.Context context
android.telephony.SubscriptionManager subscriptionManager
android.telephony.CarrierConfigManager carrierConfigManager
android.telephony.euicc.EuiccManager euiccManager
com.android.ons.ONSProfileConfigurator$ONSProfConfigListener listener
public void onCallbackIntentReceived (android.content.Intent, int)
android.content.Intent intent
int resultCode
android.os.Message msg
protected void callbackMsgHandler (android.os.Message)
int subId
android.os.Message msg
android.content.Intent intent
int resultCode
int reqCode
protected void groupWithPSIMAndSetOpportunistic (android.telephony.SubscriptionInfo, android.os.ParcelUuid)
RuntimeException re
java.util.ArrayList subList
android.telephony.SubscriptionInfo opportunisticESIM
android.os.ParcelUuid groupUuid
public void activateSubscription (int)
android.telephony.euicc.EuiccManager euiccManager
android.telephony.SubscriptionInfo subInfo
int subId
android.content.Intent intent
android.app.PendingIntent callbackIntent
java.util.List subInfoList
public boolean deleteInactiveOpportunisticSubscriptions (int)
int subId
android.telephony.SubscriptionInfo subInfo
int pSIMId
java.util.List subList
java.util.ArrayList getOpportunisticSubIdsofPSIMOperator (int)
int oppCarrierId
android.telephony.SubscriptionInfo subInfo
int pSIMSubId
java.util.ArrayList opportunisticSubIds
android.os.PersistableBundle config
int[] oppCarrierIdArr
java.util.List oppSubList
public void deleteSubscription (int)
android.telephony.euicc.EuiccManager euiccManager
android.telephony.SubscriptionInfo subInfo
int subId
android.content.Intent intent
android.app.PendingIntent callbackIntent
java.util.List subInfoList
public android.os.ParcelUuid getPSIMGroupId (android.telephony.SubscriptionInfo)
RuntimeException re
android.telephony.SubscriptionInfo primaryCBRSSubInfo
android.os.ParcelUuid groupId
java.util.List pSubList
android.os.ParcelUuid puid
public android.telephony.SubscriptionInfo findOpportunisticSubscription (int)
android.os.ParcelUuid oppSubGroupId
int carrId
android.telephony.SubscriptionInfo subInfo
int pSIMId
java.util.List availSubInfoList
android.os.PersistableBundle config
int[] oppCarrierIdArr
android.telephony.SubscriptionInfo subscriptionInfo
android.os.ParcelUuid pSIMSubGroupId
static void <clinit> ()
}
com/android/ons/ONSProfileDownloader$DownloadHandler.class
ONSProfileDownloader.java
package com.android.ons
com.android.ons.ONSProfileDownloader$DownloadHandler extends android.os.Handler {
final synthetic com.android.ons.ONSProfileDownloader this$0
void <init> (com.android.ons.ONSProfileDownloader)
com.android.ons.ONSProfileDownloader this$0
public void handleMessage (android.os.Message)
int pSIMSubId
int detailedErrCode
int operationCode
int errorCode
com.android.ons.ONSProfileDownloader$DownloadRetryResultCode resultCode
android.os.Message msg
protected com.android.ons.ONSProfileDownloader$DownloadRetryResultCode mapDownloaderErrorCode (int, int, int, int)
android.util.Pair errCode
int resultCode
int detailedErrCode
int operationCode
int errorCode
}
com/android/ons/ONSProfileDownloader$DownloadProfileResult.class
ONSProfileDownloader.java
package com.android.ons
public final enum com.android.ons.ONSProfileDownloader$DownloadProfileResult extends java.lang.Enum {
public static final enum com.android.ons.ONSProfileDownloader$DownloadProfileResult SUCCESS
public static final enum com.android.ons.ONSProfileDownloader$DownloadProfileResult DUPLICATE_REQUEST
public static final enum com.android.ons.ONSProfileDownloader$DownloadProfileResult INVALID_SMDP_ADDRESS
private static final synthetic com.android.ons.ONSProfileDownloader$DownloadProfileResult[] $VALUES
public static com.android.ons.ONSProfileDownloader$DownloadProfileResult[] values ()
public static com.android.ons.ONSProfileDownloader$DownloadProfileResult valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic com.android.ons.ONSProfileDownloader$DownloadProfileResult[] $values ()
static void <clinit> ()
}
com/android/ons/ONSProfileDownloader$DownloadRetryResultCode.class
ONSProfileDownloader.java
package com.android.ons
public final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode extends java.lang.Enum {
public static final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode DOWNLOAD_SUCCESSFUL
public static final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode ERR_UNRESOLVABLE
public static final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode ERR_MEMORY_FULL
public static final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode ERR_INSTALL_ESIM_PROFILE_FAILED
public static final enum com.android.ons.ONSProfileDownloader$DownloadRetryResultCode ERR_RETRY_DOWNLOAD
private static final synthetic com.android.ons.ONSProfileDownloader$DownloadRetryResultCode[] $VALUES
public static com.android.ons.ONSProfileDownloader$DownloadRetryResultCode[] values ()
public static com.android.ons.ONSProfileDownloader$DownloadRetryResultCode valueOf (java.lang.String)
String name
private void <init> (java.lang.String, int)
private static synthetic com.android.ons.ONSProfileDownloader$DownloadRetryResultCode[] $values ()
static void <clinit> ()
}
com/android/ons/ONSProfileDownloader$IONSProfileDownloaderListener.class
ONSProfileDownloader.java
package com.android.ons
abstract com.android.ons.ONSProfileDownloader$IONSProfileDownloaderListener extends java.lang.Object {
public abstract void onDownloadComplete (int)
public abstract void onDownloadError (int, com.android.ons.ONSProfileDownloader$DownloadRetryResultCode, int)
}
com/android/ons/ONSProfileDownloader.class
ONSProfileDownloader.java
package com.android.ons
public com.android.ons.ONSProfileDownloader extends java.lang.Object {
private static final String TAG
public static final String ACTION_ONS_ESIM_DOWNLOAD
protected static final String PARAM_PRIMARY_SUBID
protected static final String PARAM_REQUEST_TYPE
protected static final int REQUEST_CODE_DOWNLOAD_SUB
private final android.os.Handler mHandler
private final android.content.Context mContext
private final android.telephony.CarrierConfigManager mCarrierConfigManager
private final android.telephony.euicc.EuiccManager mEuiccManager
private final android.telephony.SubscriptionManager mSubManager
private final com.android.ons.ONSProfileConfigurator mONSProfileConfig
private com.android.ons.ONSProfileDownloader$IONSProfileDownloaderListener mListener
private int mDownloadingPSimSubId
public void <init> (android.content.Context, android.telephony.CarrierConfigManager, android.telephony.euicc.EuiccManager, android.telephony.SubscriptionManager, com.android.ons.ONSProfileConfigurator, com.android.ons.ONSProfileDownloader$IONSProfileDownloaderListener)
android.content.Context context
android.telephony.CarrierConfigManager carrierConfigManager
android.telephony.euicc.EuiccManager euiccManager
android.telephony.SubscriptionManager subManager
com.android.ons.ONSProfileConfigurator onsProfileConfigurator
com.android.ons.ONSProfileDownloader$IONSProfileDownloaderListener listener
private java.lang.String getUnresolvableErrorDescription (int)
int errorCode
protected com.android.ons.ONSProfileDownloader$DownloadProfileResult downloadProfile (int)
android.telephony.euicc.EuiccManager euiccManager
int primarySubId
String smdpAddress
String activationCode
android.content.Intent intent
android.app.PendingIntent callbackIntent
android.telephony.SubscriptionInfo primarySubInfo
private java.lang.String getSMDPServerAddress (int)
int subscriptionId
android.os.PersistableBundle config
protected static android.util.Pair decodeSmdxSubjectAndReasonCode (int)
int sectionDigit
int i
int resultCode
int numOfSections
int bitsPerSection
int sectionMask
java.util.Stack sections
String subjectCode
String reasonCode
public void onCallbackIntentReceived (android.content.Intent, int)
android.content.Intent intent
int resultCode
android.os.Message msg
static void <clinit> ()
}
com/android/ons/ONSProfileResultReceiver.class
ONSProfileResultReceiver.java
package com.android.ons
public com.android.ons.ONSProfileResultReceiver extends android.content.BroadcastReceiver {
private static final String TAG
public static final String EXTRA_RESULT_CODE
public void <init> ()
public void onReceive (android.content.Context, android.content.Intent)
int simCount
android.content.Intent serviceIntent
android.content.Context context
android.content.Intent intent
String action
static void <clinit> ()
}
com/android/ons/ONSProfileSelector$1.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$1 extends java.lang.Object implements com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public void onNetworkAvailability (java.util.List)
java.util.List results
int subId
public void onError (int)
int error
private void handleNetworkScanResult (int)
int subId
}
com/android/ons/ONSProfileSelector$2.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$2 extends android.telephony.SubscriptionManager$OnOpportunisticSubscriptionsChangedListener {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public void onOpportunisticSubscriptionsChanged ()
}
com/android/ons/ONSProfileSelector$3.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$3 extends java.lang.Object implements java.util.Comparator {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public int compare (android.telephony.CellInfo, android.telephony.CellInfo)
android.telephony.CellInfo cellInfo1
android.telephony.CellInfo cellInfo2
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
com/android/ons/ONSProfileSelector$4.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$4 extends android.os.Handler {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector, android.os.Looper)
com.android.ons.ONSProfileSelector this$0
android.os.Looper looper
public void handleMessage (android.os.Message)
android.os.Message msg
}
com/android/ons/ONSProfileSelector$ONSProfileSelectionCallback.class
ONSProfileSelector.java
package com.android.ons
public abstract com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback extends java.lang.Object {
public abstract void onProfileSelectionDone ()
}
com/android/ons/ONSProfileSelector$SortAvailableNetworks.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$SortAvailableNetworks extends java.lang.Object implements java.util.Comparator {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public int compare (android.telephony.AvailableNetworkInfo, android.telephony.AvailableNetworkInfo)
android.telephony.AvailableNetworkInfo a
android.telephony.AvailableNetworkInfo b
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
com/android/ons/ONSProfileSelector$SortAvailableNetworksInPriority.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$SortAvailableNetworksInPriority extends java.lang.Object implements java.util.Comparator {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public int compare (android.telephony.AvailableNetworkInfo, android.telephony.AvailableNetworkInfo)
android.telephony.AvailableNetworkInfo a
android.telephony.AvailableNetworkInfo b
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
com/android/ons/ONSProfileSelector$SortSubInfo.class
ONSProfileSelector.java
package com.android.ons
com.android.ons.ONSProfileSelector$SortSubInfo extends java.lang.Object implements java.util.Comparator {
final synthetic com.android.ons.ONSProfileSelector this$0
void <init> (com.android.ons.ONSProfileSelector)
com.android.ons.ONSProfileSelector this$0
public int compare (android.telephony.SubscriptionInfo, android.telephony.SubscriptionInfo)
android.telephony.SubscriptionInfo a
android.telephony.SubscriptionInfo b
public volatile synthetic int compare (java.lang.Object, java.lang.Object)
}
com/android/ons/ONSProfileSelector.class
ONSProfileSelector.java
package com.android.ons
public com.android.ons.ONSProfileSelector extends java.lang.Object {
private static final String LOG_TAG
private static final boolean DBG
private final Object mLock
private static final int INVALID_SEQUENCE_ID
private static final int START_SEQUENCE_ID
private static final int MSG_PROFILE_UPDATE
private static final int MSG_START_PROFILE_SELECTION
private static final int MSG_SUB_SWITCH_COMPLETE
private static final int MSG_STOP_PROFILE_SELECTION
private boolean mIsEnabled
protected android.content.Context mContext
protected android.telephony.TelephonyManager mTelephonyManager
protected android.telephony.TelephonyManager mSubscriptionBoundTelephonyManager
protected android.telephony.euicc.EuiccManager mEuiccManager
protected com.android.ons.ONSNetworkScanCtlr mNetworkScanCtlr
protected android.telephony.SubscriptionManager mSubscriptionManager
protected java.util.List mOppSubscriptionInfos
protected java.util.List mStandaloneOppSubInfos
private com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback mProfileSelectionCallback
private int mSequenceId
private int mSubId
protected int mCurrentDataSubId
private java.util.ArrayList mAvailableNetworkInfos
private com.android.internal.telephony.IUpdateAvailableNetworksCallback mNetworkScanCallback
public static final String ACTION_SUB_SWITCH
android.os.HandlerThread mThread
protected android.os.Handler mHandler
protected com.android.ons.ONSNetworkScanCtlr$NetworkAvailableCallBack mNetworkAvailableCallBack
protected android.telephony.SubscriptionManager$OnOpportunisticSubscriptionsChangedListener mProfileChangeListener
private java.util.HashMap callbackStubs
public void <init> (android.content.Context, com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback)
android.content.Context c
com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback profileSelectionCallback
private int getSignalLevel (android.telephony.CellInfo)
android.telephony.CellInfo cellInfo
protected java.lang.String getMcc (android.telephony.CellInfo)
android.telephony.CellInfo cellInfo
String mcc
protected java.lang.String getMnc (android.telephony.CellInfo)
android.telephony.CellInfo cellInfo
String mnc
private int getSubIdUsingAvailableNetworks (java.lang.String, java.lang.String, int)
String availableMccMnc
android.telephony.AvailableNetworkInfo availableNetworkInfo
String mcc
String mnc
int priorityLevel
String mccMnc
public android.telephony.SubscriptionInfo getOpprotunisticSubInfo (int)
android.telephony.SubscriptionInfo subscriptionInfo
int subId
public boolean isOpportunisticSub (int)
android.telephony.SubscriptionInfo subscriptionInfo
int subId
public boolean hasOpprotunisticSub (java.util.List)
android.telephony.AvailableNetworkInfo availableNetworkInfo
java.util.List availableNetworks
private boolean isAvtiveSub (int)
int subId
private void switchToSubscription (int, int)
android.telephony.euicc.EuiccManager euiccManager
android.telephony.SubscriptionInfo subInfo
int subId
int availableSIMPortIndex
android.content.Intent callbackIntent
android.app.PendingIntent replyIntent
java.util.List subInfoList
protected int getAvailableESIMPortIndex ()
android.telephony.SubscriptionInfo subscriptionInfo
android.telephony.UiccPortInfo uiccPortInfo
android.telephony.euicc.EuiccManager euiccManager
android.telephony.UiccCardInfo uiccCardInfo
java.util.List subscriptionInfos
void onSubSwitchComplete (android.content.Intent)
android.content.Intent intent
int sequenceId
int subId
android.os.Message message
private void onSubSwitchComplete (int)
int subId
private void updateToken ()
private java.util.ArrayList getFilteredAvailableNetworks (java.util.ArrayList, java.util.List)
android.telephony.SubscriptionInfo subscriptionInfo
android.telephony.AvailableNetworkInfo availableNetwork
java.util.ArrayList availableNetworks
java.util.List subscriptionInfoList
java.util.ArrayList filteredAvailableNetworks
int availableNetworksIndex
int subscriptionInfoListIndex
private boolean isSame (java.util.ArrayList, java.util.ArrayList)
java.util.ArrayList availableNetworks1
java.util.ArrayList availableNetworks2
private void sendUpdateNetworksCallbackHelper (com.android.internal.telephony.IUpdateAvailableNetworksCallback, int)
android.os.RemoteException exception
com.android.internal.telephony.IUpdateAvailableNetworksCallback callback
int result
private void checkProfileUpdate (java.lang.Object[])
java.util.ArrayList filteredAvailableNetworks
Object[] objects
java.util.ArrayList availableNetworks
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
int availSIMPortIndex
private boolean isActiveSub (int)
android.telephony.SubscriptionInfo subscriptionInfo
int subId
java.util.List subscriptionInfos
protected int retrieveBestSubscription (java.util.List)
int subId
android.telephony.CellInfo result
int level
java.util.List results
private boolean isOpportunisticSubEmbedded (java.util.ArrayList)
android.telephony.SubscriptionInfo subscriptionInfo
android.telephony.AvailableNetworkInfo availableNetworkInfo
java.util.ArrayList availableNetworks
java.util.List subscriptionInfos
private int getActiveOpportunisticSubId ()
android.telephony.SubscriptionInfo subscriptionInfo
java.util.List subscriptionInfos
private void disableOpportunisticModem (com.android.internal.telephony.IUpdateAvailableNetworksCallback)
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
int subId
private boolean enableModem (int, boolean)
int subId
boolean enable
android.telephony.SubscriptionInfo info
int phoneId
private void stopProfileSelectionProcess (com.android.internal.telephony.IUpdateAvailableNetworksCallback)
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
private void stopProfileScanningPrecedure ()
public boolean containsOpportunisticSubs (java.util.ArrayList)
java.util.ArrayList filteredAvailableNetworks
java.util.ArrayList availableNetworks
public boolean containStandaloneOppSubs (java.util.ArrayList)
java.util.ArrayList filteredAvailableNetworks
java.util.ArrayList availableNetworks
public boolean isOpportunisticSubActive ()
android.telephony.SubscriptionInfo subscriptionInfo
public void startProfileSelection (java.util.ArrayList, com.android.internal.telephony.IUpdateAvailableNetworksCallback)
java.util.ArrayList availableNetworks
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
Object[] objects
android.os.Message message
private void sendSetOpptCallbackHelper (com.android.internal.telephony.ISetOpportunisticDataCallback, int)
android.os.RemoteException exception
com.android.internal.telephony.ISetOpportunisticDataCallback callback
int result
public void selectProfileForData (int, boolean, com.android.internal.telephony.ISetOpportunisticDataCallback)
Exception ex
int subId
boolean needValidation
com.android.internal.telephony.ISetOpportunisticDataCallback callbackStub
public int getPreferredDataSubscriptionId ()
int preferredDataSubId
public void stopProfileSelection (com.android.internal.telephony.IUpdateAvailableNetworksCallback)
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
android.os.Message message
protected void updateOpportunisticSubscriptions ()
private void enableModemStackForNonOpportunisticSlots ()
android.telephony.SubscriptionInfo info
boolean hasActiveOpptProfile
int i
int phoneCount
protected void init (android.content.Context, com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback)
android.content.Context c
com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback profileSelectionCallback
private void log (java.lang.String)
String msg
private void logDebug (java.lang.String)
String msg
private static synthetic boolean lambda$updateOpportunisticSubscriptions$2 (android.telephony.SubscriptionInfo)
android.telephony.SubscriptionInfo subInfo
private static synthetic boolean lambda$updateOpportunisticSubscriptions$1 (android.telephony.SubscriptionInfo)
android.telephony.SubscriptionInfo subInfo
private synthetic void lambda$selectProfileForData$0 (com.android.internal.telephony.ISetOpportunisticDataCallback, java.lang.Integer)
com.android.internal.telephony.ISetOpportunisticDataCallback callbackStub
Integer result
}
com/android/ons/ONSStats$1.class
ONSStats.java
package com.android.ons
synthetic com.android.ons.ONSStats$1 extends java.lang.Object {
static final synthetic int[] $SwitchMap$com$android$ons$ONSProfileActivator$Result
static final synthetic int[] $SwitchMap$com$android$ons$ONSProfileDownloader$DownloadRetryResultCode
static void <clinit> ()
}
com/android/ons/ONSStats.class
ONSStats.java
package com.android.ons
public com.android.ons.ONSStats extends java.lang.Object {
private static final String ONS_ATOM_LOG_FILE
private static final String KEY_PROVISIONING_RESULT
private static final String KEY_DOWNLOAD_RESULT
private static final String KEY_RETRY_COUNT
private static final String KEY_DETAILED_ERROR_CODE
private static final String KEY_OPP_CARRIER_ID
private static final String KEY_PRIMARY_CARRIER_ID
private final android.content.Context mContext
private final android.telephony.SubscriptionManager mSubscriptionManager
public void <init> (android.content.Context, android.telephony.SubscriptionManager)
android.content.Context context
android.telephony.SubscriptionManager subscriptionManager
public boolean logEvent (com.android.ons.ONSStatsInfo)
com.android.ons.ONSStatsInfo info
int statsCode
private void updateSharedPreferences (com.android.ons.ONSStatsInfo)
com.android.ons.ONSStatsInfo info
android.content.SharedPreferences sharedPref
android.content.SharedPreferences$Editor editor
private boolean ignoreEvent (com.android.ons.ONSStatsInfo)
java.util.List subInfos
com.android.ons.ONSStatsInfo info
com.android.ons.ONSProfileActivator$Result result
android.content.SharedPreferences sharedPref
boolean errorCodeUpdated
boolean carrierIdUpdated
boolean retryCountUpdated
boolean oppCarrierIdChanged
boolean detailedErrorChanged
private int getSimCarrierId (int)
int subId
android.telephony.SubscriptionInfo subInfo
}
com/android/ons/ONSStatsInfo.class
ONSStatsInfo.java
package com.android.ons
public final com.android.ons.ONSStatsInfo extends java.lang.Object {
public static final int INVALID_VALUE
private com.android.ons.ONSProfileActivator$Result mProvisioningResult
private com.android.ons.ONSProfileDownloader$DownloadRetryResultCode mDownloadResult
private int mPrimarySimSubId
private int mOppSimCarrierId
private int mRetryCount
private int mDetailedErrCode
private boolean mIsWifiConnected
private boolean mIsProvisioningResultUpdated
public void <init> ()
public com.android.ons.ONSProfileActivator$Result getProvisioningResult ()
public com.android.ons.ONSProfileDownloader$DownloadRetryResultCode getDownloadResult ()
public int getPrimarySimSubId ()
public int getOppSimCarrierId ()
public int getRetryCount ()
public int getDetailedErrCode ()
public boolean isWifiConnected ()
public boolean isProvisioningResultUpdated ()
public com.android.ons.ONSStatsInfo setProvisioningResult (com.android.ons.ONSProfileActivator$Result)
com.android.ons.ONSProfileActivator$Result result
public com.android.ons.ONSStatsInfo setDownloadResult (com.android.ons.ONSProfileDownloader$DownloadRetryResultCode)
com.android.ons.ONSProfileDownloader$DownloadRetryResultCode retryResultCode
public com.android.ons.ONSStatsInfo setPrimarySimSubId (int)
int primarySimSubId
public com.android.ons.ONSStatsInfo setOppSimCarrierId (int)
int oppSimCarrierId
public com.android.ons.ONSStatsInfo setRetryCount (int)
int retryCount
public com.android.ons.ONSStatsInfo setDetailedErrCode (int)
int detailedErrCode
public com.android.ons.ONSStatsInfo setWifiConnected (boolean)
boolean wifiConnected
public java.lang.String toString ()
}
com/android/ons/OnsStatsLog.class
OnsStatsLog.java
package com.android.ons
public final com.android.ons.OnsStatsLog extends java.lang.Object {
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_UNKNOWN
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_SUCCESS
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_DEVICE_NOT_CAPABLE
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_INTERNET_NOT_AVAILABLE
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_SWITCH_TO_MULTISIM_FAILED
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_CONNECTION_ERROR
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_MEMORY_FULL
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_INSTALL_ESIM_PROFILE_FAILED
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_UNRESOLVABLE_ERROR
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_AUTO_PROVISIONING_DISABLED
public static final int ONS_OPPORTUNISTIC_ESIM_PROVISIONING_COMPLETE__ERROR_CODE__RESULT_ESIM_PROVISIONING_FAILED
public static final byte ANNOTATION_ID_IS_UID
public static final byte ANNOTATION_ID_TRUNCATE_TIMESTAMP
public static final byte ANNOTATION_ID_PRIMARY_FIELD
public static final byte ANNOTATION_ID_EXCLUSIVE_STATE
public static final byte ANNOTATION_ID_PRIMARY_FIELD_FIRST_UID
public static final byte ANNOTATION_ID_DEFAULT_STATE
public static final byte ANNOTATION_ID_TRIGGER_STATE_RESET
public static final byte ANNOTATION_ID_STATE_NESTED
public void <init> ()
public static void write (int, int, int, boolean, int, int, int)
int code
int arg1
int arg2
boolean arg3
int arg4
int arg5
int arg6
android.util.StatsEvent$Builder builder
}
com/android/ons/OpportunisticNetworkService$1.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$1 extends java.lang.Object implements com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public void onProfileSelectionDone ()
}
com/android/ons/OpportunisticNetworkService$2.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$2 extends android.content.BroadcastReceiver {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public void onReceive (android.content.Context, android.content.Intent)
android.content.Context context
android.content.Intent intent
}
com/android/ons/OpportunisticNetworkService$3.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$3 extends android.os.Handler {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService, android.os.Looper)
com.android.ons.OpportunisticNetworkService this$0
android.os.Looper looper
public void handleMessage (android.os.Message)
android.os.Message msg
}
com/android/ons/OpportunisticNetworkService$4.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$4 extends java.lang.Thread {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public void run ()
android.os.Looper looper
}
com/android/ons/OpportunisticNetworkService$5.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$5 extends com.android.internal.telephony.IOns$Stub {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public boolean setEnable (boolean, java.lang.String)
boolean enable
String callingPackage
long identity
public boolean isEnabled (java.lang.String)
String callingPackage
public void setPreferredDataSubscriptionId (int, boolean, com.android.internal.telephony.ISetOpportunisticDataCallback, java.lang.String)
int subId
boolean needValidation
com.android.internal.telephony.ISetOpportunisticDataCallback callbackStub
String callingPackage
long identity
public int getPreferredDataSubscriptionId (java.lang.String, java.lang.String)
String callingPackage
String callingFeatureId
long identity
public void updateAvailableNetworks (java.util.List, com.android.internal.telephony.IUpdateAvailableNetworksCallback, java.lang.String)
java.util.List availableNetworks
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
String callingPackage
}
com/android/ons/OpportunisticNetworkService$6.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$6 extends java.lang.Object implements java.lang.Runnable {
private android.content.Intent mIntent
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
java.lang.Runnable setIntent (android.content.Intent)
android.content.Intent intent
public void run ()
String action
}
com/android/ons/OpportunisticNetworkService$7.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$7 extends java.lang.Object implements android.telephony.CarrierConfigManager$CarrierConfigChangeListener {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public void onCarrierConfigChanged (int, int, int, int)
int logicalSlotIndex
int subscriptionId
int carrierId
int specificCarrierId
boolean isUserUnlocked
}
com/android/ons/OpportunisticNetworkService$8.class
OpportunisticNetworkService.java
package com.android.ons
com.android.ons.OpportunisticNetworkService$8 extends android.content.BroadcastReceiver {
final synthetic com.android.ons.OpportunisticNetworkService this$0
void <init> (com.android.ons.OpportunisticNetworkService)
com.android.ons.OpportunisticNetworkService this$0
public void onReceive (android.content.Context, android.content.Intent)
android.content.Context context
android.content.Intent intent
}
com/android/ons/OpportunisticNetworkService.class
OpportunisticNetworkService.java
package com.android.ons
public com.android.ons.OpportunisticNetworkService extends android.app.Service {
protected android.content.Context mContext
private android.telephony.TelephonyManager mTelephonyManager
protected android.content.pm.PackageManager mPackageManager
protected android.telephony.SubscriptionManager mSubscriptionManager
protected com.android.ons.ONSProfileActivator mONSProfileActivator
private com.android.ons.ONSStats mONSStats
private android.os.Handler mHandler
private final Object mLock
protected boolean mIsEnabled
protected com.android.ons.ONSProfileSelector mProfileSelector
private android.content.SharedPreferences mSharedPref
protected java.util.HashMap mONSConfigInputHashMap
private int mVendorApiLevel
private static final String TAG
private static final String PREF_NAME
private static final String PREF_ENABLED
private static final String CARRIER_APP_CONFIG_NAME
private static final String SYSTEM_APP_CONFIG_NAME
private static final boolean DBG
private static final int MSG_SIM_STATE_CHANGE
protected android.telephony.CarrierConfigManager mCarrierConfigManager
protected android.os.UserManager mUserManager
static final long CALLBACK_ON_MORE_ERROR_CODE_CHANGE
private com.android.ons.ONSProfileSelector$ONSProfileSelectionCallback mProfileSelectionCallback
private final android.content.BroadcastReceiver mBroadcastReceiver
private final com.android.internal.telephony.IOns$Stub mBinder
private final android.telephony.CarrierConfigManager$CarrierConfigChangeListener mCarrierConfigChangeListener
private final android.content.BroadcastReceiver mUserUnlockedReceiver
public void <init> ()
private void createMsgHandler ()
private void startWorkerThreadAndInit ()
Exception e
Thread thread
private static boolean enforceModifyPhoneStatePermission (android.content.Context)
android.content.Context context
protected void handleSimStateChange ()
android.telephony.SubscriptionInfo subscriptionInfo
com.android.ons.ONSConfigInput carrierAppConfigInput
java.util.List subscriptionInfos
private boolean hasOpportunisticSubPrivilege (java.lang.String, int)
String callingPackage
int subId
public android.os.IBinder onBind (android.content.Intent)
android.content.Intent intent
public void onCreate ()
android.os.TelephonyServiceManager$ServiceRegisterer opportunisticNetworkServiceRegisterer
public int onStartCommand (android.content.Intent, int, int)
android.content.Intent intent
int flags
int startId
public void onDestroy ()
protected void initialize (android.content.Context)
android.content.Context context
protected void registerCarrierConfigChangListener ()
private void handleCarrierAppAvailableNetworks (java.util.ArrayList, com.android.internal.telephony.IUpdateAvailableNetworksCallback, java.lang.String)
long identity
boolean isActiveSubId
android.telephony.AvailableNetworkInfo availableNetworkInfo
com.android.ons.ONSConfigInput onsConfigInput
android.telephony.SubscriptionInfo subscriptionInfo
long identity
long identity
java.util.ArrayList availableNetworks
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
String callingPackage
private void sendUpdateNetworksCallbackHelper (com.android.internal.telephony.IUpdateAvailableNetworksCallback, int)
android.os.RemoteException exception
com.android.internal.telephony.IUpdateAvailableNetworksCallback callback
int result
private void sendSetOpptCallbackHelper (com.android.internal.telephony.ISetOpportunisticDataCallback, int)
android.os.RemoteException exception
com.android.internal.telephony.ISetOpportunisticDataCallback callback
int result
private boolean getPersistentEnableState ()
private void handleSystemAppAvailableNetworks (java.util.ArrayList, com.android.internal.telephony.IUpdateAvailableNetworksCallback)
java.util.ArrayList availableNetworks
com.android.internal.telephony.IUpdateAvailableNetworksCallback callbackStub
long identity
private void updateEnableState (boolean)
boolean enable
private void enableOpportunisticNetwork (boolean)
boolean enable
private void enforceTelephonyFeatureWithException (java.lang.String, java.lang.String, java.lang.String)
String callingPackage
String telephonyFeature
String methodName
private boolean canManageSubscription (android.telephony.SubscriptionInfo, java.lang.String)
android.telephony.SubscriptionInfo subInfo
String packageName
private void log (java.lang.String)
String msg
private void logDebug (java.lang.String)
String msg
}
com/android/ons/OpportunisticNetworkService_compat_config.xml
com/android/ons/R$bool.class
R.java
package com.android.ons
public final com.android.ons.R$bool extends java.lang.Object {
public static final int enable_ons_auto_provisioning
public void <init> ()
}
com/android/ons/R.class
R.java
package com.android.ons
public final com.android.ons.R extends java.lang.Object {
public void <init> ()
}