Searched defs:nc (Results 1 - 25 of 27) sorted by relevance

12

/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/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...]
H A Dvlc_encode.cpp1795 Int *zz, nc, zzorder; local
1851 nc = ncoefblck[i];
1852 for (j = intra, zz += intra; j < nc; j++, zz++)
1907 nc = ncoefblck[i];
1909 idx = zero_run_search(bitmapzz, dataBlock, RLB, nc);
/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.cpp92 // nc is the number of bits to store the coefficients
93 int nc = 32; local
107 // 2^nz >= 2^(nc/2)
198 nc = 16;
248 printf("const int32_t RESAMPLE_FIR_COEF_BITS = %d;\n", nc);
268 int64_t yi = toint(y, 1ULL<<(nc-1));
269 if (nc > 16) {
294 int64_t yi = toint(y, 1ULL<<(nc-1));
295 if (nc > 16) {
/frameworks/base/core/java/android/net/
H A DNetworkRequest.java114 public NetworkRequest(NetworkCapabilities nc, int legacyType, int rId, Type type) { argument
115 if (nc == null) {
119 networkCapabilities = nc;
160 final NetworkCapabilities nc = new NetworkCapabilities(mNetworkCapabilities);
161 nc.maybeMarkCapabilitiesRestricted();
162 return new NetworkRequest(nc, ConnectivityManager.TYPE_NONE,
196 * @param nc The superseding {@code NetworkCapabilities} instance.
200 public Builder setCapabilities(NetworkCapabilities nc) { argument
201 mNetworkCapabilities.set(nc);
361 NetworkCapabilities nc
[all...]
H A DNetworkAgent.java195 NetworkCapabilities nc, LinkProperties lp, int score) {
196 this(looper, context, logTag, ni, nc, lp, score, null);
200 NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) {
204 if (ni == null || nc == null || lp == null) {
212 new LinkProperties(lp), new NetworkCapabilities(nc), score, misc);
194 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score) argument
199 NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
H A DNetworkCapabilities.java64 public NetworkCapabilities(NetworkCapabilities nc) { argument
65 if (nc != null) {
66 set(nc);
89 public void set(NetworkCapabilities nc) { argument
90 mNetworkCapabilities = nc.mNetworkCapabilities;
91 mTransportTypes = nc.mTransportTypes;
92 mLinkUpBandwidthKbps = nc.mLinkUpBandwidthKbps;
93 mLinkDownBandwidthKbps = nc.mLinkDownBandwidthKbps;
94 mNetworkSpecifier = nc.mNetworkSpecifier;
95 mSignalStrength = nc
493 combineNetCapabilities(NetworkCapabilities nc) argument
517 satisfiedByNetCapabilities(NetworkCapabilities nc, boolean onlyImmutable) argument
531 equalsNetCapabilities(NetworkCapabilities nc) argument
728 combineTransportTypes(NetworkCapabilities nc) argument
732 satisfiedByTransportTypes(NetworkCapabilities nc) argument
738 equalsTransportTypes(NetworkCapabilities nc) argument
839 combineLinkBandwidths(NetworkCapabilities nc) argument
845 satisfiedByLinkBandwidths(NetworkCapabilities nc) argument
849 equalsLinkBandwidths(NetworkCapabilities nc) argument
904 combineSpecifiers(NetworkCapabilities nc) argument
911 satisfiedBySpecifier(NetworkCapabilities nc) argument
916 equalsSpecifier(NetworkCapabilities nc) argument
971 combineSignalStrength(NetworkCapabilities nc) argument
975 satisfiedBySignalStrength(NetworkCapabilities nc) argument
979 equalsSignalStrength(NetworkCapabilities nc) argument
1083 equalsUids(NetworkCapabilities nc) argument
1116 satisfiedByUids(NetworkCapabilities nc) argument
1151 combineUids(NetworkCapabilities nc) argument
1189 equalsSSID(NetworkCapabilities nc) argument
1197 satisfiedBySSID(NetworkCapabilities nc) argument
1208 combineSSIDs(NetworkCapabilities nc) argument
1219 combineCapabilities(NetworkCapabilities nc) argument
1238 satisfiedByNetworkCapabilities(NetworkCapabilities nc, boolean onlyImmutable) argument
1256 satisfiedByNetworkCapabilities(NetworkCapabilities nc) argument
1267 satisfiedByImmutableNetworkCapabilities(NetworkCapabilities nc) argument
1317 equalRequestableCapabilities(NetworkCapabilities nc) argument
[all...]
H A DConnectivityManager.java1603 final NetworkCapabilities nc = new NetworkCapabilities();
1609 nc.addTransportType(transport);
1612 nc.addCapability(sLegacyTypeToCapability.get(
1614 nc.maybeMarkCapabilitiesRestricted();
1615 return nc;
2717 NetworkCapabilities nc, int score, NetworkMisc misc) {
2719 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, misc);
3073 NetworkCapabilities nc = request.networkCapabilities;
3074 sendRequestForNetwork(nc, networkCallback, timeoutMs, REQUEST, legacyType, cbHandler);
3358 NetworkCapabilities nc
2716 registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, NetworkCapabilities nc, int score, NetworkMisc misc) argument
[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/libs/hwui/
H A DMatrix.cpp356 const float nc = 1.0f - c; local
364 data[kScaleX] = x * x * nc + c;
365 data[kSkewX] = xy * nc - zs;
366 data[8] = zx * nc + ys;
367 data[kSkewY] = xy * nc + zs;
368 data[kScaleY] = y * y * nc + c;
369 data[9] = yz * nc - xs;
370 data[2] = zx * nc - ys;
371 data[6] = yz * nc + xs;
372 data[kScaleZ] = z * z * nc
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMultipathPolicyTracker.java198 public MultipathTracker(Network network, NetworkCapabilities nc) { argument
200 this.mNetworkCapabilities = new NetworkCapabilities(nc);
203 ((StringNetworkSpecifier) nc.getNetworkSpecifier()).toString());
207 network, nc, e.getMessage()));
237 public void setNetworkCapabilities(NetworkCapabilities nc) { argument
238 mNetworkCapabilities = new NetworkCapabilities(nc);
264 private NetworkIdentity getTemplateMatchingNetworkIdentity(NetworkCapabilities nc) { argument
270 !nc.hasCapability(NET_CAPABILITY_NOT_ROAMING),
271 !nc.hasCapability(NET_CAPABILITY_NOT_METERED),
454 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
[all...]
H A DNetworkAgentInfo.java249 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
256 networkCapabilities = nc;
602 "nc{" + networkCapabilities + "} Score{" + getCurrentScore() + "} " +
248 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument
H A DNetworkMonitor.java247 NetworkCapabilities dfltNetCap, NetworkCapabilities nc) {
249 return dfltNetCap.satisfiedByNetworkCapabilities(nc);
246 isValidationRequired( NetworkCapabilities dfltNetCap, NetworkCapabilities nc) argument
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
H A DUpstreamNetworkMonitor.java472 NetworkCapabilities nc;
474 nc = ConnectivityManager.networkCapabilitiesForType(type);
480 nc.setSingleUid(Process.myUid());
483 if (!nc.satisfiedByNetworkCapabilities(value.networkCapabilities)) {
508 private static String getSignalStrength(NetworkCapabilities nc) { argument
509 if (nc == null || !nc.hasSignalStrength()) return "unknown";
510 return Integer.toString(nc.getSignalStrength());
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
H A DUpstreamNetworkMonitorTest.java431 final NetworkCapabilities nc = ConnectivityManager.networkCapabilitiesForType(legacyType);
432 assertTrue(nc.satisfiedByNetworkCapabilities(ns.networkCapabilities));
617 static NetworkCapabilities copy(NetworkCapabilities nc) { argument
618 return new NetworkCapabilities(nc);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneSwitcher.java218 NetworkCapabilities nc, PhoneSwitcher ps) {
219 super(l, c, "PhoneSwitcherNetworkRequstListener", nc);
217 PhoneSwitcherNetworkRequestListener(Looper l, Context c, NetworkCapabilities nc, PhoneSwitcher ps) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiTracker.java784 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { argument
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h510 T nc = 1 - c; local
517 r[0][0] = x*x*nc + c; r[1][0] = xy*nc - zs; r[2][0] = zx*nc + ys;
518 r[0][1] = xy*nc + zs; r[1][1] = y*y*nc + c; r[2][1] = yz*nc - xs;
519 r[0][2] = zx*nc - ys; r[1][2] = yz*nc + xs; r[2][2] = z*z*nc
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp365 const GLfloat nc = 1.0f - c; local
372 r[ 0] = x*x*nc + c; r[ 4] = xy*nc - zs; r[ 8] = zx*nc + ys;
373 r[ 1] = xy*nc + zs; r[ 5] = y*y*nc + c; r[ 9] = yz*nc - xs;
374 r[ 2] = zx*nc - ys; r[ 6] = yz*nc + xs; r[10] = z*z*nc
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareDataPathStateManager.java870 NetworkCapabilities nc, LinkProperties lp, int score,
872 super(looper, context, logTag, ni, nc, lp, score);
1051 NetworkCapabilities nc = new NetworkCapabilities(sNetworkCapabilitiesFilter);
1052 nc.setNetworkSpecifier(new WifiAwareAgentNetworkSpecifier(equivalentSpecifiers.toArray(
1054 return nc;
869 WifiAwareNetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, AwareNetworkRequestInformation anri) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java1315 NetworkCapabilities nc = getNetworkCapabilities();
1316 if (VDBG) log("REQ_GET_NETWORK_CAPABILITIES networkCapabilities" + nc);
1317 mAc.replyToMessage(msg, DcAsyncChannel.RSP_GET_NETWORK_CAPABILITIES, nc);
1844 NetworkCapabilities nc = getNetworkCapabilities();
1846 nc.setLinkDownstreamBandwidthKbps(lce.downlinkCapacityKbps);
1848 mNetworkAgent.sendNetworkCapabilities(nc);
1967 NetworkCapabilities nc = getNetworkCapabilities();
1969 nc.setLinkDownstreamBandwidthKbps(lce.downlinkCapacityKbps);
1972 nc.setLinkUpstreamBandwidthKbps(lce.uplinkCapacityKbps);
1975 mNetworkAgent.sendNetworkCapabilities(nc);
2112 DcNetworkAgent(Looper l, Context c, String TAG, NetworkInfo ni, NetworkCapabilities nc, LinkProperties lp, int score, NetworkMisc misc) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1444 sp<IMediaPlayerClient> nc; local
1447 nc = nextClient->mClient;
1449 if (nc != NULL) {
1451 nc->notify(MEDIA_INFO, MEDIA_INFO_STARTED_AS_NEXT, 0, obj);
1453 nc->notify(MEDIA_ERROR, MEDIA_ERROR_UNKNOWN , 0, obj);
/frameworks/base/tests/net/java/com/android/server/
H A DConnectivityServiceTest.java484 public void setNetworkCapabilities(NetworkCapabilities nc, argument
486 mNetworkCapabilities.set(nc);
1629 NetworkCapabilities nc = (NetworkCapabilities) cbi.arg;
1630 assertTrue(nc.hasCapability(capability));
1631 return nc;
1641 NetworkCapabilities nc = (NetworkCapabilities) cbi.arg;
1642 assertFalse(nc.hasCapability(capability));
1643 return nc;
2127 final NetworkCapabilities nc = new NetworkRequest.Builder().addCapability(capability)
2133 assertFalse(nc
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1323 NetworkCapabilities nc = getNetworkCapabilitiesInternal(nai);
1324 if (nc != null) {
1325 result.put(nai.network, nc);
1336 nc = getNetworkCapabilitiesInternal(nai);
1337 if (nc != null) {
1338 result.put(network, nc);
1421 NetworkCapabilities nc, int callerPid, int callerUid) {
1422 final NetworkCapabilities newNc = new NetworkCapabilities(nc);
1430 private void restrictRequestUidsForCaller(NetworkCapabilities nc) { argument
1432 nc
1420 networkCapabilitiesRestrictedForCallerPermissions( NetworkCapabilities nc, int callerPid, int callerUid) argument
1436 restrictBackgroundRequestForCaller(NetworkCapabilities nc) argument
4290 ensureSufficientPermissionsForRequest(NetworkCapabilities nc, int callerPid, int callerUid) argument
4332 ensureValidNetworkSpecifier(NetworkCapabilities nc) argument
4476 hasWifiNetworkListenPermission(NetworkCapabilities nc) argument
4853 getNetworkPermission(NetworkCapabilities nc) argument
4869 mixInCapabilities(NetworkAgentInfo nai, NetworkCapabilities nc) argument
4929 updateCapabilities(int oldScore, NetworkAgentInfo nai, NetworkCapabilities nc) argument
[all...]

Completed in 366 milliseconds

12