/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | WorkerPool.cpp | 40 int status = pthread_mutex_init(&mMutex, NULL); local 41 if (status) { 46 status = pthread_cond_init(&mCondition, NULL); 47 if (status) { 57 int status; local 59 status = pthread_mutex_lock(&mMutex); 60 if (status) { 61 __android_log_print(ANDROID_LOG_INFO, "bench", "WorkerPool: error %i locking for set condition.", status); 67 status = pthread_cond_signal(&mCondition); 68 if (status) { 79 int status; local 180 int status = pthread_attr_init(&threadAttr); local [all...] |
/frameworks/base/tools/aapt/ |
H A D | WorkQueue.cpp | 48 status_t status = workThread->run("WorkQueue::WorkThread"); local 49 if (status) { 50 return status;
|
/frameworks/base/tools/bit/ |
H A D | adb.cpp | 253 TestStatus status; 254 err = read_sized_proto(fd, &status); 258 callbacks->OnTestStatus(status); 260 SessionStatus status; local 261 err = read_sized_proto(fd, &status); 265 callbacks->OnSessionStatus(status); 333 int status; 334 waitpid(pid, &status, 0); 338 if (WIFEXITED(status)) { 339 return WEXITSTATUS(status); [all...] |
/frameworks/base/tools/validatekeymaps/ |
H A D | Main.cpp | 101 status_t status = KeyLayoutMap::load(String8(filename), &map); local 102 if (status) { 103 error("Error %d parsing key layout file.\n\n", status); 111 status_t status = KeyCharacterMap::load(String8(filename), local 113 if (status) { 114 error("Error %d parsing key character map file.\n\n", status); 122 status_t status = PropertyMap::load(String8(filename), &map); local 123 if (status) { 124 error("Error %d parsing input device configuration file.\n\n", status); 133 status_t status local [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pDnsSdServiceResponse.java | 131 sbuf.append(" status:").append(Status.toString(mStatus)); 147 * @param status status code. 152 protected WifiP2pDnsSdServiceResponse(int status, argument 155 status, tranId, dev, data); 289 * @param status status code. 295 static WifiP2pDnsSdServiceResponse newInstance(int status, argument 297 if (status != WifiP2pServiceResponse.Status.SUCCESS) { 298 return new WifiP2pDnsSdServiceResponse(status, [all...] |
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/ |
H A D | VtsFwkDisplayServiceV1_0TargetTest.cpp | 167 int status = RUN_ALL_TESTS(); local 168 ALOGE("Test status = %d", status); 169 return status;
|
/frameworks/ml/nn/runtime/ |
H A D | Callbacks.h | 178 * The PreparedModelCallback class is used to receive the error status of 198 * status of the asynchronous model preparation along with the prepared 207 * @param status Error status returned from asynchronously preparing the 216 Return<void> notify(ErrorStatus status, const sp<IPreparedModel>& preparedModel) override; 219 * Retrieves the error status returned from the asynchronous task launched 224 * @return status Error status returned from asynchronously preparing the 252 * The ExecutionCallback class is used to receive the error status of the 272 * status o 318 std::cv_status status = mCondition.wait_for(lock, timeout_duration, [this]{return mNotified;}); local [all...] |
H A D | Manager.cpp | 46 ErrorStatus status = ErrorStatus::GENERAL_FAILURE; local 48 std::tie(status, capabilities) = mInterface.getCapabilities(); 50 if (status != ErrorStatus::NONE) { 51 LOG(ERROR) << "IDevice::getCapabilities returned the error " << toString(status); 61 return status == ErrorStatus::NONE; 67 ErrorStatus status = ErrorStatus::GENERAL_FAILURE; local 69 std::tie(status, supportedOperations) = mInterface.getSupportedOperations(hidlModel); 71 if (status != ErrorStatus::NONE) { 72 LOG(ERROR) << "IDevice::getSupportedOperations returned the error " << toString(status);
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | Replayer.cpp | 108 status_t status = loadSurfaceComposerClient(); local 110 if (status != NO_ERROR) { 111 ALOGE("Couldn't create SurfaceComposerClient (%d)", status); 112 return status; 144 status = dispatchEvent(mIncrementIndex + mNumThreads); 146 if (status != NO_ERROR) { 148 return status; 158 return status; 163 status_t status = dispatchEvent(i); local 165 if (status ! [all...] |
/frameworks/native/include/binder/ |
H A D | Status.h | 34 // status_t status; 36 // if ((status = data.writeInterfaceToken(interface_descriptor)) != OK || 37 // (status = data.writeInt32(function_input)) != OK) { 40 // if ((status = remote()->transact(transaction, data, &reply)) != OK) { 43 // if ((status = remote_exception.readFromParcel(reply)) != OK) { 98 static Status fromStatusT(status_t status); 104 Status(const Status& status) = default; member in class:android::binder::final 105 Status(Status&& status) = default; member in class:android::binder::final 106 Status& operator=(const Status& status) = default; member in class:android::binder::final 117 // Setting a |status| ! [all...] |
/frameworks/native/libs/binder/ |
H A D | Status.cpp | 54 Status Status::fromStatusT(status_t status) { argument 56 ret.setFromStatusT(status); 70 status_t status = parcel.readInt32(&mException); local 71 if (status != OK) { 72 setFromStatusT(status); 73 return status; 81 status = parcel.readInt32(&header_size); 82 if (status != OK) { 83 setFromStatusT(status); 84 return status; 142 status_t status = parcel->writeInt32(mException); local 170 setFromStatusT(status_t status) argument [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | Status.h | 34 // status_t status; 36 // if ((status = data.writeInterfaceToken(interface_descriptor)) != OK || 37 // (status = data.writeInt32(function_input)) != OK) { 40 // if ((status = remote()->transact(transaction, data, &reply)) != OK) { 43 // if ((status = remote_exception.readFromParcel(reply)) != OK) { 98 static Status fromStatusT(status_t status); 104 Status(const Status& status) = default; member in class:android::binder::final 105 Status(Status&& status) = default; member in class:android::binder::final 106 Status& operator=(const Status& status) = default; member in class:android::binder::final 117 // Setting a |status| ! [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | StreamSplitter_test.cpp | 70 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local 71 ASSERT_EQ(OK, status); 140 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local 141 ASSERT_EQ(OK, status); 209 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); local 210 ASSERT_EQ(OK, status);
|
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 53 status_t status = Tokenizer::open(filename, &tokenizer); local 54 if (status) { 55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string()); 60 status = NO_MEMORY; 66 status = parser.parse(); 73 if (status) { 81 return status;
|
/frameworks/native/libs/vr/libbufferhub/ |
H A D | detached_buffer.cpp | 24 auto status = client_.InvokeRemoteMethod<DetachedBufferRPC::Create>( local 26 if (!status) { 29 status.GetErrorMessage().c_str()); 30 client_.Close(-status.error()); 54 auto status = client_.InvokeRemoteMethod<DetachedBufferRPC::Import>(); local 55 if (!status) { 57 status.GetErrorMessage().c_str()); 58 return -status.error(); 61 BufferDescription<LocalHandle> buffer_desc = status.take();
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | status.h | 60 // Change the value/error code of the status object directly. 82 // Returns true if the status object contains valid value for type T. 110 // Status<void> status = bar(); 111 // if(!status) 112 // return status.error_status(); 118 // The message is the same as the string returned by strerror(status.error()). 133 // Specialization for status containing no other value but the error code. 169 inline int ReturnStatusOrError(const Status<void>& status) { argument 170 return status ? 0 : -status 173 ReturnStatusOrError(const Status<int>& status) argument [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel_factory.cpp | 59 Status<void> status; local 92 status = WaitForEndpoint(endpoint_path_, timeout); 93 if (!status) 94 return ErrorStatus(status.error()); 127 status = ReceiveData(socket_.Borrow(), &connection_info); 128 if (!status) 129 return status.error_status(); 143 status = SendData(socket_.Borrow(), request); 144 if (!status) 145 return status [all...] |
H A D | client_channel_tests.cpp | 74 auto status = InvokeRemoteMethod<TestProtocol::Sum>(data); local 75 return status ? status.get() : -1; 114 auto status = factory->Connect(android::pdx::Client::kInfiniteTimeout); variable 115 ASSERT_TRUE(status); variable 116 client_ = TestClient::Create(status.take());
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_manager_service.cpp | 26 auto status = service_->ModifyChannelEvents(channel_id_, pending ? 0 : POLLIN, local 28 ALOGE_IF(!status, 31 status.GetErrorMessage().c_str()); 126 auto status = queue->CreateConsumerQueueHandle(); 128 !status, 131 queue->id(), status.GetErrorMessage().c_str()); 133 return status;
|
/frameworks/native/services/surfaceflinger/ |
H A D | GpuService.cpp | 39 status_t status; local 52 if ((status = data.readNullableStrongBinder(&unusedCallback)) != OK) 53 return status; 54 if ((status = data.readNullableStrongBinder(&resultReceiver)) != OK) 55 return status; 56 status = shellCommand(in, out, err, args); 58 resultReceiver->send(status);
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | consumer_channel.cpp | 130 auto status = producer->OnConsumerAcquire(message); local 131 if (status) { 135 return status; 154 auto status = local 156 if (status) { 161 return status;
|
H A D | consumer_queue_channel.cpp | 126 auto status = producer_channel->CreateConsumer(message); local 132 if (!status) { 136 status.GetErrorMessage().c_str()); 139 return status.error_status(); 145 buffer_handles.emplace_back(status.take(), producer_slot);
|
H A D | detached_buffer_channel.cpp | 126 auto status = message.PushChannel(0, nullptr, &channel_id); local 127 if (!status) { 130 status.GetErrorMessage().c_str()); 155 return status;
|
/frameworks/native/services/vr/hardware_composer/tests/ |
H A D | vr_composer_test.cpp | 59 binder::Status status = TestComposerCallback::onNewFrame(frame, fence); variable 65 return status;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | ProtocolPortTuple.java | 51 public ProtocolPortTuple(int protocol, int port, int status) { argument 54 mStatus = status; 68 int status = payload.get() & 0xFF; 69 return new ProtocolPortTuple(protocol, port, status);
|