HomeSort by relevance Sort by last modified time
    Searched defs:extras (Results 51 - 75 of 529) sorted by null

1 23 4 5 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/media/
MediaPlayerDemo_Audio.java 47 Bundle extras = getIntent().getExtras(); local
48 playAudio(extras.getInt(MEDIA));
  /development/samples/StackWidget/src/com/example/android/stackwidget/
StackWidgetService.java 86 Bundle extras = new Bundle(); local
87 extras.putInt(StackWidgetProvider.EXTRA_ITEM, position);
89 fillInIntent.putExtras(extras);
  /development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
WeatherWidgetService.java 91 final Bundle extras = new Bundle(); local
92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
93 fillInIntent.putExtras(extras);
  /development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
AlarmUtil.java 49 Bundle extras = writeAlarm(alarm); local
50 intent.putExtras(extras);
100 public static Alarm readAlarm(Bundle extras) {
101 int id = extras.getInt(AlarmIntentService.KEY_ALARM_ID);
102 int month = extras.getInt(AlarmIntentService.KEY_ALARM_MONTH);
103 int date = extras.getInt(AlarmIntentService.KEY_ALARM_DATE);
104 int hour = extras.getInt(AlarmIntentService.KEY_ALARM_HOUR);
105 int minute = extras.getInt(AlarmIntentService.KEY_ALARM_MINUTE);
111 Bundle extras = new Bundle(); local
112 extras.putInt(AlarmIntentService.KEY_ALARM_ID, alarm.id)
    [all...]
  /device/sample/apps/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
PartnerReceiver.java 122 Bundle extras = new Bundle(); local
123 extras.putString(BLACKLIST_PACKAGE, pkgName);
133 .setExtras(extras);
  /frameworks/base/core/java/android/content/
SyncActivityTooManyDeletes.java 50 Bundle extras = getIntent().getExtras(); local
51 if (extras == null) {
56 mNumDeletes = extras.getLong("numDeletes");
57 mAccount = (Account) extras.getParcelable("account");
58 mAuthority = extras.getString("authority");
59 mProvider = extras.getString("provider");
117 Bundle extras = new Bundle(); local
118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true);
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true)
126 Bundle extras = new Bundle(); local
    [all...]
