/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 55 final byte[] data1 = {0}; in canAddAndRetrieveMultipleElements() 57 assertTrue(rb.appendBuffer(data1)); in canAddAndRetrieveMultipleElements() 60 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements() 67 final byte[] data1 = {1, 2, 3, 4, 5}; in canFillToCapacityWithMultipleElements() 69 assertEquals(MAX_BYTES, data1.length + data2.length); in canFillToCapacityWithMultipleElements() 70 assertTrue(rb.appendBuffer(data1)); in canFillToCapacityWithMultipleElements() 95 final byte[] data1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; in appendPrunesBufferIfNecessary() 96 assertTrue(rb.appendBuffer(data1)); in appendPrunesBufferIfNecessary() 107 final byte[] data1 = {1, 2, 3, 4, 5}; in appendPrunesMultipleBuffersIfNecessary() 109 assertTrue(rb.appendBuffer(data1)); in appendPrunesMultipleBuffersIfNecessary() [all …]
|
/frameworks/base/tools/aapt2/format/ |
D | Archive_test.cpp | 92 std::unique_ptr<uint8_t[]> data1 = MakeTestArray(); in TEST_F() local 96 ASSERT_TRUE(writer->Write(static_cast<const void*>(data1.get()), kTestDataLength)); in TEST_F() 107 VerifyDirectory(output_path, "test1", data1.get()); in TEST_F() 115 std::unique_ptr<uint8_t[]> data1 = MakeTestArray(); in TEST_F() local 117 std::copy(data1.get(), data1.get() + kTestDataLength, data1_copy.get()); in TEST_F() 133 VerifyDirectory(output_path, "test1", data1.get()); in TEST_F() 152 std::unique_ptr<uint8_t[]> data1 = MakeTestArray(); in TEST_F() local 156 ASSERT_TRUE(writer->Write(static_cast<const void*>(data1.get()), kTestDataLength)); in TEST_F() 167 VerifyZipFile(output_path, "test1", data1.get()); in TEST_F() 175 std::unique_ptr<uint8_t[]> data1 = MakeTestArray(); in TEST_F() local [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/ |
D | SparseMappingTableTest.java | 54 final SparseMappingTable data1 = new SparseMappingTable(); in testParcelingEmpty() local 55 data1.readFromParcel(dataParcel); in testParcelingEmpty() 60 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParcelingEmpty() 88 final SparseMappingTable data1 = new SparseMappingTable(); in testParceling() local 89 data1.readFromParcel(dataParcel); in testParceling() 94 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParceling() 135 final SparseMappingTable data1 = new SparseMappingTable(); in testParcelingWithReset() local 136 data1.readFromParcel(dataParcel); in testParcelingWithReset() 141 final SparseMappingTable.Table table1 = new SparseMappingTable.Table(data1); in testParcelingWithReset() 152 Log.d(TAG, " after: " + data1.dumpInternalState(true)); in testParcelingWithReset()
|
/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() 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 …]
|
D | android_GenericPlayer.h | 127 virtual void notify(const char* event, int data1, bool async); 128 virtual void notify(const char* event, int data1, int data2, bool async);
|
D | AudioPlayer_to_android.cpp | 758 static void sfplayer_handlePrefetchEvent(int event, int data1, int data2, void* user) { in sfplayer_handlePrefetchEvent() argument 777 "SfAudioPlayer", u.c[3], u.c[2], u.c[1], u.c[0], event, data1, data2, user); in sfplayer_handlePrefetchEvent() 794 if (PLAYER_SUCCESS == data1) { in sfplayer_handlePrefetchEvent() 802 SL_LOGE(ERROR_PLAYER_PREFETCH_d, data1); in sfplayer_handlePrefetchEvent() 838 ap->mPrefetchStatus.mLevel = (SLpermille)data1; in sfplayer_handlePrefetchEvent() 862 if (data1 >= android::kStatusIntermediate) { in sfplayer_handlePrefetchEvent() 864 } else if (data1 < android::kStatusIntermediate) { in sfplayer_handlePrefetchEvent() 887 if (UNKNOWN_NUMCHANNELS == ap->mNumChannels && UNKNOWN_NUMCHANNELS != data1) { in sfplayer_handlePrefetchEvent() 888 ap->mNumChannels = data1; in sfplayer_handlePrefetchEvent() 905 SLuint32 event = (SLuint32) data1; // SL_PLAYEVENT_HEAD* in sfplayer_handlePrefetchEvent() [all …]
|
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()
|
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 103 string data1 = "Swap: abc "; in TEST() local 104 EXPECT_TRUE(stripPrefix(&data1, "Swap:")); in TEST() 105 EXPECT_THAT(data1, StrEq("abc")); in TEST() 121 string data1 = " 243%abc"; in TEST() local 122 EXPECT_TRUE(stripSuffix(&data1, "abc")); in TEST() 123 EXPECT_THAT(data1, StrEq("243%")); in TEST()
|
/frameworks/base/cmds/idmap2/tests/ |
D | BinaryStreamVisitorTests.cpp | 63 const std::unique_ptr<const IdmapData>& data1 = data_blocks1[0]; in TEST() local 64 ASSERT_THAT(data1, NotNull()); in TEST() 71 const auto& target_entries1 = data1->GetTargetEntries(); in TEST() 83 const auto& overlay_entries1 = data1->GetOverlayEntries(); in TEST()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 111 return event_queue_.front().data1; in comment() 124 return event_queue_.front().data1; in text() 133 return event_queue_.front().data1; in namespace_prefix() 168 return event_queue_.front().data1; in element_namespace() 233 SplitName(name, &data.data1, &data.data2); in StartElementHandler() 265 SplitName(name, &data.data1, &data.data2); in EndElementHandler()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TestUtils.java | 55 Intent data1 = new Intent("action1"); in resultInfoList() local 56 ResultInfo resultInfo1 = new ResultInfo(resultWho1, requestCode1, resultCode1, data1); in resultInfoList()
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | vad1.cpp | 181 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/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidBpfMapReaderTest.java | 114 final SparseArray<long[]> data1 = getTestSparseArray(180, 70); in testConcurrent() local 142 testOpenAndReadData(data1); in testConcurrent() 155 mReader.setData(data1); in testConcurrent()
|
D | KernelCpuProcStringReaderTest.java | 244 final String data1 = getTestString(180, 120); in testConcurrent() local 246 final String[] lines1 = data1.split("\n"); in testConcurrent() 301 w.write(data1); in testConcurrent()
|
/frameworks/av/media/libstagefright/ |
D | ACodec.cpp | 195 msg->setInt32("data1", omx_msg.u.event_data.data1); 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); 5883 int32_t event, data1, data2; in onOMXMessage() local [all …]
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/ |
D | Conversion.h | 195 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() 241 l->u.event_data.data1 = t.data.eventData.data1; in wrapAs()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 353 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions() 366 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions() 386 && msg.u.event_data.data1 == OMX_CommandFlush in testStateTransitions() 412 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions() 457 && msg.u.event_data.data1 == OMX_CommandStateSet in testStateTransitions()
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftOMXComponent.cpp | 89 OMX_U32 data1, OMX_U32 data2, OMX_PTR data) { in notify() argument 94 data1, in notify()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 185 const char data1[6] = { 'f', 'u', 'n', 'n', 'y', '!' }; in TEST() local 196 EXPECT_TRUE(proto.write(FIELD_TYPE_BYTES | ComplexProto::Log::kDataFieldNumber, data1, 5)); in TEST() 224 const char data1[6] = { 'f', 'u', 'n', 'n', 'y', '!' }; in TEST() local 235 EXPECT_TRUE(proto.write(FIELD_TYPE_BYTES | ComplexProto::Log::kDataFieldNumber, data1, 5)); in TEST()
|
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
D | Conversion.h | 337 t->data.eventData.data1 = l.u.event_data.data1; in wrapAs() 383 l->u.event_data.data1 = t.data.eventData.data1; in wrapAs()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 78 msg.u.event_data.data1 = dataSpace; in dispatchDataSpaceChanged()
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
D | SoftOMXComponent.h | 53 OMX_U32 data1, OMX_U32 data2, OMX_PTR data);
|
/frameworks/av/media/libmedia/include/media/ |
D | IOMX.h | 197 OMX_U32 data1; member
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.h | 237 std::shared_ptr<LogEvent> makeUidLogEvent(int atomId, int64_t eventTimeNs, int uid, int data1, 242 const vector<string>& tags, int data1, int data2);
|