Searched refs:nc (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DNeighboringCellInfoTest.java32 NeighboringCellInfo nc;
34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE);
35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType());
36 assertEquals(rssi, nc.getRssi());
37 assertEquals(0xfff, nc.getLac());
38 assertEquals(0xffff, nc.getCid());
39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc());
41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS);
42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType());
43 assertEquals(rssi, nc
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_cavlc.h54 i32 nc,
H A Dh264bsd_macroblock_layer.c518 OMX_INT nc; local
533 nc = (OMX_INT)DetermineNc(pMb, 0, pResidual->totalCoeff);
540 nc,
548 nc,
567 nc = (OMX_INT)DetermineNc(pMb,blockIndex,pResidual->totalCoeff);
576 nc,
584 nc,
596 nc,
604 nc,
662 nc
706 i32 nc; local
[all...]
H A Dh264bsd_cavlc.c371 static u32 DecodeCoeffToken(u32 bits, u32 nc);
388 u32 nc nC, see standard for details
395 u32 DecodeCoeffToken(u32 bits, u32 nc) argument
404 /* standard defines that nc for decoding of chroma dc coefficients is -1,
406 ASSERT(nc <= 16 || nc == (u32)(-1));
408 if (nc < 2)
423 else if (nc < 4)
436 else if (nc < 8)
442 else if (nc <
748 h264bsdDecodeResidualBlockCavlc( strmData_t *pStrmData, i32 *coeffLevel, i32 nc, u32 maxNumCoeff) argument
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkCapabilities.java42 public NetworkCapabilities(NetworkCapabilities nc) { argument
43 if (nc != null) {
44 mNetworkCapabilities = nc.mNetworkCapabilities;
45 mTransportTypes = nc.mTransportTypes;
46 mLinkUpBandwidthKbps = nc.mLinkUpBandwidthKbps;
47 mLinkDownBandwidthKbps = nc.mLinkDownBandwidthKbps;
48 mNetworkSpecifier = nc.mNetworkSpecifier;
237 private void combineNetCapabilities(NetworkCapabilities nc) { argument
238 this.mNetworkCapabilities |= nc.mNetworkCapabilities;
241 private boolean satisfiedByNetCapabilities(NetworkCapabilities nc) { argument
246 equalsNetCapabilities(NetworkCapabilities nc) argument
348 combineTransportTypes(NetworkCapabilities nc) argument
351 satisfiedByTransportTypes(NetworkCapabilities nc) argument
356 equalsTransportTypes(NetworkCapabilities nc) argument
426 combineLinkBandwidths(NetworkCapabilities nc) argument
432 satisfiedByLinkBandwidths(NetworkCapabilities nc) argument
436 equalsLinkBandwidths(NetworkCapabilities nc) argument
477 combineSpecifiers(NetworkCapabilities nc) argument
485 satisfiedBySpecifier(NetworkCapabilities nc) argument
489 equalsSpecifier(NetworkCapabilities nc) argument
501 combineCapabilities(NetworkCapabilities nc) argument
512 satisfiedByNetworkCapabilities(NetworkCapabilities nc) argument
[all...]
H A DNetworkRequest.java54 public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId) { argument
55 if (nc == null) {
59 networkCapabilities = nc;
192 NetworkCapabilities nc = (NetworkCapabilities)in.readParcelable(null);
195 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId);
H A DNetworkAgent.java129 NetworkCapabilities nc, LinkProperties lp, int score) {
130 this(looper, context, logTag, ni, nc, lp, score, null);
134 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
138 if (ni == null || nc == null || lp == null) {
146 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc);
128 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score) argument
133 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
H A DIConnectivityManager.aidl142 in NetworkCapabilities nc, int score, in NetworkMisc misc);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_az.cpp143 int16 nc; local
149 nc = m >> 1;
152 if (nc > 8)
154 Get_isp_pol_16kHz(&isp[0], f1, nc);
155 for (i = 0; i <= nc; i++)
159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1);
160 for (i = 0; i <= nc - 1; i++)
167 Get_isp_pol(&isp[0], f1, nc);
168 Get_isp_pol(&isp[1], f2, nc - 1);
175 for (i = nc
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_az.c48 Word16 nc; local
53 nc = (m >> 1);
54 if(nc > 8)
56 Get_isp_pol_16kHz(&isp[0], f1, nc);
57 for (i = 0; i <= nc; i++)
62 Get_isp_pol(&isp[0], f1, nc);
64 if (nc > 8)
66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1));
67 for (i = 0; i <= nc - 1; i++)
72 Get_isp_pol(&isp[1], f2, (nc
[all...]
/frameworks/av/tools/resampler_tools/
H A Dfir.cpp91 // nc is the number of bits to store the coefficients
92 int nc = 32; local
105 // 2^nz >= 2^(nc/2)
193 nc = 16;
242 printf("const int32_t RESAMPLE_FIR_COEF_BITS = %d;\n", nc);
261 int64_t yi = toint(y, 1ULL<<(nc-1));
262 if (nc > 16) {
284 int64_t yi = toint(y, 1ULL<<(nc-1));
285 if (nc > 16) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode_inline.h23 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) argument
32 if (nc > 32)
35 end = 1 << (32 - nc);
69 nc -= 32;
70 if (nc > 0)
73 end = 1 << (32 - nc);
113 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) argument
115 OSCL_UNUSED_ARG(nc);
227 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) argument
229 OSCL_UNUSED_ARG(nc);
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix3f.java126 float nc = 1.0f - c;
133 mMat[0] = x*x*nc + c;
134 mMat[3] = xy*nc - zs;
135 mMat[6] = zx*nc + ys;
136 mMat[1] = xy*nc + zs;
137 mMat[4] = y*y*nc + c;
138 mMat[7] = yz*nc - xs;
139 mMat[2] = zx*nc - ys;
140 mMat[5] = yz*nc + xs;
141 mMat[8] = z*z*nc
[all...]
H A DMatrix4f.java171 float nc = 1.0f - c;
178 mMat[ 0] = x*x*nc + c;
179 mMat[ 4] = xy*nc - zs;
180 mMat[ 8] = zx*nc + ys;
181 mMat[ 1] = xy*nc + zs;
182 mMat[ 5] = y*y*nc + c;
183 mMat[ 9] = yz*nc - xs;
184 mMat[ 2] = zx*nc - ys;
185 mMat[ 6] = yz*nc + xs;
186 mMat[10] = z*z*nc
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix3f.java129 float nc = 1.0f - c;
136 mMat[0] = x*x*nc + c;
137 mMat[3] = xy*nc - zs;
138 mMat[6] = zx*nc + ys;
139 mMat[1] = xy*nc + zs;
140 mMat[4] = y*y*nc + c;
141 mMat[7] = yz*nc - xs;
142 mMat[2] = zx*nc - ys;
143 mMat[5] = yz*nc + xs;
144 mMat[8] = z*z*nc
[all...]
H A DMatrix4f.java172 float nc = 1.0f - c;
179 mMat[ 0] = x*x*nc + c;
180 mMat[ 4] = xy*nc - zs;
181 mMat[ 8] = zx*nc + ys;
182 mMat[ 1] = xy*nc + zs;
183 mMat[ 5] = y*y*nc + c;
184 mMat[ 9] = yz*nc - xs;
185 mMat[ 2] = zx*nc - ys;
186 mMat[ 6] = yz*nc + xs;
187 mMat[10] = z*z*nc
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp220 const float nc = 1.0f - c; local
227 m[ 0] = x*x*nc + c;
228 m[ 4] = xy*nc - zs;
229 m[ 8] = zx*nc + ys;
230 m[ 1] = xy*nc + zs;
231 m[ 5] = y*y*nc + c;
232 m[ 9] = yz*nc - xs;
233 m[ 2] = zx*nc - ys;
234 m[ 6] = yz*nc + xs;
235 m[10] = z*z*nc
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java87 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
94 networkCapabilities = nc;
152 linkProperties + "} nc{" +
86 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDctController.java500 NetworkCapabilities nc = nr.networkCapabilities;
502 if (nc.getTransportTypes().length > 0 &&
503 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) {
513 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) {
518 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) {
523 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) {
528 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) {
533 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) {
538 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) {
543 if (nc
608 TelephonyNetworkFactory(Looper l, Context c, String TAG, Phone phone, NetworkCapabilities nc) argument
[all...]
/frameworks/base/libs/hwui/
H A DMatrix.cpp330 const float nc = 1.0f - c; local
338 data[kScaleX] = x * x * nc + c;
339 data[kSkewX] = xy * nc - zs;
340 data[8] = zx * nc + ys;
341 data[kSkewY] = xy * nc + zs;
342 data[kScaleY] = y * y * nc + c;
343 data[9] = yz * nc - xs;
344 data[2] = zx * nc - ys;
345 data[6] = yz * nc + xs;
346 data[kScaleZ] = z * z * nc
[all...]
/frameworks/native/include/ui/
H A Dmat4.h314 T nc = 1 - c; local
321 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys;
322 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs;
323 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc
[all...]
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java311 // because we do not preemptively send authorization headers, nc is always 1
312 String nc = "00000001";
314 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce);
332 response += ", qop=" + QOP + ", nc=" + nc + ", cnonce=" + doubleQuote(cnonce);
353 String A1, String A2, String nonce, String QOP, String nc, String cnonce) {
362 return KD(H(A1), nonce + ":" + nc + ":" + cnonce + ":" + QOP + ":" + H(A2));
352 computeDigest( String A1, String A2, String nonce, String QOP, String nc, String cnonce) argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java257 NonConfigurationInstances nc = (NonConfigurationInstances)
259 if (nc != null) {
260 mAllLoaderManagers = nc.loaders;
264 mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
610 NonConfigurationInstances nc = (NonConfigurationInstances)
612 return nc != null ? nc.custom : null;
/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java618 float nc = 1.0f - c;
625 rm[rmOffset + 0] = x*x*nc + c;
626 rm[rmOffset + 4] = xy*nc - zs;
627 rm[rmOffset + 8] = zx*nc + ys;
628 rm[rmOffset + 1] = xy*nc + zs;
629 rm[rmOffset + 5] = y*y*nc + c;
630 rm[rmOffset + 9] = yz*nc - xs;
631 rm[rmOffset + 2] = zx*nc - ys;
632 rm[rmOffset + 6] = yz*nc + xs;
633 rm[rmOffset + 10] = z*z*nc
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSignalClusterView.java82 public void setNetworkController(NetworkControllerImpl nc) { argument
83 if (DEBUG) Log.d(TAG, "NetworkController=" + nc);
84 mNC = nc;

Completed in 538 milliseconds

12