/frameworks/base/core/java/android/hardware/camera2/ |
CameraAccessException.java | 97 public CameraAccessException(int problem) { 98 super(getDefaultMessage(problem)); 99 mReason = problem; 102 public CameraAccessException(int problem, String message) { 104 mReason = problem; 107 public CameraAccessException(int problem, String message, Throwable cause) { 109 mReason = problem; 112 public CameraAccessException(int problem, Throwable cause) { 113 super(getDefaultMessage(problem), cause); 114 mReason = problem; [all...] |
/external/ceres-solver/internal/ceres/ |
problem_test.cc | 32 #include "ceres/problem.h" 119 TEST(Problem, AddResidualWithNullCostFunctionDies) { 122 Problem problem; local 123 problem.AddParameterBlock(x, 3); 124 problem.AddParameterBlock(y, 4); 125 problem.AddParameterBlock(z, 5); 127 EXPECT_DEATH_IF_SUPPORTED(problem.AddResidualBlock(NULL, NULL, x), 131 TEST(Problem, AddResidualWithIncorrectNumberOfParameterBlocksDies) { 134 Problem problem local 148 Problem problem; local 159 Problem problem; local 172 Problem problem; local 187 Problem problem; local 200 Problem problem; local 223 Problem problem; local 251 Problem problem; local 274 Problem problem; local 330 Problem problem; local 349 Problem problem; local 473 scoped_ptr<ProblemImpl> problem; member in struct:ceres::internal::DynamicProblem 481 Problem problem; local 492 Problem problem; local 503 Problem problem; local 515 Problem problem; local 526 Problem problem; local 539 Problem problem; local [all...] |
program_test.cc | 79 ProblemImpl problem; local 84 problem.AddParameterBlock(&x, 1); 85 problem.AddParameterBlock(&y, 1); 86 problem.AddParameterBlock(&z, 1); 87 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); 88 problem.AddResidualBlock(new BinaryCostFunction(), NULL, &x, &y); 89 problem.AddResidualBlock(new TernaryCostFunction(), NULL, &x, &y, &z); 95 CHECK_NOTNULL(problem 108 ProblemImpl problem; local 111 problem.AddParameterBlock(&x, 1) 133 ProblemImpl problem; local 158 ProblemImpl problem; local 185 ProblemImpl problem; local 212 ProblemImpl problem; local 252 ProblemImpl problem; local 354 ProblemImpl problem; local 396 ProblemImpl problem; local 408 ProblemImpl problem; local 419 ProblemImpl problem; local [all...] |
solver_impl_test.cc | 76 Problem::Options problem_options; 79 ProblemImpl problem(problem_options); 80 problem.AddResidualBlock(cost_function.get(), NULL, &x, &y, &z, &w); 81 problem.SetParameterBlockConstant(&x); 82 problem.SetParameterBlockConstant(&w); 88 SolverImpl::Solve(options, &problem, &summary); 98 EXPECT_EQ(&x, problem.program().parameter_blocks()[0]->state()); 99 EXPECT_EQ(&y, problem.program().parameter_blocks()[1]->state()); 100 EXPECT_EQ(&z, problem.program().parameter_blocks()[2]->state()); 101 EXPECT_EQ(&w, problem.program().parameter_blocks()[3]->state()) [all...] |
reorder_program_test.cc | 62 ProblemImpl problem; local 67 problem.AddParameterBlock(&x, 1); 68 problem.AddParameterBlock(&y, 1); 69 problem.AddParameterBlock(&z, 1); 71 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &x); 72 problem.AddResidualBlock(new BinaryCostFunction(), NULL, &z, &x); 73 problem.AddResidualBlock(new BinaryCostFunction(), NULL, &z, &y); 74 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &z); 75 problem.AddResidualBlock(new BinaryCostFunction(), NULL, &x, &y); 76 problem.AddResidualBlock(new UnaryCostFunction(), NULL, &y) 118 ProblemImpl problem; local 140 ProblemImpl problem; local [all...] |
covariance.cc | 36 #include "ceres/problem.h" 50 Problem* problem) { 51 return impl_->Compute(covariance_blocks, problem->problem_impl_.get());
|
evaluator_test.cc | 135 void EvaluateAndCompare(ProblemImpl *problem, 143 CreateEvaluator(problem->mutable_program())); 191 EvaluateAndCompare(&problem, 206 ProblemImpl problem; member in struct:ceres::internal::EvaluatorTest 215 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 3, 2, 3, 4>, 243 problem.AddParameterBlock(x, 2); 244 problem.AddParameterBlock(y, 3); 245 problem.AddParameterBlock(z, 4); 251 // for a long time, since by chance most users added parameters to the problem 253 problem.AddResidualBlock(new ParameterIgnoringCostFunction<1, 3, 4, 3, 2> 591 ProblemImpl problem; local [all...] |
linear_least_squares_problems.cc | 60 LOG(FATAL) << "Unknown problem id requested " << id; 84 LinearLeastSquaresProblem* problem = new LinearLeastSquaresProblem; local 87 problem->b.reset(new double[3]); 88 problem->D.reset(new double[2]); 90 problem->x.reset(new double[2]); 91 problem->x_D.reset(new double[2]); 113 problem->A.reset(A); 115 problem->b[0] = 8; 116 problem->b[1] = 18; 117 problem->b[2] = -18 184 LinearLeastSquaresProblem* problem = new LinearLeastSquaresProblem; local 289 LinearLeastSquaresProblem* problem = new LinearLeastSquaresProblem; local 423 LinearLeastSquaresProblem* problem = new LinearLeastSquaresProblem; local [all...] |
solver_test.cc | 40 #include "ceres/problem.h" 90 Problem::Options problem_options; 92 Problem problem(problem_options); 93 problem.AddResidualBlock(cost_function.get(), NULL, &x); 106 Solve(options, &problem, &summary); 118 Solve(options, &problem, &summary); 163 Problem problem; local 167 Solve(options, &problem, &summary) 175 Problem problem; local 187 Problem problem; local 201 Problem problem; local 215 Problem problem; local 229 Problem problem; local [all...] |
iterative_schur_complement_solver_test.cc | 62 scoped_ptr<LinearLeastSquaresProblem> problem( 65 CHECK_NOTNULL(problem.get()); 66 A_.reset(down_cast<BlockSparseMatrix*>(problem->A.release())); 67 b_.reset(problem->b.release()); 68 D_.reset(problem->D.release()); 72 num_eliminate_blocks_ = problem->num_eliminate_blocks;
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
address_problem.cc | 26 std::ostream& operator<<(std::ostream& o, AddressProblem problem) { 38 if (problem < 0 || static_cast<size_t>(problem) >= arraysize(kProblemNames)) { 39 o << "[INVALID ENUM VALUE " << static_cast<int>(problem) << "]"; 41 o << kProblemNames[problem];
|
localization.cc | 65 AddressProblem problem, 92 return GetErrorMessageForPostalCode(address, problem, 96 if (problem == MISSING_REQUIRED_FIELD) { 98 } else if (problem == UNKNOWN_VALUE) { 109 } else if (problem == USES_P_O_BOX) { 127 AddressProblem problem, 133 if (problem == MISSING_REQUIRED_FIELD) { 149 } else if (problem == INVALID_FORMAT) { 167 } else if (problem == MISMATCHING_VALUE) {
|
/external/chromium_org/base/metrics/ |
histogram_flattener.h | 29 virtual void InconsistencyDetected(HistogramBase::Inconsistency problem) = 0; 34 HistogramBase::Inconsistency problem) = 0;
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
CameraRuntimeException.java | 18 public CameraRuntimeException(int problem) { 20 mReason = problem; 23 public CameraRuntimeException(int problem, String message) { 25 mReason = problem; 29 public CameraRuntimeException(int problem, String message, Throwable cause) { 31 mReason = problem; 36 public CameraRuntimeException(int problem, Throwable cause) { 38 mReason = problem;
|
/external/chromium_org/third_party/libaddressinput/chromium/cpp/src/ |
address_problem.cc | 51 std::ostream& operator<<(std::ostream& o, const AddressProblem& problem) { 52 o << "[" << problem.field << ", " 53 << problem.type << ", \"" 54 << problem.description_id << "\"]";
|
/external/ceres-solver/examples/ |
helloworld.cc | 41 using ceres::Problem; 64 // Build the problem. 65 Problem problem; local 71 problem.AddResidualBlock(cost_function, NULL, &x); 77 Solve(options, &problem, &summary);
|
helloworld_analytic_diff.cc | 41 using ceres::Problem; 69 // For this simple problem it is overkill to check if jacobians[0] 89 // Build the problem. 90 Problem problem; local 94 problem.AddResidualBlock(cost_function, NULL, &x); 100 Solve(options, &problem, &summary);
|
helloworld_numeric_diff.cc | 40 using ceres::Problem; 60 // Build the problem. 61 Problem problem; local 67 problem.AddResidualBlock(cost_function, NULL, &x); 73 Solve(options, &problem, &summary);
|
powell.cc | 54 using ceres::Problem; 110 Problem problem; local 111 // Add residual terms to the problem using the using the autodiff 114 problem.AddResidualBlock(new AutoDiffCostFunction<F1, 1, 1, 1>(new F1), 117 problem.AddResidualBlock(new AutoDiffCostFunction<F2, 1, 1, 1>(new F2), 120 problem.AddResidualBlock(new AutoDiffCostFunction<F3, 1, 1, 1>(new F3), 123 problem.AddResidualBlock(new AutoDiffCostFunction<F4, 1, 1, 1>(new F4), 145 Solve(options, &problem, &summary);
|
/external/ceres-solver/include/ceres/ |
c_api.h | 80 * problem, 112 /* Equivalent to Problem from the C++ API. */ 119 /* Create and destroy a problem */ 120 /* TODO(keir): Add options for the problem. */ 122 CERES_EXPORT void ceres_free_problem(ceres_problem_t* problem); 126 ceres_problem_t* problem, 136 CERES_EXPORT void ceres_solve(ceres_problem_t* problem);
|
/external/oauth/core/src/main/java/net/oauth/ |
SimpleOAuthValidator.java | 78 OAuthProblemException problem = new OAuthProblemException("version_rejected"); local 79 problem.setParameter("oauth_acceptable_versions", minVersion + "-" + maxVersion); 80 throw problem; 94 OAuthProblemException problem = new OAuthProblemException("timestamp_refused"); local 95 problem.setParameter("oauth_acceptable_timestamps", min + "-" + max); 96 throw problem;
|
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/ |
localization.h | 55 // street address) should not be empty if problem is UNKNOWN_VALUE. The 57 // INVALID_FORMAT, and MISMATCHING_VALUE problem codes. All other fields 59 // USES_P_O_BOX problem codes. 62 AddressProblem problem, 77 // service URL. The problem should only be one of MISSING_REQUIRED_FIELD, 80 AddressProblem problem,
|
address_problem.h | 23 // Address problem types, in no particular order. 66 i18n::addressinput::AddressProblem problem);
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
AddressProblems.java | 31 * Only one address problem type is saved per addressField. Address field as used here refers to 34 void add(AddressField addressField, AddressProblemType problem) { 35 mProblems.put(addressField, problem);
|
/frameworks/base/core/java/android/view/ |
InputEventConsistencyVerifier.java | 24 * Logs a description of each problem detected. 26 * When a problem is detected, the event is tainted. This mechanism prevents the same 40 // The number of recent events to log when a problem is detected. 217 problem("ACTION_DOWN but key is already down and this event " 228 problem("ACTION_UP but key was not down."); 237 problem("Invalid action " + KeyEvent.actionToString(action) 269 problem("ACTION_DOWN but trackball is already down."); 279 problem("ACTION_UP but trackball is not down."); 291 problem("Invalid action " + MotionEvent.actionToString(action) 297 problem("Trackball is down but pressure is not greater than 0.") 656 private void problem(String message) { method in class:InputEventConsistencyVerifier [all...] |