/frameworks/minikin/libs/minikin/ |
H A D | WordBreaker.cpp | 35 // TODO: handle failure status 36 UErrorCode status = U_ZERO_ERROR; local 40 status); 79 UErrorCode status = U_ZERO_ERROR; local 81 // TODO: handle failure status 82 mIcuBreaker.breaker->setText(&mUText, status); 104 UErrorCode status = U_ZERO_ERROR; local 105 utext_openUChars(&mUText, reinterpret_cast<const UChar*>(data), size, &status);
|
/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_smoke_test.cpp | 40 status_t status; member in struct:android::os::dumpstate::SectionInfo 64 binder::Status onSectionComplete(const ::std::string& name, int32_t status, int32_t size_bytes, 66 sections_->push_back({name, status, size_bytes, duration_ms}); 220 EXPECT_EQ(section.status, 0) << section.name << " failed with status " << section.status;
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 250 status_t status = local 254 if (status == TIMED_OUT) { 264 bool dumpComplete = (status == OK); 375 status_t status = OK; local 399 status = -errno; 402 status = TIMED_OUT; 411 status = -errno; 421 status = -errno; 427 if ((status == TIMED_OUT) && (!asProto)) { 435 return status; [all...] |
/frameworks/native/cmds/dumpsys/tests/ |
H A D | dumpsys_test.cpp | 185 int status = dump_.main(argc, const_cast<char**>(argv)); local 188 EXPECT_THAT(status, Eq(0)); 197 status_t status = dump_.startDumpThread(serviceName, args); local 198 EXPECT_THAT(status, Eq(0)); 199 status = dump_.writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(500), false, 201 EXPECT_THAT(status, Eq(0)); 562 status_t status = local 565 EXPECT_THAT(status, Eq(INVALID_OPERATION));
|
/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 56 status_t status = Tokenizer::open(filename, &tokenizer); local 57 if (status) { 58 ALOGE("Error %d opening key layout map file %s.", status, filename.string()); 63 status = NO_MEMORY; 69 status = parser.parse(); 76 if (!status) { 82 return status; 211 status_t status = parseKey(); local 212 if (status) return status; 215 status_t status = parseAxis(); local 219 status_t status = parseLed(); local [all...] |
/frameworks/native/libs/input/tests/ |
H A D | InputPublisherAndConsumer_test.cpp | 71 status_t status; local 85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags, 87 ASSERT_EQ(OK, status) 93 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event, 95 ASSERT_EQ(OK, status) 116 status = mConsumer->sendFinishedSignal(seq, true); 117 ASSERT_EQ(OK, status) 122 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled); 123 ASSERT_EQ(OK, status) 132 status_t status; local 258 status_t status; local 274 status_t status; local 287 status_t status; local [all...] |
/frameworks/native/libs/sensor/ |
H A D | ISensorServer.cpp | 242 status_t status; local 243 if ((status = data.readNullableStrongBinder(&unusedCallback)) != NO_ERROR) { 244 return status; 246 if ((status = data.readNullableStrongBinder(&resultReceiver)) != NO_ERROR) { 247 return status; 249 status = shellCommand(in, out, err, args); 251 resultReceiver->send(status);
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_hardware_composer_client.cpp | 94 android::binder::Status status = client->composer->registerObserver( local 96 if (!status.isOk())
|
/frameworks/native/libs/vr/libpdx/ |
H A D | client.cpp | 25 auto status = channel_factory_->Connect(reconnect_timeout_ms_); local 26 if (!status) { 27 error_ = -status.error(); 28 ret.SetError(status.error()); 31 channel_ = status.take(); 65 auto status = channel_factory_->Connect(timeout_ms); variable 66 if (!status) { 68 status.GetErrorMessage().c_str()); 69 error_ = -status.error(); 71 channel_ = status 86 auto status = CheckReconnect(); local 99 auto status = CheckReconnect(); local 156 auto status = client_.GetChannel()->SendWithInt( local 171 auto status = client_.CheckReconnect(); local 192 auto status = client_.CheckReconnect(); local 213 auto status = client_.CheckReconnect(); local [all...] |
H A D | client_tests.cpp | 190 auto status = client_->SendImpulse(17); local 191 ASSERT_FALSE(status); 192 EXPECT_EQ(EIO, status.error()); 219 Status<int> status = client_->InvokeRemoteMethod<TestInterface::Add>(1, 2); local 220 ASSERT_TRUE(status); 221 EXPECT_EQ(3, status.get()); 233 Status<int> status = client_->InvokeRemoteMethod<TestInterface::Add>(1, 2); local 234 ASSERT_FALSE(status); 235 EXPECT_EQ(EIO, status.error()); 248 Status<LocalHandle> status local 263 Status<LocalHandle> status = local 280 Status<LocalChannelHandle> status = local 296 Status<LocalChannelHandle> status = local 390 auto status = client_->SendImpulse(17); local 401 auto status = client_->SendImpulse(17); local [all...] |
H A D | service_tests.cpp | 489 Status<int> status{123}; 490 EXPECT_CALL(*endpoint(), MessageReply(message_.get(), status.get())) 492 EXPECT_TRUE(message_->Reply(status)); 496 Status<int> status{ErrorStatus{EIO}}; 497 EXPECT_CALL(*endpoint(), MessageReply(message_.get(), -status.error())) 499 EXPECT_TRUE(message_->Reply(status)); 723 auto status = message_->PushChannel(kFlags, nullptr, &channel_id); local 724 ASSERT_TRUE(status); 725 EXPECT_EQ(kValue, status.get().value()); 735 auto status local 756 auto status = local 771 auto status = message_->CheckChannel(kRef, &channel); local 783 auto status = message_->CheckChannel(kRef, &channel); local 803 auto status = message_->CheckChannel(service2.get(), kRef, &channel); local [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel.cpp | 79 auto status = ReceiveData(socket_fd, buffer, size_to_read); local 80 if (!status) 81 return status; 108 auto status = ReceiveData(socket_fd, &transaction_state->response); local 109 if (!status) 110 return status; 131 status = ReceiveDataVector(socket_fd, receive_vector, receive_count); 132 if (status && size_remaining > 0) 133 status = ReadAndDiscardData(socket_fd, size_remaining); 135 return status; 165 Status<void> status; local 194 auto status = SendRequest(BorrowedHandle{channel_handle_.value()}, state, local 225 Status<LocalHandle> status; local 245 Status<LocalChannelHandle> status; local [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_surface.cpp | 230 auto status = RegisterQueue(consumer); local 231 if (!status) { 235 status.GetErrorMessage().c_str()); 236 return status.error_status(); 305 auto status = RegisterQueue(direct_queue_); local 306 if (!status) { 310 status.GetErrorMessage().c_str()); 311 return status.error_status();
|
/frameworks/native/opengl/tests/lib/include/ |
H A D | EGLUtils.h | 272 bool status = printEGLConfigurations(dpy, msg); local 274 return status;
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_channel.cpp | 259 auto status = message.PushChannel(0, nullptr, &channel_id); local 260 if (!status) { 263 status.GetErrorMessage().c_str()); 299 return {status.take()}; 403 auto status = message.PushChannel(0, nullptr, &channel_id); local 404 if (!status) { 408 status.GetErrorMessage().c_str()); 438 return status;
|
H A D | producer_queue_channel.cpp | 107 auto status = message.PushChannel(0, nullptr, &channel_id); local 108 if (!status) { 112 status.GetErrorMessage().c_str()); 135 return {status.take()}; 179 auto status = AllocateBuffer(message, width, height, layer_count, format, local 181 if (!status) { 185 return ErrorStatus(status.error()); 187 buffer_handles.push_back(status.take()); 211 auto status = message.PushChannel(0, nullptr, &buffer_id); local 213 if (!status) { [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 182 auto status = target->AttachTask(task_id); local 183 ALOGW_IF(!status && status.error() != EINVAL, 186 task_id, target_set.c_str(), status.GetErrorMessage().c_str());
|
/frameworks/opt/net/lowpan/lowpan_hdlc_adapter/ |
H A D | lowpan_hdlc_adapter.cpp | 111 Return<void> onEvent(LowpanEvent event, LowpanStatus status) override { 134 mOpenError = int(status); 137 switch (status) { 149 ALOGW("Unknown error %d", status); 296 auto status = service->open(callback); local 297 if (status.isOk()) { 298 if (status == LowpanStatus::OK) { 301 ALOGE("%s: open() failed: (%d).", serviceName, LowpanStatus(status));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | HostapdHal.java | 266 HostapdStatus status = mIHostapd.addAccessPoint(ifaceParams, nwParams); 267 return checkStatusAndLogFailure(status, methodStr); 286 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName); 287 return checkStatusAndLogFailure(status, methodStr); 443 * Returns true if provided status code is SUCCESS, logs debug message and returns false 446 private boolean checkStatusAndLogFailure(HostapdStatus status, argument 449 if (status.code != HostapdStatusCode.SUCCESS) { 450 Log.e(TAG, "IHostapd." + methodStr + " failed: " + status.code 451 + ", " + status.debugMessage);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareNativeManager.java | 145 WifiStatus status; 148 status = iface.registerEventCallback(mWifiAwareNativeCallback); 151 status = iface12.registerEventCallback_1_2(mWifiAwareNativeCallback); 153 if (status.code != WifiStatusCode.SUCCESS) { 155 status)); 246 private static String statusString(WifiStatus status) { argument 247 if (status == null) { 248 return "status=null"; 251 sb.append(status.code).append(" (").append(status [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | HSWanMetricsElement.java | 69 public HSWanMetricsElement(int status, boolean symmetric, boolean capped, long downlinkSpeed, argument 72 mStatus = status; 96 int status = wanInfo & LINK_STATUS_MASK; 106 return new HSWanMetricsElement(status, symmetric, capped, downlinkSpeed, uplinkSpeed,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceCallback.java | 120 device.status = WifiP2pDevice.AVAILABLE; 148 device.status = WifiP2pDevice.UNAVAILABLE; 209 * @param status Status of the GO negotiation. 211 public void onGoNegotiationCompleted(int status) { argument 212 logd("Group Owner negotiation completed with status: " + status); 213 P2pStatus result = halStatusToP2pStatus(status); 365 * @param status Status of the invitation. 367 public void onInvitationResult(byte[] bssid, int status) { argument 368 logd("Invitation completed with status 383 onProvisionDiscoveryCompleted(byte[] p2pDeviceAddress, boolean isRequest, byte status, short configMethods, String generatedPin) argument 508 halStatusToP2pStatus(int status) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/ |
H A D | RttMetrics.java | 199 * Record metrics for the overall ranging request status. 201 public void recordOverallStatus(int status) { argument 202 mOverallStatusHistogram.put(status, mOverallStatusHistogram.get(status) + 1); 240 int protoStatus = convertRttStatusTypeToProtoEnum(result.status);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | ANQPParserTest.java | 171 * @param status Link status 181 private static byte[] getHSWanMetricsPayload(int status, boolean symmetric, boolean capped, argument 185 int wanInfo = status & HSWanMetricsElement.LINK_STATUS_MASK; 206 * @param status Status of the port 209 private static byte[] getHSConnectionCapabilityPayload(int protocol, int port, int status) { argument 215 stream.write((byte) status); 444 int status = HSWanMetricsElement.LINK_STATUS_UP; 453 HSWanMetricsElement expected = new HSWanMetricsElement(status, symmetric, capped, 456 byte[] data = getHSWanMetricsPayload(status, symmetri [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
H A D | RttMetricsTest.java | 373 * Verify that all individual status codes are translated correctly. 453 * Verify that all overall status codes are recorded correctly. 515 WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, 517 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status)); 522 WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, 524 collector.checkThat(logPrefix + ": statusType", bucket.statusType, equalTo(status)); 582 rttResult.status = RttStatus.SUCCESS; 592 private void recordResultNTimes(int status, int n) { argument 596 result.status = status; 514 validateProtoOverallStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttOverallStatusHistogramBucket bucket, int status, int count) argument 521 validateProtoIndividualStatusHistBucket(String logPrefix, WifiMetricsProto.WifiRttLog.RttIndividualStatusHistogramBucket bucket, int status, int count) argument 603 recordOverallStatusNTimes(int status, int n) argument [all...] |