Java 类android.os.DropBoxManager 实例源码

项目:aMuleRemote    文件:AmuleRemoteApplication.java   
public void refreshDebugSettings() {
    if (mECHelper != null && android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) {
        Object o = getSystemService(DROPBOX_SERVICE);
        if (o != null) mECHelper.mDropBox = (DropBoxManager) o;
    }
}
项目:Android-App-Template    文件:ServiceUtil.java   
@TargetApi(8)
public static DropBoxManager getDropBoxManager() {
    return (DropBoxManager) getSystemService(Context.DROPBOX_SERVICE);
}
项目:sprockets-android    文件:Managers.java   
public static DropBoxManager dropBox(Context context) {
    return (DropBoxManager) context.getSystemService(DROPBOX_SERVICE);
}
项目:droidel    文件:ActivityThread.java   
public DropBoxReporter() {
    dropBox = (DropBoxManager) getSystemContext().getSystemService(Context.DROPBOX_SERVICE);
}
项目:android_Skeleton    文件:SystemServices.java   
public static DropBoxManager dropBoxManager() {
    return (DropBoxManager) get(Context.DROPBOX_SERVICE);
}
项目:android-wheels    文件:ContextUtils.java   
/**
 * Obtain a {@link DropBoxManager} instance associated with specified {@link Context}
 *
 * @param context Context
 * @return {@link DropBoxManager} associated with specified {@link Context}
 * @throws InvalidContextException if {@link DropBoxManager} can't be obtained
 *                                 from specified {@link Context}
 */
@NonNull
public static DropBoxManager getDropBoxManager(@NonNull Context context) {
    return validate(context.getSystemService(Context.DROPBOX_SERVICE));
}