Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java710 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnUserIdentificationAssociation()
711 logSetUserAssociationResponse(requestId, response, HalCallback.STATUS_OK); in handleOnUserIdentificationAssociation()
855 HalCallback.STATUS_OK, response.action, in handleOnInitialUserInfoResponse()
859 requestId, getHalCallbackStatusForStatsd(HalCallback.STATUS_OK), in handleOnInitialUserInfoResponse()
865 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnInitialUserInfoResponse()
956 HalCallback.STATUS_OK, response.status, response.errorMessage); in handleOnSwitchUserVehicleResponse()
957 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnSwitchUserVehicleResponse()
958 logHalSwitchUserResponse(requestId, HalCallback.STATUS_OK, response.status); in handleOnSwitchUserVehicleResponse()
990 HalCallback.STATUS_OK, response.status, response.errorMessage); in handleOnCreateUserResponse()
991 callback.onResponse(HalCallback.STATUS_OK, response); in handleOnCreateUserResponse()
[all …]
/packages/modules/DnsResolver/
DDnsResolverService.cpp87 if (status != STATUS_OK) { in start()
95 return STATUS_OK; in start()
112 return STATUS_OK; in dump()
121 return STATUS_OK; in dump()
DDnsResolver.cpp86 if ((ret = DnsResolverService::start()) != STATUS_OK) { in start()
DResolverEventReporter.cpp122 if (STATUS_OK != status) { in addListenerImplLocked()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DRadioTunerExt.java124 if (res != RadioManager.STATUS_OK) { in seek()
141 if (res != RadioManager.STATUS_OK) { in step()
238 if (res != RadioManager.STATUS_OK) { in cancel()
DRadioManagerExt.java86 if (status != RadioManager.STATUS_OK) { in initModules()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DHalCallback.java33 int STATUS_OK = 1; field
42 STATUS_OK,
DUserHalHelper.java78 case HalCallback.STATUS_OK: in halCallbackStatusToString()
/packages/services/Car/computepipe/router/1.0/
DRouterSvc.cpp62 if (status != STATUS_OK) { in initRegistrationEngine()
77 if (status != STATUS_OK) { in initQueryEngine()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java429 setGetUserInfoResponse((c) -> c.onResponse(HalCallback.STATUS_OK, response)); in testUserSwitchingUsingHal_invalidAction()
440 setGetUserInfoResponse((c) -> c.onResponse(HalCallback.STATUS_OK, /* response= */ null)); in testUserSwitchingUsingHal_default_nullResponse()
452 setGetUserInfoResponse((c) -> c.onResponse(HalCallback.STATUS_OK, response)); in testUserSwitchingUsingHal_default_ok()
466 setGetUserInfoResponse((c) -> c.onResponse(HalCallback.STATUS_OK, response)); in testUserSwitchingUsingHal_switch()
482 setGetUserInfoResponse((c) -> c.onResponse(HalCallback.STATUS_OK, response)); in testUserSwitchingUsingHal_create()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java391 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testGetUserInfo_successDefault()
420 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testGetUserInfo_successSwitchUser()
453 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testGetUserInfo_successCreateUser()
454 assertThat(callback.status).isEqualTo(HalCallback.STATUS_OK); in testGetUserInfo_successCreateUser()
607 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testSwitchUser_success()
636 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testSwitchUser_failure()
977 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testCreateUser_success()
1006 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testCreateUser_failure()
1383 assertCallbackStatus(callback, HalCallback.STATUS_OK); in testSetUserAssociation_ok()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java499 mockHalCreateUser(HalCallback.STATUS_OK, CreateUserStatus.SUCCESS); in testCreateAdminDriver_IfCurrentUserIsAdminUser()
519 mockHalCreateUser(HalCallback.STATUS_OK, CreateUserStatus.SUCCESS); in testCreateNonAdminDriver()
1261 mockHalCreateUser(HalCallback.STATUS_OK, CreateUserStatus.FAILURE); in testCreateUser_halFailure()
1313 mockHalCreateUser(HalCallback.STATUS_OK, CreateUserStatus.SUCCESS); in testCreateUser_success()
1347 mockHalCreateUser(HalCallback.STATUS_OK, CreateUserStatus.SUCCESS); in testCreateUser_success_nullName()
1396 assertThat(mReceiver.getResultCode()).isEqualTo(HalCallback.STATUS_OK); in testGetUserInfo_defaultResponse()
1413 assertThat(mReceiver.getResultCode()).isEqualTo(HalCallback.STATUS_OK); in testGetUserInfo_defaultResponse_withLocale()
1431 assertThat(mReceiver.getResultCode()).isEqualTo(HalCallback.STATUS_OK); in testGetUserInfo_switchUserResponse()
1454 assertThat(mReceiver.getResultCode()).isEqualTo(HalCallback.STATUS_OK); in testGetUserInfo_createUserResponse()
1806 callback.onResponse(HalCallback.STATUS_OK, response); in mockGetInitialInfo()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DDrmConvertSession.java99 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert()
133 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DDrmTest.java314 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()
319 if (result.statusCode != DrmConvertedStatus.STATUS_OK) { in convertDmToFl()
347 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in convertDmToFl()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DVehicleHalStatusCode.java26 public static final int STATUS_OK = 0; field in VehicleHalStatusCode
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyManagerTest.java631 if (statusCode != VehicleHalStatusCode.STATUS_OK) { in onPropertySet()
646 if (statusCode != VehicleHalStatusCode.STATUS_OK) { in onPropertyGet()
683 return VehicleHalStatusCode.STATUS_OK; in mapPropertyToStatusCode()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DBackendConstants.java29 public static final int STATUS_OK = 0; field in BackendConstants
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DGetCapabilitiesTask.java126 return status == BackendConstants.STATUS_OK ? printerCaps : null; in doInBackground()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java894 if (status != HalCallback.STATUS_OK) {
990 if (status != HalCallback.STATUS_OK) {
1003 if (status == HalCallback.STATUS_OK
1111 if (status == HalCallback.STATUS_OK) {
DCarPowerManagementService.java518 case HalCallback.STATUS_OK: in switchUserOnResumeIfNecessaryUsingHal()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java859 if (status != HalCallback.STATUS_OK) { in switchUser()
1050 if (status != HalCallback.STATUS_OK) { in createUser()
1173 if (status != HalCallback.STATUS_OK) { in setUserIdentificationAssociation()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp172 ASSERT_EQ(STATUS_OK, AIBinder_linkToDeath(binder, sResolvDeathRecipient, nullptr)); in SetUpTestSuite()