Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 1326) sorted by relevance

12345678910>>...54

/frameworks/native/libs/graphicsenv/
DGpuStatsInfo.cpp28 status_t status; in writeToParcel() local
29 if ((status = parcel->writeUtf8AsUtf16(driverPackageName)) != OK) return status; in writeToParcel()
30 if ((status = parcel->writeUtf8AsUtf16(driverVersionName)) != OK) return status; in writeToParcel()
31 if ((status = parcel->writeUint64(driverVersionCode)) != OK) return status; in writeToParcel()
32 if ((status = parcel->writeInt64(driverBuildTime)) != OK) return status; in writeToParcel()
33 if ((status = parcel->writeInt32(glLoadingCount)) != OK) return status; in writeToParcel()
34 if ((status = parcel->writeInt32(glLoadingFailureCount)) != OK) return status; in writeToParcel()
35 if ((status = parcel->writeInt32(vkLoadingCount)) != OK) return status; in writeToParcel()
36 if ((status = parcel->writeInt32(vkLoadingFailureCount)) != OK) return status; in writeToParcel()
37 if ((status = parcel->writeInt32(vulkanVersion)) != OK) return status; in writeToParcel()
[all …]
DIGpuService.cpp92 status_t status; in onTransact() local
98 if ((status = data.readUtf8FromUtf16(&driverPackageName)) != OK) return status; in onTransact()
101 if ((status = data.readUtf8FromUtf16(&driverVersionName)) != OK) return status; in onTransact()
104 if ((status = data.readUint64(&driverVersionCode)) != OK) return status; in onTransact()
107 if ((status = data.readInt64(&driverBuildTime)) != OK) return status; in onTransact()
110 if ((status = data.readUtf8FromUtf16(&appPackageName)) != OK) return status; in onTransact()
113 if ((status = data.readInt32(&vulkanVersion)) != OK) return status; in onTransact()
116 if ((status = data.readInt32(&driver)) != OK) return status; in onTransact()
119 if ((status = data.readBool(&isDriverLoaded)) != OK) return status; in onTransact()
122 if ((status = data.readInt64(&driverLoadingTime)) != OK) return status; in onTransact()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp42 status_t status; in writeToParcel() local
44 status = parcel->writeInt32(getDeviceId()); in writeToParcel()
45 if (status != NO_ERROR) goto error; in writeToParcel()
46 status = parcel->writeInt32(getSampleRate()); in writeToParcel()
47 if (status != NO_ERROR) goto error; in writeToParcel()
48 status = parcel->writeInt32(getSamplesPerFrame()); in writeToParcel()
49 if (status != NO_ERROR) goto error; in writeToParcel()
50 status = parcel->writeInt32((int32_t) getSharingMode()); in writeToParcel()
51 if (status != NO_ERROR) goto error; in writeToParcel()
52 status = parcel->writeInt32((int32_t) getFormat()); in writeToParcel()
[all …]
DRingBufferParcelable.cpp83 status_t status = AAudioConvert_aaudioToAndroidStatus(validate()); in writeToParcel() local
84 if (status != NO_ERROR) goto error; in writeToParcel()
86 status = parcel->writeInt32(mCapacityInFrames); in writeToParcel()
87 if (status != NO_ERROR) goto error; in writeToParcel()
89 status = parcel->writeInt32(mBytesPerFrame); in writeToParcel()
90 if (status != NO_ERROR) goto error; in writeToParcel()
91 status = parcel->writeInt32(mFramesPerBurst); in writeToParcel()
92 if (status != NO_ERROR) goto error; in writeToParcel()
93 status = parcel->writeInt32(mFlags); in writeToParcel()
94 if (status != NO_ERROR) goto error; in writeToParcel()
[all …]
DAudioEndpointParcelable.cpp67 status_t status = AAudioConvert_aaudioToAndroidStatus(validate()); in writeToParcel() local
68 if (status != NO_ERROR) goto error; in writeToParcel()
70 status = parcel->writeInt32(mNumSharedMemories); in writeToParcel()
71 if (status != NO_ERROR) goto error; in writeToParcel()
74 status = mSharedMemories[i].writeToParcel(parcel); in writeToParcel()
75 if (status != NO_ERROR) goto error; in writeToParcel()
77 status = mUpMessageQueueParcelable.writeToParcel(parcel); in writeToParcel()
78 if (status != NO_ERROR) goto error; in writeToParcel()
79 status = mDownMessageQueueParcelable.writeToParcel(parcel); in writeToParcel()
80 if (status != NO_ERROR) goto error; in writeToParcel()
[all …]
DAAudioStreamRequest.cpp46 status_t status = parcel->writeInt32((int32_t) mUserId); in writeToParcel() local
47 if (status != NO_ERROR) goto error; in writeToParcel()
49 status = parcel->writeBool(mSharingModeMatchRequired); in writeToParcel()
50 if (status != NO_ERROR) goto error; in writeToParcel()
52 status = parcel->writeBool(mInService); in writeToParcel()
53 if (status != NO_ERROR) goto error; in writeToParcel()
55 status = mConfiguration.writeToParcel(parcel); in writeToParcel()
56 if (status != NO_ERROR) goto error; in writeToParcel()
61 ALOGE("writeToParcel(): write failed = %d", status); in writeToParcel()
62 return status; in writeToParcel()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvop.cpp42 PV_STATUS status; in EncodeVop() local
81 status = RC_VopQPSetting(video, rc); in EncodeVop()
82 if (status == PV_FAIL) in EncodeVop()
98 return status; in EncodeVop()
101 status = EncodeVop_NoME(video); in EncodeVop()
110 return status; in EncodeVop()
130 PV_STATUS status = PV_SUCCESS; in EncodeVop_NoME() local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ in EncodeVop_NoME()
139 status = EncodeFrameCombinedMode(video); in EncodeVop_NoME()
147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */ in EncodeVop_NoME()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java166 public void notifyCapabilitiesResponse(short id, WifiNanStatus status, in notifyCapabilitiesResponse() argument
169 Log.v(TAG, "notifyCapabilitiesResponse: id=" + id + ", status=" + statusString(status) in notifyCapabilitiesResponse()
173 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse()
196 Log.e(TAG, "notifyCapabilitiesResponse: error code=" + status.status + " (" in notifyCapabilitiesResponse()
197 + status.description + ")"); in notifyCapabilitiesResponse()
202 public void notifyEnableResponse(short id, WifiNanStatus status) { in notifyEnableResponse() argument
203 if (mDbg) Log.v(TAG, "notifyEnableResponse: id=" + id + ", status=" + statusString(status)); in notifyEnableResponse()
205 if (status.status == NanStatusType.ALREADY_ENABLED) { in notifyEnableResponse()
209 if (status.status == NanStatusType.SUCCESS in notifyEnableResponse()
210 || status.status == NanStatusType.ALREADY_ENABLED) { in notifyEnableResponse()
[all …]
/frameworks/rs/
DrsSignal.cpp33 int status = pthread_mutex_init(&mMutex, nullptr); in init() local
34 if (status) { in init()
35 ALOGE("Signal::init: mutex init failure: %s", strerror(status)); in init()
39 status = pthread_cond_init(&mCondition, nullptr); in init()
40 if (status) { in init()
41 ALOGE("Signal::init: condition init failure: %s", strerror(status)); in init()
50 int status = pthread_mutex_lock(&mMutex); in set() local
51 if (status) { in set()
52 ALOGE("Signal::set: error locking for set condition: %s", strerror(status)); in set()
58 status = pthread_cond_signal(&mCondition); in set()
[all …]
/frameworks/av/media/libaudiofoundation/
DAudioGain.cpp134 status_t status = NO_ERROR; in writeToParcel() local
135 if ((status = parcel->writeInt32(mIndex)) != NO_ERROR) return status; in writeToParcel()
136 if ((status = parcel->writeBool(mUseInChannelMask)) != NO_ERROR) return status; in writeToParcel()
137 if ((status = parcel->writeBool(mUseForVolume)) != NO_ERROR) return status; in writeToParcel()
138 if ((status = parcel->writeUint32(mGain.mode)) != NO_ERROR) return status; in writeToParcel()
139 if ((status = parcel->writeUint32(mGain.channel_mask)) != NO_ERROR) return status; in writeToParcel()
140 if ((status = parcel->writeInt32(mGain.min_value)) != NO_ERROR) return status; in writeToParcel()
141 if ((status = parcel->writeInt32(mGain.max_value)) != NO_ERROR) return status; in writeToParcel()
142 if ((status = parcel->writeInt32(mGain.default_value)) != NO_ERROR) return status; in writeToParcel()
143 if ((status = parcel->writeUint32(mGain.step_value)) != NO_ERROR) return status; in writeToParcel()
[all …]
DAudioPort.cpp120 status_t status = NO_ERROR; in writeToParcel() local
121 if ((status = parcel->writeUtf8AsUtf16(mName)) != NO_ERROR) return status; in writeToParcel()
122 if ((status = parcel->writeUint32(mType)) != NO_ERROR) return status; in writeToParcel()
123 if ((status = parcel->writeUint32(mRole)) != NO_ERROR) return status; in writeToParcel()
124 if ((status = parcel->writeParcelable(mProfiles)) != NO_ERROR) return status; in writeToParcel()
125 if ((status = parcel->writeParcelable(mGains)) != NO_ERROR) return status; in writeToParcel()
126 return status; in writeToParcel()
131 status_t status = NO_ERROR; in readFromParcel() local
132 if ((status = parcel->readUtf8FromUtf16(&mName)) != NO_ERROR) return status; in readFromParcel()
134 if ((status = parcel->readUint32(reinterpret_cast<uint32_t*>(&mType))) != NO_ERROR) { in readFromParcel()
[all …]
DAudioProfile.cpp135 status_t status = NO_ERROR; in writeToParcel() local
136 if ((status = parcel->writeUtf8AsUtf16(mName)) != NO_ERROR) return status; in writeToParcel()
137 if ((status = parcel->writeUint32(mFormat)) != NO_ERROR) return status; in writeToParcel()
139 if ((status = parcel->writeInt32Vector(values)) != NO_ERROR) return status; in writeToParcel()
142 if ((status = parcel->writeInt32Vector(values)) != NO_ERROR) return status; in writeToParcel()
143 if ((status = parcel->writeBool(mIsDynamicFormat)) != NO_ERROR) return status; in writeToParcel()
144 if ((status = parcel->writeBool(mIsDynamicChannels)) != NO_ERROR) return status; in writeToParcel()
145 if ((status = parcel->writeBool(mIsDynamicRate)) != NO_ERROR) return status; in writeToParcel()
146 return status; in writeToParcel()
151 status_t status = NO_ERROR; in readFromParcel() local
[all …]
/frameworks/native/services/vr/virtual_touchpad/
DEvdevInjector.cpp42 if (const int status = ioctl(fd_.get(), request, value)) { in IoctlSetInt() local
44 value, status, errno); in IoctlSetInt()
52 if (const int status = ioctl(fd_.get(), request)) { in IoctlVoid() local
53 ALOGE("ioctl(%d, 0x%X) failed (r=%d errno=%d)", fd_.get(), request, status, in IoctlVoid()
73 if (const int status = RequireState(State::NEW)) { in ConfigureBegin() local
74 return status; in ConfigureBegin()
80 if (const int status = uinput_->Open()) { in ConfigureBegin() local
83 return Error(status); in ConfigureBegin()
102 if (const int status = RequireState(State::CONFIGURING)) { in ConfigureInputProperty() local
103 return status; in ConfigureInputProperty()
[all …]
/frameworks/native/libs/vr/libdisplay/
Ddisplay_client.cpp27 auto status = InvokeRemoteMethod<DisplayProtocol::GetSurfaceInfo>(); local
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 = InvokeRemoteMethod<DisplayProtocol::CreateSurface>(attributes); local
46 if (!status) {
[all …]
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp265 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr() local
266 if (status != NO_ERROR) { in getOutputForAttr()
267 return status; in getOutputForAttr()
269 status = (status_t)reply.readInt32(); in getOutputForAttr()
270 if (status != NO_ERROR) { in getOutputForAttr()
271 return status; in getOutputForAttr()
273 status = (status_t)reply.read(&attr, sizeof(audio_attributes_t)); in getOutputForAttr()
274 if (status != NO_ERROR) { in getOutputForAttr()
275 return status; in getOutputForAttr()
357 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); in getInputForAttr() local
[all …]
DIAudioTrack.cpp62 status_t status = remote()->transact(GET_CBLK, data, &reply); in getCblk() local
63 if (status == NO_ERROR) { in getCblk()
76 status_t status = remote()->transact(START, data, &reply); in start() local
77 if (status == NO_ERROR) { in start()
78 status = reply.readInt32(); in start()
80 ALOGW("start() error: %s", strerror(-status)); in start()
82 return status; in start()
111 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); in attachAuxEffect() local
112 if (status == NO_ERROR) { in attachAuxEffect()
113 status = reply.readInt32(); in attachAuxEffect()
[all …]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c244 FwdLockConv_Status_t status; in FwdLockConv_DeriveKeys() local
253 status = FwdLockConv_Status_OutOfMemory; in FwdLockConv_DeriveKeys()
257 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys()
264 status = FwdLockConv_Status_ProgramError; in FwdLockConv_DeriveKeys()
271 status = FwdLockConv_Status_OK; in FwdLockConv_DeriveKeys()
277 return status; in FwdLockConv_DeriveKeys()
335 FwdLockConv_Status_t status = FwdLockConv_Status_OK; in FwdLockConv_MatchOpenDelimiter() local
381 status = FwdLockConv_Status_SyntaxError; in FwdLockConv_MatchOpenDelimiter()
384 status = FwdLockConv_RightTrimDelimiter(pSession); in FwdLockConv_MatchOpenDelimiter()
385 if (status == FwdLockConv_Status_OK) { in FwdLockConv_MatchOpenDelimiter()
[all …]
/frameworks/native/libs/binder/ndk/
Dparcel.cpp64 status_t status = rawParcel->writeInt32(static_cast<int32_t>(length)); in WriteAndValidateArraySize() local
65 if (status != STATUS_OK) return PruneStatusT(status); in WriteAndValidateArraySize()
72 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local
73 if (status != STATUS_OK) return status; in WriteArray()
90 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local
91 if (status != STATUS_OK) return status; in WriteArray()
100 status = rawParcel->writeChar(array[i]); in WriteArray()
102 if (status != STATUS_OK) return PruneStatusT(status); in WriteArray()
114 status_t status = rawParcel->readInt32(&length); in ReadArray() local
116 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray()
[all …]
/frameworks/base/media/jni/audioeffect/
DVisualizer.cpp93 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local
96 if (enabled && status == NO_ERROR) { in setEnabled()
107 return status; in setEnabled()
163 status_t status = setParameter(p); in setCaptureSize() local
165 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize()
167 if (status == NO_ERROR) { in setCaptureSize()
168 status = p->status; in setCaptureSize()
169 if (status == NO_ERROR) { in setCaptureSize()
174 return status; in setCaptureSize()
192 status_t status = setParameter(p); in setScalingMode() local
[all …]
/frameworks/native/libs/binder/
DStatus.cpp60 Status Status::fromStatusT(status_t status) { in fromStatusT() argument
62 ret.setFromStatusT(status); in fromStatusT()
96 status_t status = parcel.readInt32(&mException); in readFromParcel() local
97 if (status != OK) { in readFromParcel()
98 setFromStatusT(status); in readFromParcel()
99 return status; in readFromParcel()
110 status = parcel.readInt32(&header_size); in readFromParcel()
111 if (status != OK) { in readFromParcel()
112 setFromStatusT(status); in readFromParcel()
113 return status; in readFromParcel()
[all …]
/frameworks/base/tests/JankBench/app/src/main/jni/
DWorkerPool.cpp40 int status = pthread_mutex_init(&mMutex, NULL); in init() local
41 if (status) { in init()
46 status = pthread_cond_init(&mCondition, NULL); in init()
47 if (status) { in init()
57 int status; in set() local
59 status = pthread_mutex_lock(&mMutex); in set()
60 if (status) { in set()
61 …id_log_print(ANDROID_LOG_INFO, "bench", "WorkerPool: error %i locking for set condition.", status); in set()
67 status = pthread_cond_signal(&mCondition); in set()
68 if (status) { in set()
[all …]
/frameworks/av/media/libmediametrics/
DIMediaMetricsService.cpp62 status_t status = item->writeToParcel(&data); in submit() local
63 if (status != NO_ERROR) { // assume failure logged in item in submit()
64 return status; in submit()
67 status = remote()->transact( in submit()
69 ALOGW_IF(status != NO_ERROR, "%s: bad response from service for submit, status=%d", in submit()
70 __func__, status); in submit()
71 return status; in submit()
84 status_t status = data.writeInt32(length) in submitBuffer() local
86 if (status != NO_ERROR) { in submitBuffer()
87 return status; in submitBuffer()
[all …]
/frameworks/native/libs/vr/libbufferhubqueue/
Dbuffer_hub_queue_client.cpp78 auto status = InvokeRemoteMethod<BufferHubRPC::GetQueueInfo>(); in ImportQueue() local
79 if (!status) { in ImportQueue()
81 status.GetErrorMessage().c_str()); in ImportQueue()
82 return ErrorStatus(status.error()); in ImportQueue()
84 SetupQueue(status.get()); in ImportQueue()
99 if (auto status = CreateConsumerQueueHandle(/*silent*/ false)) in CreateConsumerQueue() local
100 return std::unique_ptr<ConsumerQueue>(new ConsumerQueue(status.take())); in CreateConsumerQueue()
106 if (auto status = CreateConsumerQueueHandle(/*silent*/ true)) in CreateSilentConsumerQueue() local
107 return std::unique_ptr<ConsumerQueue>(new ConsumerQueue(status.take())); in CreateSilentConsumerQueue()
114 auto status = InvokeRemoteMethod<BufferHubRPC::CreateConsumerQueue>(silent); in CreateConsumerQueueHandle() local
[all …]
/frameworks/base/tests/net/java/android/net/
DIpMemoryStoreTest.java119 status -> assertTrue("Store not successful : " + status.resultCode, in testNetworkAttributes()
120 status.isSuccess())); in testNetworkAttributes()
126 (status, key, attr) -> { in testNetworkAttributes()
128 + status.resultCode, status.isSuccess()); in testNetworkAttributes()
144 status -> { in testPrivateData()
145 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); in testPrivateData()
151 (status, key, name, data) -> { in testPrivateData()
152 assertTrue("Retrieve blob status not successful : " + status.resultCode, in testPrivateData()
153 status.isSuccess()); in testPrivateData()
169 (status, key) -> { in testFindL2Key()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/
DAmrwbEncoderTest.cpp72 int32_t status = voGetAMRWBEncAPI(&mApiHandle); in TEST_P() local
73 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to get api handle"; in TEST_P()
75 status = mApiHandle.Init(&mEncoderHandle, VO_AUDIO_CodingAMRWB, &mUserData); in TEST_P()
76 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to init AMRWB encoder"; in TEST_P()
78 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &mFrameType); in TEST_P()
79 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to set AMRWB encoder frame type to " << mFrameType; in TEST_P()
81 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_MODE, &mMode); in TEST_P()
82 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to set AMRWB encoder mode to %d" << mMode; in TEST_P()
85 status = mApiHandle.Uninit(mEncoderHandle); in TEST_P()
86 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to delete AMRWB encoder"; in TEST_P()
[all …]

12345678910>>...54