Home
last modified time | relevance | path

Searched refs:data2 (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteArrayRingBufferTest.java55 final byte[] data2 = {1}; in canAddAndRetrieveMultipleElements()
57 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements()
60 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements()
67 final byte[] data2 = {6, 7, 8, 9, 10}; in canFillToCapacityWithMultipleElements()
68 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements()
70 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements()
97 final byte[] data2 = {11}; in appendPrunesBufferIfNecessary()
98 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary()
100 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary()
107 final byte[] data2 = {6, 7, 8, 9, 10}; in appendPrunesMultipleBuffersIfNecessary()
[all …]
DWifiLoggerTest.java218 final byte[] data2 = {1, 2, 3}; in loggerDiscardsExtraneousData()
220 mWifiLogger.onRingBufferData(mFakeRbs, data2); in loggerDiscardsExtraneousData()
225 assertArrayEquals(data2, ringBufferData[0]); in loggerDiscardsExtraneousData()
/frameworks/native/libs/binder/tests/
DbinderLibTest.cpp770 Parcel data2, reply2; in onTransact() local
777 binder->transact(BINDER_LIB_TEST_CALL_BACK, data2, &reply2); in onTransact()
797 BinderLibTestBundle data2(&data); in onTransact() local
798 if (!data2.isValid()) { in onTransact()
802 binder->transact(indirect_code, data2, &reply2); in onTransact()
820 Parcel data2, reply2; in onTransact() local
836 data2.writeInt32(ret); in onTransact()
837 callback->transact(BINDER_LIB_TEST_CALL_BACK, data2, &reply2); in onTransact()
867 Parcel data2, reply2; in onTransact() local
877 ret = server->transact(BINDER_LIB_TEST_NOP_TRANSACTION, data2, &reply2); in onTransact()
/frameworks/base/tools/aapt2/xml/
DXmlPullParser.cpp133 return mEventQueue.front().data2; in getNamespaceUri()
168 return mEventQueue.front().data2; in getElementName()
225 splitName(name, data.data1, data.data2); in startElementHandler()
258 splitName(name, data.data1, data.data2); in endElementHandler()
DXmlPullParser.h159 std::u16string data2; member
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java523 static StyleCode fromByte(byte data2) { in fromByte() argument
525 int color = (data2 >> 1) & 0x7; in fromByte()
527 if ((data2 & 0x1) != 0) { in fromByte()
578 static PAC fromBytes(byte data1, byte data2) { in fromBytes() argument
580 int row = rowTable[data1 & 0x07] + ((data2 & 0x20) >> 5); in fromBytes()
582 if ((data2 & 1) != 0) { in fromBytes()
585 if ((data2 & 0x10) != 0) { in fromBytes()
587 int indent = (data2 >> 1) & 0x7; in fromBytes()
591 int color = (data2 >> 1) & 0x7; in fromBytes()
1044 CCData(byte type, byte data1, byte data2) { in CCData() argument
[all …]
/frameworks/av/media/libstagefright/
DACodec.cpp156 msg->setInt32("data2", omx_msg.u.event_data.data2); 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/services/audiopolicy/service/
DAudioPolicyService.cpp944 ParametersData *data2 = (ParametersData *)command2->mParam.get(); in insertCommand_l() local
945 if (data->mIO != data2->mIO) break; in insertCommand_l()
947 data2->mKeyValuePairs.string(), data->mKeyValuePairs.string()); in insertCommand_l()
949 AudioParameter param2 = AudioParameter(data2->mKeyValuePairs); in insertCommand_l()
970 data2->mKeyValuePairs = param2.toString(); in insertCommand_l()
980 VolumeData *data2 = (VolumeData *)command2->mParam.get(); in insertCommand_l() local
981 if (data->mIO != data2->mIO) break; in insertCommand_l()
982 if (data->mStream != data2->mStream) break; in insertCommand_l()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp307 && msg.u.event_data.data2 == OMX_StateIdle, in testStateTransitions()
320 && msg.u.event_data.data2 == OMX_StateExecuting, in testStateTransitions()
340 && msg.u.event_data.data2 == 1, in testStateTransitions()
366 && msg.u.event_data.data2 == OMX_StateIdle, in testStateTransitions()
411 && msg.u.event_data.data2 == OMX_StateLoaded, in testStateTransitions()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java120 ArrayList<ArrayList> data2 = createTestList(5, 2); in testChangeCursorLive() local
121 Cursor c2 = createCursor(mFrom, data2); in testChangeCursorLive()
/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()
103 data1, data2, mp); in player_handleMediaPlayerEventNotifications()
119 streamInfo.videoInfo.height = (XAuint32)data2; in player_handleMediaPlayerEventNotifications()
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()
Dandroid_GenericPlayer.h128 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()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimUtilsTest.java30 byte[] data, data2; in testBasic()
/frameworks/av/media/libstagefright/omx/
DSoftOMXComponent.cpp90 OMX_U32 data1, OMX_U32 data2, OMX_PTR data) { in notify() argument
96 data2, in notify()
DOMX.cpp683 msg.u.event_data.data2 = nData2; in OnEvent()
/frameworks/av/media/libstagefright/include/
DSoftOMXComponent.h50 OMX_U32 data1, OMX_U32 data2, OMX_PTR data);
/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.h220 OMX_U32 data2; member
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java64 byte[] data2 = {6, 5, 10, 2, 5, 3, 1, 10, 10, 10}; in testCdmaSmsAddrParsing()
65 for (int i = 0; i < data2.length; i++) { in testCdmaSmsAddrParsing()
66 assertEquals(addr.origBytes[i], data2[i]); in testCdmaSmsAddrParsing()
75 for (int i = 0; i < data2.length; i++) { in testCdmaSmsAddrParsing()
/frameworks/base/docs/html/training/articles/
Dsmp.jd1426 int data1, data2;
1432 data2 = 3;
1438 int l2 = data2; // wrong
1444 int l2 = data2; // wrong
1449 <code>data2</code> has been set yet. Once it sees the update to
1452 it can’t make any assumptions about <code>data2</code>, because that store was
1459 You’d have to know that <code>vol2</code> was set after <code>data1/data2</code>
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2746 Parcel data2 = Parcel.obtain(); in onTransact() local
2748 procs.get(i).transact(IBinder.SYSPROPS_TRANSACTION, data2, null, 0); in onTransact()
2751 data2.recycle(); in onTransact()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...

12