Searched refs:context (Results 1 – 4 of 4) sorted by relevance
52 public static String getConfigsRoot(Context context) { in getConfigsRoot() argument54 .get(context.getFilesDir().toString(), UPDATE_CONFIGS_ROOT) in getConfigsRoot()62 public static List<UpdateConfig> getUpdateConfigs(Context context) { in getUpdateConfigs() argument63 File root = new File(getConfigsRoot(context)); in getUpdateConfigs()
93 public static void startService(Context context, in startService() argument99 Intent intent = new Intent(context, PrepareUpdateService.class); in startService()102 context.startService(intent); in startService()
284 public synchronized void applyUpdate(Context context, UpdateConfig config) in applyUpdate() argument301 PrepareUpdateService.startService(context, config, mHandler, (code, payloadSpec) -> { in applyUpdate()
4 # Set the security context of /postinstall if present.