Searched refs:status (Results 1 - 25 of 995) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsMutex.cpp30 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 DrsSignal.cpp33 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/wifi/java/android/net/wifi/hotspot2/
H A DIProvisioningCallback.aidl29 void onProvisioningFailure(int status);
32 * Service to manager callback providing Provisioning status
34 void onProvisioningStatus(int status);
/frameworks/base/telephony/java/com/android/ims/
H A DImsConfigListener.aidl31 * @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/native/libs/vr/libdisplay/
H A Dvsync_client.cpp24 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 Ddisplay_client.cpp7 #include <pdx/status.h>
27 auto status = InvokeRemoteMethod<DisplayProtocol::GetSurfaceInfo>(); variable
28 if (!status) {
30 status.GetErrorMessage().c_str());
31 Close(status.error());
33 *error = status.error();
36 surface_id_ = status.get().surface_id;
37 z_order_ = status.get().z_order;
38 visible_ = status.get().visible;
45 auto status variable
70 auto status = InvokeRemoteMethod<DisplayProtocol::SetAttributes>(attributes); local
109 auto status = InvokeRemoteMethod<DisplayProtocol::CreateQueue>( local
138 auto status = CreateQueue(width, height, format, metadata_size); local
170 auto status = local
192 auto status = local
217 auto status = InvokeRemoteMethod<DisplayProtocol::DeleteGlobalBuffer>(key); local
228 auto status = InvokeRemoteMethod<DisplayProtocol::GetGlobalBuffer>(key); local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamConfiguration.cpp38 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
69 status_t status = parcel->readInt32(&value); local
[all...]
H A DAAudioStreamRequest.cpp46 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("writeToParcel(): write failed = %d", status);
62 return status;
67 status_t status = parcel->readInt32(&temp); local
[all...]
H A DRingBufferParcelable.cpp83 status_t status = AAudioConvert_aaudioToAndroidStatus(validate()); local
84 if (status != NO_ERROR) goto error;
86 status = parcel->writeInt32(mCapacityInFrames);
87 if (status != NO_ERROR) goto error;
89 status = parcel->writeInt32(mBytesPerFrame);
90 if (status != NO_ERROR) goto error;
91 status = parcel->writeInt32(mFramesPerBurst);
92 if (status != NO_ERROR) goto error;
93 status = parcel->writeInt32(mFlags);
94 if (status !
109 status_t status = parcel->readInt32(&mCapacityInFrames); local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java33 * @param status Status of the PHY update operation. {@link BluetoothGatt#GATT_SUCCESS} if the
36 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument
47 * @param status Status of the PHY read operation. {@link BluetoothGatt#GATT_SUCCESS} if the
50 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { argument
58 * @param status Status of the connect or disconnect operation. {@link
63 public void onConnectionStateChange(BluetoothGatt gatt, int status, argument
72 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the remote device has been explored
75 public void onServicesDiscovered(BluetoothGatt gatt, int status) { argument
83 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the read operation was completed
87 int status) {
86 onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument
104 onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) argument
127 onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
139 onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, int status) argument
150 onReliableWriteCompleted(BluetoothGatt gatt, int status) argument
163 onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) argument
177 onMtuChanged(BluetoothGatt gatt, int mtu, int status) argument
194 onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, int status) argument
[all...]
/frameworks/base/core/java/android/bluetooth/le/
H A DAdvertisingSetCallback.java21 * status.
58 * indicating result of the operation. If status is ADVERTISE_SUCCESS, then advertisingSet
60 * null, and status will be set to proper error code.
64 * @param status Status of the operation.
66 public void onAdvertisingSetStarted(AdvertisingSet advertisingSet, int txPower, int status) { argument
80 * indicating result of the operation. If status is ADVERTISE_SUCCESS, then advertising set is
84 * @param status Status of the operation.
86 public void onAdvertisingEnabled(AdvertisingSet advertisingSet, boolean enable, int status) { argument
91 * result of the operation. If status is ADVERTISE_SUCCESS, then data was changed.
94 * @param status Statu
96 onAdvertisingDataSet(AdvertisingSet advertisingSet, int status) argument
106 onScanResponseDataSet(AdvertisingSet advertisingSet, int status) argument
117 onAdvertisingParametersUpdated(AdvertisingSet advertisingSet, int txPower, int status) argument
128 onPeriodicAdvertisingParametersUpdated(AdvertisingSet advertisingSet, int status) argument
138 onPeriodicAdvertisingDataSet(AdvertisingSet advertisingSet, int status) argument
149 onPeriodicAdvertisingEnabled(AdvertisingSet advertisingSet, boolean enable, int status) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardwareCallback.aidl25 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 DGeofenceHardwareCallback.java49 * @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/base/core/java/android/service/euicc/
H A DIGetOtaStatusCallback.aidl21 void onSuccess(int status);
H A DIOtaStatusChangedCallback.aidl21 void onOtaStatusChanged(int status);
/frameworks/hardware/interfaces/displayservice/1.0/
H A DIDisplayEventReceiver.hal25 * @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 DICommonTimeConfig.cpp59 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 DICommonClock.cpp57 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/native/libs/binder/
H A DStatus.cpp54 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/opt/telephony/src/java/com/android/internal/telephony/
H A DLinkCapacityEstimate.java42 public final int status; // either STATUS_ACTIVE, STATUS_SUSPENDED, or INVALID field in class:LinkCapacityEstimate
45 public LinkCapacityEstimate(int downlinkCapacityKbps, int confidence, int status) { argument
48 this.status = status;
57 this.status = INVALID;
69 .append(", status=")
70 .append(status)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp42 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/native/services/utils/
H A DPriorityDumper.cpp41 status_t status; local
42 status = dumpCritical(fd, args, asProto);
43 if (status != OK) return status;
44 status = dumpHigh(fd, args, asProto);
45 if (status != OK) return status;
46 status = dumpNormal(fd, args, asProto);
47 if (status != OK) return status;
52 status_t status; local
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupObserver.java45 * @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/av/media/libaudioclient/
H A DTrackPlayerBase.cpp66 status_t status = NO_INIT; local
68 status = mAudioTrack->start();
70 return status;
74 status_t status = NO_INIT; local
77 status = NO_ERROR;
79 return status;
84 status_t status = NO_INIT; local
87 status = NO_ERROR;
89 return status;
97 status_t status local
117 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(spConfiguration, spOperation); local
[all...]
/frameworks/native/libs/vr/libdvr/
H A Ddvr_pose.cpp18 int status = android::dvr::dvrPoseClientGetDataReaderHandle(client, local
21 if (status != 0) {
22 ALOGE("dvrPoseClientGetDataReader: Failed to get queue: %d", status);
23 return status;

Completed in 1190 milliseconds

1234567891011>>