HomeSort by relevance Sort by last modified time
    Searched refs:extras (Results 1 - 25 of 990) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/UnifiedEmail/src/com/android/mail/compose/
HtmlifyBeginResult.java 26 public final Object extras; field in class:HtmlifyBeginResult
28 public HtmlifyBeginResult(Spanned result, Object extras) {
30 this.extras = extras;
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
CarHelper.java 23 // Use these extras to reserve space for the corresponding actions, even when they are disabled
37 public static void setSlotReservationFlags(Bundle extras, boolean reservePlayingQueueSlot,
40 extras.putBoolean(SLOT_RESERVATION_QUEUE, true);
42 extras.remove(SLOT_RESERVATION_QUEUE);
45 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_PREV, true);
47 extras.remove(SLOT_RESERVATION_SKIP_TO_PREV);
50 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_NEXT, true);
52 extras.remove(SLOT_RESERVATION_SKIP_TO_NEXT);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
CarHelper.java 24 // Use these extras to reserve space for the corresponding actions, even when they are disabled
38 public static void setSlotReservationFlags(Bundle extras, boolean reservePlayingQueueSlot,
41 extras.putBoolean(SLOT_RESERVATION_QUEUE, true);
43 extras.remove(SLOT_RESERVATION_QUEUE);
46 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_PREV, true);
48 extras.remove(SLOT_RESERVATION_SKIP_TO_PREV);
51 extras.putBoolean(SLOT_RESERVATION_SKIP_TO_NEXT, true);
53 extras.remove(SLOT_RESERVATION_SKIP_TO_NEXT);
  /tools/test/connectivity/acts/framework/acts/
asserts.py 35 def assert_equal(first, second, msg=None, extras=None):
44 extras: An optional field for extra information to be included in
58 fail(my_msg, extras=extras)
66 extras=None):
75 :param extras: Extra object passed to test failure handler
89 fail(my_msg, extras=extras)
92 def assert_raises(expected_exception, extras=None, *args, **kwargs):
105 extras: An optional field for extra information to be included i
    [all...]
