Example usage for android.content.pm InstrumentationInfo InstrumentationInfo

List of usage examples for android.content.pm InstrumentationInfo InstrumentationInfo

Introduction

In this page you can find the example usage for android.content.pm InstrumentationInfo InstrumentationInfo.

Prototype

@SuppressWarnings("unchecked")
    private InstrumentationInfo(Parcel source) 

Source Link

Usage

From source file:android.content.pm.PackageParser.java

public static final InstrumentationInfo generateInstrumentationInfo(Instrumentation i, int flags) {
    if (i == null)
        return null;
    if ((flags & PackageManager.GET_META_DATA) == 0) {
        return i.info;
    }// w w w.jav a 2 s.c o m
    InstrumentationInfo ii = new InstrumentationInfo(i.info);
    ii.metaData = i.metaData;
    return ii;
}