HomeSort by relevance Sort by last modified time
    Searched refs:extras (Results 1 - 25 of 1282) 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/main/java/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);
  /frameworks/base/services/backup/java/com/android/server/backup/utils/
BackupManagerMonitorUtils.java 44 * @param extras - additional event data.
48 PackageInfo pkg, int category, Bundle extras) {
62 if (extras != null) {
63 bundle.putAll(extras);
80 * @param extras - bundle where to add key-value to, if null a new bundle will be created.
83 * @return extras if it was not null and new bundle otherwise.
85 public static Bundle putMonitoringExtra(Bundle extras, String key, String value) {
86 if (extras == null) {
87 extras = new Bundle();
89 extras.putString(key, value)
    [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/browser/src/main/aidl/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;
30 void onRelationshipValidationResult(int relation, in Uri origin, boolean result, in Bundle extras) = 5;
  /frameworks/base/media/java/android/media/update/
MediaBrowser2Provider.java 27 void subscribe_impl(String parentId, Bundle extras);
31 void getChildren_impl(String parentId, int page, int pageSize, Bundle extras);
32 void search_impl(String query, Bundle extras);
33 void getSearchResult_impl(String query, int page, int pageSize, Bundle extras);
MediaLibraryService2Provider.java 30 int itemCount, Bundle extras);
31 void notifyChildrenChanged_impl(String parentId, int itemCount, Bundle extras);
33 Bundle extras);
  /system/vold/binder/android/os/
IVoldTaskListener.aidl 23 void onStatus(int status, in PersistableBundle extras);
24 void onFinished(int status, in PersistableBundle extras);
  /packages/apps/TV/common/src/com/android/tv/common/actions/
InputSetupActionUtils.java 95 public static void removeSetupIntent(Bundle extras) {
96 extras.remove(EXTRA_SETUP_INTENT);
97 extras.remove(EXTRA_GOOGLE_SETUP_INTENT);
102 Bundle extras = intent.getExtras(); local
103 if (extras == null) {
106 Intent setupIntent = extras.getParcelable(EXTRA_SETUP_INTENT);
107 return setupIntent != null ? setupIntent : extras.getParcelable(EXTRA_GOOGLE_SETUP_INTENT);
112 Bundle extras = intent.getExtras(); local
113 if (extras == null) {
116 Intent setupIntent = extras.getParcelable(EXTRA_ACTIVITY_AFTER_COMPLETION)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callintent/
CallIntentParser.java 30 public static CallSpecificAppData getCallSpecificAppData(@Nullable Bundle extras) {
31 if (extras == null) {
35 if (!extras.containsKey(Constants.EXTRA_CALL_SPECIFIC_APP_DATA)) {
39 if (extras.getByteArray(Constants.EXTRA_CALL_SPECIFIC_APP_DATA) == null) {
47 extras, Constants.EXTRA_CALL_SPECIFIC_APP_DATA, CallSpecificAppData.getDefaultInstance());
51 @NonNull Bundle extras, @NonNull CallSpecificAppData callSpecificAppData) {
52 ProtoParsers.put(extras, Constants.EXTRA_CALL_SPECIFIC_APP_DATA, callSpecificAppData);
  /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...]
  /frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/
TestCustomTabsCallback.java 34 public void onNavigationEvent(final int navigationEvent, final Bundle extras) {
35 TestCustomTabsCallback.this.onNavigationEvent(navigationEvent, extras);
45 public void onMessageChannelReady(final Bundle extras)
47 TestCustomTabsCallback.this.onMessageChannelReady(extras);
51 public void onPostMessage(final String message, final Bundle extras)
53 TestCustomTabsCallback.this.onPostMessage(message, extras);
58 Bundle extras) throws RemoteException {
60 relation, origin, result, extras);
69 public void onMessageChannelReady(Bundle extras) {
81 public void onPostMessage(String message, Bundle extras) {
    [all...]
  /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
61 fail(my_msg, extras=extras)
69 extras=None):
78 :param extras: Extra object passed to test failure handler
95 fail(my_msg, extras=extras)
98 def assert_raises(expected_exception, extras=None, *args, **kwargs):
111 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/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/api24/android/support/v4/media/session/
MediaControllerCompatApi24.java 33 public static void prepareFromMediaId(Object controlsObj, String mediaId, Bundle extras) {
34 ((MediaController.TransportControls) controlsObj).prepareFromMediaId(mediaId, extras);
37 public static void prepareFromSearch(Object controlsObj, String query, Bundle extras) {
38 ((MediaController.TransportControls) controlsObj).prepareFromSearch(query, extras);
41 public static void prepareFromUri(Object controlsObj, Uri uri, Bundle extras) {
42 ((MediaController.TransportControls) controlsObj).prepareFromUri(uri, extras);
  /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);
  /frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/
ShowWhenLockedActivity.java 129 private void handleExtras(Bundle extras) {
130 if (extras == null) {
134 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED)) {
135 boolean showWhenLocked = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED, true);
140 if (extras.containsKey(EXTRA_TURN_SCREEN_ON)) {
141 boolean turnScreenOn = extras.getBoolean(EXTRA_TURN_SCREEN_ON, true);
146 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED_STOP)) {
147 showWhenLockedAtStop = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED_STOP, true);
151 if (extras.containsKey(EXTRA_TURN_SCREEN_ON_STOP)) {
152 turnScreenOnAtStop = extras.getBoolean(EXTRA_TURN_SCREEN_ON_STOP, true)
    [all...]
  /frameworks/support/browser/src/main/java/androidx/browser/customtabs/
CustomTabsCallback.java 62 * @param extras Reserved for future use.
64 public void onNavigationEvent(int navigationEvent, Bundle extras) {}
88 * @param extras Reserved for future use.
90 public void onMessageChannelReady(Bundle extras) {}
99 * @param extras Reserved for future use.
101 public void onPostMessage(String message, Bundle extras) {}
112 * @param extras Reserved for future use.
115 boolean result, Bundle extras) {}
  /cts/tests/framework/base/activitymanager/util/src/android/server/am/
ActivityLauncher.java 95 /** Perform an activity launch configured by provided extras. */
96 public static void launchActivityFromExtras(final Context context, Bundle extras) {
97 if (extras == null || !extras.getBoolean(KEY_LAUNCH_ACTIVITY)) {
101 Log.i(TAG, "launchActivityFromExtras: extras=" + extras);
103 final String targetComponent = extras.getString(KEY_TARGET_COMPONENT);
107 if (extras.getBoolean(KEY_LAUNCH_TO_SIDE)) {
109 if (extras.getBoolean(KEY_RANDOM_DATA)) {
116 if (extras.getBoolean(KEY_MULTIPLE_TASK))
    [all...]
  /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...]

Completed in 984 milliseconds

1 2 3 4 5 6 7 8 91011>>