test_decorators.py 37 **keyed_info: The key, value info to include in the extras for this
50 Will add test tracker info inside of Extras/test_tracker_info.
102 if not isinstance(new_signal.extras, dict) and new_signal.extras:
105 elif not new_signal.extras:
106 new_signal.extras = {}
110 if k not in new_signal.extras:
111 new_signal.extras[k] = v
113 if not isinstance(new_signal.extras[k], list):
114 new_signal.extras[k] = [new_signal.extras[k]
    [all...]
  /frameworks/base/core/java/android/os/
IProgressListener.aidl 23 void onStarted(int id, in Bundle extras);
24 void onProgress(int id, int progress, in Bundle extras);
25 void onFinished(int id, in Bundle extras);
  /frameworks/support/customtabs/src/android/support/customtabs/
ICustomTabsCallback.aidl 26 void onNavigationEvent(int navigationEvent, in Bundle extras) = 1;
28 void onMessageChannelReady(in Bundle extras) = 3;
29 void onPostMessage(String message, in Bundle extras) = 4;
CustomTabsCallback.java 61 * @param extras Reserved for future use.
63 public void onNavigationEvent(int navigationEvent, Bundle extras) {}
87 * @param extras Reserved for future use.
89 public void onMessageChannelReady(Bundle extras) {}
98 * @param extras Reserved for future use.
100 public void onPostMessage(String message, Bundle extras) {}
PostMessageService.java 33 ICustomTabsCallback callback, Bundle extras) throws RemoteException {
34 callback.onMessageChannelReady(extras);
39 String message, Bundle extras) throws RemoteException {
40 callback.onPostMessage(message, extras);
  /test/vts/runners/host/
asserts.py 35 def assertEqual(first, second, msg=None, extras=None):
44 extras: An optional field for extra information to be included in
53 fail(my_msg, extras=extras)
56 def assertNotEqual(first, second, msg=None, extras=None):
66 extras: An optional field for extra information to be included in
75 fail(my_msg, extras=extras)
78 def assertRaises(expected_exception, extras=None, *args, **kwargs):
91 extras: An optional field for extra information to be included i
    [all...]
  /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...]
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/
BroadcastReceiverActivity.java 60 final Bundle extras = intent.getExtras(); local
61 Log.i(TAG, "onReceive: extras=" + extras);
63 if (extras == null) {
66 if (extras.getBoolean("finish")) {
69 if (extras.getBoolean("moveToBack")) {
72 if (extras.containsKey("orientation")) {
73 setRequestedOrientation(extras.getInt("orientation"));
75 if (extras.getBoolean("dismissKeyguard")) {
78 if (extras.getBoolean("dismissKeyguardMethod"))
    [all...]
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);
  /frameworks/base/core/java/android/appwidget/
AppWidgetProvider.java 29 * with the received extras.
62 Bundle extras = intent.getExtras(); local
63 if (extras != null) {
64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
70 Bundle extras = intent.getExtras(); local
71 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
76 Bundle extras = intent.getExtras(); local
77 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID
89 Bundle extras = intent.getExtras(); local
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
ContentActivity.java 18 Bundle extras = getIntent().getExtras(); local
19 if (extras != null) {
22 mThemeId = extras.getInt("theme");
34 if (extras != null) {
36 int category = extras.getInt("category");
37 int position = extras.getInt("position");
  /frameworks/support/media-compat/api24/android/support/v4/media/session/
MediaControllerCompatApi24.java 32 public static void prepareFromMediaId(Object controlsObj, String mediaId, Bundle extras) {
33 ((MediaController.TransportControls) controlsObj).prepareFromMediaId(mediaId, extras);
36 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) {
37 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
40 public static void prepareFromUri(Object controlsObj, Uri uri, Bundle extras) {
41 ((MediaController.TransportControls) controlsObj).prepareFromUri(uri, extras);
  /packages/apps/Dialer/java/com/android/dialer/callintent/
CallIntentParser.java 29 public static CallSpecificAppData getCallSpecificAppData(@Nullable Bundle extras) {
30 if (extras == null) {
34 if (!extras.containsKey(Constants.EXTRA_CALL_SPECIFIC_APP_DATA)) {
39 extras.getBundle(Constants.EXTRA_CALL_SPECIFIC_APP_DATA),
45 @NonNull Bundle extras, @NonNull CallSpecificAppData callSpecificAppData) {
50 extras.putBundle(Constants.EXTRA_CALL_SPECIFIC_APP_DATA, wrapperBundle);
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/tools/
ActivityLauncher.java 37 public static void launchActivityFromExtras(final Context context, Bundle extras) {
38 if (extras == null || !extras.getBoolean("launch_activity")) {
42 Log.i(TAG, "launchActivityFromExtras: extras=" + extras);
45 final String targetActivity = extras.getString("target_activity");
47 final String extraPackageName = extras.getString("package_name");
56 if (extras.getBoolean("launch_to_the_side")) {
58 if (extras.getBoolean("random_data")) {
65 if (extras.getBoolean("multiple_task"))
    [all...]
  /cts/hostsidetests/services/activityandwindowmanager/activitymanager/appDisplaySize/src/android/displaysize/app/
SmallestWidthActivity.java 30 final Bundle extras = intent.getExtras(); local
31 if (extras != null && extras.getBoolean("launch_another_activity")) {
  /cts/tests/tests/media/src/android/media/cts/
ResourceManagerTestActivity1.java 34 Bundle extras = getIntent().getExtras(); local
35 if (extras != null) {
36 mWaitForReclaim = extras.getBoolean("wait-for-reclaim", mWaitForReclaim);
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
GattPMCReceiver.java 65 Bundle extras = intent.getExtras(); local
69 if (extras == null) {
74 if (extras.containsKey("GattServer")) {
81 if (!extras.containsKey("StartTime")) {
85 str = extras.getString("StartTime");
90 if (!extras.containsKey("WriteTime")) {
94 str = extras.getString("WriteTime");
98 if (!extras.containsKey("IdleTime")) {
102 str = extras.getString("IdleTime");
106 if (!extras.containsKey("Repetitions"))
    [all...]
  /frameworks/support/customtabs/tests/src/android/support/customtabs/
TestCustomTabsCallback.java 32 public void onNavigationEvent(final int navigationEvent, final Bundle extras) {
33 TestCustomTabsCallback.this.onNavigationEvent(navigationEvent, extras);
43 public void onMessageChannelReady(final Bundle extras)
45 TestCustomTabsCallback.this.onMessageChannelReady(extras);
49 public void onPostMessage(final String message, final Bundle extras)
51 TestCustomTabsCallback.this.onPostMessage(message, extras);
60 public void onMessageChannelReady(Bundle extras) {
72 public void onPostMessage(String message, Bundle extras) {
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
MatrixCursorWithExtra.java 23 public MatrixCursorWithExtra(String[] columnNames, int initialCapacity, Bundle extras) {
26 mExtras = extras;
  /cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/test/
ShellCommandUtils.java 69 * @param extras extra of intent, must be specified as triplet of option flag, key, and value.
73 final String... extras) {
74 if (extras.length % 3 != 0) {
76 "extras must be triplets: " + Arrays.toString(extras));
80 for (int index = 0; index < extras.length; index += 3) {
81 final String optionFlag = extras[index];
82 final String extraKey = extras[index + 1];
83 final String extraValue = extras[index + 2];

Completed in 1551 milliseconds

1 2 3 4 5 6 7 8 91011>>