PeriodicSync.java 34 /** Any extras that parameters that are to be passed to the sync adapter. */
35 public final Bundle extras; field in class:PeriodicSync
47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) {
50 if (extras == null) {
51 this.extras = new Bundle();
53 this.extras = new Bundle(extras);
67 this.extras = new Bundle(other.extras);
76 public PeriodicSync(Account account, String authority, Bundle extras,
    [all...]
  /packages/apps/Car/Media/src/com/android/car/media/drawer/
MediaDrawerController.java 48 Bundle extras = new Bundle(); local
49 extras.putInt(EXTRA_ICON_SIZE,
51 mMediaPlaybackModel = new MediaPlaybackModel(mActivity, extras);
  /packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
RequestPinItemActivity.java 93 Bundle extras = null; local
99 extras = new Bundle();
100 extras.putParcelable(AppWidgetManager.EXTRA_APPWIDGET_PREVIEW, views);
103 AppWidgetManager.getInstance(this).requestPinAppWidget(cn, extras, mCallback);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
WebActivity.java 68 Bundle extras = getIntent().getExtras(); local
69 if (extras.containsKey(EXTRA_STATUS_BAR_COLOR)) {
70 setMainColor(extras.getInt(EXTRA_STATUS_BAR_COLOR));
  /packages/apps/Settings/src/com/android/settings/password/
SetNewPasswordController.java 51 /** Starts the {@link ChooseLockGeneric} activity with the given extras. */
109 final Bundle extras; local
115 extras = getFingerprintChooseLockExtras();
117 extras = new Bundle();
121 extras.putInt(Intent.EXTRA_USER_ID, mTargetUserId);
122 mUi.launchChooseLock(extras);
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipBroadcastReceiver.java 81 Bundle extras = new Bundle(); local
82 extras.putParcelable(SipUtil.EXTRA_INCOMING_CALL_INTENT, intent);
86 tm.addNewIncomingCall(accountHandle, extras);
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
AssistantVoiceInteractionService.java 47 Bundle extras = intent.getExtras() != null ? intent.getExtras() : new Bundle(); local
48 showSession(extras, 0);
57 public static void launchAssistantActivity(Context context, Bundle extras) {
59 if (extras != null) {
60 i.putExtras(extras);
  /cts/tests/tests/media/src/android/media/cts/
ResourceManagerTest.java 30 Bundle extras = new Bundle(); local
32 "android.media.cts", ResourceManagerStubActivity.class, extras);
  /external/chromium-trace/catapult/devil/devil/android/sdk/
intent.py 30 category=None, component=None, data=None, extras=None,
41 extras: A dict containing extra parameters to be passed along with the
55 self._extras = extras
85 def extras(self): member in class:Intent
114 if self.extras:
115 for key, value in self.extras.iteritems():
128 'Intent does not know how to pass %s extras' % type(value))
  /external/libmojo/third_party/catapult/devil/devil/android/sdk/
intent.py 30 category=None, component=None, data=None, extras=None,
41 extras: A dict containing extra parameters to be passed along with the
55 self._extras = extras
85 def extras(self): member in class:Intent
114 if self.extras:
115 for key, value in self.extras.iteritems():
128 'Intent does not know how to pass %s extras' % type(value))
  /frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
TestAppWidgetProvider.java 46 Bundle extras = intent.getExtras(); local
47 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
  /packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
BlockerTask.java 38 public void onCreate(Context context, Bundle extras) {
39 super.onCreate(context, extras);
40 setId(extras.getInt(EXTRA_TASK_ID, TASK_INVALID));
41 setExecutionTime(getTimeMillis() + extras.getInt(EXTRA_BLOCK_FOR_MILLIS, 0));
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpReceiver.java 50 Bundle extras = intent.getExtras(); local
51 boolean configured = extras.getBoolean(UsbManager.USB_CONFIGURED);
52 boolean connected = extras.getBoolean(UsbManager.USB_CONNECTED);
53 boolean mtpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_MTP);
54 boolean ptpEnabled = extras.getBoolean(UsbManager.USB_FUNCTION_PTP);
55 boolean unlocked = extras.getBoolean(UsbManager.USB_DATA_UNLOCKED);
56 boolean configChanged = extras.getBoolean(UsbManager.USB_CONFIG_CHANGED);
  /cts/hostsidetests/content/test-apps/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
CtsSyncAccountAccessOtherCertTestCases.java 101 SyncAdapter.setOnPerformSyncDelegate((Account account, Bundle extras,
105 Bundle extras = new Bundle(); local
106 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, true);
107 extras.putBoolean(ContentResolver.SYNC_EXTRAS_PRIORITY, true);
108 extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
112 .setExtras(extras)
  /cts/tests/tests/content/src/android/content/cts/
TestPagingContentProvider.java 109 Bundle extras = c.getExtras(); local
119 extras.putStringArray(ContentResolver.EXTRA_HONORED_ARGS, new String[] {
123 extras.putInt(ContentResolver.EXTRA_TOTAL_COUNT, recordsetSize);
143 Bundle extras = new Bundle(); local
144 c.setExtras(extras);
  /developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java 119 Bundle extras = new Bundle(); local
120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
121 result.setResult(Activity.RESULT_OK, null, extras);
143 final Bundle extras = new Bundle(); local
155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent);
158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
159 result.setResult(Activity.RESULT_OK, null, extras);
  /developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
GetRestrictionsReceiver.java 119 Bundle extras = new Bundle(); local
120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
121 result.setResult(Activity.RESULT_OK, null, extras);
143 final Bundle extras = new Bundle(); local
155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent);
158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
159 result.setResult(Activity.RESULT_OK, null, extras);
  /development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
GetRestrictionsReceiver.java 119 Bundle extras = new Bundle(); local
120 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
121 result.setResult(Activity.RESULT_OK, null, extras);
143 final Bundle extras = new Bundle(); local
155 extras.putParcelable(Intent.EXTRA_RESTRICTIONS_INTENT, customIntent);
158 extras.putParcelableArrayList(Intent.EXTRA_RESTRICTIONS_LIST, newEntries);
159 result.setResult(Activity.RESULT_OK, null, extras);
  /frameworks/base/services/core/java/com/android/server/am/
AppTimeTracker.java 82 Bundle extras = new Bundle(); local
83 extras.putLong(ActivityOptions.EXTRA_USAGE_TIME_REPORT, mTotalTime);
88 extras.putBundle(ActivityOptions.EXTRA_USAGE_TIME_REPORT_PACKAGES, pkgs);
90 fillinIntent.putExtras(extras);

Completed in 824 milliseconds

1 23 4 5 6 7 8 91011>>