Home
last modified time | relevance | path

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

/frameworks/support/v8/renderscript/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()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.h145 buf.get() ? &mHalPreviewWindow.nw : 0); in setPreviewWindow()
761 mHalPreviewWindow.nw.cancel_buffer = __cancel_buffer; in initHalPreviewWindow()
762 mHalPreviewWindow.nw.lock_buffer = __lock_buffer; in initHalPreviewWindow()
763 mHalPreviewWindow.nw.dequeue_buffer = __dequeue_buffer; in initHalPreviewWindow()
764 mHalPreviewWindow.nw.enqueue_buffer = __enqueue_buffer; in initHalPreviewWindow()
765 mHalPreviewWindow.nw.set_buffer_count = __set_buffer_count; in initHalPreviewWindow()
766 mHalPreviewWindow.nw.set_buffers_geometry = __set_buffers_geometry; in initHalPreviewWindow()
767 mHalPreviewWindow.nw.set_crop = __set_crop; in initHalPreviewWindow()
768 mHalPreviewWindow.nw.set_timestamp = __set_timestamp; in initHalPreviewWindow()
769 mHalPreviewWindow.nw.set_usage = __set_usage; in initHalPreviewWindow()
[all …]
/frameworks/rs/driver/
DrsdAllocation.cpp583 ANativeWindow *nw = drv->wndSurface; in rsdAllocationDestroy() local
584 if (nw) { in rsdAllocationDestroy()
587 int32_t r = nw->cancelBuffer(nw, drv->wndBuffer, -1); in rsdAllocationDestroy()
590 native_window_api_disconnect(nw, NATIVE_WINDOW_API_CPU); in rsdAllocationDestroy()
591 nw->decStrong(nullptr); in rsdAllocationDestroy()
714 static bool IoGetBuffer(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in IoGetBuffer() argument
717 int32_t r = native_window_dequeue_buffer_and_wait(nw, &drv->wndBuffer); in IoGetBuffer()
739 void rsdAllocationSetSurface(const Context *rsc, Allocation *alloc, ANativeWindow *nw) { in rsdAllocationSetSurface() argument
744 if (nw) { in rsdAllocationSetSurface()
745 nw->incStrong(nullptr); in rsdAllocationSetSurface()
[all …]
DrsdAllocation.h106 android::renderscript::Allocation *alloc, ANativeWindow *nw);
DrsdCore.cpp282 …edef void (*sAllocationSetSurfaceFnPtr) (const Context *rsc, Allocation *alloc, ANativeWindow *nw);
/frameworks/base/docs/html/
Dsecurity_at_android_dot_com.txt38 ninKQSW+oL4z28F3T0GHag38WeWyAJ45d7dx4z0GxhTm2b9DclLombY+nw==
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java781 Network nw; in getSummary() local
784 nw = wifiManager.getCurrentNetwork(); in getSummary()
786 nw = null; in getSummary()
788 NetworkCapabilities nc = cm.getNetworkCapabilities(nw); in getSummary()
/frameworks/rs/
DrsAllocation.cpp658 ANativeWindow *nw = (ANativeWindow *)sur; in setSurface() local
659 rsc->mHal.funcs.allocation.setSurface(rsc, this, nw); in setSurface()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1356 final int nw = ow * maxSize / longerDimension; in shrinkBitmap() local
1360 ow, oh, nw, nh)); in shrinkBitmap()
1363 final Bitmap scaledBitmap = Bitmap.createBitmap(nw, nh, Bitmap.Config.ARGB_8888); in shrinkBitmap()
1366 final RectF dst = new RectF(0, 0, nw, nh); in shrinkBitmap()