Home
last modified time | relevance | path

Searched refs:resultBundle (Results 1 – 6 of 6) sorted by relevance

/external/setupcompat/main/java/com/google/android/setupcompat/portal/
DPortalResultHelper.java35 Bundle resultBundle = new Bundle(); in createSuccessBundle() local
36 resultBundle.putBoolean(RESULT_BUNDLE_KEY_RESULT, true); in createSuccessBundle()
37 return resultBundle; in createSuccessBundle()
41 Bundle resultBundle = new Bundle(); in createFailureBundle() local
42 resultBundle.putBoolean(RESULT_BUNDLE_KEY_RESULT, false); in createFailureBundle()
43 resultBundle.putString(RESULT_BUNDLE_KEY_ERROR, errorMessage); in createFailureBundle()
44 return resultBundle; in createFailureBundle()
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java73 @VisibleForTesting Bundle resultBundle = null; field in PartnerConfigHelper
124 return resultBundle != null && !resultBundle.isEmpty(); in isAvailable()
134 return isAvailable() && resultBundle.containsKey(resourceConfig.getResourceName()); in isPartnerConfigAvailable()
495 if (resultBundle == null || resultBundle.isEmpty()) { in getPartnerConfigBundle()
497 resultBundle = in getPartnerConfigBundle()
515 Bundle resourceEntryBundle = resultBundle.getBundle(resourceName); in getResourceEntryFromKey()
516 Bundle fallbackBundle = resultBundle.getBundle(KEY_FALLBACK_CONFIG); in getResourceEntryFromKey()
/external/setupdesign/main/src/com/google/android/setupdesign/transition/
DTransitionHelper.java636 Bundle resultBundle = null; in makeActivityOptions() local
638 return resultBundle; in makeActivityOptions()
658 resultBundle = activity.getIntent().getBundleExtra(EXTRA_ACTIVITY_OPTIONS); in makeActivityOptions()
660 resultBundle = ActivityOptions.makeSceneTransitionAnimation(activity).toBundle(); in makeActivityOptions()
662 intent.putExtra(EXTRA_ACTIVITY_OPTIONS, (Parcelable) resultBundle); in makeActivityOptions()
663 return resultBundle; in makeActivityOptions()
667 return resultBundle; in makeActivityOptions()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccountManager.java321 pendingAddFuture.resultBundle.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
370 private final Bundle resultBundle;
377 this.resultBundle = new Bundle();
386 resultBundle.putString(AccountManager.KEY_ACCOUNT_TYPE, accountType);
390 resultBundle.putParcelable(AccountManager.KEY_INTENT, resultIntent);
392 resultBundle.putString(AccountManager.KEY_ACCOUNT_NAME, "some_user@gmail.com");
395 return resultBundle;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccountManagerTest.java527 Bundle resultBundle = result.getResult(); in addAccount_noActivitySpecified() local
529 assertThat((Intent) resultBundle.getParcelable(AccountManager.KEY_INTENT)).isNotNull(); in addAccount_noActivitySpecified()
537 Bundle resultBundle = result.getResult(); in addAccount_activitySpecified() local
539 assertThat(resultBundle.getString(AccountManager.KEY_ACCOUNT_TYPE)).isEqualTo("google.com"); in addAccount_activitySpecified()
540 …assertThat(resultBundle.getString(AccountManager.KEY_ACCOUNT_NAME)).isEqualTo("some_user@gmail.com… in addAccount_activitySpecified()
557 Bundle resultBundle = callback.getResult(); in addAccount_shouldCallCallback() local
558 assertThat(resultBundle.getString(AccountManager.KEY_ACCOUNT_TYPE)).isEqualTo("google.com"); in addAccount_shouldCallCallback()
559 …assertThat(resultBundle.getString(AccountManager.KEY_ACCOUNT_NAME)).isEqualTo("thebomb@google.com"… in addAccount_shouldCallCallback()
576 Bundle resultBundle = callback.getResult(); in addAccount_whenSchedulerPaused_shouldCallCallbackAfterSchedulerUnpaused() local
577 assertThat(resultBundle.getString(AccountManager.KEY_ACCOUNT_TYPE)).isEqualTo("google.com"); in addAccount_whenSchedulerPaused_shouldCallCallbackAfterSchedulerUnpaused()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiScannerFacade.java98 public WifiActionListener(String type, int idx, Bundle resultBundle, long startScanERT) { in WifiActionListener() argument
101 this.mResults = resultBundle; in WifiActionListener()