Searched refs:resultBundle (Results 1 – 4 of 4) sorted by relevance
285 private void validateNullResult(Bundle resultBundle) { in validateNullResult() argument286 assertNull(resultBundle.get(AccountManager.KEY_ACCOUNT_NAME)); in validateNullResult()287 assertNull(resultBundle.get(AccountManager.KEY_ACCOUNT_TYPE)); in validateNullResult()288 assertNull(resultBundle.get(AccountManager.KEY_AUTHTOKEN)); in validateNullResult()341 Bundle resultBundle = futureBundle.getResult(30, TimeUnit.SECONDS); in addAccount() local343 assertNotNull(resultBundle); in addAccount()345 return resultBundle; in addAccount()378 Bundle resultBundle = futureBundle.getResult(30, TimeUnit.SECONDS); in removeAccountWithIntentLaunch() local381 return resultBundle; in removeAccountWithIntentLaunch()392 Bundle resultBundle = futureBundle.getResult(30, TimeUnit.SECONDS); in removeAccount() local[all …]
306 PersistableBundle resultBundle = new PersistableBundle(); in updateProcessingState() local307 resultBundle.putBoolean(MODEL_LOADED_BUNDLE_KEY, true); in updateProcessingState()308 callback.onResult(resultBundle); in updateProcessingState()316 PersistableBundle resultBundle = new PersistableBundle(); in updateProcessingState() local317 resultBundle.putBoolean("deviceConfig", true); in updateProcessingState()318 callback.onResult(resultBundle); in updateProcessingState()
650 CompletableFuture<Bundle> resultBundle = new CompletableFuture<>(); in cancellationPropagatedWhenInvokedDuringRequest() local664 resultBundle.complete(result); in cancellationPropagatedWhenInvokedDuringRequest()674 assertThat(resultBundle.get()).isNotNull(); in cancellationPropagatedWhenInvokedDuringRequest()675 assertThat(resultBundle.get().containsKey("test_key")).isTrue(); in cancellationPropagatedWhenInvokedDuringRequest()676 assertThat(resultBundle.get().getBoolean(TEST_KEY)).isTrue(); in cancellationPropagatedWhenInvokedDuringRequest()689 CompletableFuture<Bundle> resultBundle = new CompletableFuture<>(); in cancellationPropagatedWhenInvokedBeforeMakingRequest() local702 resultBundle.complete(result); in cancellationPropagatedWhenInvokedBeforeMakingRequest()712 assertThat(resultBundle.get()).isNotNull(); in cancellationPropagatedWhenInvokedBeforeMakingRequest()714 resultBundle.get().isEmpty()).isTrue(); // When cancelled before sending request, in cancellationPropagatedWhenInvokedBeforeMakingRequest()
323 final Bundle resultBundle = callbackResult.get(SHORT_TIMEOUT, TimeUnit.MILLISECONDS); in writeToFileWithDelegator() local324 if (resultBundle.getString(KEY_ERROR) != null) { in writeToFileWithDelegator()326 + resultBundle.getString(KEY_ERROR)); in writeToFileWithDelegator()