Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteArrayRingBufferTest.java54 final byte[] data1 = {0}; in canAddAndRetrieveMultipleElements()
56 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements()
59 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements()
66 final byte[] data1 = {1, 2, 3, 4, 5}; in canFillToCapacityWithMultipleElements()
68 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements()
69 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements()
94 final byte[] data1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in appendPrunesBufferIfNecessary()
95 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary()
106 final byte[] data1 = {1, 2, 3, 4, 5}; in appendPrunesMultipleBuffersIfNecessary()
108 assertTrue(rb.appendBuffer(data1)); in appendPrunesMultipleBuffersIfNecessary()
[all …]
DWifiLoggerTest.java217 final byte[] data1 = new byte[WifiLogger.RING_BUFFER_BYTE_LIMIT_SMALL]; in loggerDiscardsExtraneousData()
219 mWifiLogger.onRingBufferData(mFakeRbs, data1); in loggerDiscardsExtraneousData()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java60 final SparseMappingTable data1 = new SparseMappingTable(); in testParcelingEmpty() local
61 data1.readFromParcel(dataParcel); in testParcelingEmpty()
66 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParcelingEmpty()
94 final SparseMappingTable data1 = new SparseMappingTable(); in testParceling() local
95 data1.readFromParcel(dataParcel); in testParceling()
100 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParceling()
141 final SparseMappingTable data1 = new SparseMappingTable(); in testParcelingWithReset() local
142 data1.readFromParcel(dataParcel); in testParcelingWithReset()
147 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParcelingWithReset()
158 Log.d(TAG, " after: " + data1.dumpInternalState(true)); in testParcelingWithReset()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp29 static void player_handleMediaPlayerEventNotifications(int event, int data1, int data2, void* user) in player_handleMediaPlayerEventNotifications() argument
53 "user=%p) from AVPlayer", u.c[3], u.c[2], u.c[1], u.c[0], event, data1, data2, user); in player_handleMediaPlayerEventNotifications()
70 if (PLAYER_SUCCESS == data1) { in player_handleMediaPlayerEventNotifications()
78 SL_LOGE(ERROR_PLAYER_PREFETCH_d, data1); in player_handleMediaPlayerEventNotifications()
103 data1, data2, mp); in player_handleMediaPlayerEventNotifications()
118 streamInfo.videoInfo.width = (XAuint32)data1; in player_handleMediaPlayerEventNotifications()
186 SL_LOGV("kEventChannelCount channels = %d", data1); in player_handleMediaPlayerEventNotifications()
188 if (UNKNOWN_NUMCHANNELS == mp->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { in player_handleMediaPlayerEventNotifications()
189 mp->mNumChannels = data1; in player_handleMediaPlayerEventNotifications()
210 mp->mPrefetchStatus.mLevel = (SLpermille)data1; in player_handleMediaPlayerEventNotifications()
[all …]
Dandroid_GenericPlayer.h127 virtual void notify(const char* event, int data1, bool async);
128 virtual void notify(const char* event, int data1, int data2, bool async);
DAudioPlayer_to_android.cpp658 static void sfplayer_handlePrefetchEvent(int event, int data1, int data2, void* user) { in sfplayer_handlePrefetchEvent() argument
677 "SfAudioPlayer", u.c[3], u.c[2], u.c[1], u.c[0], event, data1, data2, user); in sfplayer_handlePrefetchEvent()
694 if (PLAYER_SUCCESS == data1) { in sfplayer_handlePrefetchEvent()
702 SL_LOGE(ERROR_PLAYER_PREFETCH_d, data1); in sfplayer_handlePrefetchEvent()
738 ap->mPrefetchStatus.mLevel = (SLpermille)data1; in sfplayer_handlePrefetchEvent()
762 if (data1 >= android::kStatusIntermediate) { in sfplayer_handlePrefetchEvent()
764 } else if (data1 < android::kStatusIntermediate) { in sfplayer_handlePrefetchEvent()
786 if (UNKNOWN_NUMCHANNELS == ap->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { in sfplayer_handlePrefetchEvent()
787 ap->mNumChannels = data1; in sfplayer_handlePrefetchEvent()
804 SLuint32 event = (SLuint32) data1; // SL_PLAYEVENT_HEAD* in sfplayer_handlePrefetchEvent()
[all …]
Dandroid_defs.h99 typedef void (*notif_cbf_t)(int event, int data1, int data2, void* notifUser);
Dandroid_GenericPlayer.cpp298 void GenericPlayer::notify(const char* event, int data1, int data2, bool async) { in notify() argument
299 SL_LOGV("GenericPlayer::notify(event=%s, data1=%d, data2=%d, async=%s)", event, data1, data2, in notify()
302 msg->setRect(event, 0, 0, (int32_t)data1, (int32_t)data2); in notify()
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dpsy_main.c485 Word32 *data0, *data1, tdata; in advancePsychLong() local
533 data1 = psyData->sfbThreshold.sfbLong; in advancePsychLong()
536 *data1++ = min(tdata, clipEnergy); in advancePsychLong()
565 data1 = hPsyConfLong->sfbThresholdQuiet; in advancePsychLong()
568 *data0 = max(*data0, (*data1 >> normEnergyShift)); in advancePsychLong()
569 data0++; data1++; in advancePsychLong()
608 data1 = psyData->sfbEnergy.sfbLong; in advancePsychLong()
611 *data0++ = *data1++; in advancePsychLong()
666 const Word32 *data1; in advancePsychShort() local
715 data1 = psyData->sfbEnergy.sfbShort[w]; in advancePsychShort()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp102 return mEventQueue.front().data1; in getComment()
117 return mEventQueue.front().data1; in getText()
125 return mEventQueue.front().data1; in getNamespacePrefix()
160 return mEventQueue.front().data1; in getElementNamespace()
225 splitName(name, data.data1, data.data2); in startElementHandler()
258 splitName(name, data.data1, data.data2); in endElementHandler()
DXmlPullParser.h158 std::u16string data1; member
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp181 Word16 data1; in first_filter_stage() local
184 data1 = data[1]; in first_filter_stage()
195 temp3 = mult(COEFF5_2, data1, pOverflow); in first_filter_stage()
201 temp2 = add(data1, temp2, pOverflow); in first_filter_stage()
213 data1 = mult(COEFF5_2, temp3, pOverflow); in first_filter_stage()
215 data1 = sub(temp2, data1, pOverflow); in first_filter_stage()
217 temp2 = mult(COEFF5_2, data1, pOverflow); in first_filter_stage()
225 data[1] = data1; in first_filter_stage()
/frameworks/av/media/libstagefright/
DACodec.cpp155 msg->setInt32("data1", omx_msg.u.event_data.data1); in onMessages()
234 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
333 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
349 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
377 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
396 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
412 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
434 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
449 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2);
5478 int32_t event, data1, data2; in onOMXMessage() local
[all …]
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp306 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
319 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
339 && msg.u.event_data.data1 == OMX_CommandFlush in testStateTransitions()
365 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
410 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp90 OMX_U32 data1, OMX_U32 data2, OMX_PTR data) { in notify() argument
95 data1, in notify()
DOMX.cpp682 msg.u.event_data.data1 = nData1; in OnEvent()
/frameworks/av/media/libstagefright/include/
DSoftOMXComponent.h50 OMX_U32 data1, OMX_U32 data2, OMX_PTR data);
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java578 static PAC fromBytes(byte data1, byte data2) { in fromBytes() argument
580 int row = rowTable[data1 & 0x07] + ((data2 & 0x20) >> 5); in fromBytes()
1044 CCData(byte type, byte data1, byte data2) { in CCData() argument
1046 mData1 = data1; in CCData()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java223 final Icon data1 = Icon.createWithData(pngdata, 0, pngdata.length); in testParcel() local
224 imgs.add(data1); in testParcel()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp37 CCData(uint8_t type, uint8_t data1, uint8_t data2) in CCData()
38 : mType(type), mData1(data1), mData2(data2) { in CCData()
/frameworks/av/include/media/
DIOMX.h219 OMX_U32 data1; member
/frameworks/base/docs/html/training/articles/
Dsmp.jd1426 int data1, data2;
1430 data1 = 1;
1437 int l1 = data1; // okay
1443 int l1 = data1; // wrong
1448 update to <code>vol1</code>, then it can’t know if <code>data1</code> or
1450 <code>vol1</code>, it knows that the change to <code>data1</code> is also
1459 You’d have to know that <code>vol2</code> was set after <code>data1/data2</code>
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontacts-provider.jd392 "data1"이고, 이는 열의 일반 이름과 같습니다.
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontacts-provider.jd391 {@link android.provider.ContactsContract.CommonDataKinds.Email#ADDRESS}的實際值是「data1」。此值與欄的一般名稱相同。
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontacts-provider.jd390 {@link android.provider.ContactsContract.CommonDataKinds.Email#ADDRESS} の実際の値は「data1」で、これはこの列の汎用名と同…

12