Lines Matching full:deferred
94 var deferred = $q.defer();
105 deferred.resolve(content.data);
109 deferred.reject(error);
111 return deferred.promise;
125 var deferred = $q.defer();
128 deferred.reject(new Error(Constants.MESSAGES.POLL.HOST_ON_TIMEOUT));
146 deferred.resolve();
150 deferred.reject(new Error(Constants.MESSAGES.POLL.HOST_QUIESCED));
156 var deferred = $q.defer();
163 deferred.reject(new Error(message));
194 deferred.resolve();
199 deferred.reject(new Error(Constants.MESSAGES.POLL.HOST_QUIESCED));
205 var deferred = $q.defer();
208 deferred.reject(
228 deferred.resolve();
268 var deferred = $q.defer();
361 deferred.resolve({
371 deferred.reject(error);
373 return deferred.promise;
459 var deferred = $q.defer();
470 deferred.resolve(content.data.Asserted);
474 deferred.reject(error);
476 return deferred.promise;
540 var deferred = $q.defer();
564 deferred.resolve(results);
567 deferred.reject(errors);
572 deferred.reject(error);
574 return deferred.promise;
661 var deferred = $q.defer();
674 deferred.resolve(content.status);
678 deferred.reject(error);
680 return deferred.promise;
752 var deferred = $q.defer();
765 deferred.resolve(content.status);
769 deferred.reject(error);
771 return deferred.promise;
774 var deferred = $q.defer();
787 deferred.resolve(content.status);
791 deferred.reject(error);
793 return deferred.promise;
796 var deferred = $q.defer();
809 deferred.resolve(content.status);
813 deferred.reject(error);
816 return deferred.promise;
830 var deferred = $q.defer();
901 deferred.resolve({data: data, original: dataClone});
905 deferred.reject(error);
908 return deferred.promise;
1067 var deferred = $q.defer();
1171 deferred.resolve({
1179 deferred.reject(error);
1182 return deferred.promise;