Home
last modified time | relevance | path

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

/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java50 @VisibleForTesting Bundle resultBundle = null; field in PartnerConfigHelper
72 return resultBundle != null && !resultBundle.isEmpty(); in isAvailable()
305 if (resultBundle == null || resultBundle.isEmpty()) { in getPartnerConfigBundle()
313 resultBundle = in getPartnerConfigBundle()
338 if (resultBundle == null) { in getResourceEntryFromKey()
341 return ResourceEntry.fromBundle(resultBundle.getBundle(resourceName)); in getResourceEntryFromKey()
/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.java95 public WifiActionListener(String type, int idx, Bundle resultBundle, long startScanERT) { in WifiActionListener() argument
98 this.mResults = resultBundle; in WifiActionListener()