Lines Matching refs:context
32 public void onReceive(Context context, Intent intent) {
37 scan(context, MediaProvider.INTERNAL_VOLUME);
38 scan(context, MediaProvider.EXTERNAL_VOLUME);
49 scan(context, MediaProvider.EXTERNAL_VOLUME);
52 scanFile(context, path);
58 private void scan(Context context, String volume) {
61 context.startService(
62 new Intent(context, MediaScannerService.class).putExtras(args));
65 private void scanFile(Context context, String path) {
68 context.startService(
69 new Intent(context, MediaScannerService.class).putExtras(args));