/frameworks/rs/ |
H A D | rsMutex.cpp | 30 int status = pthread_mutex_init(&mMutex, nullptr); local 31 if (status) { 39 int status; local 40 status = pthread_mutex_lock(&mMutex); 41 if (status) { 42 ALOGE("Mutex: error %i locking.", status); 49 int status; local 50 status = pthread_mutex_unlock(&mMutex); 51 if (status) { 52 ALOGE("Mutex error %i unlocking.", status); [all...] |
H A D | rsSignal.cpp | 33 int status = pthread_mutex_init(&mMutex, nullptr); local 34 if (status) { 35 ALOGE("Signal::init: mutex init failure: %s", strerror(status)); 39 status = pthread_cond_init(&mCondition, nullptr); 40 if (status) { 41 ALOGE("Signal::init: condition init failure: %s", strerror(status)); 50 int status = pthread_mutex_lock(&mMutex); local 51 if (status) { 52 ALOGE("Signal::set: error locking for set condition: %s", strerror(status)); 58 status 70 int status = pthread_mutex_lock(&mMutex); local [all...] |
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConfigListener.aidl | 31 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 34 void onGetFeatureResponse(int feature, int network, int value, int status); 46 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 50 void onSetFeatureResponse(int feature, int network, int value, int status); 55 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 61 void onGetVideoQuality(int status, int quality); 67 * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants. 72 void onSetVideoQuality(int status);
|
/frameworks/av/media/libmedia/ |
H A D | IOMXStore.cpp | 66 status_t status = p.readInt32(&len); local 67 if (status != NO_ERROR) { 68 return status; 82 status_t status = writeToParcel(a.key, p); local 83 if (status != NO_ERROR) { 84 return status; 90 status_t status = readFromParcel(&(a->key), p); local 91 if (status != NO_ERROR) { 92 return status; 100 status_t status local 112 status_t status = readFromParcel(&(n->name), p); local 126 status_t status = writeToParcel(r.role, p); local 146 status_t status = readFromParcel(&(r->role), p); local 170 status_t status = p->writeVectorSize(v); local 185 status_t status = p.resizeOutVector(v); local 211 status_t status; variable 225 status_t status; variable 239 status_t status; variable 253 status_t status; variable 286 status_t status; local 304 status_t status; local 322 status_t status; local 340 status_t status; local [all...] |
/frameworks/native/libs/vr/libdisplay/ |
H A D | vsync_client.cpp | 24 auto status = InvokeRemoteMethod<VSyncProtocol::Wait>(); local 25 if (!status) { 27 status.GetErrorMessage().c_str()); 28 return -status.error(); 32 *timestamp_ns = status.get(); 40 auto status = InvokeRemoteMethod<VSyncProtocol::GetLastTimestamp>(); local 41 if (!status) { 43 status.GetErrorMessage().c_str()); 44 return -status.error(); 46 *timestamp_ns = status 69 auto status = InvokeRemoteMethod<VSyncProtocol::Acknowledge>(); local [all...] |
H A D | display_client.cpp | 7 #include <pdx/status.h> 28 auto status = InvokeRemoteMethod<DisplayProtocol::GetSurfaceInfo>(); variable 29 if (!status) { 31 status.GetErrorMessage().c_str()); 32 Close(status.error()); 34 *error = status.error(); 37 surface_id_ = status.get().surface_id; 38 z_order_ = status.get().z_order; 39 visible_ = status.get().visible; 46 auto status variable 71 auto status = InvokeRemoteMethod<DisplayProtocol::SetAttributes>(attributes); local 110 auto status = InvokeRemoteMethod<DisplayProtocol::CreateQueue>( local 139 auto status = CreateQueue(width, height, format, metadata_size); local 171 auto status = local 193 auto status = local 218 auto status = InvokeRemoteMethod<DisplayProtocol::DeleteGlobalBuffer>(key); local 229 auto status = InvokeRemoteMethod<DisplayProtocol::GetGlobalBuffer>(key); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallback.java | 33 * @param status Status of the PHY update operation. 36 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument 47 * @param status Status of the PHY read operation. 50 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument 58 * @param status Status of the connect or disconnect operation. 64 public void onConnectionStateChange(BluetoothGatt gatt, int status, argument 73 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the remote device 76 public void onServicesDiscovered(BluetoothGatt gatt, int status) { argument 85 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the read operation 89 int status) { 88 onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument 107 onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument 131 onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument 144 onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument 155 onReliableWriteCompleted(BluetoothGatt gatt, int status) argument 168 onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) argument 182 onMtuChanged(BluetoothGatt gatt, int mtu, int status) argument 199 onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, int status) argument [all...] |
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioStreamConfiguration.cpp | 38 status_t status; local 39 status = parcel->writeInt32(getDeviceId()); 40 if (status != NO_ERROR) goto error; 41 status = parcel->writeInt32(getSampleRate()); 42 if (status != NO_ERROR) goto error; 43 status = parcel->writeInt32(getSamplesPerFrame()); 44 if (status != NO_ERROR) goto error; 45 status = parcel->writeInt32((int32_t) getSharingMode()); 46 if (status != NO_ERROR) goto error; 47 status 61 status_t status = parcel->readInt32(&value); local [all...] |
H A D | AAudioStreamRequest.cpp | 46 status_t status = parcel->writeInt32((int32_t) mUserId); local 47 if (status != NO_ERROR) goto error; 49 status = parcel->writeBool(mSharingModeMatchRequired); 50 if (status != NO_ERROR) goto error; 52 status = parcel->writeBool(mInService); 53 if (status != NO_ERROR) goto error; 55 status = mConfiguration.writeToParcel(parcel); 56 if (status != NO_ERROR) goto error; 61 ALOGE("AAudioStreamRequest.writeToParcel(): write failed = %d", status); 62 return status; 67 status_t status = parcel->readInt32(&temp); local [all...] |
H A D | RingBufferParcelable.cpp | 82 status_t status = parcel->writeInt32(mCapacityInFrames); local 83 if (status != NO_ERROR) goto error; 85 status = parcel->writeInt32(mBytesPerFrame); 86 if (status != NO_ERROR) goto error; 87 status = parcel->writeInt32(mFramesPerBurst); 88 if (status != NO_ERROR) goto error; 89 status = parcel->writeInt32(mFlags); 90 if (status != NO_ERROR) goto error; 91 status = mReadCounterParcelable.writeToParcel(parcel); 92 if (status ! 105 status_t status = parcel->readInt32(&mCapacityInFrames); local [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | IGeofenceHardwareCallback.aidl | 25 void onGeofenceAdd(int geofenceId, int status); 26 void onGeofenceRemove(int geofenceId, int status); 27 void onGeofencePause(int geofenceId, int status); 28 void onGeofenceResume(int geofenceId, int status);
|
H A D | GeofenceHardwareCallback.java | 49 * @param status One of {@link GeofenceHardware#GEOFENCE_SUCCESS}, 55 public void onGeofenceAdd(int geofenceId, int status) { argument 62 * @param status One of {@link GeofenceHardware#GEOFENCE_SUCCESS}, 66 public void onGeofenceRemove(int geofenceId, int status) { argument 73 * @param status One of {@link GeofenceHardware#GEOFENCE_SUCCESS}, 77 public void onGeofencePause(int geofenceId, int status) { argument 84 * @param status One of {@link GeofenceHardware#GEOFENCE_SUCCESS}, 89 public void onGeofenceResume(int geofenceId, int status) { argument
|
/frameworks/hardware/interfaces/displayservice/1.0/ |
H A D | IDisplayEventReceiver.hal | 25 * @return status Must be: 30 init(IEventCallback callback) generates (Status status); 38 * @return status Must be: 43 setVsyncRate(int32_t count) generates (Status status); 48 * @return status Must be: 53 requestNextVsync() generates (Status status); 59 * @return status Must be: 64 close() generates (Status status);
|
/frameworks/av/media/common_time/ |
H A D | ICommonTimeConfig.cpp | 59 status_t status = remote()->transact(GET_MASTER_ELECTION_PRIORITY, local 62 if (status == OK) { 63 status = reply.readInt32(); 64 if (status == OK) { 69 return status; 76 status_t status = remote()->transact(SET_MASTER_ELECTION_PRIORITY, local 79 if (status == OK) { 80 status = reply.readInt32(); 83 return status; 89 status_t status local 114 status_t status = remote()->transact(SET_MASTER_ELECTION_ENDPOINT, local 127 status_t status = remote()->transact(GET_MASTER_ELECTION_GROUP_ID, local 145 status_t status = remote()->transact(SET_MASTER_ELECTION_GROUP_ID, local 159 status_t status = remote()->transact(GET_INTERFACE_BINDING, local 176 status_t status = remote()->transact(SET_INTERFACE_BINDING, local 189 status_t status = remote()->transact(GET_MASTER_ANNOUNCE_INTERVAL, local 206 status_t status = remote()->transact(SET_MASTER_ANNOUNCE_INTERVAL, local 219 status_t status = remote()->transact(GET_CLIENT_SYNC_INTERVAL, local 236 status_t status = remote()->transact(SET_CLIENT_SYNC_INTERVAL, local 249 status_t status = remote()->transact(GET_PANIC_THRESHOLD, local 266 status_t status = remote()->transact(SET_PANIC_THRESHOLD, local 279 status_t status = remote()->transact(GET_AUTO_DISABLE, local 296 status_t status = remote()->transact(SET_AUTO_DISABLE, local 310 status_t status = remote()->transact(FORCE_NETWORKLESS_MASTER_MODE, local 332 status_t status = getMasterElectionPriority(&priority); local 343 status_t status = setMasterElectionPriority(priority); local 351 status_t status = getMasterElectionEndpoint(&addr); local 371 status_t status; local 386 status_t status = getMasterElectionGroupId(&id); local 397 status_t status = setMasterElectionGroupId(id); local 405 status_t status = getInterfaceBinding(ret); local 417 status_t status = setInterfaceBinding(ifaceName); local 425 status_t status = getMasterAnnounceInterval(&interval); local 436 status_t status = setMasterAnnounceInterval(interval); local 444 status_t status = getClientSyncInterval(&interval); local 455 status_t status = setClientSyncInterval(interval); local 463 status_t status = getPanicThreshold(&threshold); local 474 status_t status = setPanicThreshold(threshold); local 482 status_t status = getAutoDisable(&autoDisable); local 493 status_t status = setAutoDisable(autoDisable); local 500 status_t status = forceNetworklessMasterMode(); local [all...] |
H A D | ICommonClock.cpp | 57 status_t status = remote()->transact(IS_COMMON_TIME_VALID, local 60 if (status == OK) { 61 status = reply.readInt32(); 62 if (status == OK) { 67 return status; 75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME, local 77 if (status == OK) { 78 status = reply.readInt32(); 79 if (status == OK) { 83 return status; 91 status_t status = remote()->transact(LOCAL_TIME_TO_COMMON_TIME, local 105 status_t status = remote()->transact(GET_COMMON_TIME, data, &reply); local 118 status_t status = remote()->transact(GET_COMMON_FREQ, data, &reply); local 131 status_t status = remote()->transact(GET_LOCAL_TIME, data, &reply); local 144 status_t status = remote()->transact(GET_LOCAL_FREQ, data, &reply); local 157 status_t status = remote()->transact(GET_ESTIMATED_ERROR, data, &reply); local 170 status_t status = remote()->transact(GET_TIMELINE_ID, data, &reply); local 183 status_t status = remote()->transact(GET_STATE, data, &reply); local 196 status_t status = remote()->transact(GET_MASTER_ADDRESS, data, &reply); local 211 status_t status = remote()->transact(REGISTER_LISTENER, data, &reply); local 225 status_t status = remote()->transact(UNREGISTER_LISTENER, data, &reply); local 246 status_t status = isCommonTimeValid(&valid, &timelineID); local 259 status_t status = commonTimeToLocalTime(commonTime, &localTime); local 271 status_t status = localTimeToCommonTime(localTime, &commonTime); local 282 status_t status = getCommonTime(&commonTime); local 293 status_t status = getCommonFreq(&freq); local 304 status_t status = getLocalTime(&localTime); local 315 status_t status = getLocalFreq(&freq); local 326 status_t status = getEstimatedError(&error); local 337 status_t status = getTimelineID(&id); local 348 status_t status = getState(&state); local 359 status_t status = getMasterAddr(&addr); local 378 status_t status = registerListener(listener); local 387 status_t status = unregisterListener(listener); local [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | IAdvertisingSetCallback.aidl | 23 void onAdvertisingSetStarted(in int advertiserId, in int tx_power, in int status); 26 void onAdvertisingEnabled(in int advertiserId, in boolean enable, in int status); 27 void onAdvertisingDataSet(in int advertiserId, in int status); 28 void onScanResponseDataSet(in int advertiserId, in int status); 29 void onAdvertisingParametersUpdated(in int advertiserId, in int tx_power, in int status); 30 void onPeriodicAdvertisingParametersUpdated(in int advertiserId, in int status); 31 void onPeriodicAdvertisingDataSet(in int advertiserId, in int status); 32 void onPeriodicAdvertisingEnabled(in int advertiserId, in boolean enable, in int status);
|
H A D | AdvertisingSetCallback.java | 23 * status. 60 * indicating result of the operation. If status is ADVERTISE_SUCCESS, then advertisingSet 62 * null, and status will be set to proper error code. 66 * @param status Status of the operation. 68 public void onAdvertisingSetStarted(AdvertisingSet advertisingSet, int txPower, int status) {} argument 80 * result of the operation. If status is ADVERTISE_SUCCESS, then advertising set is advertising. 83 * @param status Status of the operation. 85 public void onAdvertisingEnabled(AdvertisingSet advertisingSet, boolean enable, int status) {} argument 89 * result of the operation. If status is ADVERTISE_SUCCESS, then data was changed. 92 * @param status Statu 94 onAdvertisingDataSet(AdvertisingSet advertisingSet, int status) argument 103 onScanResponseDataSet(AdvertisingSet advertisingSet, int status) argument 113 onAdvertisingParametersUpdated(AdvertisingSet advertisingSet, int txPower, int status) argument 124 onPeriodicAdvertisingParametersUpdated(AdvertisingSet advertisingSet, int status) argument 134 onPeriodicAdvertisingDataSet(AdvertisingSet advertisingSet, int status) argument 144 onPeriodicAdvertisingEnabled(AdvertisingSet advertisingSet, boolean enable, int status) argument [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; 133 status_t status = parcel->writeInt32(mException); local 160 setFromStatusT(status_t status) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vop.cpp | 42 PV_STATUS status; local 81 status = RC_VopQPSetting(video, rc); 82 if (status == PV_FAIL) 98 return status; 101 status = EncodeVop_NoME(video); 110 return status; 130 PV_STATUS status = PV_SUCCESS; local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ 139 status = EncodeFrameCombinedMode(video); 147 status 199 PV_STATUS status = PV_SUCCESS; local 278 PV_STATUS status; local 311 PV_STATUS status; local 355 PV_STATUS status; local 415 PV_STATUS status; local [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupObserver.java | 45 * @param status Zero on success; a nonzero error code if the backup operation failed. 47 public void onResult(String currentBackupPackage, int status) { argument 54 * @param status Zero on success; a nonzero error code if the backup operation 57 public void backupFinished(int status) { argument
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_pose.cpp | 18 int status = android::dvr::dvrPoseClientGetDataReaderHandle(client, local 21 if (status != 0) { 22 ALOGE("dvrPoseClientGetDataReader: Failed to get queue: %d", status); 23 return status;
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | debug.h | 20 GLenum status = glCheckFramebufferStatus(GL_FRAMEBUFFER); \ 21 switch (status) { \ 28 ALOGE("FBO user error: %d", status); \
|
/frameworks/native/services/vr/virtual_touchpad/ |
H A D | EvdevInjector.cpp | 42 if (const int status = ioctl(fd_.get(), request, value)) { 44 value, status, errno); 52 if (const int status = ioctl(fd_.get(), request)) { 53 ALOGE("ioctl(%d, 0x%X) failed (r=%d errno=%d)", fd_.get(), request, status, 73 if (const int status = RequireState(State::NEW)) { 74 return status; 80 if (const int status = uinput_->Open()) { 83 return Error(status); 102 if (const int status = RequireState(State::CONFIGURING)) { 103 return status; [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareNativeCallback.java | 142 public void notifyCapabilitiesResponse(short id, WifiNanStatus status, argument 145 Log.v(TAG, "notifyCapabilitiesResponse: id=" + id + ", status=" + statusString(status) 149 if (status.status == NanStatusType.SUCCESS) { 172 Log.e(TAG, "notifyCapabilitiesResponse: error code=" + status.status + " (" 173 + status.description + ")"); 178 public void notifyEnableResponse(short id, WifiNanStatus status) { argument 179 if (VDBG) Log.v(TAG, "notifyEnableResponse: id=" + id + ", status 194 notifyConfigResponse(short id, WifiNanStatus status) argument 205 notifyDisableResponse(short id, WifiNanStatus status) argument 218 notifyStartPublishResponse(short id, WifiNanStatus status, byte publishId) argument 232 notifyStopPublishResponse(short id, WifiNanStatus status) argument 246 notifyStartSubscribeResponse(short id, WifiNanStatus status, byte subscribeId) argument 260 notifyStopSubscribeResponse(short id, WifiNanStatus status) argument 275 notifyTransmitFollowupResponse(short id, WifiNanStatus status) argument 289 notifyCreateDataInterfaceResponse(short id, WifiNanStatus status) argument 300 notifyDeleteDataInterfaceResponse(short id, WifiNanStatus status) argument 311 notifyInitiateDataPathResponse(short id, WifiNanStatus status, int ndpInstanceId) argument 326 notifyRespondToDataPathIndicationResponse(short id, WifiNanStatus status) argument 337 notifyTerminateDataPathResponse(short id, WifiNanStatus status) argument 369 eventDisabled(WifiNanStatus status) argument 377 eventPublishTerminated(byte sessionId, WifiNanStatus status) argument 388 eventSubscribeTerminated(byte sessionId, WifiNanStatus status) argument 444 eventTransmitFollowup(short id, WifiNanStatus status) argument 524 statusString(WifiNanStatus status) argument [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | TrackPlayerBase.cpp | 64 status_t status = NO_INIT; local 66 status = mAudioTrack->start(); 68 return status; 72 status_t status = NO_INIT; local 75 status = NO_ERROR; 77 return status; 82 status_t status = NO_INIT; local 85 status = NO_ERROR; 87 return status; 95 status_t status local 111 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(configuration, operation); local [all...] |