@Test public void testBuildId() throws IOException { InstantRunBuildInfo info = getBuildInfo("instantrun", "build-info1.xml"); assertEquals("1451508349243", info.getTimeStamp()); }
@NonNull public String getTimeStamp() { return mRoot.getAttribute(ATTR_TIMESTAMP); }
InstantRunBuildInfo { @NonNull public String getTimeStamp() { return mRoot.getAttribute(ATTR_TIMESTAMP); } }
InstantRunBuildInfo { @NonNull public String getTimeStamp() { return mRoot.getAttribute(ATTR_TIMESTAMP); } InstantRunBuildInfo(@NonNull String xml, @NonNull Element root); }
InstantRunBuildInfo { @NonNull public String getTimeStamp() { return mRoot.getAttribute(ATTR_TIMESTAMP); } InstantRunBuildInfo(@NonNull String xml, @NonNull Element root); @NonNull String getTimeStamp(); long getSecretToken(); @NonNull String getVerifierStatus(); boolean canHotswap(); boolean hasNoChanges(); int getFeatureLevel(); @NonNull List<InstantRunArtifact> getArtifacts(); boolean hasOneOf(@NonNull InstantRunArtifactType... types); boolean hasMainApk(); @Nullable static InstantRunBuildInfo get(@NonNull String xml); boolean isCompatibleFormat(); int getFormat(); void serializeTo(@NonNull Writer writer); }
InstantRunBuildInfo { @NonNull public String getTimeStamp() { return mRoot.getAttribute(ATTR_TIMESTAMP); } InstantRunBuildInfo(@NonNull String xml, @NonNull Element root); @NonNull String getTimeStamp(); long getSecretToken(); @NonNull String getVerifierStatus(); boolean canHotswap(); boolean hasNoChanges(); int getFeatureLevel(); @NonNull List<InstantRunArtifact> getArtifacts(); boolean hasOneOf(@NonNull InstantRunArtifactType... types); boolean hasMainApk(); @Nullable static InstantRunBuildInfo get(@NonNull String xml); boolean isCompatibleFormat(); int getFormat(); void serializeTo(@NonNull Writer writer); static final String ATTR_API_LEVEL; static final String VALUE_VERIFIER_STATUS_COMPATIBLE; }