Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Drate_control.cpp27 void updateRateControl(rateControl *rc, VideoEncData *video);
28 void updateRC_PostProc(rateControl *rc, VideoEncData *video);
54 rateControl **rc = video->rc; in RC_Initialize() local
65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled; in RC_Initialize()
66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled; in RC_Initialize()
67 rc[n]->no_pre_skip = encParams->NoPreSkip_Enabled; in RC_Initialize()
68 rc[n]->skip_next_frame = 0; /* must be initialized */ in RC_Initialize()
71 rc[n]->Bs = video->encParams->BufferSize[n]; in RC_Initialize()
72 rc[n]->TMN_W = 0; in RC_Initialize()
73 rc[n]->VBV_fullness = (Int)(rc[n]->Bs * 0.5); /* rc[n]->Bs */ in RC_Initialize()
[all …]
/frameworks/native/libs/binder/trusty/
DRpcTransportTipcTrusty.cpp89 ssize_t rc = send_msg(mSocket.fd.get(), &msg); in interruptableWriteFully() local
90 if (rc == ERR_NOT_ENOUGH_BUFFER) { in interruptableWriteFully()
97 rc = ::wait(mSocket.fd.get(), &uevt, INFINITE_TIME); in interruptableWriteFully()
98 if (rc < 0) { in interruptableWriteFully()
99 return statusFromTrusty(rc); in interruptableWriteFully()
108 rc = send_msg(mSocket.fd.get(), &msg); in interruptableWriteFully()
110 if (rc < 0) { in interruptableWriteFully()
111 return statusFromTrusty(rc); in interruptableWriteFully()
113 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(rc) != size, in interruptableWriteFully()
114 "Sent the wrong number of bytes %zd!=%zu", rc, size); in interruptableWriteFully()
[all …]
DRpcServerTrusty.cpp53 int rc = tipc_add_service(handleSet, &srv->mTipcPort, 1, 0, &kTipcOps); in make() local
54 if (rc != NO_ERROR) { in make()
55 ALOGE("Failed to create RpcServerTrusty: can't add service: %d", rc); in make()
108 int rc = NO_ERROR; in handleConnectInternal() local
111 rc = statusToTrusty(result.status); in handleConnectInternal()
118 rc = ERR_NO_MEMORY; in handleConnectInternal()
145 return rc; in handleConnectInternal()
DTrustyStatus.cpp22 status_t statusFromTrusty(int rc) { in statusFromTrusty() argument
23 LOG_RPC_DETAIL("Trusty error: %d", rc); in statusFromTrusty()
24 switch (rc) { in statusFromTrusty()
/frameworks/av/media/libcpustats/
DThreadCpuUsage.cpp43 int rc; in setEnabled() local
46 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &mPreviousTs); in setEnabled()
47 if (rc) { in setEnabled()
54 rc = clock_gettime(CLOCK_MONOTONIC, &mMonotonicTs); in setEnabled()
55 if (rc) { in setEnabled()
65 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in setEnabled()
66 if (rc) { in setEnabled()
107 int rc; in sample() local
108 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); in sample()
109 if (rc) { in sample()
[all …]
/frameworks/av/media/module/codecs/amrnb/common/include/
Dbasic_op_arm_gcc_v5.h201 register Word32 rc = var2; in L_mac() local
208 : "r"(rb), "r"(rc) in L_mac()
212 : "=r"(rc) in L_mac()
216 return (rc); in L_mac()
290 register Word32 rc = var2; in L_msu() local
298 : "r"(rb), "r"(rc) in L_msu()
340 register Word32 rc = L_var2_hi; in Mpy_32() local
349 : "r"(ra), "r"(rc) in Mpy_32()
376 : "r"(rb), "r"(rc) in Mpy_32()
421 register Word32 rc = var2; in Mpy_32_16() local
[all …]
Dl_mac.h126 register Word32 rc = var2;
133 : "r"(rb), "r"(rc)
137 : "=r"(rc)
141 return (rc);
/frameworks/av/camera/tests/
DCameraZSLTests.cpp82 ::android::binder::Status rc; in SetUp()
87 rc = mCameraService->getNumberOfCameras( in SetUp()
90 EXPECT_TRUE(rc.isOk()); in SetUp()
134 status_t rc = NO_ERROR; in waitForPreviewStart() local
139 rc = mPreviewCondition.waitRelative(mPreviewLock, in waitForPreviewStart()
141 if (NO_ERROR != rc) { in waitForPreviewStart()
146 return rc; in waitForPreviewStart()
151 status_t rc = NO_ERROR; in waitForEvent() local
156 rc = condition.waitRelative(mutex, in waitForEvent()
158 if (NO_ERROR != rc) { in waitForEvent()
[all …]
DCameraCharacteristicsPermission.cpp45 ::android::binder::Status rc; in SetUp()
50 rc = mCameraService->getNumberOfCameras( in SetUp()
53 EXPECT_TRUE(rc.isOk()); in SetUp()
67 auto rc = mCameraService->supportsCameraApi(cameraIdStr, in TEST_F() local
69 EXPECT_TRUE(rc.isOk()); in TEST_F()
76 rc = mCameraService->getCameraCharacteristics(cameraIdStr, in TEST_F()
79 ASSERT_TRUE(rc.isOk()); in TEST_F()
/frameworks/av/media/mediaserver/
DAndroid.bp29 name: "mediaserver.zygote64_32.rc",
30 src: "mediaserver.zygote64_32.rc",
35 name: "mediaserver.zygote64.rc",
36 src: "mediaserver.zygote64.rc",
102 "mediaserver.zygote64_32.rc",
103 "mediaserver.zygote64.rc",
105 init_rc: ["mediaserver_dynamic.rc"],
107 init_rc: ["mediaserver.rc"],
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java372 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onStartRadioCapabilityResponse() local
376 && ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId))) { in onStartRadioCapabilityResponse()
378 + " rc=" + rc); in onStartRadioCapabilityResponse()
391 int id = rc.getPhoneId(); in onStartRadioCapabilityResponse()
435 RadioCapability rc = (RadioCapability) ((AsyncResult) msg.obj).result; in onApplyRadioCapabilityResponse() local
436 if ((rc == null) || (rc.getSession() != mRadioCapabilitySessionId)) { in onApplyRadioCapabilityResponse()
438 + " rc=" + rc); in onApplyRadioCapabilityResponse()
441 logd("onApplyRadioCapabilityResponse: rc=" + rc); in onApplyRadioCapabilityResponse()
444 logd("onApplyRadioCapabilityResponse: Error response session=" + rc.getSession()); in onApplyRadioCapabilityResponse()
445 int id = rc.getPhoneId(); in onApplyRadioCapabilityResponse()
[all …]
DRadioModemProxy.java312 public void setRadioCapability(int serial, RadioCapability rc) throws RemoteException { in setRadioCapability() argument
317 halRc.session = rc.getSession(); in setRadioCapability()
318 halRc.phase = rc.getPhase(); in setRadioCapability()
319 halRc.raf = rc.getRadioAccessFamily(); in setRadioCapability()
320 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability()
321 halRc.status = rc.getStatus(); in setRadioCapability()
326 halRc.session = rc.getSession(); in setRadioCapability()
327 halRc.phase = rc.getPhase(); in setRadioCapability()
328 halRc.raf = rc.getRadioAccessFamily(); in setRadioCapability()
329 halRc.logicalModemUuid = RILUtils.convertNullToEmptyString(rc.getLogicalModemUuid()); in setRadioCapability()
[all …]
/frameworks/native/cmds/idlcli/vibrator/
DCommandComposePwle.cpp54 int rc = 0; in getIntFromString() local
59 rc = (int)std::errc::invalid_argument; in getIntFromString()
62 rc = (int)std::errc::result_out_of_range; in getIntFromString()
65 return rc; in getIntFromString()
69 int rc = 0; in getFloatFromString() local
76 return rc; in getFloatFromString()
81 rc = EINVAL; in getFloatFromString()
84 rc = errno; in getFloatFromString()
88 return rc; in getFloatFromString()
/frameworks/av/drm/drmserver/
DAndroid.bp35 name: "drmserver.zygote64_32.rc",
36 src: "drmserver.zygote64_32.rc",
41 name: "drmserver.zygote64.rc",
42 src: "drmserver.zygote64.rc",
105 "drmserver.zygote64_32.rc",
106 "drmserver.zygote64.rc",
108 init_rc: ["drmserver_dynamic.rc"],
110 init_rc: ["drmserver.rc"],
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DAndroid.bp83 init_rc: ["android.hardware.drm-service.clearkey.rc"],
95 init_rc: ["android.hardware.drm-service-lazy.clearkey.rc"],
194 "android.hardware.drm-service.clearkey.apex.rc",
203 name: "android.hardware.drm-service.clearkey.apex.rc",
204 src: ":gen-android.hardware.drm-service.clearkey.apex.rc",
209 name: "gen-android.hardware.drm-service.clearkey.apex.rc",
210 srcs: ["android.hardware.drm-service.clearkey.rc"],
211 out: ["android.hardware.drm-service.clearkey.apex.rc"],
235 "android.hardware.drm-service-lazy.clearkey.apex.rc",
246 name: "android.hardware.drm-service-lazy.clearkey.apex.rc",
[all …]
/frameworks/av/media/module/codecs/amrwb/dec/src/
Dpvamrwbdecoder_basic_op_gcc_armv5.h107 register int32 rc = (int32)n; in mul_32by16() local
119 "r"(rc)); in mul_32by16()
160 register int32 rc = L_var3; in msu_16by16_from_int32() local
168 "r"(rc)); in msu_16by16_from_int32()
179 register int32 rc = L_var3; in mac_16by16_to_int32() local
187 "r"(rc)); in mac_16by16_to_int32()
263 register int32 rc = (int32)L_add; in fxp_mac_16by16() local
270 "r"(rc)); in fxp_mac_16by16()
/frameworks/av/services/audioflinger/afutils/
DAudioWatchdog.cpp57 int rc = clock_gettime(CLOCK_MONOTONIC, &newTs); in threadLoop() local
58 if (rc != 0) { in threadLoop()
103 rc = nanosleep(&req, nullptr /* remaining */); in threadLoop()
104 if (!((rc == 0) || (rc == -1 && errno == EINTR))) { in threadLoop()
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dtrusty.rs128 let rc = unsafe { in on_connect() localVariable
136 if rc < 0 { in on_connect()
137 Err(TipcError::from_uapi(rc.into())) in on_connect()
150 let rc = unsafe { binder_rpc_server_bindgen::ARpcServerTrusty_handleMessage(conn.ctx) }; in on_message() localVariable
151 if rc < 0 { in on_message()
152 Err(TipcError::from_uapi(rc.into())) in on_message()
/frameworks/av/media/module/codecs/amrwb/enc/src/
Dlevinson.c111 … Word16 rc[], /* (o) Q15 : rc[M] Reflection coefficients. */ in Levinson() argument
138 rc[0] = Kh; in Levinson()
185 rc[i - 1] = Kh; in Levinson()
194 rc[0] = old_rc[0]; /* only two rc coefficients are needed */ in Levinson()
195 rc[1] = old_rc[1]; in Levinson()
243 old_rc[0] = rc[0]; in Levinson()
244 old_rc[1] = rc[1]; in Levinson()
/frameworks/minikin/libs/minikin/
DBidiUtils.cpp104 const ssize_t rc = ubidi_countRuns(mBidi.get(), &status); in BidiText() local
105 if (!U_SUCCESS(status) || rc < 0) { in BidiText()
109 if (rc == 0) { in BidiText()
113 if (rc == 1) { in BidiText()
120 mRunCount = rc; in BidiText()
/frameworks/av/apex/
DAndroid.bp58 "com.android.media-mediatranscoding.rc",
59 "com.android.media-mediatranscoding.32rc",
182 "com.android.media.swcodec-mediaswcodec.rc",
183 "com.android.media.swcodec-mediaswcodec.32rc",
211 // so we are ready for day we have more than 1 *rc file within the apex.
214 name: "com.android.media-mediatranscoding.rc",
215 src: "mediatranscoding.rc",
216 filename: "mediatranscoding.rc",
221 name: "com.android.media-mediatranscoding.32rc",
222 src: "mediatranscoding.32rc",
[all …]
/frameworks/av/media/module/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_arm_gcc.h81 register int32 rc = (int32)L_add; in fxp_mac32_Q30() local
90 "r"(rc)); in fxp_mac32_Q30()
194 register int32 rc = (int32)L_add; in fxp_mac32_Q32() local
202 "r"(rc)); in fxp_mac32_Q32()
213 register int32 rc = (int32)L_sub; in fxp_msb32_Q32() local
221 "r"(rc)); in fxp_msb32_Q32()
/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp287 ssize_t rc = writev(framework_fd_.get(), iovs, iovcnt); in SendPacket() local
289 if (rc == -1 && errno != EAGAIN && errno != EWOULDBLOCK) { in SendPacket()
317 int rc = TEMP_FAILURE_RETRY(epoll_wait(epoll_fd_.get(), events, 3, -1)); in Run() local
318 if (rc == -1) { in Run()
320 } else if (rc == 0) { in Run()
325 for (int i = 0; i < rc; ++i) { in Run()
352 int rc = TEMP_FAILURE_RETRY(read(event_fd_.get(), &dummy, sizeof(dummy))); in Run() local
353 if (rc != 8) { in Run()
355 << "adbd_auth: failed to read from eventfd (rc = " << rc << ")"; in Run()
366 … int rc = TEMP_FAILURE_RETRY(read(framework_fd_.get(), buf, sizeof(buf))); in Run() local
[all …]
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dlpc.cpp496 Word16 rc[4]; /* First 4 reflection coefficients Q15 */ in lpc() local
508 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1], rc, pOverflow); in lpc()
515 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow); in lpc()
524 Levinson(st->levinsonSt, rHigh, rLow, &a[MP1 * 3], rc, pOverflow); in lpc()
/frameworks/native/libs/binder/tests/
DbinderRpcTestTrusty.cpp77 int rc = connect(port.c_str(), IPC_CONNECT_WAIT_FOR_PORT); in createRpcTestSocketServerProcessEtc() local
78 LOG_ALWAYS_FATAL_IF(rc < 0, "Failed to connect to service: %d", rc); in createRpcTestSocketServerProcessEtc()
79 return unique_fd(rc); in createRpcTestSocketServerProcessEtc()

123456