Searched refs:PayloadSpec (Results 1 – 7 of 7) sorted by relevance
19 import com.example.android.systemupdatersample.PayloadSpec;48 public PayloadSpec forNonStreaming(File packageFile) throws IOException { in forNonStreaming()94 return PayloadSpec.newBuilder() in forNonStreaming()105 public PayloadSpec forStreaming(String updateUrl, in forStreaming()109 return PayloadSpec.newBuilder() in forStreaming()120 public String specToString(PayloadSpec payloadSpec) { in specToString()
27 public class PayloadSpec implements Serializable { class43 public PayloadSpec(Builder b) { in PayloadSpec() method in PayloadSpec121 public PayloadSpec build() { in build()122 return new PayloadSpec(this); in build()
547 private final PayloadSpec mPayload;559 public PayloadSpec getPayload() { in getPayload()574 private PayloadSpec mPayload;577 public Builder setPayload(PayloadSpec payload) { in setPayload()
34 import com.example.android.systemupdatersample.PayloadSpec;83 void onReceiveResult(int resultCode, PayloadSpec payloadSpec); in onReceiveResult()132 PayloadSpec spec = execute(config); in onHandleIntent()146 private PayloadSpec execute(UpdateConfig config) in execute()278 static Bundle createBundle(PayloadSpec payloadSpec) { in createBundle()295 PayloadSpec payloadSpec = null; in onReceiveResult()297 payloadSpec = (PayloadSpec) resultData.getSerializable(BUNDLE_PARAM_PAYLOAD_SPEC); in onReceiveResult()
127 private void mockContextStartServiceAnswer(PayloadSpec payloadSpec) { in mockContextStartServiceAnswer()142 private PayloadSpec buildMockPayloadSpec() { in buildMockPayloadSpec()143 PayloadSpec payload = mock(PayloadSpec.class); in buildMockPayloadSpec()
30 import com.example.android.systemupdatersample.PayloadSpec;82 PayloadSpec spec = mPayloadSpecs.forNonStreaming(packageFile); in forNonStreaming_works()107 PayloadSpec spec = mPayloadSpecs.forStreaming(url, offset, size, propertiesFile); in forStreaming_works()
211 - [x] Add `PayloadSpec` and `PayloadSpecs` for working with