Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/obex/javax/obex/
DClientSession.java108 byte[] head = null; in connect()
116 head = ObexHelper.createHeader(header, false); in connect()
117 totalLength += head.length; in connect()
136 if (head != null) { in connect()
137 System.arraycopy(head, 0, requestPacket, 4, head.length); in connect()
175 HeaderSet head; in get() local
177 head = new HeaderSet(); in get()
179 head = header; in get()
180 if (head.nonce != null) { in get()
182 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in get()
[all …]
DServerSession.java303 byte[] head = null; in handleSetPathRequest()
389 head = ObexHelper.createHeader(reply, false); in handleSetPathRequest()
390 totalLength += head.length; in handleSetPathRequest()
394 head = null; in handleSetPathRequest()
405 if (head != null) { in handleSetPathRequest()
406 System.arraycopy(head, 0, replyData, 3, head.length); in handleSetPathRequest()
428 byte[] head = null; in handleDisconnectRequest()
489 head = ObexHelper.createHeader(reply, false); in handleDisconnectRequest()
490 totalLength += head.length; in handleDisconnectRequest()
494 head = null; in handleDisconnectRequest()
[all …]
/frameworks/base/libs/hwui/utils/
DStringUtils.cpp25 const char* head = current; in split() local
27 head = strchr(current, ' '); in split()
28 std::string s(current, head ? head - current : strlen(current)); in split()
32 current = head + 1; in split()
33 } while (head); in split()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLExtensions.cpp45 char const* head = curr; in initWithGLStrings() local
47 head = strchr(curr, ' '); in initWithGLStrings()
48 String8 s(curr, head ? head-curr : strlen(curr)); in initWithGLStrings()
52 curr = head+1; in initWithGLStrings()
53 } while (head); in initWithGLStrings()
/frameworks/native/libs/ui/
DRegion.cpp422 Rect* head; member in android::Region::rasterizer
428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() { in rasterizer()
482 if (tail-head == ssize_t(span.size())) { in flushSpan()
484 Rect const* q = head; in flushSpan()
498 Rect* r = head; in flushSpan()
508 head = tail - span.size(); in flushSpan()
650 Region::const_iterator head = dst.begin(); in boolean_operation() local
654 if (head != tail) { in boolean_operation()
656 head->left != it.rect().fLeft || in boolean_operation()
657 head->top != it.rect().fTop || in boolean_operation()
[all …]
/frameworks/compile/mclinker/unittests/
DGraphTest.cpp58 ListDigraph::Node* head = NULL; in TEST_F() local
59 graph.getHead(head); in TEST_F()
60 ASSERT_TRUE(head == u3); in TEST_F()
79 graph.getHead(head); in TEST_F()
80 ASSERT_TRUE(head == u3); in TEST_F()
105 ListDigraph::Node* head = NULL; in TEST_F() local
106 graph.getHead(head); in TEST_F()
107 ASSERT_TRUE(head == u3); in TEST_F()
126 graph.getHead(head); in TEST_F()
127 ASSERT_TRUE(head == u3); in TEST_F()
[all …]
/frameworks/base/libs/hwui/
DAnimationContext.cpp60 AnimationHandle* head = mNextFrameAnimations.mNextHandle; in startFrame() local
61 if (head) { in startFrame()
63 mCurrentFrameAnimations.mNextHandle = head; in startFrame()
64 head->mPreviousHandle = &mCurrentFrameAnimations; in startFrame()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) { in insertBlock() argument
45 CacheBlock* currBlock = head; in insertBlock()
56 return head; in insertBlock()
76 return head; in insertBlock()
82 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) { in removeBlock() argument
89 CacheBlock* newHead = head; in removeBlock()
DCacheTexture.h60 static CacheBlock* insertBlock(CacheBlock* head, CacheBlock* newBlock);
61 static CacheBlock* removeBlock(CacheBlock* head, CacheBlock* blockToRemove);
/frameworks/base/docs/html/training/auto/testing/
Dindex.jd32 Android Auto head unit, so you can easily run and test Android Auto apps.
80 <img src="{@docRoot}images/training/auto-desktop-head-unit-context-menu-enabled.png"
88 <img src="{@docRoot}images/training/auto-desktop-head-unit-server-running.png"
91 <strong>Figure 2.</strong> Notification that the head unit server is running.
100 setting up a connection to the head unit server over <a href="{@docRoot}tools/help/adb.html">Androi…
108 <li>If the server is not already running, select <strong>Start head unit server</strong>
123 This configuration allows the DHU to connect to the head unit server running on your phone over
128 <li>Start the DHU by running the command <code>desktop-head-unit.exe</code> (on Windows)
129 or <code>./desktop-head-unit</code> (on Mac or Linux) from the
133 $ ./desktop-head-unit</pre>
[all …]
/frameworks/native/services/inputflinger/
DInputDispatcher.h614 T* head; member
618 inline Queue() : head(NULL), tail(NULL), entryCount(0) { in Queue()
622 return !head; in isEmpty()
631 head = entry; in enqueueAtTail()
639 entry->next = head; in enqueueAtHead()
640 if (head) { in enqueueAtHead()
641 head->prev = entry; in enqueueAtHead()
646 head = entry; in enqueueAtHead()
654 head = entry->next; in dequeue()
665 T* entry = head; in dequeueAtHead()
[all …]
/frameworks/native/libs/binder/
DMemoryDealer.cpp57 NODE const* head() const { return mFirst; } in head() function in android::LinkedList
58 NODE* head() { return mFirst; } in head() function in android::LinkedList
292 delete mList.remove(mList.head()); in ~SimpleBestFitAllocator()
325 chunk_t* cur = mList.head(); in alloc()
378 chunk_t* cur = mList.head(); in dealloc()
441 chunk_t const* cur = mList.head(); in dump_l()
/frameworks/rs/
Dupdate_rs_prebuilts.sh153 cp `find $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit 4
158 …cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit…
163 cp `find $obj_static_lib_dir -name $file | head -1` $a || exit 4
/frameworks/native/include/private/ui/
DRegionHelper.h116 inline int next(TYPE& head, TYPE& tail, in next() argument
124 head = lhs_head; in next()
134 head = rhs_head; in next()
144 head = lhs_head; in next()
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DShowDataAction.java75 private void add(StringBuilder builder, String head, Set<String> set) { in add() argument
76 builder.append(head); in add()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp106 bool mix(int32_t *output, int head, int tail, int sampleRate);
236 bool AudioStream::mix(int32_t *output, int head, int tail, int sampleRate) in mix() argument
242 if (head - mBufferHead < 0) { in mix()
243 head = mBufferHead; in mix()
248 if (tail - head <= 0) { in mix()
252 head *= mSampleRate; in mix()
256 for (int i = head; i - tail < 0; ++i) { in mix()
257 output[i - head] += mBuffer[i & mBufferMask]; in mix()
/frameworks/base/core/java/android/view/
DFocusFinder.java663 private void setHeadOfChain(View head) { in setHeadOfChain() argument
664 for (View view = head; view != null; in setHeadOfChain()
668 if (otherHead == head) { in setHeadOfChain()
673 view = head; in setHeadOfChain()
674 head = otherHead; in setHeadOfChain()
676 mHeadsOfChains.put(view, head); in setHeadOfChain()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DCat.java155 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail, in Cat()
354 public Drawable head;
382 head = context.getDrawable(R.drawable.head);
415 head,
/frameworks/base/docs/html/training/app-indexing/
Denabling-app-indexing.jd31 … class="external-link" target="_blank">Sitemap</a> file or in the {@code <head>} element of each w…
73 pages. You can do this in the {@code <head>} section for each web
81 &lt;head&gt;
85 &lt;/head&gt;
/frameworks/native/libs/input/
DInputTransport.cpp882 const InputMessage& head = batch.samples.itemAt(0); in findBatch() local
883 if (head.body.motion.deviceId == deviceId && head.body.motion.source == source) { in findBatch()
955 const InputMessage& head = batch.samples.itemAt(0); in canAddSample() local
957 if (head.body.motion.pointerCount != pointerCount in canAddSample()
958 || head.body.motion.action != msg->body.motion.action) { in canAddSample()
962 if (head.body.motion.pointers[i].properties in canAddSample()
/frameworks/av/services/audioflinger/
DAudioResamplerSinc.cpp336 int16_t* head = impulse + headOffset; in resample() local
338 head[i] = in[inputIndex*CHANNELS + i]; in resample()
393 int16_t* head = impulse + c.halfNumCoefs*CHANNELS; in read() local
395 head[i] = in[inputIndex*CHANNELS + i]; in read()
/frameworks/base/tests/backup/
Dtest_restore.sh69 restore_set=$(a shell bmgr list sets | head -n1 | awk '{print $1}')
/frameworks/base/docs/html/guide/webapps/
Dbest-practices.jd75 <p>In your document {@code <head>}, you should provide meta data that specifies how you
92 <head>}. Instead, provide your CSS and JavaScript directly in the &lt;head&gt; (or
Dtargeting.jd82 {@code <head>}.</p>
103 &lt;head&gt;
106 &lt;/head&gt;
/frameworks/base/tools/apilint/
Dapilint.py216 self.head = "Error %s" % (rule) if rule else "Error"
217 … dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg)
219 self.head = "Warning %s" % (rule) if rule else "Warning"
220 … dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg)

12