Home
last modified time | relevance | path

Searched refs:payloadSpec (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DPayloadSpecs.java120 public String specToString(PayloadSpec payloadSpec) { in specToString() argument
121 return "<PayloadSpec url=" + payloadSpec.getUrl() in specToString()
122 + ", offset=" + payloadSpec.getOffset() in specToString()
123 + ", size=" + payloadSpec.getSize() in specToString()
125 payloadSpec.getProperties().toArray(new String[0])) in specToString()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java83 void onReceiveResult(int resultCode, PayloadSpec payloadSpec); in onReceiveResult() argument
278 static Bundle createBundle(PayloadSpec payloadSpec) { in createBundle() argument
280 b.putSerializable(BUNDLE_PARAM_PAYLOAD_SPEC, payloadSpec); in createBundle()
295 PayloadSpec payloadSpec = null; in onReceiveResult() local
297 payloadSpec = (PayloadSpec) resultData.getSerializable(BUNDLE_PARAM_PAYLOAD_SPEC); in onReceiveResult()
299 mUpdateResultCallback.onReceiveResult(resultCode, payloadSpec); in onReceiveResult()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
DUpdateManagerTest.java127 private void mockContextStartServiceAnswer(PayloadSpec payloadSpec) { in mockContextStartServiceAnswer() argument
136 payloadSpec); in mockContextStartServiceAnswer()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java301 PrepareUpdateService.startService(context, config, mHandler, (code, payloadSpec) -> { in applyUpdate()
309 .setPayload(payloadSpec) in applyUpdate()