Home
last modified time | relevance | path

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

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DUpdateConfigs.java52 public static String getConfigsRoot(Context context) { in getConfigsRoot() argument
54 .get(context.getFilesDir().toString(), UPDATE_CONFIGS_ROOT) in getConfigsRoot()
62 public static List<UpdateConfig> getUpdateConfigs(Context context) { in getUpdateConfigs() argument
63 File root = new File(getConfigsRoot(context)); in getUpdateConfigs()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java93 public static void startService(Context context, in startService() argument
99 Intent intent = new Intent(context, PrepareUpdateService.class); in startService()
102 context.startService(intent); in startService()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java284 public synchronized void applyUpdate(Context context, UpdateConfig config) in applyUpdate() argument
301 PrepareUpdateService.startService(context, config, mHandler, (code, payloadSpec) -> { in applyUpdate()
/bootable/recovery/etc/
Dinit.rc4 # Set the security context of /postinstall if present.