/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | servicetool.cpp | 56 auto status = trans.Send<void>(android::pdx::opcodes::REPORT_SYSPROP_CHANGE, local 58 if (!status) { 60 status.GetErrorMessage().c_str()); 67 auto status = trans.Send<int>(android::pdx::opcodes::DUMP_STATE, nullptr, 0, local 70 printf_verbose("ControlClient::Dump: ret=%d\n", ReturnStatusOrError(status)); 72 if (!status) { 74 status.GetErrorMessage().c_str()); 76 } else if (status.get() > static_cast<ssize_t>(buffer.capacity())) { 78 status.get()); 83 HexDump(buffer.data(), status [all...] |
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplayState.java | 106 public int status; field in class:RemoteDisplayState.RemoteDisplayInfo 114 status = STATUS_NOT_AVAILABLE; 123 status = other.status; 134 status = in.readInt(); 155 dest.writeInt(status); 167 + ", status=" + status
|
/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/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()); 122 auto status = queue->CreateConsumerQueueHandle(); 124 !status, 127 queue->id(), status.GetErrorMessage().c_str()); 129 return status;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareNativeManager.java | 99 WifiStatus status = iface.registerEventCallback(mWifiAwareNativeCallback); 100 if (status.code != WifiStatusCode.SUCCESS) { 102 status)); 145 private static String statusString(WifiStatus status) { argument 146 if (status == null) { 147 return "status=null"; 150 sb.append(status.code).append(" (").append(status.description).append(")");
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/ |
H A D | GenericSoundModelTest.java | 188 int status; 191 public ModelInfo(GenericSoundModel model, int status) { 192 this.status = status; 227 if (operation == 0 && modelInfo.status == STATUS_UNLOADED) { 231 modelInfo.status = STATUS_LOADED; 232 } else if (operation == 1 && modelInfo.status == STATUS_LOADED) { 238 modelInfo.status = STATUS_STARTED; 239 } else if (operation == 2 && modelInfo.status == STATUS_STARTED) { 250 } else if (operation == 3 && modelInfo.status 281 onError(int status) argument [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateUtil.cpp | 45 static bool waitpid_with_timeout(pid_t pid, int timeout_seconds, int* status) { argument 77 pid_t child_pid = waitpid(pid, status, WNOHANG); 309 int status; local 310 bool ret = waitpid_with_timeout(pid, options.Timeout(), &status); 341 if (WIFSIGNALED(status)) { 343 dprintf(fd, "*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status)); 344 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status)); 345 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) { 346 status [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); local 48 if (status != NO_ERROR) { 50 "channelMask %#x; status %d", sampleRate, format, channelMask, status); 51 return status; 262 status_t status = openRecord_l(0 /*epoch*/, mOpPackageName); local 264 if (status != NO_ERROR) { 270 return status; 323 status_t status = NO_ERROR; local 325 status 464 status_t status = mProxy->getTimestamp(timestamp); local 528 status_t status; local 799 status_t status = NO_ERROR; local 1216 status_t status = NO_ERROR; local [all...] |
H A D | AudioTrack.cpp | 138 status_t status; local 139 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType); 140 if (status != NO_ERROR) { 141 ALOGE("Unable to query output sample rate for stream type %d; status %d", 142 streamType, status); 143 return status; 146 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType); 147 if (status != NO_ERROR) { 148 ALOGE("Unable to query output frame count for stream type %d; status %d", 149 streamType, status); 522 status_t status = createTrack_l(); local 630 status_t status = NO_ERROR; local 870 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate); local 1235 status_t status = mAudioTrack->attachAuxEffect(effectId); local 1271 status_t status; local 1645 status_t status = NO_ERROR; local 1950 status_t status = proxy->waitStreamEndDone(&timeout); local 2344 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(configuration, operation); local 2389 const status_t status = restoreTrack_l("getTimestampExtended"); local 2400 status_t status = mProxy->getTimestamp(timestamp); local 2449 const status_t status = restoreTrack_l("getTimestamp"); local 2460 status_t status; local 2766 status_t status = NO_ERROR; local 2881 status_t status = getTimestamp_l(ts); local 2894 status_t status = getTimestamp_l(&ets); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiVendorHal.java | 119 * Checks for a successful status result. 123 * @param status is the WifiStatus generated by a hal call 126 private boolean ok(WifiStatus status) { argument 127 if (status.code == WifiStatusCode.SUCCESS) return true; 134 .c(status.toString()) 243 * Initialize the Hal device manager and register for status callbacks. 358 WifiStatus status = 360 return ok(status); 376 WifiStatus status = mIWifiChip.registerEventCallback(mIWifiChipEventCallback); 377 return ok(status); 2448 onChipReconfigureFailure(WifiStatus status) argument 2462 onDebugRingBufferDataAvailable( WifiDebugRingBufferStatus status, java.util.ArrayList<Byte> data) argument [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 126 onStatusChangedLocked(c.status, c.cameraId); 204 int32_t status = pair.second; local 207 ACameraManager_AvailabilityCallback cb = isStatusAvailable(status) ? 244 bool CameraManagerGlobal::validStatus(int32_t status) { argument 245 switch (status) { 256 bool CameraManagerGlobal::isStatusAvailable(int32_t status) { argument 257 switch (status) { 298 int32_t status, const String16& cameraId) { 301 cm->onStatusChanged(status, String8(cameraId)); 303 ALOGE("Cannot deliver status chang 297 onStatusChanged( int32_t status, const String16& cameraId) argument 308 onStatusChanged( int32_t status, const String8& cameraId) argument 314 onStatusChangedLocked( int32_t status, const String8& cameraId) argument [all...] |
/frameworks/av/media/libaudiohal/ |
H A D | DeviceHalHidl.cpp | 62 int status = sscanf(halAddress, local 66 return status == 6 ? OK : BAD_VALUE; 69 int status = sscanf(halAddress, local 73 return status == 4 ? OK : BAD_VALUE; 76 int status = sscanf(halAddress, local 79 return status == 2 ? OK : BAD_VALUE; 196 status_t status = parametersFromHal(kvPairs, &hidlParams); local 197 if (status != OK) return status; 205 status_t status local 245 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local 275 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaDescrambler.cpp | 159 Status status = mDescrambler->descramble(info, &descrambleResult); local 161 if (status.isOk()) { 167 return status; 331 Status status; local 333 status = descrambler->descramble( 346 if (!status.isOk()) { 347 switch (status.exceptionCode()) { 350 status.exceptionMessage()); 354 status.exceptionMessage()); 358 status [all...] |
/frameworks/native/libs/input/ |
H A D | Keyboard.cpp | 48 status_t status = loadKeyLayout(deviceIdenfifier, keyLayoutName); local 49 if (status == NAME_NOT_FOUND) { 59 status_t status = loadKeyCharacterMap(deviceIdenfifier, keyCharacterMapName); local 60 if (status == NAME_NOT_FOUND) { 114 status_t status = KeyLayoutMap::load(path, &keyLayoutMap); local 115 if (status) { 116 return status; 131 status_t status = KeyCharacterMap::load(path, local 133 if (status) { 134 return status; [all...] |
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_display_manager.cpp | 146 auto status = client->client->GetEventMask(in_events); 147 if (!status) 148 return -status.error(); 150 *out_events = status.get(); 159 auto status = client->client->GetSurfaceState(); 160 if (!status) 161 return -status.error(); 163 state->state = status.take(); 173 auto status = client->client->GetSurfaceQueue(surface_id, queue_id); 174 if (!status) { [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 122 PV_STATUS status; local 138 status = BitstreamSaveWord(stream); 139 if (status != PV_SUCCESS) 141 return status; 170 PV_STATUS status; local 179 status = BitstreamPutBits(stream, topLength, topValue); 181 if (status != PV_SUCCESS) 183 return status; 186 status = BitstreamPutBits(stream, 16, (UInt)(Value & 0xFFFF)); 188 return status; 418 PV_STATUS status; local 534 PV_STATUS status = PV_SUCCESS; local [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 72 * Optional socket used to communicate close events, status at close, and 84 * Maximum {@link #mStatusBuf} size; longer status messages will be 267 Status status = null; 270 status = readCommStatus(fd, buf); 272 status = new Status(Status.DEAD); 274 if (status != null) { 277 listener.onClose(status.asIOException()); 510 // Use SOCK_SEQPACKET so that we have a guarantee that the status 737 private void closeWithStatus(int status, String msg) { argument 742 writeCommStatusAndClose(status, ms 762 writeCommStatusAndClose(int status, String msg) argument 1104 public final int status; field in class:ParcelFileDescriptor.Status 1107 Status(int status) argument 1111 Status(int status, String msg) argument [all...] |
/frameworks/base/cmds/incidentd/src/ |
H A D | IncidentService.cpp | 200 Status status = checkIncidentPermissions(); local 201 if (!status.isOk()) { 202 return status; 216 Status status = checkIncidentPermissions(); local 217 if (!status.isOk()) { 218 return status;
|
/frameworks/base/core/java/android/print/ |
H A D | IPrintSpooler.aidl | 44 void setPrintJobState(in PrintJobId printJobId, int status, String stateReason, 56 * Set the status of this print job 59 * @param status The new status, can be null 61 void setStatus(in PrintJobId printJobId, in CharSequence status); 64 * Set the status of this print job 67 * @param status The new status as a string resource 70 void setStatusRes(in PrintJobId printJobId, int status, in CharSequence appPackageName);
|
/frameworks/base/core/jni/ |
H A D | android_view_DisplayEventReceiver.cpp | 126 status_t status = receiver->initialize(); local 127 if (status) { 129 message.appendFormat("Failed to initialize display event receiver. status=%d", status); 148 status_t status = receiver->scheduleVsync(); local 149 if (status) { 151 message.appendFormat("Failed to schedule next vertical sync pulse. status=%d", status);
|
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 57 GLint status; local 58 glGetProgramiv(mProgramId, GL_LINK_STATUS, &status); 59 if (status != GL_TRUE) { 138 GLint status; local 139 glGetShaderiv(shader, GL_COMPILE_STATUS, &status); 140 if (status != GL_TRUE) {
|
/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/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 39 GLint status; local 40 glGetProgramiv(programId, GL_LINK_STATUS, &status); 41 if (status != GL_TRUE) { 101 GLint status; local 102 glGetShaderiv(shader, GL_COMPILE_STATUS, &status); 103 if (status != GL_TRUE) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 81 Bool status = PV_TRUE; local 109 status = PV_FALSE; 115 if (video->vol == NULL) status = PV_FALSE; 129 if (video->currVop == NULL) status = PV_FALSE; 132 if (video->prevVop == NULL) status = PV_FALSE; 139 if (video->currVop == NULL) status = PV_FALSE; 142 if (video->prevVop == NULL) status = PV_FALSE; 147 status = PV_FALSE; 153 if (video->vopHeader == NULL) status = PV_FALSE; 159 if (status 309 Bool status = PV_TRUE; local 1058 PV_STATUS status = PV_FAIL; local 1095 PV_STATUS status = PV_FAIL; local 1296 PV_STATUS status = PV_FAIL; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 475 status_t status = configuration.get() == nullptr local 479 if (status != NO_ERROR) { 480 return VolumeShaper::Status(status); 483 status = operation.get() == nullptr 484 ? status = data.writeInt32(0) 487 if (status != NO_ERROR) { 488 return VolumeShaper::Status(status); 492 status = remote()->transact(APPLY_VOLUME_SHAPER, data, &reply); 493 if (status == NO_ERROR) { 494 status 507 status_t status = remote()->transact(GET_VOLUME_SHAPER_STATE, data, &reply); local 528 status_t status = remote()->transact(PREPARE_DRM, data, &reply); local 542 status_t status = remote()->transact(RELEASE_DRM, data, &reply); local 851 status_t status = data.readInt32(&present); local 872 status_t status = data.readInt32(&id); local [all...] |