/frameworks/native/libs/graphicsenv/ |
D | GpuStatsInfo.cpp | 28 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 …]
|
D | IGpuService.cpp | 55 status_t status; in getGpuStatsGlobalInfo() local 57 if ((status = data.writeInterfaceToken(IGpuService::getInterfaceDescriptor())) != OK) in getGpuStatsGlobalInfo() 58 return status; in getGpuStatsGlobalInfo() 60 if ((status = remote()->transact(BnGpuService::GET_GPU_STATS_GLOBAL_INFO, data, &reply)) != in getGpuStatsGlobalInfo() 62 return status; in getGpuStatsGlobalInfo() 65 if ((status = reply.readInt32(&result)) != OK) return status; in getGpuStatsGlobalInfo() 76 status_t status; in getGpuStatsAppInfo() local 78 if ((status = data.writeInterfaceToken(IGpuService::getInterfaceDescriptor())) != OK) { in getGpuStatsAppInfo() 79 return status; in getGpuStatsAppInfo() 82 if ((status = remote()->transact(BnGpuService::GET_GPU_STATS_APP_INFO, data, &reply)) != in getGpuStatsAppInfo() [all …]
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 42 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 …]
|
D | RingBufferParcelable.cpp | 83 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 …]
|
D | AudioEndpointParcelable.cpp | 67 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 …]
|
D | AAudioStreamRequest.cpp | 46 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 …]
|
D | SharedRegionParcelable.cpp | 51 status_t status = AAudioConvert_aaudioToAndroidStatus(validate()); in writeToParcel() local 52 if (status != NO_ERROR) goto error; in writeToParcel() 54 status = parcel->writeInt32(mSizeInBytes); in writeToParcel() 55 if (status != NO_ERROR) goto error; in writeToParcel() 57 status = parcel->writeInt32(mSharedMemoryIndex); in writeToParcel() 58 if (status != NO_ERROR) goto error; in writeToParcel() 59 status = parcel->writeInt32(mOffsetInBytes); in writeToParcel() 60 if (status != NO_ERROR) goto error; in writeToParcel() 65 ALOGE("%s returning %d", __func__, status); in writeToParcel() 66 return status; in writeToParcel() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vop.cpp | 42 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/ |
D | WifiAwareNativeCallback.java | 146 public void notifyCapabilitiesResponse(short id, WifiNanStatus status, in notifyCapabilitiesResponse() argument 149 Log.v(TAG, "notifyCapabilitiesResponse: id=" + id + ", status=" + statusString(status) in notifyCapabilitiesResponse() 153 if (status.status == NanStatusType.SUCCESS) { in notifyCapabilitiesResponse() 176 Log.e(TAG, "notifyCapabilitiesResponse: error code=" + status.status + " (" in notifyCapabilitiesResponse() 177 + status.description + ")"); in notifyCapabilitiesResponse() 182 public void notifyEnableResponse(short id, WifiNanStatus status) { in notifyEnableResponse() argument 183 if (mDbg) Log.v(TAG, "notifyEnableResponse: id=" + id + ", status=" + statusString(status)); in notifyEnableResponse() 185 if (status.status == NanStatusType.ALREADY_ENABLED) { in notifyEnableResponse() 189 if (status.status == NanStatusType.SUCCESS in notifyEnableResponse() 190 || status.status == NanStatusType.ALREADY_ENABLED) { in notifyEnableResponse() [all …]
|
/frameworks/rs/ |
D | rsSignal.cpp | 33 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/native/services/vr/virtual_touchpad/ |
D | EvdevInjector.cpp | 42 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/ |
D | display_client.cpp | 27 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/ |
D | IAudioTrack.cpp | 62 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 …]
|
D | IAudioPolicyService.cpp | 250 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); in getOutputForAttr() local 251 if (status != NO_ERROR) { in getOutputForAttr() 252 return status; in getOutputForAttr() 254 status = (status_t)reply.readInt32(); in getOutputForAttr() 255 if (status != NO_ERROR) { in getOutputForAttr() 256 return status; in getOutputForAttr() 258 status = (status_t)reply.read(&attr, sizeof(audio_attributes_t)); in getOutputForAttr() 259 if (status != NO_ERROR) { in getOutputForAttr() 260 return status; in getOutputForAttr() 341 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); in getInputForAttr() local [all …]
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
D | FwdLockConv.c | 244 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/ |
D | Status.cpp | 60 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/native/libs/binder/ndk/ |
D | parcel.cpp | 63 status_t status = rawParcel->writeInt32(static_cast<int32_t>(length)); in WriteAndValidateArraySize() local 64 if (status != STATUS_OK) return PruneStatusT(status); in WriteAndValidateArraySize() 71 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local 72 if (status != STATUS_OK) return status; in WriteArray() 89 binder_status_t status = WriteAndValidateArraySize(parcel, array == nullptr, length); in WriteArray() local 90 if (status != STATUS_OK) return status; in WriteArray() 99 status = rawParcel->writeChar(array[i]); in WriteArray() 101 if (status != STATUS_OK) return PruneStatusT(status); in WriteArray() 113 status_t status = rawParcel->readInt32(&length); in ReadArray() local 115 if (status != STATUS_OK) return PruneStatusT(status); in ReadArray() [all …]
|
/frameworks/av/media/libmedia/ |
D | Visualizer.cpp | 89 status_t status = AudioEffect::setEnabled(enabled); in setEnabled() local 92 if (enabled && status == NO_ERROR) { in setEnabled() 103 return status; in setEnabled() 158 status_t status = setParameter(p); in setCaptureSize() local 160 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); in setCaptureSize() 162 if (status == NO_ERROR) { in setCaptureSize() 163 status = p->status; in setCaptureSize() 164 if (status == NO_ERROR) { in setCaptureSize() 169 return status; in setCaptureSize() 187 status_t status = setParameter(p); in setScalingMode() local [all …]
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | WorkerPool.cpp | 40 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/soundtrigger/ |
D | ISoundTrigger.cpp | 63 status_t status = remote()->transact(LOAD_SOUND_MODEL, data, &reply); in loadSoundModel() local 64 if (status != NO_ERROR) { in loadSoundModel() 65 return status; in loadSoundModel() 67 status = (status_t)reply.readInt32(); in loadSoundModel() 68 if (status == NO_ERROR) { in loadSoundModel() 71 return status; in loadSoundModel() 79 status_t status = remote()->transact(UNLOAD_SOUND_MODEL, data, &reply); in unloadSoundModel() local 80 if (status == NO_ERROR) { in unloadSoundModel() 81 status = (status_t)reply.readInt32(); in unloadSoundModel() 83 return status; in unloadSoundModel() [all …]
|
D | ISoundTriggerHwService.cpp | 65 status_t status = remote()->transact(LIST_MODULES, data, &reply); in listModules() local 66 if (status == NO_ERROR) { in listModules() 67 status = (status_t)reply.readInt32(); in listModules() 70 ALOGV("listModules() status %d got *numModules %d", status, *numModules); in listModules() 71 if (status == NO_ERROR) { in listModules() 79 return status; in listModules() 92 status_t status = remote()->transact(ATTACH, data, &reply); in attach() local 93 if (status != NO_ERROR) { in attach() 94 return status; in attach() 96 status = reply.readInt32(); in attach() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | statusor_test.cc | 74 EXPECT_EQ(Status::UNKNOWN, thing.status()); in TEST() 80 EXPECT_EQ(Status::CANCELLED, thing.status()); in TEST() 94 EXPECT_EQ(original.status(), copy.status()); in TEST() 101 EXPECT_EQ(original.status(), copy.status()); in TEST() 108 EXPECT_EQ(original.status(), copy.status()); in TEST() 115 EXPECT_EQ(original.status(), copy.status()); in TEST() 123 EXPECT_EQ(source.status(), target.status()); in TEST() 131 EXPECT_EQ(source.status(), target.status()); in TEST() 139 EXPECT_EQ(source.status(), target.status()); in TEST() 147 EXPECT_EQ(source.status(), target.status()); in TEST() [all …]
|
/frameworks/native/libs/vr/libbufferhubqueue/ |
D | buffer_hub_queue_client.cpp | 78 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/ |
D | IpMemoryStoreTest.java | 118 status -> assertTrue("Store not successful : " + status.resultCode, in testNetworkAttributes() 119 status.isSuccess())); in testNetworkAttributes() 125 (status, key, attr) -> { in testNetworkAttributes() 127 + status.resultCode, status.isSuccess()); in testNetworkAttributes() 143 status -> { in testPrivateData() 144 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); in testPrivateData() 150 (status, key, name, data) -> { in testPrivateData() 151 assertTrue("Retrieve blob status not successful : " + status.resultCode, in testPrivateData() 152 status.isSuccess()); in testPrivateData() 168 (status, key) -> { in testFindL2Key() [all …]
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 220 c2_status_t status; in query() local 224 [&status, &numStackIndices, &stackParams, heapParams]( in query() 226 status = static_cast<c2_status_t>(s); in query() 227 if (status != C2_OK && status != C2_BAD_INDEX) { in query() 229 << status << "."; in query() 235 status = C2_CORRUPTED; in query() 254 status = C2_CORRUPTED; in query() 290 return status; in query() 302 c2_status_t status; in config() local 306 [&status, ¶ms, failures]( in config() [all …]
|