/frameworks/rs/support/jni/ |
D | android_rscompat_usage_io_driver.cpp | 15 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/ |
D | NeighboringCellInfoTest.java | 72 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()
|
D | ImsiEncryptionInfoTest.java | 104 ImsiEncryptionInfo nw = new ImsiEncryptionInfo(p); in testParcel() local
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | ProvisionObserver.java | 54 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()
|
D | CaptivePortalLoginActivity.java | 269 for (Network nw : info) { in getNetworkForCaptivePortal() 270 final NetworkCapabilities nc = mCm.getNetworkCapabilities(nw); in getNetworkForCaptivePortal() 273 return nw; in getNetworkForCaptivePortal()
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 575 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 …]
|
D | rsdCore.cpp | 289 …edef void (*sAllocationSetSurfaceFnPtr) (const Context *rsc, Allocation *alloc, ANativeWindow *nw);
|
D | rsdAllocation.h | 104 android::renderscript::Allocation *alloc, ANativeWindow *nw);
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | ModemBatteryStatsReader.java | 101 for (RawBatteryStats.Network nw: bs.getMultiple(RawBatteryStats.Network.class)) { in createRemainder() 102 appActiveTimeMs += nw.mobileRadioActiveTimeUs / 1000; in createRemainder()
|
/frameworks/rs/ |
D | rsAllocation.cpp | 621 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/ |
D | ShortcutService.java | 1473 final int nw = ow * maxSize / longerDimension; in shrinkBitmap() local 1477 ow, oh, nw, nh)); in shrinkBitmap() 1480 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap() 1483 final RectF dst = new RectF(0, 0, nw, nh); in shrinkBitmap()
|