Home
last modified time | relevance | path

Searched refs:OK (Results 1 – 25 of 213) sorted by relevance

123456789

/packages/modules/Bluetooth/system/test/
DREADME.md49 [ OK ] BluetoothTest.AdapterEnableDisable (2538 ms)
51 [ OK ] BluetoothTest.AdapterRepeatedEnableDisable (11384 ms)
53 [ OK ] BluetoothTest.AdapterSetGetName (2378 ms)
55 [ OK ] BluetoothTest.AdapterStartDiscovery (2397 ms)
57 [ OK ] BluetoothTest.AdapterCancelDiscovery (2401 ms)
59 [ OK ] BluetoothTest.AdapterDisableDuringBonding (11689 ms)
64 [ OK ] GattTest.GattClientRegister (2370 ms)
66 [ OK ] GattTest.GattClientScanRemoteDevice (2273 ms)
68 [ OK ] GattTest.GattClientAdvertise (2236 ms)
70 [ OK ] GattTest.GattServerRegister (2391 ms)
[all …]
/packages/services/Car/cpp/car_binder_lib/largeParcelable/tests/
DMappedFileSharedMemoryTest.cpp29 using ::android::OK;
42 ASSERT_NE(OK, sm.getErr()); in TEST()
63 ASSERT_EQ(OK, mappedFile->getErr()); in testSharedMemoryMapRead()
72 ASSERT_EQ(OK, sm.getErr()); in TEST()
81 ASSERT_EQ(OK, sm.getErr()); in TEST()
90 ASSERT_EQ(OK, writeFile->getErr()); in testSharedMemoryMapWriteAndRead()
103 ASSERT_EQ(OK, readFile->getErr()); in testSharedMemoryMapWriteAndRead()
116 ASSERT_EQ(OK, sm.getErr()); in TEST()
125 ASSERT_EQ(OK, sm.getErr()); in TEST()
138 ASSERT_EQ(OK, sm.getErr()); in TEST()
/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c503 return OK; in _recycle_handle()
519 return OK; in _stop_status_thread()
599 _send_status_callback(jq, cb_param, JOB_RUNNING, jq->blocked_reasons, OK); in _job_status_callback()
621 _send_status_callback(jq, cb_param, JOB_BLOCKED, blocked_reasons, OK); in _job_status_callback()
672 _send_status_callback(jq, cb_param, JOB_RUNNING, 0, OK); in _print_job_state_callback()
679 _send_status_callback(jq, cb_param, JOB_BLOCKED, jq->blocked_reasons, OK); in _print_job_state_callback()
727 result = OK; in _start_status_thread()
734 if (result == OK) { in _start_status_thread()
746 if (result == OK) { in _start_status_thread()
847 while (OK == msgQReceive(_msgQ, (char *) &msg, sizeof(msg), WAIT_FOREVER)) { in _job_thread()
[all …]
Dprinter.c69 print_job->job_status = ((print_job->psock != -1) ? OK : ERROR); in _init()
85 return OK; in _start_job()
92 status_t retval = OK; in _send_data()
97 if (this_p && buffer && (print_job->job_status == OK)) { in _send_data()
113 while ((length > 0) && (retval == OK)) { in _send_data()
137 retval = (print_job->timeout_enabled ? ERROR : OK); in _send_data()
149 return ((retval == OK) ? length_in : (int)ERROR); in _send_data()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dacl_manager_facade.cc95 return ::grpc::Status::OK; in Disconnect()
111 return ::grpc::Status::OK; in AuthenticationRequested()
144 return ::grpc::Status::OK; in ConnectionCommand()
150 return ::grpc::Status::OK; in ConnectionCommand()
156 return ::grpc::Status::OK; in ConnectionCommand()
162 return ::grpc::Status::OK; in ConnectionCommand()
167 return ::grpc::Status::OK; in ConnectionCommand()
172 return ::grpc::Status::OK; in ConnectionCommand()
178 return ::grpc::Status::OK; in ConnectionCommand()
185 return ::grpc::Status::OK; in ConnectionCommand()
[all …]
Dcontroller_facade.cc52 return ::grpc::Status::OK; in GetMacAddress()
61 return ::grpc::Status::OK; in GetLocalName()
69 return ::grpc::Status::OK; in WriteLocalName()
78 return ::grpc::Status::OK; in IsSupportedCommand()
87 return ::grpc::Status::OK; \
163 return ::grpc::Status::OK; in SUPPORTED_API()
/packages/services/Car/cpp/computepipe/router/1.0/
DRouterSvc.cpp38 return OK; in parseArgs()
44 if (ret != OK) { in initSvc()
48 if (ret != OK) { in initSvc()
51 return OK; in initSvc()
66 return OK; in initRegistrationEngine()
81 return OK; in initQueryEngine()
/packages/services/Car/cpp/computepipe/tests/runner/graph/includes/
DGrpcGraphServerImpl.h96 return ::grpc::Status::OK; in GetGraphOptions()
104 return ::grpc::Status::OK; in SetGraphConfig()
112 return ::grpc::Status::OK; in SetDebugOption()
120 return ::grpc::Status::OK; in StartGraphExecution()
147 return ::grpc::Status::OK; in ObserveOutputStream()
155 return ::grpc::Status::OK; in StopGraphExecution()
163 return ::grpc::Status::OK; in ResetGraph()
170 return ::grpc::Status::OK; in GetProfilingData()
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DHidlCamera.cpp79 return hidlevs::V1_0::EvsResult::OK; in setMaxFramesInFlight()
101 return hidlevs::V1_0::EvsResult::OK; in startVideoStream()
167 return hidlevs::V1_0::EvsResult::OK; in setExtendedInfo()
233 return hidlevs::V1_0::EvsResult::OK; in doneWithFrame_1_1()
252 return hidlevs::V1_0::EvsResult::OK; in setMaster()
267 return hidlevs::V1_0::EvsResult::OK; in forceMaster()
280 return hidlevs::V1_0::EvsResult::OK; in unsetMaster()
349 _hidl_cb(hidlevs::V1_0::EvsResult::OK, aidlValues); in setIntParameter()
368 _hidl_cb(hidlevs::V1_0::EvsResult::OK, aidlValues); in getIntParameter()
385 return hidlevs::V1_0::EvsResult::OK; in setExtendedInfo_1_1()
[all …]
/packages/services/Car/car-lib/native/CarPowerManager/
DCarPowerPolicy.cpp38 if (status != OK) { in writeToParcel()
42 if (status != OK) { in writeToParcel()
50 if (status != OK) { in readFromParcel()
54 if (status != OK) { in readFromParcel()
/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pcl.c118 WAIT_FOREVER) == OK) { in _send_thread()
165 result = OK; in _start_thread()
172 if (result == OK) { in _start_thread()
184 if (result == OK) { in _start_thread()
211 result = OK; in _stop_thread()
270 return OK; in _start_job()
308 if ((result = wprint_image_get_info(imgfile, image_info)) == OK) { in _setup_image_info()
386 if ((result = _setup_image_info(job_params, image_info, mime_type, pathname)) == OK) { in _print_page()
467 if ((result == OK) && job_params->cancelled) { in _print_page()
480 (result == OK) ? "OK" : "ERROR"); in _print_page()
[all …]
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/
DServiceOptimizeStrategyTest.java53 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldNotOptimize_underAllThresholds()
68 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldOptimize_byteThreshold()
83 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldOptimize_timeThreshold()
97 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldOptimize_docCountThreshold()
111 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldNotOptimize_underMinTimeThreshold()
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DMockHWCamera.h37 return EvsResult::OK; in setMaxFramesInFlight()
40 return EvsResult::OK; in startVideoStream()
52 return EvsResult::OK; in setExtendedInfo()
62 return EvsResult::OK; in doneWithFrame_1_1()
92 return EvsResult::OK; in setExtendedInfo_1_1()
/packages/services/DeviceAsWebcam/jni/
DSdkFrameProvider.cpp50 return Status::OK; in startStreaming()
55 return Status::OK; in stopStreaming()
61 if (getHardwareBufferDescFromHardwareBuffer(hardwareBuffer, desc) != Status::OK) { in encodeImage()
125 return Status::OK; in getHardwareBufferDescFromHardwareBuffer()
141 return Status::OK; in encodeImage()
155 if (mBufferProducer->queueFilledBuffer(producerBuffer) != Status::OK) { in onEncoded()
/packages/services/Car/cpp/security/vehicle_binding_util/src/
DVehicleBindingUtil.cpp83 return BindingStatus::OK; in setSeedVhalProperty()
98 status = BindingStatus::OK; in getSeedVhalProperty()
116 return BindingStatus::OK; in sendSeedToVold()
164 if (status != BindingStatus::OK) { in setVehicleBindingSeed()
177 if (status != BindingStatus::OK) { in setVehicleBindingSeed()
184 if (status == BindingStatus::OK) { in setVehicleBindingSeed()
/packages/services/Car/cpp/evs/manager/1.1/
DHalCamera.cpp155 bool success = (result.isOk() && result == EvsResult::OK); in changeFramesInFlight()
194 EvsResult status = EvsResult::OK; in changeFramesInFlight()
200 if (status != EvsResult::OK) { in changeFramesInFlight()
241 return EvsResult::OK; in clientStreamStarting()
246 if (status.isOk() && status == EvsResult::OK) { in clientStreamStarting()
498 return EvsResult::OK; in setMaster()
524 return EvsResult::OK; in forceMaster()
542 return EvsResult::OK; in unsetMaster()
555 if (result == EvsResult::OK) { in setParameter()
577 EvsResult result = EvsResult::OK; in getParameter()
[all …]
/packages/modules/Uwb/generic_ranging/src/com/android/sensor/
DArCoreMultiSensorFinder.java250 return Status.OK; in start()
272 if (status != Status.OK) { in start()
285 return Status.OK; in start()
314 return Status.OK; in stop()
318 if (status != Status.OK) { in stop()
331 if (status != Status.OK) { in delete()
422 if (estimate.getStatus() == Status.OK in checkForErrors()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DMockIpSecTestUtils.java59 IpSecManager.Status.OK, in MockIpSecTestUtils()
66 IpSecManager.Status.OK, in MockIpSecTestUtils()
77 return new IpSecSpiResponse(IpSecManager.Status.OK, DUMMY_CHILD_SPI_RESOURCE_ID, spi); in buildDummyIpSecSpiResponse()
82 IpSecManager.Status.OK, in buildDummyIpSecUdpEncapResponse()
/packages/modules/Bluetooth/system/gd/security/
Dfacade.cc118 return ::grpc::Status::OK; in CreateBond()
146 return ::grpc::Status::OK; in CreateBondOutOfBand()
155 return ::grpc::Status::OK; in GetOutOfBandData()
175 return ::grpc::Status::OK; in CreateBondLe()
188 return ::grpc::Status::OK; in CancelBond()
201 return ::grpc::Status::OK; in RemoveBond()
244 return ::grpc::Status::OK; in SendUiCallback()
324 return ::grpc::Status::OK; in SetIoCapability()
333 return ::grpc::Status::OK; in SetLeIoCapability()
342 return ::grpc::Status::OK; in SetAuthenticationRequirements()
[all …]
/packages/modules/Connectivity/staticlibs/native/nettestutils/
DDumpService.cpp50 if (ret != android::OK) return ret; in dumpService()
58 return android::OK; in dumpService()
83 if (ret != android::OK) return ret; in dumpService()
91 return android::OK; in dumpService()
/packages/modules/Bluetooth/system/gd/l2cap/classic/
Dfacade.cc81 return ::grpc::Status::OK; in SendDynamicChannelPacket()
97 return ::grpc::Status::OK; in OpenChannel()
109 return ::grpc::Status::OK; in CloseChannel()
128 return ::grpc::Status::OK; in SetDynamicChannel()
144 return ::grpc::Status::OK; in SetTrafficPaused()
153 return ::grpc::Status::OK; in GetChannelQueueDepth()
166 return ::grpc::Status::OK; in InitiateConnectionForSecurity()
201 return ::grpc::Status::OK; in SecurityLinkHold()
218 return ::grpc::Status::OK; in SecurityLinkEnsureAuthenticated()
236 return ::grpc::Status::OK; in SecurityLinkRelease()
[all …]
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp203 return EvsResult::OK; in setMaxFramesInFlight()
247 return EvsResult::OK; in startVideoStream()
327 return EvsResult::OK; in doneWithFrame_1_1()
340 return EvsResult::OK; in setMaster()
345 return EvsResult::OK; in forceMaster()
350 return EvsResult::OK; in unsetMaster()
389 return EvsResult::OK; in setExtendedInfo_1_1()
396 auto status = EvsResult::OK; in getExtendedInfo_1_1()
421 _hidl_cb(EvsResult::OK, mFramesAllowed); in importExternalBuffers()
471 _hidl_cb(EvsResult::OK, mFramesAllowed - before); in importExternalBuffers()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java172 if (udpEncapResp.status == IpSecManager.Status.OK) { in testOpenAndCloseUdpEncapsulationSocket()
180 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenAndCloseUdpEncapsulationSocket()
226 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketAfterClose()
247 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testUdpEncapPortNotReleased()
267 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketOnRandomPort()
293 assertEquals(IpSecManager.Status.OK, udpEncapResp.status); in testOpenUdpEncapsulationSocketTwice()
478 if (IpSecManager.Status.OK != newUdpEncapSocket.status) { in testSocketResourceTrackerLimitation()
503 assertEquals(IpSecManager.Status.OK, extraUdpEncapSocket.status); in testSocketResourceTrackerLimitation()
537 if (IpSecManager.Status.OK != newSpi.status) { in testSpiResourceTrackerLimitation()
565 assertEquals(IpSecManager.Status.OK, extraSpi.status); in testSpiResourceTrackerLimitation()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsV4lCamera.cpp132 return EvsResult::OK; in setMaxFramesInFlight()
221 return EvsResult::OK; in startVideoStream()
315 return EvsResult::OK; in doneWithFrame_1_1()
330 return EvsResult::OK; in setMaster()
337 return EvsResult::OK; in forceMaster()
345 return EvsResult::OK; in unsetMaster()
381 EvsResult result = EvsResult::OK; in setIntParameter()
401 EvsResult result = EvsResult::OK; in getIntParameter()
418 return EvsResult::OK; in setExtendedInfo_1_1()
425 auto status = EvsResult::OK; in getExtendedInfo_1_1()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/tests/unit/src/
DMockHidlEvsHal.cpp105 if (validate_camera_metadata_structure(p, /* expected_size= */ nullptr) != ::android::OK) { in buildCameraMetadata()
293 return EvsResult::OK; in addMockCameraDevice()
303 [](const ::android::sp<hidlevs::V1_0::IEvsDisplay>&) { return EvsResult::OK; }); in addMockCameraDevice()
367 callback(EvsResult::OK, value); in addMockCameraDevice()
386 callback(EvsResult::OK, values); in addMockCameraDevice()
467 callback(EvsResult::OK, count); in addMockCameraDevice()
485 return EvsResult::OK; in addMockCameraDevice()
491 return EvsResult::OK; in addMockCameraDevice()
513 callback(EvsResult::OK, values); in addMockCameraDevice()
519 ON_CALL(*mockCamera, setMaster).WillByDefault([]() { return EvsResult::OK; }); in addMockCameraDevice()
[all …]

123456789