Home
last modified time | relevance | path

Searched refs:PayloadSpec (Results 1 – 7 of 7) sorted by relevance

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DPayloadSpecs.java19 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()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DPayloadSpec.java27 public class PayloadSpec implements Serializable { class
43 public PayloadSpec(Builder b) { in PayloadSpec() method in PayloadSpec
121 public PayloadSpec build() { in build()
122 return new PayloadSpec(this); in build()
DUpdateManager.java547 private final PayloadSpec mPayload;
559 public PayloadSpec getPayload() { in getPayload()
574 private PayloadSpec mPayload;
577 public Builder setPayload(PayloadSpec payload) { in setPayload()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java34 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()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
DUpdateManagerTest.java127 private void mockContextStartServiceAnswer(PayloadSpec payloadSpec) { in mockContextStartServiceAnswer()
142 private PayloadSpec buildMockPayloadSpec() { in buildMockPayloadSpec()
143 PayloadSpec payload = mock(PayloadSpec.class); in buildMockPayloadSpec()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
DPayloadSpecsTest.java30 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()
/bootable/recovery/updater_sample/
DREADME.md211 - [x] Add `PayloadSpec` and `PayloadSpecs` for working with