android.content.IIntentSender#android.app.ProfilerInfo源码实例Demo

下面列出了android.content.IIntentSender#android.app.ProfilerInfo 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

/** Obtain an instance initialized with provided params. */
public static LaunchActivityItem obtain(Intent intent, int ident, ActivityInfo info,
        Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo,
        String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state,
        PersistableBundle persistentState, List<ResultInfo> pendingResults,
        List<ReferrerIntent> pendingNewIntents, boolean isForward, ProfilerInfo profilerInfo) {
    LaunchActivityItem instance = ObjectPool.obtain(LaunchActivityItem.class);
    if (instance == null) {
        instance = new LaunchActivityItem();
    }
    setValues(instance, intent, ident, info, curConfig, overrideConfig, compatInfo, referrer,
            voiceInteractor, procState, state, persistentState, pendingResults,
            pendingNewIntents, isForward, profilerInfo);

    return instance;
}
 
private static void setValues(LaunchActivityItem instance, Intent intent, int ident,
        ActivityInfo info, Configuration curConfig, Configuration overrideConfig,
        CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor,
        int procState, Bundle state, PersistableBundle persistentState,
        List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents,
        boolean isForward, ProfilerInfo profilerInfo) {
    instance.mIntent = intent;
    instance.mIdent = ident;
    instance.mInfo = info;
    instance.mCurConfig = curConfig;
    instance.mOverrideConfig = overrideConfig;
    instance.mCompatInfo = compatInfo;
    instance.mReferrer = referrer;
    instance.mVoiceInteractor = voiceInteractor;
    instance.mProcState = procState;
    instance.mState = state;
    instance.mPersistentState = persistentState;
    instance.mPendingResults = pendingResults;
    instance.mPendingNewIntents = pendingNewIntents;
    instance.mIsForward = isForward;
    instance.mProfilerInfo = profilerInfo;
}
 
源代码3 项目: android_9.0.0_r45   文件: LaunchActivityItem.java
/** Obtain an instance initialized with provided params. */
public static LaunchActivityItem obtain(Intent intent, int ident, ActivityInfo info,
        Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo,
        String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state,
        PersistableBundle persistentState, List<ResultInfo> pendingResults,
        List<ReferrerIntent> pendingNewIntents, boolean isForward, ProfilerInfo profilerInfo) {
    LaunchActivityItem instance = ObjectPool.obtain(LaunchActivityItem.class);
    if (instance == null) {
        instance = new LaunchActivityItem();
    }
    setValues(instance, intent, ident, info, curConfig, overrideConfig, compatInfo, referrer,
            voiceInteractor, procState, state, persistentState, pendingResults,
            pendingNewIntents, isForward, profilerInfo);

    return instance;
}
 
源代码4 项目: android_9.0.0_r45   文件: LaunchActivityItem.java
private static void setValues(LaunchActivityItem instance, Intent intent, int ident,
        ActivityInfo info, Configuration curConfig, Configuration overrideConfig,
        CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor,
        int procState, Bundle state, PersistableBundle persistentState,
        List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents,
        boolean isForward, ProfilerInfo profilerInfo) {
    instance.mIntent = intent;
    instance.mIdent = ident;
    instance.mInfo = info;
    instance.mCurConfig = curConfig;
    instance.mOverrideConfig = overrideConfig;
    instance.mCompatInfo = compatInfo;
    instance.mReferrer = referrer;
    instance.mVoiceInteractor = voiceInteractor;
    instance.mProcState = procState;
    instance.mState = state;
    instance.mPersistentState = persistentState;
    instance.mPendingResults = pendingResults;
    instance.mPendingNewIntents = pendingNewIntents;
    instance.mIsForward = isForward;
    instance.mProfilerInfo = profilerInfo;
}
 
/** Read from Parcel. */
private LaunchActivityItem(Parcel in) {
    setValues(this, in.readTypedObject(Intent.CREATOR), in.readInt(),
            in.readTypedObject(ActivityInfo.CREATOR), in.readTypedObject(Configuration.CREATOR),
            in.readTypedObject(Configuration.CREATOR),
            in.readTypedObject(CompatibilityInfo.CREATOR), in.readString(),
            IVoiceInteractor.Stub.asInterface(in.readStrongBinder()), in.readInt(),
            in.readBundle(getClass().getClassLoader()),
            in.readPersistableBundle(getClass().getClassLoader()),
            in.createTypedArrayList(ResultInfo.CREATOR),
            in.createTypedArrayList(ReferrerIntent.CREATOR), in.readBoolean(),
            in.readTypedObject(ProfilerInfo.CREATOR));
}
 
源代码6 项目: android_9.0.0_r45   文件: LaunchActivityItem.java
/** Read from Parcel. */
private LaunchActivityItem(Parcel in) {
    setValues(this, in.readTypedObject(Intent.CREATOR), in.readInt(),
            in.readTypedObject(ActivityInfo.CREATOR), in.readTypedObject(Configuration.CREATOR),
            in.readTypedObject(Configuration.CREATOR),
            in.readTypedObject(CompatibilityInfo.CREATOR), in.readString(),
            IVoiceInteractor.Stub.asInterface(in.readStrongBinder()), in.readInt(),
            in.readBundle(getClass().getClassLoader()),
            in.readPersistableBundle(getClass().getClassLoader()),
            in.createTypedArrayList(ResultInfo.CREATOR),
            in.createTypedArrayList(ReferrerIntent.CREATOR), in.readBoolean(),
            in.readTypedObject(ProfilerInfo.CREATOR));
}
 
源代码7 项目: GPT   文件: ActivityManagerNativeWorker.java
public int startActivity(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType,
                         IBinder resultTo, String resultWho, int requestCode, int flags, ProfilerInfo profilerInfo, Bundle options) {

    RemapingUtil.remapActivityIntent(mHostContext, intent);

    return mTarget.startActivity(caller, callingPackage, intent, resolvedType, resultTo, resultWho, requestCode,
            flags, profilerInfo, options);
}
 
源代码8 项目: prevent   文件: ActivityManagerService.java
public final int startActivity(IApplicationThread caller, String callingPackage,
                               Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode,
                               int startFlags, ProfilerInfo profilerInfo, Bundle bOptions) {
    return PreventRunningUtils.onStartActivity(
            startActivity$Pr(caller, callingPackage,
                    intent, resolvedType, resultTo, resultWho, requestCode,
                    startFlags, profilerInfo, bOptions),
            caller, callingPackage, intent);
}
 
源代码9 项目: android_9.0.0_r45   文件: ActivityStarter.java
ActivityStarter setProfilerInfo(ProfilerInfo info) {
    mRequest.profilerInfo = info;
    return this;
}
 
源代码10 项目: prevent   文件: ActivityManagerService.java
public final int startActivity$Pr(IApplicationThread caller, String callingPackage,
                                  Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode,
                                  int startFlags, ProfilerInfo profilerInfo, Bundle bOptions) {
    throw new UnsupportedOperationException();
}