Home
last modified time | relevance | path

Searched refs:INVALID_ARG (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Car/cpp/evs/manager/1.1/
DVirtualCamera.cpp580 return EvsResult::INVALID_ARG; in setExtendedInfo()
589 return EvsResult::INVALID_ARG; in setExtendedInfo()
686 return EvsResult::INVALID_ARG; in setMaster()
694 return EvsResult::INVALID_ARG; in setMaster()
701 return EvsResult::INVALID_ARG; in forceMaster()
706 return EvsResult::INVALID_ARG; in forceMaster()
713 return EvsResult::INVALID_ARG; in forceMaster()
721 return EvsResult::INVALID_ARG; in forceMaster()
728 return EvsResult::INVALID_ARG; in unsetMaster()
736 return EvsResult::INVALID_ARG; in unsetMaster()
[all …]
DHalCamera.cpp529 return EvsResult::INVALID_ARG; in unsetMaster()
548 EvsResult result = EvsResult::INVALID_ARG; in setParameter()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWCamera.h35 return EvsResult::INVALID_ARG; in setMaxFramesInFlight()
77 _hidl_cb(EvsResult::INVALID_ARG, vec); in setIntParameter()
82 _hidl_cb(EvsResult::INVALID_ARG, 0); in getIntParameter()
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DHidlMockedVehicleHal.java181 cb.onValues(StatusCode.INVALID_ARG, new ArrayList<>()); in getPropConfigs()
195 cb.onValues(StatusCode.INVALID_ARG, null); in get()
214 return StatusCode.INVALID_ARG; in set()
234 return StatusCode.INVALID_ARG; in subscribe()
264 return StatusCode.INVALID_ARG; in unsubscribe()
DAidlMockedVehicleHal.java251 result.status = StatusCode.INVALID_ARG; in getValues()
290 result.status = StatusCode.INVALID_ARG; in setValues()
339 throw new ServiceSpecificException(StatusCode.INVALID_ARG, in subscribe()
372 throw new ServiceSpecificException(StatusCode.INVALID_ARG, in unsubscribe()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsGlDisplay.cpp114 return EvsResult::INVALID_ARG; in setDisplayState()
243 return EvsResult::INVALID_ARG; in returnTargetBufferForDisplay()
247 return EvsResult::INVALID_ARG; in returnTargetBufferForDisplay()
DEvsV4lCamera.cpp127 return EvsResult::INVALID_ARG; in setMaxFramesInFlight()
286 return EvsResult::INVALID_ARG; in setExtendedInfo()
379 _hidl_cb(EvsResult::INVALID_ARG, values); in setIntParameter()
399 _hidl_cb(EvsResult::INVALID_ARG, values); in getIntParameter()
404 result = EvsResult::INVALID_ARG; in getIntParameter()
427 status = EvsResult::INVALID_ARG; in getExtendedInfo_1_1()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp198 return EvsResult::INVALID_ARG; in setMaxFramesInFlight()
227 return EvsResult::INVALID_ARG; in startVideoStream()
299 return EvsResult::INVALID_ARG; in setExtendedInfo()
374 _hidl_cb(EvsResult::INVALID_ARG, values); in setIntParameter()
382 _hidl_cb(EvsResult::INVALID_ARG, values); in getIntParameter()
398 status = EvsResult::INVALID_ARG; in getExtendedInfo_1_1()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsGlDisplay.cpp286 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in setDisplayState()
383 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in returnTargetBufferForDisplay()
387 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in returnTargetBufferForDisplay()
391 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in returnTargetBufferForDisplay()
DEvsV4lCamera.cpp125 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in setMaxFramesInFlight()
329 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in setIntParameter()
346 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in getIntParameter()
351 static_cast<int>(EvsResult::INVALID_ARG)); in getIntParameter()
371 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in getExtendedInfo()
DEvsEnumerator.cpp369 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in openCamera()
402 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in closeCamera()
/packages/services/Car/cpp/vhal/client/include/
DIVhalClient.h60 INVALID_ARG = 1, enumerator
84 case aidl::android::hardware::automotive::vehicle::StatusCode::INVALID_ARG: in statusCodeToErrorCode()
85 return ErrorCode::INVALID_ARG; in statusCodeToErrorCode()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockEvsHal.cpp359 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
395 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
410 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
425 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
510 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
553 static_cast<int>(EvsResult::INVALID_ARG)); in addMockCameraDevice()
912 static_cast<int>(EvsResult::INVALID_ARG)); in configureEnumerator()
948 static_cast<int>(EvsResult::INVALID_ARG)); in configureEnumerator()
DMockHidlEvsHal.cpp295 return EvsResult::INVALID_ARG; in addMockCameraDevice()
362 callback(EvsResult::INVALID_ARG, 0); in addMockCameraDevice()
378 callback(EvsResult::INVALID_ARG, 0); in addMockCameraDevice()
502 callback(EvsResult::INVALID_ARG, {}); in addMockCameraDevice()
547 return EvsResult::INVALID_ARG; in addMockCameraDevice()
569 return EvsResult::INVALID_ARG; in addMockCameraDevice()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java156 callback.onValues(StatusCode.INVALID_ARG, /* propConfigs = */ null); in testGetAllPropConfigsHidl()
281 callback.onValues(StatusCode.INVALID_ARG, /* propValue= */ null); in testGetAllPropConfigsHidlMultipleRequestsGetValueInvalidArg()
418 callback.onValues(StatusCode.INVALID_ARG, propValue); in testGetAsyncError()
521 callback.onValues(StatusCode.INVALID_ARG, propValue); in testGetSyncError()
626 when(mHidlVehicle.set(TEST_VHAL_VEHICLE_PROP_VALUE)).thenReturn(StatusCode.INVALID_ARG); in testSetSyncError()
631 assertThat(exception.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSetSyncError()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java428 throw new ServiceSpecificException(StatusCode.INVALID_ARG, in set()
821 throw new ServiceSpecificException(StatusCode.INVALID_ARG, "This areaId: " + areaId in getMatchedAreaIdInHvacPower()
932 throw new ServiceSpecificException(StatusCode.INVALID_ARG, "The propId: " + propId in checkPropIdSupported()
950 throw new ServiceSpecificException(StatusCode.INVALID_ARG, "The areaId: " + areaId in checkAreaIdSupported()
981 throw new ServiceSpecificException(StatusCode.INVALID_ARG, in subscribe()
1078 throw new ServiceSpecificException(StatusCode.INVALID_ARG, in unsubscribe()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java330 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testGetMethodPropIdNotSupported()
397 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testGetMethodGlobalPropWithAreaIdNotZero()
504 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testGetMethodPropIdHasAreasAreaIdNotSupport()
598 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testGetMethodForHvacPropNoMatchedAreaId()
849 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSetMethodValueOutOfRange()
873 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSetMethodGlobalPropWithAreaIdSetValueOutOfRange()
921 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSetMethodGlobalPropWithAreaIdNotZero()
1391 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSubscribeNonSupportPropID()
1420 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSubscribeNonSupportAreaId()
1443 expect.that(thrown.errorCode).isEqualTo(StatusCode.INVALID_ARG); in testSubscribeStaticPropThrowException()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DAidlEnumerator.cpp111 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in getStreamList()
282 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in openCamera()
375 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in openCamera()
DAidlCamera.cpp231 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in setExtendedInfo()
260 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in startVideoStream()
488 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in startVideoStream()
DAidlCameraStream.cpp141 return ScopedAStatus::fromServiceSpecificError(static_cast<int>(EvsResult::INVALID_ARG)); in notify()
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp310 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in closeCamera()
325 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in closeCamera()
493 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in openDisplay()
533 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in closeDisplay()
DVirtualCamera.cpp116 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in forcePrimaryClient()
229 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in getPhysicalCameraInfo()
363 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in setMaxFramesInFlight()
412 return Utils::buildScopedAStatusFromEvsResult(EvsResult::INVALID_ARG); in startVideoStream()
/packages/services/Car/cpp/evs/manager/aidl/utils/src/
DUtils.cpp224 case hidlevs::V1_0::EvsResult::INVALID_ARG: in makeFromHidl()
225 return EvsResult::INVALID_ARG; in makeFromHidl()
243 case EvsResult::INVALID_ARG: in makeToHidl()
244 return hidlevs::V1_0::EvsResult::INVALID_ARG; in makeToHidl()
/packages/services/Car/cpp/vhal/client/src/
DIVhalClient.cpp122 case ErrorCode::INVALID_ARG: in toString()
/packages/services/Car/service/jni/evs/
DStreamHandler.cpp276 static_cast<int32_t>(EvsResult::INVALID_ARG)); in deliverFrame()

12