Home
last modified time | relevance | path

Searched refs:STATUS_OK (Results 1 – 25 of 84) sorted by relevance

1234

/packages/services/Car/cpp/car_binder_lib/largeParcelable/
DLargeParcelableBase.cpp70 if (binder_status_t status = AParcel_readInt32(in, &totalPayloadSize); status != STATUS_OK) { in readFromParcel()
74 if (binder_status_t status = deserialize(*in); status != STATUS_OK) { in readFromParcel()
81 status != STATUS_OK) { in readFromParcel()
90 status != STATUS_OK) { in readFromParcel()
99 return STATUS_OK; in readFromParcel()
104 if (binder_status_t status = serializeMemoryFdOrPayload(parcel, nullptr); status != STATUS_OK) { in prepareSharedMemory()
113 return STATUS_OK; in prepareSharedMemory()
118 if (status != STATUS_OK) { in prepareSharedMemory()
124 return STATUS_OK; in prepareSharedMemory()
132 if (binder_status_t status = prepareSharedMemory(dest); status != STATUS_OK) { in writeToParcel()
[all …]
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/
DLargeParcelableTest.cpp85 ASSERT_EQ(status, STATUS_OK); in testWrapStableAidlWriteReadPayload()
93 ASSERT_EQ(status, STATUS_OK); in testWrapStableAidlWriteReadPayload()
119 ASSERT_EQ(status, STATUS_OK); in TEST()
124 ASSERT_EQ(status, STATUS_OK); in TEST()
132 ASSERT_EQ(status, STATUS_OK); in TEST()
159 ASSERT_EQ(status, STATUS_OK); in testParcelableToStableLargeParcelable()
169 ASSERT_EQ(status, STATUS_OK); in testParcelableToStableLargeParcelable()
195 ASSERT_EQ(status, STATUS_OK); in testStableLargeParcelableToParcelable()
203 ASSERT_EQ(status, STATUS_OK); in testStableLargeParcelableToParcelable()
264 ASSERT_EQ(status, STATUS_OK); in testWrapStableAidlVectorWriteReadPayload()
[all …]
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/
DUwbControllerClient.java19 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
60 if (status != STATUS_OK) { in startRanging()
68 if (status != STATUS_OK) { in stopRanging()
78 if (status != STATUS_OK) { in addControlee()
95 if (status != STATUS_OK) { in addControleeWithSessionParams()
105 if (status != STATUS_OK) { in removeControlee()
114 if (status != STATUS_OK) { in reconfigureRangingInterval()
DUwbControleeClient.java19 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
53 if (status != STATUS_OK) { in startRanging()
61 if (status != STATUS_OK) { in stopRanging()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DCarPropertyErrorCodes.java48 public static final int STATUS_OK = 0; field in CarPropertyErrorCodes
58 new CarPropertyErrorCodes(STATUS_OK, /* vendorErrorCode= */ 0, /* systemErrorCode */ 0);
65 STATUS_OK,
121 @CarPropMgrErrorCode int carPropertyManagerErrorCode = STATUS_OK; in convertVhalStatusCodeToCarPropertyManagerErrorCodes()
124 case VehicleHalStatusCode.STATUS_OK: in convertVhalStatusCodeToCarPropertyManagerErrorCodes()
210 STATUS_OK,
220 case STATUS_OK: in statusToString()
/packages/services/Car/cpp/car_binder_lib/largeParcelable/include/
DLargeParcelable.h85 status != STATUS_OK) { in serializeNullablePayload()
91 status != STATUS_OK) { in serializeNullablePayload()
101 return STATUS_OK; in serializeNullablePayload()
132 return STATUS_OK; in deserialize()
138 return STATUS_OK; in deserialize()
DLargeParcelableVector.h81 if (binder_status_t status = ::ndk::AParcel_writeVector(dest, *payload); status != STATUS_OK) { in serializePayload()
89 return STATUS_OK; in serializePayload()
111 status != STATUS_OK) { in deserialize()
119 return STATUS_OK; in deserialize()
DLargeParcelableBase.h103 if (binder_status_t status = in.writeToParcel(parcel.get()); status != STATUS_OK) { in parcelableToStableLargeParcelable()
112 status != STATUS_OK) { in parcelableToStableLargeParcelable()
135 status != STATUS_OK) { in stableLargeParcelableToParcelable()
140 if (binder_status_t status = out->readFromParcel(parcel.get()); status != STATUS_OK) { in stableLargeParcelableToParcelable()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DRangingController.java23 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
172 return STATUS_OK; in addControlee()
206 return STATUS_OK; in addControlee()
228 return STATUS_OK; in addControleeWithSessionParams()
262 return STATUS_OK; in addControleeWithSessionParams()
332 return STATUS_OK; in removeControlee()
386 return STATUS_OK; in setBlockStriding()
DRangingDevice.java24 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
492 return STATUS_OK;
522 return STATUS_OK;
553 return STATUS_OK;
619 return STATUS_OK;
/packages/services/Car/car-lib/src/android/car/hardware/property/
DVehicleHalStatusCode.java35 public static final int STATUS_OK = 0; field in VehicleHalStatusCode
97 case STATUS_OK: in toString()
125 @IntDef({STATUS_OK, STATUS_TRY_AGAIN, STATUS_INVALID_ARG, STATUS_NOT_AVAILABLE,
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp299 return STATUS_OK; in expectLinkToDeathStatus()
341 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in testApplyPowerPolicyPerPowerStateChangeAsyncInternal()
397 server->expectLinkToDeathStatus(callbackOne->asBinder().get(), STATUS_OK); in TEST_F()
409 server->expectLinkToDeathStatus(callbackTwo->asBinder().get(), STATUS_OK); in TEST_F()
428 server->expectLinkToDeathStatus(callbackOne->asBinder().get(), STATUS_OK); in TEST_F()
448 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in TEST_F()
475 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in TEST_F()
528 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in TEST_F()
570 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in TEST_F()
589 server->expectLinkToDeathStatus(callback->asBinder().get(), STATUS_OK); in TEST_F()
[all …]
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/
DRangingControllerTest.java29 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
226 STATUS_OK);
256 STATUS_OK);
294 STATUS_OK);
353 assertEquals(mRangingController.stopRanging(), STATUS_OK);
403 peerAddress, 0, null)), STATUS_OK);
458 assertEquals(mRangingController.removeControlee(peerAddress), STATUS_OK);
459 assertEquals(mRangingController.removeControlee(mRangingParamsKnownPeerAddress), STATUS_OK);
508 assertEquals(mRangingController.setBlockStriding(5), STATUS_OK);
556 assertEquals(mRangingController.reconfigureRangeDataNtfConfig(params), STATUS_OK);
DRangingControleeTest.java28 import static androidx.core.uwb.backend.impl.internal.Utils.STATUS_OK;
197 STATUS_OK);
226 STATUS_OK);
263 STATUS_OK);
320 assertEquals(mRangingControlee.stopRanging(), STATUS_OK);
371 assertEquals(mRangingControlee.reconfigureRangeDataNtfConfig(params), STATUS_OK);
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyErrorCodesUnitTest.java42 new CarPropertyErrorCodes(CarPropertyErrorCodes.STATUS_OK, NO_ERROR, NO_ERROR); in testCarPropertyErrorCodesStatusOkNoErrors()
45 .isEqualTo(CarPropertyErrorCodes.STATUS_OK); in testCarPropertyErrorCodesStatusOkNoErrors()
114 .isEqualTo(CarPropertyErrorCodes.STATUS_OK); in testConvertHalToCarPropertyManagerErrorStatusOK()
117 .isEqualTo(CarPropertyErrorCodes.STATUS_OK); in testConvertHalToCarPropertyManagerErrorStatusOK()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DBroadcastCallback.java33 int STATUS_OK = 0; field
55 @IntDef({STATUS_OK, STATUS_FAILURE, STATUS_FAILURE_ALREADY_REGISTERED,
/packages/services/Car/service/jni/test-libs/
DMockEvsServiceFactory.cpp45 return STATUS_OK; in linkToDeath()
50 return STATUS_OK; in unlinkToDeath()
/packages/services/Car/service/src/com/android/car/hal/
DHalCallback.java33 int STATUS_OK = 1; field
42 STATUS_OK,
DUserHalService.java761 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnUserIdentificationAssociation()
762 logSetUserAssociationResponse(requestId, response, HalCallback.STATUS_OK); in handleOnUserIdentificationAssociation()
919 HalCallback.STATUS_OK, response.action, in handleOnInitialUserInfoResponse()
924 getHalCallbackStatusForStatsd(HalCallback.STATUS_OK), in handleOnInitialUserInfoResponse()
930 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnInitialUserInfoResponse()
1022 HalCallback.STATUS_OK, response.status, response.errorMessage); in handleOnSwitchUserVehicleResponse()
1023 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnSwitchUserVehicleResponse()
1024 logHalSwitchUserResponse(requestId, HalCallback.STATUS_OK, response.status); in handleOnSwitchUserVehicleResponse()
1056 HalCallback.STATUS_OK, response.status, response.errorMessage); in handleOnCreateUserResponse()
1057 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnCreateUserResponse()
[all …]
/packages/modules/DnsResolver/
DDnsResolverService.cpp87 if (status != STATUS_OK) { in start()
93 return STATUS_OK; in start()
110 return STATUS_OK; in dump()
121 return STATUS_OK; in dump()
/packages/modules/Bluetooth/system/bta/le_audio/
Dcodec_interface.cc63 return Status::STATUS_OK; in InitEncoder()
101 return Status::STATUS_OK; in InitDecoder()
126 return Status::STATUS_OK; in Decode()
172 return Status::STATUS_OK; in Encode()
/packages/services/Car/cpp/computepipe/router/1.0/
DRouterSvc.cpp62 if (status != STATUS_OK) { in initRegistrationEngine()
77 if (status != STATUS_OK) { in initQueryEngine()
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DEvsEnumeratorUnitTest.cpp627 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)args, 1)); in TEST_F()
631 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), nullptr, 0)); in TEST_F()
634 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)args, 1)); in TEST_F()
639 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
643 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
646 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
662 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
696 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
705 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
713 EXPECT_EQ(STATUS_OK, mEnumerator->dump(fileno(stdout), (const char**)&args[0], args.size())); in TEST_F()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsRecord.java56 public static final int STATUS_OK = 0; field in MdnsRecord
267 return STATUS_OK; in getStatus()
276 return STATUS_OK; in getStatus()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java343 VehicleHalStatusCode.STATUS_OK); in testClusterRequestDisplayErrorStatusFromHal()
378 VehicleHalStatusCode.STATUS_OK); in testClusterReportStateErrorStatusFromHal()
418 int status = mPropStatusMap.get(value.prop, VehicleHalStatusCode.STATUS_OK); in onPropertySet()
419 if (status != VehicleHalStatusCode.STATUS_OK) { in onPropertySet()
432 int status = mPropStatusMap.get(value.prop, VehicleHalStatusCode.STATUS_OK); in onPropertyGet()
433 if (status != VehicleHalStatusCode.STATUS_OK) { in onPropertyGet()

1234