Home
last modified time | relevance | path

Searched refs:nw (Results 1 – 12 of 12) sorted by relevance

/frameworks/rs/support/jni/
Dandroid_rscompat_usage_io_driver.cpp15 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer() argument
21 int32_t r = ANativeWindow_lock(nw, drv->wndBuffer, NULL); in IoGetBuffer()
33 extern "C" void rscAllocationSetSurface(RsContext rscR, RsAllocation allocR, ANativeWindow *nw) { in rscAllocationSetSurface() argument
47 if (nw != NULL) { in rscAllocationSetSurface()
49 r = ANativeWindow_setBuffersGeometry(nw, alloc->mHal.drvState.lod[0].dimX, in rscAllocationSetSurface()
57 IoGetBuffer(rsc, alloc, nw); in rscAllocationSetSurface()
58 drv->wndSurface = nw; in rscAllocationSetSurface()
65 if (nw) { in rscAllocationSetSurface()
66 nw = NULL; in rscAllocationSetSurface()
85 ANativeWindow *nw = drv->wndSurface; in rscAllocationDestroy() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java72 NeighboringCellInfo nw = new NeighboringCellInfo(p); in testParcel() local
73 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); in testParcel()
74 assertEquals(rssi, nw.getRssi()); in testParcel()
75 assertEquals(0x1234, nw.getLac()); in testParcel()
76 assertEquals(0x5678, nw.getCid()); in testParcel()
77 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nw.getPsc()); in testParcel()
DImsiEncryptionInfoTest.java104 ImsiEncryptionInfo nw = new ImsiEncryptionInfo(p); in testParcel() local
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java54 for (Network nw : info) { in onStartJob()
55 final NetworkCapabilities nc = connMgr.getNetworkCapabilities(nw); in onStartJob()
60 connMgr.reportNetworkConnectivity(nw, true); in onStartJob()
61 connMgr.reportNetworkConnectivity(nw, false); in onStartJob()
DCaptivePortalLoginActivity.java268 for (Network nw : info) { in getNetworkForCaptivePortal()
269 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal()
272 return nw; in getNetworkForCaptivePortal()
/frameworks/rs/driver/
DrsdAllocation.cpp575 ANativeWindow *nw = drv->wndSurface; in rsdAllocationDestroy() local
576 if (nw) { in rsdAllocationDestroy()
581 ANativeWindow_cancelBuffer(nw, drv->wndBuffer, fenceID); in rsdAllocationDestroy()
582 ANativeWindow_release(nw); in rsdAllocationDestroy()
707 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer() argument
711 int r = ANativeWindow_dequeueBuffer(nw, &drv->wndBuffer, &fenceID); in IoGetBuffer()
734 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in rsdAllocationSetSurface() argument
759 if (nw) { in rsdAllocationSetSurface()
760 int32_t r = ANativeWindow_setBuffersGeometry(nw, alloc->mHal.drvState.lod[0].dimX, in rsdAllocationSetSurface()
769 r = ANativeWindow_setUsage(nw, in rsdAllocationSetSurface()
[all …]
DrsdAllocation.h104 android::renderscript::Allocation *alloc, ANativeWindow *nw);
DrsdCore.cpp289 …edef void (*sAllocationSetSurfaceFnPtr) (const Context *rsc, Allocation *alloc, ANativeWindow *nw);
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DModemBatteryStatsReader.java101 for (RawBatteryStats.Network nw: bs.getMultiple(RawBatteryStats.Network.class)) { in createRemainder()
102 appActiveTimeMs += nw.mobileRadioActiveTimeUs / 1000; in createRemainder()
/frameworks/rs/
DrsAllocation.cpp621 ANativeWindow *nw = (ANativeWindow *)sur; in setSurface() local
622 rsc->mHal.funcs.allocation.setSurface(rsc, this, nw); in setSurface()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1576 final int nw = ow * maxSize / longerDimension; in shrinkBitmap() local
1580 ow, oh, nw, nh)); in shrinkBitmap()
1583 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap()
1586 final RectF dst = new RectF(0, 0, nw, nh); in shrinkBitmap()
/frameworks/base/native/graphics/jni/fuzz/corpus/
Dsample_raf.raf1498 …����Voa��Ƽ-�6��!�;~F��V#����g�یZ��?�g�?�����Q�g���0�:�O<נ|��'��4��ӊ�nw|�搠G%�I����kAݐ~����…
2515 ������1�}A�n�������'jǩ��cO5.w&O�A��������:�d�?���o��c���t"��9�ޕ� #8��nw��S�4�o;H�zL���…