/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 54 final byte[] data2 = {1}; in canAddAndRetrieveMultipleElements() 56 assertTrue(rb.appendBuffer(data2)); in canAddAndRetrieveMultipleElements() 59 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements() 66 final byte[] data2 = {6, 7, 8, 9, 10}; in canFillToCapacityWithMultipleElements() 67 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements() 69 assertTrue(rb.appendBuffer(data2)); in canFillToCapacityWithMultipleElements() 96 final byte[] data2 = {11}; in appendPrunesBufferIfNecessary() 97 assertTrue(rb.appendBuffer(data2)); in appendPrunesBufferIfNecessary() 99 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary() 106 final byte[] data2 = {6, 7, 8, 9, 10}; in appendPrunesMultipleBuffersIfNecessary() [all …]
|
/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 56 const auto& data2 = idmap2->GetData()[0]; in TEST() local 58 ASSERT_EQ(data1->GetHeader()->GetTargetPackageId(), data2->GetHeader()->GetTargetPackageId()); in TEST() 60 ASSERT_EQ(data1->GetTypeEntries().size(), data2->GetTypeEntries().size()); in TEST() 61 ASSERT_EQ(data1->GetTypeEntries()[0]->GetEntry(0), data2->GetTypeEntries()[0]->GetEntry(0)); in TEST() 62 ASSERT_EQ(data1->GetTypeEntries()[0]->GetEntry(1), data2->GetTypeEntries()[0]->GetEntry(1)); in TEST() 63 ASSERT_EQ(data1->GetTypeEntries()[0]->GetEntry(2), data2->GetTypeEntries()[0]->GetEntry(2)); in TEST() 64 ASSERT_EQ(data1->GetTypeEntries()[1]->GetEntry(0), data2->GetTypeEntries()[1]->GetEntry(0)); in TEST() 65 ASSERT_EQ(data1->GetTypeEntries()[1]->GetEntry(1), data2->GetTypeEntries()[1]->GetEntry(1)); in TEST() 66 ASSERT_EQ(data1->GetTypeEntries()[1]->GetEntry(2), data2->GetTypeEntries()[1]->GetEntry(2)); in TEST()
|
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 107 string data2 = "Swap: abc "; in TEST() local 108 EXPECT_FALSE(stripPrefix(&data2, "Total:")); in TEST() 109 EXPECT_THAT(data2, StrEq("Swap: abc ")); in TEST() 125 string data2 = " 243%abc"; in TEST() local 126 EXPECT_FALSE(stripSuffix(&data2, "Not right")); in TEST() 127 EXPECT_THAT(data2, StrEq(" 243%abc")); in TEST()
|
/frameworks/av/media/mtp/ |
D | MtpFfsCompatHandle.cpp | 168 unsigned char *data2 = mIobuf[1].bufs.data(); in receiveFile() local 231 std::swap(data, data2); in receiveFile() 259 unsigned char *data2 = mIobuf[1].bufs.data(); in sendFile() local 305 std::swap(data, data2); in sendFile() 323 if (writeHandle(mBulkIn, data2, ret) == -1) { in sendFile()
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 911 Parcel data, data2; in TEST_F() local 920 data2.writeStrongBinder(callBack2); in TEST_F() 921 data2.writeInt32(0); // delay in us in TEST_F() 928 ret = pollServer->transact(BINDER_LIB_TEST_DELAYED_CALL_BACK, data2, nullptr, TF_ONE_WAY); in TEST_F() 1056 Parcel data2, reply2; in TEST_F() local 1058 data2.writeInterfaceToken(binderLibTestServiceName); in TEST_F() 1059 ret2 = m_server->transact(BINDER_LIB_TEST_GET_WORK_SOURCE_TRANSACTION, data2, &reply2); in TEST_F() 1190 Parcel data2; in onTransact() local 1191 data2.writeInt32(UNKNOWN_ERROR); in onTransact() 1193 callback->transact(BINDER_LIB_TEST_CALL_BACK, data2, nullptr, TF_ONE_WAY); in onTransact() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 61 Intent data2 = new Intent("action2"); in resultInfoList() local 62 ResultInfo resultInfo2 = new ResultInfo(resultWho2, requestCode2, resultCode2, data2); in resultInfoList()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 523 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/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 142 return event_queue_.front().data2; in namespace_uri() 177 return event_queue_.front().data2; in element_name() 233 SplitName(name, &data.data1, &data.data2); in StartElementHandler() 265 SplitName(name, &data.data1, &data.data2); in EndElementHandler()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 196 msg->setInt32("data2", omx_msg.u.event_data.data2); in onMessages() 275 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 382 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 398 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 426 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 445 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 461 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 483 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 498 virtual bool onOMXEvent(OMX_EVENTTYPE event, OMX_U32 data1, OMX_U32 data2); 5786 int32_t event, data1, data2; in onOMXMessage() local [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 197 t->data.eventData.data2 = l.u.event_data.data2; in wrapAs() 243 l->u.event_data.data2 = t.data.eventData.data2; in wrapAs()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 343 && msg.u.event_data.data2 == OMX_StateIdle, in testStateTransitions() 356 && msg.u.event_data.data2 == OMX_StateExecuting, in testStateTransitions() 376 && msg.u.event_data.data2 == 1, in testStateTransitions() 402 && msg.u.event_data.data2 == OMX_StateIdle, in testStateTransitions() 447 && msg.u.event_data.data2 == OMX_StateLoaded, in testStateTransitions()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 121 ArrayList<ArrayList> data2 = createTestList(5, 2); in testChangeCursorLive() local 122 Cursor c2 = createCursor(mFrom, data2); in testChangeCursorLive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimUtilsTest.java | 30 byte[] data, data2; in testBasic()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 502 string data2 = file2b.SerializeAsString() + file2a.SerializeAsString(); in TEST() local 507 db.Add(data2.data(), data2.size()); in TEST()
|
/frameworks/wilhelm/src/android/ |
D | MediaPlayer_to_android.cpp | 29 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()
|
D | android_defs.h | 101 typedef void (*notif_cbf_t)(int event, int data1, int data2, void* notifUser);
|
D | android_GenericPlayer.cpp | 298 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()
|
D | android_GenericPlayer.h | 128 virtual void notify(const char* event, int data1, int data2, bool async);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1552 ParametersData *data2 = (ParametersData *)command2->mParam.get(); in insertCommand_l() local 1553 if (data->mIO != data2->mIO) break; in insertCommand_l() 1555 data2->mKeyValuePairs.string(), data->mKeyValuePairs.string()); in insertCommand_l() 1557 AudioParameter param2 = AudioParameter(data2->mKeyValuePairs); in insertCommand_l() 1578 data2->mKeyValuePairs = param2.toString(); in insertCommand_l() 1588 VolumeData *data2 = (VolumeData *)command2->mParam.get(); in insertCommand_l() local 1589 if (data->mIO != data2->mIO) break; in insertCommand_l() 1590 if (data->mStream != data2->mStream) break; in insertCommand_l() 1602 VoiceVolumeData *data2 = (VoiceVolumeData *)command2->mParam.get(); in insertCommand_l() local 1604 data2->mVolume, data->mVolume); in insertCommand_l()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXComponent.cpp | 89 OMX_U32 data1, OMX_U32 data2, OMX_PTR data) { in notify() argument 95 data2, in notify()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 186 const char data2[4] = { 'f', 'o', 'o', 'd' }; in TEST() local 201 EXPECT_TRUE(proto.write(FIELD_TYPE_BYTES | ComplexProto::Log::kDataFieldNumber, data2, 4)); in TEST() 225 const char data2[4] = { 'f', 'o', 'o', 'd' }; in TEST() local 240 EXPECT_TRUE(proto.write(FIELD_TYPE_BYTES | ComplexProto::Log::kDataFieldNumber, data2, 4)); in TEST()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 339 t->data.eventData.data2 = l.u.event_data.data2; in wrapAs() 385 l->u.event_data.data2 = t.data.eventData.data2; in wrapAs()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LazyMessageLiteTest.java | 266 ByteString data2 = outer.toByteString(); in testMergeOneofMessages() local 267 assertEquals(data1, data2); in testMergeOneofMessages()
|
/frameworks/native/libs/vr/libdvr/tests/ |
D | dvr_display_manager-test.cpp | 887 auto data2 = GetConfigData(DVR_CONFIGURATION_DATA_LENS_METRICS); in TEST_F() local 889 ASSERT_STATUS_OK(data2); in TEST_F() 890 ASSERT_NE(0u, data2.get().size()); in TEST_F() 892 ASSERT_STATUS_ERROR(data2); in TEST_F()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftOMXComponent.h | 53 OMX_U32 data1, OMX_U32 data2, OMX_PTR data);
|