/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ecm.cpp | 48 status_t status = ecm_generator::DecodeECMClearFields( local 50 if (status != OK) { 51 ALOGE("DecodeECMClearFields failed with status %d", status); 52 return status; 72 status_t status = ecm_generator::DecodeECM( local 74 if (status != OK) { 75 ALOGE("DecodeECM failed with status %d", status); 76 return status; 110 status_t status = mutable_ecm()->Parse(ecm_buffer); local 178 status_t status = mutable_descriptor(i)->Parse(descriptor_buffer); local [all...] |
H A D | ClearKeyFetcher.cpp | 59 status_t status = container.Parse(buffer); local 60 if (status != OK) { 61 return status; 98 status = license_fetcher_->FetchLicense(*asset_id, &asset_); 99 if (status != OK) { 101 return status; 108 status = container.mutable_descriptor(i)->mutable_ecm()->Decrypt( 110 if (status != OK) { 113 return status;
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 35 UErrorCode status = U_ZERO_ERROR; local 36 mUtf8Conv = ucnv_open("UTF-8", &status); 37 if (U_FAILURE(status)) { 85 UErrorCode status = U_ZERO_ERROR; local 86 UCharsetDetector *csd = ucsdet_open(&status); 116 ucsdet_setText(csd, buf, strlen(buf), &status); 118 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); 147 ucsdet_setText(csd, buf, strlen(buf), &status); 148 ucma = ucsdet_detectAll(csd, &matches, &status); 161 combinedenc = ucsdet_getName(bestCombinedMatch, &status); 287 UErrorCode status = U_ZERO_ERROR; local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vop.cpp | 84 PV_STATUS status; local 103 status = BitstreamShowBits32HC(stream, &startCode); 144 status = BitstreamShowBits32HC(stream, &tmpvar); 148 status = DecodeUserData(stream); 149 if (status != PV_SUCCESS) return PV_FAIL; 158 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 159 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 210 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 211 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */ 220 status 810 PV_STATUS status = PV_SUCCESS; local 1020 PV_STATUS status = PV_SUCCESS; local 1538 PV_STATUS status; local [all...] |
H A D | bitstream.cpp | 177 PV_STATUS status = PV_SUCCESS; local 182 status = BitstreamFillCache(stream); 185 return status; 195 PV_STATUS status = PV_SUCCESS; local 200 status = BitstreamFillCache(stream); 203 return status; 217 PV_STATUS status = PV_SUCCESS; local 223 status = BitstreamFillCache(stream); 227 return status; 240 PV_STATUS status local 259 PV_STATUS status = PV_SUCCESS; local 273 PV_STATUS status; local 288 PV_STATUS status = PV_SUCCESS; local 357 PV_STATUS status = PV_SUCCESS; local 424 PV_STATUS status = PV_SUCCESS; local 443 PV_STATUS status = PV_SUCCESS; local 462 PV_STATUS status = PV_SUCCESS; local 605 PV_STATUS status = PV_SUCCESS; local 634 PV_STATUS status = PV_SUCCESS; local 684 PV_STATUS status = PV_SUCCESS; local 708 PV_STATUS status = PV_SUCCESS; local 787 PV_STATUS status; local 878 PV_STATUS status; local 952 PV_STATUS status; local [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_InputEventReceiver.cpp | 123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); local 124 if (status) { 125 if (status == WOULD_BLOCK) { 139 ALOGW("Failed to send finished signal on channel '%s'. status=%d", 140 getInputChannelName(), status); 142 return status; 171 status_t status = consumeEvents(env, false /*consumeBatches*/, -1, NULL); local 173 return status == OK || status == NO_MEMORY ? 1 : 0; 179 status_t status local 236 status_t status = mInputConsumer.consume(&mInputEventFactory, local 350 status_t status = receiver->initialize(); local 373 status_t status = receiver->finishInputEvent(seq, handled); local 386 status_t status = receiver->consumeEvents(env, true /*consumeBatches*/, frameTimeNanos, local [all...] |
H A D | android_text_AndroidBidi.cpp | 40 UErrorCode status = U_ZERO_ERROR; local 41 UBiDi* bidi = ubidi_openSized(n, 0, &status); 44 bidi, minikin::emojiBidiOverride, nullptr, nullptr, nullptr, &status); 45 ubidi_setPara(bidi, chs, n, dir, NULL, &status); 46 if (U_SUCCESS(status)) {
|
/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsConferenceState.java | 45 // user > endpoint > status 46 public static final String STATUS = "status"; 49 * status-type (String) : 84 * conference-info : SIP status code (integer) 146 * Translates an {@code ImsConferenceState} status type to a telecom connection state. 148 * @param status The status type. 151 public static int getConnectionStateForStatus(String status) { argument 152 if (status.equals(STATUS_PENDING)) { 154 } else if (status [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_client.cpp | 76 auto status = InvokeRemoteMethod<BufferHubRPC::GetQueueInfo>(); local 77 if (!status) { 79 status.GetErrorMessage().c_str()); 80 return ErrorStatus(status.error()); 82 SetupQueue(status.get().meta_size_bytes, status.get().id); 94 if (auto status = CreateConsumerQueueHandle()) 95 return std::unique_ptr<ConsumerQueue>(new ConsumerQueue(status.take())); 101 if (auto status = CreateConsumerQueueHandle()) 103 new ConsumerQueue(status 109 auto status = InvokeRemoteMethod<BufferHubRPC::CreateConsumerQueue>(); local 182 auto status = buffer->GetEventMask(poll_events); local 231 auto status = GetEventMask(poll_event); local 365 auto status = ImportQueue(); local 378 auto status = InvokeRemoteMethod<BufferHubRPC::CreateProducerQueue>( local 406 Status<std::vector<std::pair<LocalChannelHandle, size_t>>> status = local 447 auto status = local 484 auto status = ImportQueue(); local 502 auto status = InvokeRemoteMethod<BufferHubRPC::ConsumerQueueImportBuffers>(); local 618 auto status = ImportBuffers(); local [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | IDrm.cpp | 69 status_t status = remote()->transact(INIT_CHECK, data, &reply); local 70 if (status != OK) { 71 return status; 82 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); local 83 if (status != OK) { 84 ALOGE("isCryptoSchemeSupported: binder call failed: %d", status); 97 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); local 98 if (status != OK) { 99 ALOGE("createPlugin: binder call failed: %d", status); 100 return status; 109 status_t status = remote()->transact(DESTROY_PLUGIN, data, &reply); local 121 status_t status = remote()->transact(OPEN_SESSION, data, &reply); local 135 status_t status = remote()->transact(CLOSE_SESSION, data, &reply); local 164 status_t status = remote()->transact(GET_KEY_REQUEST, data, &reply); local 184 status_t status = remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply); local 199 status_t status = remote()->transact(REMOVE_KEYS, data, &reply); local 214 status_t status = remote()->transact(RESTORE_KEYS, data, &reply); local 228 status_t status = remote()->transact(QUERY_KEY_STATUS, data, &reply); local 252 status_t status = remote()->transact(GET_PROVISION_REQUEST, data, &reply); local 270 status_t status = remote()->transact(PROVIDE_PROVISION_RESPONSE, data, &reply); local 285 status_t status = remote()->transact(GET_SECURE_STOPS, data, &reply); local 305 status_t status = remote()->transact(GET_SECURE_STOP, data, &reply); local 319 status_t status = remote()->transact(RELEASE_SECURE_STOPS, data, &reply); local 331 status_t status = remote()->transact(RELEASE_ALL_SECURE_STOPS, data, &reply); local 344 status_t status = remote()->transact(GET_PROPERTY_STRING, data, &reply); local 358 status_t status = remote()->transact(GET_PROPERTY_BYTE_ARRAY, data, &reply); local 373 status_t status = remote()->transact(SET_PROPERTY_STRING, data, &reply); local 388 status_t status = remote()->transact(SET_PROPERTY_BYTE_ARRAY, data, &reply); local 404 status_t status = remote()->transact(SET_CIPHER_ALGORITHM, data, &reply); local 418 status_t status = remote()->transact(SET_MAC_ALGORITHM, data, &reply); local 438 status_t status = remote()->transact(ENCRYPT, data, &reply); local 460 status_t status = remote()->transact(DECRYPT, data, &reply); local 480 status_t status = remote()->transact(SIGN, data, &reply); local 502 status_t status = remote()->transact(VERIFY, data, &reply); local 523 status_t status = remote()->transact(SIGN_RSA, data, &reply); local 536 status_t status = remote()->transact(SET_LISTENER, data, &reply); local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothGattServerCallback.aidl | 25 void onServerRegistered(in int status, in int serverIf); 26 void onServerConnectionState(in int status, in int serverIf, 28 void onServiceAdded(in int status, in BluetoothGattService service); 41 void onNotificationSent(in String address, in int status); 43 void onPhyUpdate(in String address, in int txPhy, in int rxPhy, in int status); 44 void onPhyRead(in String address, in int txPhy, in int rxPhy, in int status); 46 in int timeout, in int status);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | AsyncRunner.java | 39 public int status = RESULT_UNKNOWN; field in class:AsyncRunner.RunnerResult 67 result.status = RESULT_RUNNING; 68 while (!isCancelled() && result.status == RESULT_RUNNING) { 70 result.status = runner[0].determinePostRunState(); 71 if (result.status == GraphRunner.RESULT_SLEEPING) { 73 result.status = RESULT_RUNNING; 80 result.status = RESULT_STOPPED; 84 result.status = RESULT_ERROR; 92 result.status = RESULT_ERROR; 111 result.status [all...] |
/frameworks/base/cmds/incident/ |
H A D | main.cpp | 46 virtual Status onReportSectionStatus(int32_t section, int32_t status); 47 virtual Status onReportServiceStatus(const String16& service, int32_t status); 67 StatusListener::onReportSectionStatus(int32_t section, int32_t status) argument 69 fprintf(stderr, "section %d status %d\n", section, status); 74 StatusListener::onReportServiceStatus(const String16& service, int32_t status) argument 76 fprintf(stderr, "service '%s' status %d\n", String8(service).string(), status); 138 Status status; local 208 status [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | client_channel_factory.cpp | 59 Status<void> status; local 92 status = WaitForEndpoint(endpoint_path_, timeout); 93 if (!status) 94 return ErrorStatus(status.error()); 127 status = ReceiveData(socket_.Borrow(), &connection_info); 128 if (!status) 129 return status.error_status(); 142 status = SendData(socket_.Borrow(), request); 143 if (!status) 144 return status [all...] |
H A D | ipc_helper_tests.cpp | 126 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local 127 EXPECT_TRUE(status); 140 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local 141 EXPECT_TRUE(status); 149 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local 150 EXPECT_TRUE(status); 157 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local 158 ASSERT_FALSE(status); 159 EXPECT_EQ(EIO, status.error()); 169 auto status local 180 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local 192 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local 201 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local 209 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local 220 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local 230 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 245 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 254 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 270 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 278 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 288 auto status = SendMsgAll(&sender_, kSocket, &msg_); local 299 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local 315 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local 325 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local 341 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local 349 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local 360 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 56 status_t status = mProvider->getNextBuffer(&mBuffer); local 57 if (status != OK) { 58 return status == NOT_ENOUGH_DATA ? (ssize_t) WOULD_BLOCK : (ssize_t) status; 102 status_t status = mProvider->getNextBuffer(&mBuffer); local 103 if (CC_LIKELY(status == OK)) { 110 if (CC_LIKELY(status == NOT_ENOUGH_DATA)) { 111 status = WOULD_BLOCK; 113 return accumulator > 0 ? accumulator : (ssize_t) status;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_VibratorService.cpp | 97 Status status = mHal->setAmplitude(static_cast<uint32_t>(amplitude)); local 98 if (status != Status::OK) { 100 static_cast<uint32_t>(status)); 109 Status status; local 112 [&status, &lengthMs](Status retStatus, uint32_t retLengthMs) { 113 status = retStatus; 116 if (status == Status::OK) { 118 } else if (status != Status::UNSUPPORTED_OPERATION) { 124 static_cast<int32_t>(strength), static_cast<uint32_t>(status));
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | SurfaceCompositionTest.java | 74 Bundle status = new Bundle(); 86 // Send status only for TRANSLUCENT format. 88 status.putDouble(KEY_SURFACE_COMPOSITION_PERFORMANCE, score.mSurfaces); 90 status.putDouble(KEY_SURFACE_COMPOSITION_BANDWITH, score.mBandwidth / 94 getInstrumentation().sendStatus(Activity.RESULT_OK, status); 99 Bundle status = new Bundle(); 110 // Send status only for TRANSLUCENT format. 112 status.putDouble(KEY_SURFACE_ALLOCATION_PERFORMANCE_MEDIAN, score.mMedian); 113 status.putDouble(KEY_SURFACE_ALLOCATION_PERFORMANCE_MIN, score.mMin); 114 status [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | IAudioRecord.cpp | 51 status_t status = remote()->transact(START, data, &reply); local 52 if (status == NO_ERROR) { 53 status = reply.readInt32(); 55 ALOGW("start() error: %s", strerror(-status)); 57 return status;
|
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/ |
H A D | service_utility.h | 9 #include <pdx/status.h> 70 auto status = utility->ReloadSystemProperties(); local 71 if (!status) { 75 fpath, status.GetErrorMessage().c_str()); 76 return kIgnoreErrors ? 0 : -status.error();
|
/frameworks/rs/ |
H A D | rsCppUtils.cpp | 83 int status = 0; local 84 pid_t w = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 91 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) { 95 ALOGE("Child process \"%s\" terminated with status %d", exe, status);
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | GpsStatusTest.java | 167 private static void verifyIsEmpty(GpsStatus status) { argument 168 verifySatelliteCount(status, 0); 169 verifyTtff(status, 0); 172 private static void verifySatelliteCount(GpsStatus status, int expectedCount) { argument 174 for (GpsSatellite s : status.getSatellites()) { 180 private void verifySatellites(GpsStatus status) { argument 181 verifySatelliteCount(status, mCount); 182 verifySatellites(status, mCount, mPrns, mCn0s, mElevations, mAzimuth, mEphemerisMask, 187 GpsStatus status, 198 GpsSatellite satellite = getSatellite(status, pr 186 verifySatellites( GpsStatus status, int count, int[] prns, float[] cn0s, float[] elevations, float[] azimuth, int ephemerisMask, int almanacMask, int usedInFixMask) argument 225 verifyTtff(GpsStatus status, int expectedTtff) argument 235 set(GpsStatus status, int ttff) argument 242 set(GpsStatus status, GpsStatus statusToSet) argument 249 setSatellites(GpsStatus status) argument 254 set( GpsStatus status, int count, int[] prns, float[] cn0s, float[] elevations, float[] azimuth, int ephemerisMask, int almanacMask, int usedInFixMask) argument 344 getSatellite(GpsStatus status, int prn) argument [all...] |
/frameworks/av/services/oboeservice/ |
H A D | AAudioServiceStreamMMAP.cpp | 129 status_t status = MmapStreamInterface::openMmapStream(streamDirection, local 136 if (status != OK) { 137 ALOGE("openMmapStream returned status %d", status); 146 status = mMmapStream->createMmapBuffer(minSizeFrames, &mMmapBufferinfo); 147 if (status != OK) { 148 ALOGE("%s: createMmapBuffer() returned status %d, return AAUDIO_ERROR_UNAVAILABLE", 149 __FILE__, status); 152 ALOGD("createMmapBuffer status %d shared_address = %p buffer_size %d burst_size %d", 153 status, mMmapBufferinf 199 status_t status = mMmapStream->start(mMmapClient, &mPortHandle); local 217 status_t status = mMmapStream->stop(mPortHandle); local 226 aaudio_result_t status = mMmapStream->stop(mPortHandle); local 250 status_t status = mMmapStream->getMmapPosition(&position); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Image.cpp | 43 GLenum status = GL_NO_ERROR; local 44 while ((status = glGetError()) != GL_NO_ERROR) { 45 ALOGW("Error creating image (%#x)", status);
|
/frameworks/native/cmds/lshal/ |
H A D | DebugCommand.cpp | 41 Status status = parseArgs(command, arg); local 42 if (status != OK) { 43 return status;
|