Home
last modified time | relevance | path

Searched refs:intent (Results 1 – 12 of 12) sorted by relevance

/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java62 public void onReceive(Context context, Intent intent) { in onReceive() argument
70 String action = intent.getAction(); in onReceive()
73 postNotification(getPackageName(intent)); in onReceive()
75 mRowCutoff = intent.getIntExtra(EXTRA_ROW_WRAPPING_CUTOFF, 0); in onReceive()
113 Intent intent = mPkgMan.getLeanbackLaunchIntentForPackage(pkgName); in postNotification() local
115 if (intent == null) { in postNotification()
118 intent = getBackupIntent(pkgName); in postNotification()
128 .setContentIntent(PendingIntent.getActivity(mContext, 0, intent, 0)) in postNotification()
139 Intent intent = new Intent(Intent.ACTION_VIEW); in getBackupIntent() local
140 intent.setData(Uri.parse("market://details?id=" + pkgName)); in getBackupIntent()
[all …]
/device/sample/apps/tv/SetupCustomizationSample/app/src/main/java/com/google/android/tv/setup/customizationsample/
DBaseActivity.java66 Intent intent = new Intent().putExtra(Constants.USER_INITIATED, true); in registerKeyHandlerResultCancelledBack() local
67 registerKeyHandler(KeyEvent.KEYCODE_BACK, null, Activity.RESULT_CANCELED, intent); in registerKeyHandlerResultCancelledBack()
75 final Intent intent = new Intent(); in registerKeyHandlerResultOk() local
77 intent.putExtra(booleanExtraToSend, true); in registerKeyHandlerResultOk()
79 registerKeyHandlerResultOk(keyCode, addendum, intent); in registerKeyHandlerResultOk()
83 final Intent intent = new Intent(); in registerKeyHandlerResultOk() local
84 registerKeyHandlerResultOk(keyCode, addendum, intent); in registerKeyHandlerResultOk()
88 final Intent intent = new Intent(); in registerKeyHandlerResultOkDpadCenterBoring() local
89 …ndlerResultOk(KeyEvent.KEYCODE_DPAD_CENTER, "complete without doing anything interesting", intent); in registerKeyHandlerResultOkDpadCenterBoring()
92 protected void registerKeyHandlerResultOk(int keyCode, String addendum, final Intent intent) { in registerKeyHandlerResultOk() argument
[all …]
DPartnerReceiver.java14 public void onReceive(Context context, Intent intent) { in onReceive() argument
/device/sample/apps/tv/SetupValidation/app/src/main/java/com/google/android/tv/setup/customizationsample/
DBaseActivity.java66 Intent intent = new Intent().putExtra(Constants.USER_INITIATED, true); in registerKeyHandlerResultCancelledBack() local
67 registerKeyHandler(KeyEvent.KEYCODE_BACK, null, Activity.RESULT_CANCELED, intent); in registerKeyHandlerResultCancelledBack()
75 final Intent intent = new Intent(); in registerKeyHandlerResultOk() local
77 intent.putExtra(booleanExtraToSend, true); in registerKeyHandlerResultOk()
79 registerKeyHandlerResultOk(keyCode, addendum, intent); in registerKeyHandlerResultOk()
83 final Intent intent = new Intent(); in registerKeyHandlerResultOk() local
84 registerKeyHandlerResultOk(keyCode, addendum, intent); in registerKeyHandlerResultOk()
88 final Intent intent = new Intent(); in registerKeyHandlerResultOkDpadCenterBoring() local
89 …ndlerResultOk(KeyEvent.KEYCODE_DPAD_CENTER, "complete without doing anything interesting", intent); in registerKeyHandlerResultOkDpadCenterBoring()
92 protected void registerKeyHandlerResultOk(int keyCode, String addendum, final Intent intent) { in registerKeyHandlerResultOk() argument
[all …]
DPartnerReceiver.java14 public void onReceive(Context context, Intent intent) { in onReceive() argument
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceBroadcastReceiver.java31 Intent intent = new Intent(context, GceService.class); in reportIntent() local
32 intent.setAction(intentType); in reportIntent()
33 context.startForegroundService(intent); in reportIntent()
38 public void onReceive(Context context, Intent intent) { in onReceive() argument
39 if (intent != null) { in onReceive()
40 final String action = intent.getAction(); in onReceive()
DGceService.java91 public IBinder onBind(Intent intent) { in onBind() argument
112 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
113 if (intent != null) { in onStartCommand()
114 mMostRecentAction = intent.getAction(); in onStartCommand()
/device/amlogic/yukawa/services/src/com/google/android/yukawaservice/
DRemoteSyncReceiver.java37 Intent intent = new Intent(ACTION_CONNECT_INPUT_NORMAL) in sendPairingIntent() local
41 intent.putExtra(INTENT_EXTRA_NO_INPUT_MODE, true) in sendPairingIntent()
44 context.startActivity(intent); in sendPairingIntent()
48 public void onReceive(Context context, Intent intent) { in onReceive() argument
49 if (Intent.ACTION_GLOBAL_BUTTON.equals(intent.getAction())) { in onReceive()
50 KeyEvent event = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onReceive()
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java21 public void onReceive(Context context, Intent intent) { in onReceive() argument
22 String intentAction = intent.getAction(); in onReceive()
31 int connectionStatus = intent.getIntExtra(EXTRA_INET_CONDITION, -551); in onReceive()
38 super.onReceive(context, intent); in onReceive()
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/
DUpgrade.java34 public void onReceive(Context context, Intent intent) { in onReceive() argument
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayServiceReceiver.java30 public void onReceive(Context context, Intent intent) { in onReceive() argument
DMultiDisplayService.java110 public IBinder onBind(Intent intent) { in onBind() argument
117 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument