/development/ndk/platforms/android-3/include/netinet/ |
D | in6.h | 33 #define IN6_IS_ADDR_UNSPECIFIED(a) \ argument 34 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 35 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 36 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 37 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == 0)) 39 #define IN6_IS_ADDR_LOOPBACK(a) \ argument 40 ((*(const uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \ 41 (*(const uint32_t *)(const void *)(&(a)->s6_addr[4]) == 0) && \ 42 (*(const uint32_t *)(const void *)(&(a)->s6_addr[8]) == 0) && \ 43 (*(const uint32_t *)(const void *)(&(a)->s6_addr[12]) == ntohl(1))) [all …]
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
D | addrspace.h | 45 #define KSEGX(a) ((_ACAST32_ (a)) & 0xe0000000) argument 46 #define CPHYSADDR(a) ((_ACAST32_(a)) & 0x1fffffff) argument 47 #define XPHYSADDR(a) ((_ACAST64_(a)) & _CONST64_(0x000000ffffffffff)) argument 49 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 50 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 51 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument 52 #define CKSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) argument 54 #define KSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 55 #define KSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 56 #define KSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument [all …]
|
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
D | local.h | 30 atomic_long_t a; member 34 #define local_read(l) atomic_long_read(&(l)->a) 35 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) 36 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) 37 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) 39 #define local_inc(l) atomic_long_inc(&(l)->a) 40 #define local_dec(l) atomic_long_dec(&(l)->a) 41 #define local_cmpxchg(l, o, n) ((long)cmpxchg_local(&((l)->a.counter), (o), (n))) 42 #define local_xchg(l, n) (xchg_local(&((l)->a.counter), (n))) 44 …fine local_add_unless(l, a, u) ({ long c, old; c = local_read(l); while (c != (u) && (old =… argument [all …]
|
D | jazzdma.h | 26 #define VDMA_PAGE(a) ((unsigned int)(a) >> 12) argument 27 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1)) argument
|
D | floppy.h | 30 #define CROSS_64KB(a, s) ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64) argument
|
/development/ndk/platforms/android-3/include/sys/ |
D | time.h | 45 #define timerclear(a) \ argument 46 ((a)->tv_sec = (a)->tv_usec = 0) 48 #define timerisset(a) \ argument 49 ((a)->tv_sec != 0 || (a)->tv_usec != 0) 51 #define timercmp(a, b, op) \ argument 52 ((a)->tv_sec == (b)->tv_sec \ 53 ? (a)->tv_usec op (b)->tv_usec \ 54 : (a)->tv_sec op (b)->tv_sec) 56 #define timeradd(a, b, res) \ argument 58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ [all …]
|
/development/ndk/platforms/android-3/arch-arm/include/asm/arch/ |
D | io.h | 19 #define __io(a) ((void __iomem *)(PCIO_BASE + (a))) argument 20 #define __mem_pci(a) (a) argument 26 #define omap_readb(a) (*(volatile unsigned char *)IO_ADDRESS(a)) argument 27 #define omap_readw(a) (*(volatile unsigned short *)IO_ADDRESS(a)) argument 28 #define omap_readl(a) (*(volatile unsigned int *)IO_ADDRESS(a)) argument 30 #define omap_writeb(v,a) (*(volatile unsigned char *)IO_ADDRESS(a) = (v)) argument 31 #define omap_writew(v,a) (*(volatile unsigned short *)IO_ADDRESS(a) = (v)) argument 32 #define omap_writel(v,a) (*(volatile unsigned int *)IO_ADDRESS(a) = (v)) argument
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
D | a.out.h | 30 #define N_TXTADDR(a) (0x00008000) argument 32 #define N_TRSIZE(a) ((a).a_trsize) argument 33 #define N_DRSIZE(a) ((a).a_drsize) argument 34 #define N_SYMSIZE(a) ((a).a_syms) argument
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
D | a.out.h | 35 #define N_TRSIZE(a) ((a).a_trsize) argument 36 #define N_DRSIZE(a) ((a).a_drsize) argument 37 #define N_SYMSIZE(a) ((a).a_syms) argument
|
D | byteorder.h | 40 struct { __u32 a,b; } s; in ___arch__swab64() member 45 v.s.a = ___arch__swab32(v.s.a); in ___arch__swab64() 47 __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); in ___arch__swab64()
|
/development/ndk/platforms/android-3/include/linux/ |
D | in.h | 169 #define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0) argument 175 #define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000) argument 181 #define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000) argument 186 #define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000) argument 187 #define IN_MULTICAST(a) IN_CLASSD(a) argument 190 #define IN_EXPERIMENTAL(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000) argument 191 #define IN_BADCLASS(a) IN_EXPERIMENTAL((a)) argument 202 #define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) argument
|
D | jiffies.h | 64 #define time_after(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((long… argument 65 #define time_before(a,b) time_after(b,a) argument 66 #define time_after_eq(a,b) (typecheck(unsigned long, a) && typecheck(unsigned long, b) && ((l… argument 67 #define time_before_eq(a,b) time_after_eq(b,a) argument
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | Animation3.java | 57 Animation a = new TranslateAnimation(0.0f, in onItemSelected() local 60 a.setDuration(1000); in onItemSelected() 61 a.setStartOffset(300); in onItemSelected() 62 a.setRepeatMode(Animation.RESTART); in onItemSelected() 63 a.setRepeatCount(Animation.INFINITE); in onItemSelected() 67 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 71 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 75 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 79 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() 83 a.setInterpolator(AnimationUtils.loadInterpolator(this, in onItemSelected() [all …]
|
/development/samples/browseable/BasicSyncAdapter/ |
D | _index.jd | 8 <p>This sample demonstrates how to implement a sync adapter to fetch background 9 data for an app that doesn't require a user-visible account type or two-way 11 …nloads the feed from the <a href="http://android-developers.blogspot.com/">Android Developers Blog… 12 displayed inside a {@link android.widget.ListView}.</p> 14 <a href="{@docRoot}training/sync-adapters/index.html">Transferring Data Using Sync Adapters</a>.</p>
|
/development/samples/SearchableDictionary/res/raw/ |
D | definitions.txt | 1 abbey - n. a monastery ruled by an abbot 11 academy - n. a school for special training 19 account - v. furnish a justifying analysis or explanation 20 accurate - j. conforming exactly or almost exactly to fact or to a standard or performing with tota… 21 accusation - n. an assertion that someone is guilty of a fault or offence 22 accuse - v. blame for, make a claim of wrongdoing or misbehavior against 28 adjacent - j. having a common boundary or edge; abutting; touching 29 administrator - n. someone who manages a government agency or department 39 album - n. a book of blank pages with pockets or envelopes; for organizing photographs or stamp col… 40 alcohol - n. a liquor or brew containing alcohol as the active agent [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | BitmapPixels.java | 53 private static int pack8888(int r, int g, int b, int a) { in pack8888() argument 54 return (r << 0) | ( g << 8) | (b << 16) | (a << 24); in pack8888() 61 private static short pack4444(int r, int g, int b, int a) { in pack4444() argument 62 return (short)((a << 0) | ( b << 4) | (g << 8) | (r << 12)); in pack4444() 65 private static int mul255(int c, int a) { in mul255() argument 66 int prod = c * a + 128; in mul255() 77 int a = Color.alpha(c); in premultiplyColor() local 79 r = mul255(r, a); in premultiplyColor() 80 g = mul255(g, a); in premultiplyColor() 81 b = mul255(b, a); in premultiplyColor() [all …]
|
/development/cmds/monkey/ |
D | README.NETWORK.txt | 3 The Simple Protocol for Automated Network Control was designed to be a 5 into the input system. The idea is that a process will run on a host 14 Setup port forwarding from a local port on your machine to a port on 28 respond to every command with a line starting with OK for commands 29 that executed without a problem, or a line starting with ERROR for 30 commands that had problems being run. For commands that return a 33 on that line. For ERROR values, this could be a message indicating 39 ERROR: monkey not a number 58 Note that sending a full button press requires sending both the down 63 This command injects a MotionEvent into the input system that [all …]
|
/development/ndk/platforms/android-3/include/asm-generic/ |
D | local.h | 22 atomic_long_t a; member 27 #define local_read(l) atomic_long_read(&(l)->a) 28 #define local_set(l,i) atomic_long_set((&(l)->a),(i)) 29 #define local_inc(l) atomic_long_inc(&(l)->a) 30 #define local_dec(l) atomic_long_dec(&(l)->a) 31 #define local_add(i,l) atomic_long_add((i),(&(l)->a)) 32 #define local_sub(i,l) atomic_long_sub((i),(&(l)->a))
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
D | demo.c | 210 int a, longitude, latitude; in createSuperShape() local 217 for (a = 0; a < 3; ++a) in createSuperShape() 218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f; in createSuperShape() 298 int a, color[3]; in createSuperShape() local 299 for (a = 0; a < 3; ++a) in createSuperShape() 301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape() 302 if (color[a] > 255) color[a] = 255; in createSuperShape() 368 int i, a; in createGroundPlane() local 381 for (a = 0; a < 6; ++a) in createGroundPlane() 383 const int xm = x + ((0x1c >> a) & 1); in createGroundPlane() [all …]
|
/development/samples/browseable/AdvancedImmersiveMode/ |
D | _index.jd | 8 <p>Android 4.4 introduces a way for you to provide a more immersive screen 10 navigation bar with a swipe.</p> 12 UI flags related to full-screen apps. The sample also shows how to implement a 13 "sticky" mode, which re-hides the bars a few seconds after the user swipes
|
/development/samples/browseable/StorageClient/ |
D | _index.jd | 10 choose a file via the system's file browser. This intent allows a client 11 application to access a list of document providers on the device, and choose 12 a file from any of them.</p>
|
/development/tools/labpretest/ |
D | README | 3 The labpretest.sh script is designed to emulate a typical automated test lab 4 session. It puts a device into bootloader mode, reboots into bootloader mode, 5 determines device type, erases user cache, flashes a generic userdata image, 7 and reboots, sets up for a monkey run and finally runs a random monkey test. 9 It will detect if it is in a low battery situation and wait for it to charge 12 The goal is to see if a device is ready for deployment to automated lab testing 15 I would connect 8 devices to a host and run this script in 8 separate shell 23 have multiple devices attached use the -d <device_id> parameter to target a 31 sub directory. If you are setting this up with only the script, create a tools 35 Here are the steps to add a new device: [all …]
|
/development/samples/USB/AdbTest/ |
D | README.txt | 1 AdbTest is a sample program that implements a subset of the adb USB protocol. 3 output in a text view and only allows connecting to one device at a time. 4 However the support classes are structured in a way that would allow
|
/development/samples/browseable/ImmersiveMode/ |
D | _index.jd | 8 <p>Android 4.4 introduces a way for you to provide a more immersive screen 10 navigation bar with a swipe.</p> 11 <p>This sample demonstrates how to enable toggling of this feature in a
|