Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java32 NeighboringCellInfo nc; in testConstructor() local
34 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testConstructor()
35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testConstructor()
36 assertEquals(rssi, nc.getRssi()); in testConstructor()
37 assertEquals(0xfff, nc.getLac()); in testConstructor()
38 assertEquals(0xffff, nc.getCid()); in testConstructor()
39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); in testConstructor()
41 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testConstructor()
42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testConstructor()
43 assertEquals(rssi, nc.getRssi()); in testConstructor()
[all …]
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java44 public NetworkCapabilities(NetworkCapabilities nc) { in NetworkCapabilities() argument
45 if (nc != null) { in NetworkCapabilities()
46 mNetworkCapabilities = nc.mNetworkCapabilities; in NetworkCapabilities()
47 mTransportTypes = nc.mTransportTypes; in NetworkCapabilities()
48 mLinkUpBandwidthKbps = nc.mLinkUpBandwidthKbps; in NetworkCapabilities()
49 mLinkDownBandwidthKbps = nc.mLinkDownBandwidthKbps; in NetworkCapabilities()
50 mNetworkSpecifier = nc.mNetworkSpecifier; in NetworkCapabilities()
277 private void combineNetCapabilities(NetworkCapabilities nc) { in combineNetCapabilities() argument
278 this.mNetworkCapabilities |= nc.mNetworkCapabilities; in combineNetCapabilities()
281 private boolean satisfiedByNetCapabilities(NetworkCapabilities nc) { in satisfiedByNetCapabilities() argument
[all …]
DNetworkRequest.java52 public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId) { in NetworkRequest() argument
53 if (nc == null) { in NetworkRequest()
57 networkCapabilities = nc; in NetworkRequest()
90 final NetworkCapabilities nc = new NetworkCapabilities(mNetworkCapabilities); in build() local
91 nc.maybeMarkCapabilitiesRestricted(); in build()
92 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE, in build()
208 NetworkCapabilities nc = (NetworkCapabilities)in.readParcelable(null);
211 NetworkRequest result = new NetworkRequest(nc, legacyType, requestId);
DNetworkAgent.java159 NetworkCapabilities nc, LinkProperties lp, int score) { in NetworkAgent() argument
160 this(looper, context, logTag, ni, nc, lp, score, null); in NetworkAgent()
164 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) { in NetworkAgent() argument
168 if (ni == null || nc == null || lp == null) { in NetworkAgent()
176 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc); in NetworkAgent()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Disp_az.c48 Word16 nc; in Isp_Az() local
53 nc = (m >> 1); in Isp_Az()
54 if(nc > 8) in Isp_Az()
56 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
57 for (i = 0; i <= nc; i++) in Isp_Az()
62 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
64 if (nc > 8) in Isp_Az()
66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1)); in Isp_Az()
67 for (i = 0; i <= nc - 1; i++) in Isp_Az()
72 Get_isp_pol(&isp[1], f2, (nc - 1)); in Isp_Az()
[all …]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
Disp_az.cpp143 int16 nc; in Isp_Az() local
149 nc = m >> 1; in Isp_Az()
152 if (nc > 8) in Isp_Az()
154 Get_isp_pol_16kHz(&isp[0], f1, nc); in Isp_Az()
155 for (i = 0; i <= nc; i++) in Isp_Az()
159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1); in Isp_Az()
160 for (i = 0; i <= nc - 1; i++) in Isp_Az()
167 Get_isp_pol(&isp[0], f1, nc); in Isp_Az()
168 Get_isp_pol(&isp[1], f2, nc - 1); in Isp_Az()
175 for (i = nc - 1; i > 1; i--) in Isp_Az()
[all …]
/frameworks/base/rs/java/android/renderscript/
DMatrix3f.java126 float nc = 1.0f - c; in loadRotate() local
133 mMat[0] = x*x*nc + c; in loadRotate()
134 mMat[3] = xy*nc - zs; in loadRotate()
135 mMat[6] = zx*nc + ys; in loadRotate()
136 mMat[1] = xy*nc + zs; in loadRotate()
137 mMat[4] = y*y*nc + c; in loadRotate()
138 mMat[7] = yz*nc - xs; in loadRotate()
139 mMat[2] = zx*nc - ys; in loadRotate()
140 mMat[5] = yz*nc + xs; in loadRotate()
141 mMat[8] = z*z*nc + c; in loadRotate()
DMatrix4f.java171 float nc = 1.0f - c; in loadRotate() local
178 mMat[ 0] = x*x*nc + c; in loadRotate()
179 mMat[ 4] = xy*nc - zs; in loadRotate()
180 mMat[ 8] = zx*nc + ys; in loadRotate()
181 mMat[ 1] = xy*nc + zs; in loadRotate()
182 mMat[ 5] = y*y*nc + c; in loadRotate()
183 mMat[ 9] = yz*nc - xs; in loadRotate()
184 mMat[ 2] = zx*nc - ys; in loadRotate()
185 mMat[ 6] = yz*nc + xs; in loadRotate()
186 mMat[10] = z*z*nc + c; in loadRotate()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DMatrix3f.java129 float nc = 1.0f - c; in loadRotate() local
136 mMat[0] = x*x*nc + c; in loadRotate()
137 mMat[3] = xy*nc - zs; in loadRotate()
138 mMat[6] = zx*nc + ys; in loadRotate()
139 mMat[1] = xy*nc + zs; in loadRotate()
140 mMat[4] = y*y*nc + c; in loadRotate()
141 mMat[7] = yz*nc - xs; in loadRotate()
142 mMat[2] = zx*nc - ys; in loadRotate()
143 mMat[5] = yz*nc + xs; in loadRotate()
144 mMat[8] = z*z*nc + c; in loadRotate()
DMatrix4f.java172 float nc = 1.0f - c; in loadRotate() local
179 mMat[ 0] = x*x*nc + c; in loadRotate()
180 mMat[ 4] = xy*nc - zs; in loadRotate()
181 mMat[ 8] = zx*nc + ys; in loadRotate()
182 mMat[ 1] = xy*nc + zs; in loadRotate()
183 mMat[ 5] = y*y*nc + c; in loadRotate()
184 mMat[ 9] = yz*nc - xs; in loadRotate()
185 mMat[ 2] = zx*nc - ys; in loadRotate()
186 mMat[ 6] = yz*nc + xs; in loadRotate()
187 mMat[10] = z*z*nc + c; in loadRotate()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dvlc_encode_inline.h23 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
32 if (nc > 32) in zero_run_search()
35 end = 1 << (32 - nc); in zero_run_search()
69 nc -= 32; in zero_run_search()
70 if (nc > 0) in zero_run_search()
73 end = 1 << (32 - nc); in zero_run_search()
113 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
115 OSCL_UNUSED_ARG(nc); in zero_run_search()
227 __inline Int zero_run_search(UInt *bitmapzz, Short *dataBlock, RunLevelBlock *RLB, Int nc) in zero_run_search() argument
229 OSCL_UNUSED_ARG(nc); in zero_run_search()
/frameworks/av/tools/resampler_tools/
Dfir.cpp93 int nc = 32; in main() local
198 nc = 16; in main()
248 printf("const int32_t RESAMPLE_FIR_COEF_BITS = %d;\n", nc); in main()
268 int64_t yi = toint(y, 1ULL<<(nc-1)); in main()
269 if (nc > 16) { in main()
294 int64_t yi = toint(y, 1ULL<<(nc-1)); in main()
295 if (nc > 16) { in main()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_cavlc.c371 static u32 DecodeCoeffToken(u32 bits, u32 nc);
395 u32 DecodeCoeffToken(u32 bits, u32 nc) in DecodeCoeffToken() argument
406 ASSERT(nc <= 16 || nc == (u32)(-1)); in DecodeCoeffToken()
408 if (nc < 2) in DecodeCoeffToken()
423 else if (nc < 4) in DecodeCoeffToken()
436 else if (nc < 8) in DecodeCoeffToken()
442 else if (nc <= 16) in DecodeCoeffToken()
751 i32 nc, in h264bsdDecodeResidualBlockCavlc() argument
769 ASSERT(nc > -2); in h264bsdDecodeResidualBlockCavlc()
780 tmp = DecodeCoeffToken(bit, (u32)nc); in h264bsdDecodeResidualBlockCavlc()
Dh264bsd_macroblock_layer.c518 OMX_INT nc; in DecodeResidual() local
533 nc = (OMX_INT)DetermineNc(pMb, 0, pResidual->totalCoeff); in DecodeResidual()
540 nc, in DecodeResidual()
548 nc, in DecodeResidual()
567 nc = (OMX_INT)DetermineNc(pMb,blockIndex,pResidual->totalCoeff); in DecodeResidual()
576 nc, in DecodeResidual()
584 nc, in DecodeResidual()
596 nc, in DecodeResidual()
604 nc, in DecodeResidual()
662 nc = (OMX_INT)DetermineNc(pMb, blockIndex, pResidual->totalCoeff); in DecodeResidual()
[all …]
Dh264bsd_cavlc.h54 i32 nc,
/frameworks/rs/
DrsMatrix4x4.cpp220 const float nc = 1.0f - c; in loadRotate() local
227 m[ 0] = x*x*nc + c; in loadRotate()
228 m[ 4] = xy*nc - zs; in loadRotate()
229 m[ 8] = zx*nc + ys; in loadRotate()
230 m[ 1] = xy*nc + zs; in loadRotate()
231 m[ 5] = y*y*nc + c; in loadRotate()
232 m[ 9] = yz*nc - xs; in loadRotate()
233 m[ 2] = zx*nc - ys; in loadRotate()
234 m[ 6] = yz*nc + xs; in loadRotate()
235 m[10] = z*z*nc + c; in loadRotate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDctController.java552 NetworkCapabilities nc = nr.networkCapabilities; in apnForNetworkRequest() local
554 if (nc.getTransportTypes().length > 0 && in apnForNetworkRequest()
555 nc.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) == false) { in apnForNetworkRequest()
565 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in apnForNetworkRequest()
570 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_MMS)) { in apnForNetworkRequest()
575 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_SUPL)) { in apnForNetworkRequest()
580 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_DUN)) { in apnForNetworkRequest()
585 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_FOTA)) { in apnForNetworkRequest()
590 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_IMS)) { in apnForNetworkRequest()
595 if (nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_CBS)) { in apnForNetworkRequest()
[all …]
/frameworks/native/include/ui/
Dmat4.h314 T nc = 1 - c; in rotate() local
321 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys; in rotate()
322 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; in rotate()
323 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; in rotate()
/frameworks/base/libs/hwui/
DMatrix.cpp357 const float nc = 1.0f - c; in loadRotate() local
365 data[kScaleX] = x * x * nc + c; in loadRotate()
366 data[kSkewX] = xy * nc - zs; in loadRotate()
367 data[8] = zx * nc + ys; in loadRotate()
368 data[kSkewY] = xy * nc + zs; in loadRotate()
369 data[kScaleY] = y * y * nc + c; in loadRotate()
370 data[9] = yz * nc - xs; in loadRotate()
371 data[2] = zx * nc - ys; in loadRotate()
372 data[6] = yz * nc + xs; in loadRotate()
373 data[kScaleZ] = z * z * nc + c; in loadRotate()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java618 float nc = 1.0f - c; in setRotateM() local
625 rm[rmOffset + 0] = x*x*nc + c; in setRotateM()
626 rm[rmOffset + 4] = xy*nc - zs; in setRotateM()
627 rm[rmOffset + 8] = zx*nc + ys; in setRotateM()
628 rm[rmOffset + 1] = xy*nc + zs; in setRotateM()
629 rm[rmOffset + 5] = y*y*nc + c; in setRotateM()
630 rm[rmOffset + 9] = yz*nc - xs; in setRotateM()
631 rm[rmOffset + 2] = zx*nc - ys; in setRotateM()
632 rm[rmOffset + 6] = yz*nc + xs; in setRotateM()
633 rm[rmOffset + 10] = z*z*nc + c; in setRotateM()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentActivity.java244 NonConfigurationInstances nc = in onCreate() local
246 if (nc != null) { in onCreate()
247 mFragments.restoreLoaderNonConfig(nc.loaders); in onCreate()
251 mFragments.restoreAllState(p, nc != null ? nc.fragments : null); in onCreate()
552 NonConfigurationInstances nc = (NonConfigurationInstances) in getLastCustomNonConfigurationInstance() local
554 return nc != null ? nc.custom : null; in getLastCustomNonConfigurationInstance()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java167 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, in NetworkAgentInfo() argument
174 networkCapabilities = nc; in NetworkAgentInfo()
/frameworks/native/opengl/libagl/
Dmatrix.cpp366 const GLfloat nc = 1.0f - c; in rotate() local
373 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys; in rotate()
374 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs; in rotate()
375 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc + c; in rotate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DSignalClusterView.java134 public void setNetworkController(NetworkControllerImpl nc) { in setNetworkController() argument
135 if (DEBUG) Log.d(TAG, "NetworkController=" + nc); in setNetworkController()
136 mNC = nc; in setNetworkController()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java800 NetworkCapabilities nc = cm.getNetworkCapabilities(nw); in getSummary() local
801 if (nc != null && !nc.hasCapability(nc.NET_CAPABILITY_VALIDATED)) { in getSummary()

12