本文整理汇总了Java中org.chromium.content.app.ChildProcessService类的典型用法代码示例。如果您正苦于以下问题:Java ChildProcessService类的具体用法?Java ChildProcessService怎么用?Java ChildProcessService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ChildProcessService类属于org.chromium.content.app包,在下文中一共展示了ChildProcessService类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: ChildProcessConnection
import org.chromium.content.app.ChildProcessService; //导入依赖的package包/类
ChildProcessConnection(Context context, int number, boolean inSandbox,
ChildProcessConnection.DeathCallback deathCallback,
Class<? extends ChildProcessService> serviceClass,
LinkerParams linkerParams) {
mContext = context;
mServiceNumber = number;
mInSandbox = inSandbox;
mDeathCallback = deathCallback;
mServiceClass = serviceClass;
mLinkerParams = linkerParams;
mInitialBinding = new ChildServiceConnection(Context.BIND_AUTO_CREATE);
mStrongBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT);
mWaivedBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_WAIVE_PRIORITY);
}
开发者ID:morristech,项目名称:android-chromium,代码行数:17,代码来源:ChildProcessConnection.java
示例2: ChildProcessConnectionImpl
import org.chromium.content.app.ChildProcessService; //导入依赖的package包/类
ChildProcessConnectionImpl(Context context, int number, boolean inSandbox,
ChildProcessConnection.DeathCallback deathCallback,
Class<? extends ChildProcessService> serviceClass,
ChromiumLinkerParams chromiumLinkerParams) {
mContext = context;
mServiceNumber = number;
mInSandbox = inSandbox;
mDeathCallback = deathCallback;
mServiceClass = serviceClass;
mLinkerParams = chromiumLinkerParams;
mInitialBinding = new ChildServiceConnection(Context.BIND_AUTO_CREATE);
mStrongBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT);
mWaivedBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_WAIVE_PRIORITY);
}
开发者ID:mogoweb,项目名称:chromium_webview,代码行数:17,代码来源:ChildProcessConnectionImpl.java
示例3: ChildProcessConnection
import org.chromium.content.app.ChildProcessService; //导入依赖的package包/类
ChildProcessConnection(Context context, int number, boolean inSandbox,
ChildProcessConnection.DeathCallback deathCallback,
Class<? extends ChildProcessService> serviceClass) {
mContext = context;
mServiceNumber = number;
mInSandbox = inSandbox;
mDeathCallback = deathCallback;
mServiceClass = serviceClass;
mInitialBinding = new ChildServiceConnection(Context.BIND_AUTO_CREATE, true);
mStrongBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, true);
mWaivedBinding = new ChildServiceConnection(
Context.BIND_AUTO_CREATE | Context.BIND_WAIVE_PRIORITY, false);
}
开发者ID:openresearch,项目名称:android-chromium-view,代码行数:15,代码来源:ChildProcessConnection.java
示例4: setServiceClass
import org.chromium.content.app.ChildProcessService; //导入依赖的package包/类
public void setServiceClass(Class<? extends ChildProcessService> childClass) {
mChildClass = childClass;
}
开发者ID:openresearch,项目名称:android-chromium-view,代码行数:4,代码来源:ChildProcessLauncher.java
注:本文中的org.chromium.content.app.ChildProcessService类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论