Home
last modified time | relevance | path

Searched refs:splitter (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp43 TableSplitter splitter({}, options); in TEST() local
44 splitter.SplitTable(table.get()); in TEST()
82 TableSplitter splitter({}, options); in TEST() local
83 splitter.SplitTable(table.get()); in TEST()
126 TableSplitter splitter(constraints, TableSplitterOptions{}); in TEST() local
127 splitter.SplitTable(table.get()); in TEST()
129 ASSERT_EQ(3u, splitter.splits().size()); in TEST()
131 ResourceTable* split_one = splitter.splits()[0].get(); in TEST()
132 ResourceTable* split_two = splitter.splits()[1].get(); in TEST()
133 ResourceTable* split_three = splitter.splits()[2].get(); in TEST()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DKernelMemoryBandwidthStats.java58 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in parseStats() local
61 splitter.setString(line); in parseStats()
62 splitter.next(); in parseStats()
68 + Long.parseLong(splitter.next()) / 1000000); in parseStats()
70 mBandwidthEntries.put(bandwidth, Long.parseLong(splitter.next()) / 1000000); in parseStats()
77 } while(splitter.hasNext()); in parseStats()
DKernelCpuSpeedReader.java68 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in readDelta() local
72 splitter.setString(line); in readDelta()
73 Long.parseLong(splitter.next()); in readDelta()
75 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readDelta()
DKernelUidCpuTimeReader.java70 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in readDelta() local
73 splitter.setString(line); in readDelta()
74 final String uidStr = splitter.next(); in readDelta()
76 final long userTimeUs = Long.parseLong(splitter.next(), 10); in readDelta()
77 final long systemTimeUs = Long.parseLong(splitter.next(), 10); in readDelta()
/frameworks/native/libs/gui/tests/
DStreamSplitter_test.cpp67 sp<StreamSplitter> splitter; in TEST_F() local
68 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
70 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
137 sp<StreamSplitter> splitter; in TEST_F() local
138 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
141 ASSERT_EQ(OK, splitter->addOutput(outputProducers[output])); in TEST_F()
206 sp<StreamSplitter> splitter; in TEST_F() local
207 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
209 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
/frameworks/native/libs/gui/
DStreamSplitter.cpp48 sp<StreamSplitter> splitter(new StreamSplitter(inputQueue)); in createSplitter() local
49 status_t status = splitter->mInput->consumerConnect(splitter, false); in createSplitter()
51 splitter->mInput->setConsumerName(String8("StreamSplitter")); in createSplitter()
52 *outSplitter = splitter; in createSplitter()
261 const sp<StreamSplitter>& splitter, in OutputListener() argument
263 : mSplitter(splitter), mOutput(output) {} in OutputListener()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp528 wp<Camera3StreamSplitter> splitter, in OutputListener() argument
530 : mSplitter(splitter), mOutput(output) {} in OutputListener()
534 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in onBufferReleased() local
536 if (splitter != nullptr && output != nullptr) { in onBufferReleased()
537 splitter->onBufferReleasedByOutput(output); in onBufferReleased()
542 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in binderDied() local
543 if (splitter != nullptr) { in binderDied()
544 Mutex::Autolock lock(splitter->mMutex); in binderDied()
545 splitter->onAbandonedLocked(); in binderDied()
DCamera3SharedOutputStream.cpp117 sp<Camera3StreamSplitter> splitter = mStreamSplitter; in getBufferLocked() local
119 res = splitter->attachBufferToOutputs(anb, surface_ids); in getBufferLocked()
DCamera3StreamSplitter.h143 OutputListener(wp<Camera3StreamSplitter> splitter,
/frameworks/base/core/java/android/hardware/
DCamera.java2526 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(';'); in unflatten() local
2527 splitter.setString(flattened); in unflatten()
2528 for (String kv : splitter) { in unflatten()
4080 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in split()
4081 splitter.setString(str); in split()
4083 for (String s : splitter) { in split()
4094 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt()
4095 splitter.setString(str); in splitInt()
4097 for (String s : splitter) { in splitInt()
4107 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt()
[all …]
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2UtilsTest.java36 private void captureListenerSplitterAllCallbacksReceived(CaptureCallback splitter, in captureListenerSplitterAllCallbacksReceived() argument
38 splitter.onCaptureCompleted(null, null, null); in captureListenerSplitterAllCallbacksReceived()
42 splitter.onCaptureFailed(null, null, null); in captureListenerSplitterAllCallbacksReceived()
46 splitter.onCaptureProgressed(null, null, null); in captureListenerSplitterAllCallbacksReceived()
50 splitter.onCaptureSequenceAborted(null, 0); in captureListenerSplitterAllCallbacksReceived()
54 splitter.onCaptureSequenceCompleted(null, 0, 0L); in captureListenerSplitterAllCallbacksReceived()
58 splitter.onCaptureStarted(null, null, 0L, 1L); in captureListenerSplitterAllCallbacksReceived()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp146 TableSplitter splitter(options_.split_constraints, options_.table_splitter_options); in Run() local
147 if (!splitter.VerifySplitConstraints(context_)) { in Run()
150 splitter.SplitTable(apk->GetResourceTable()); in Run()
154 for (std::unique_ptr<ResourceTable>& split_table : splitter.splits()) { in Run()
/frameworks/native/include/gui/
DStreamSplitter.h114 OutputListener(const sp<StreamSplitter>& splitter,
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java226 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in stringSplitterTestHelper() local
227 splitter.setString(string); in stringSplitterTestHelper()
229 for (String s : splitter) { in stringSplitterTestHelper()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java947 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readPrintServicesFromSettingLocked() local
948 splitter.setString(settingValue); in readPrintServicesFromSettingLocked()
949 while (splitter.hasNext()) { in readPrintServicesFromSettingLocked()
950 String string = splitter.next(); in readPrintServicesFromSettingLocked()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java372 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in getIntList() local
373 splitter.setString(string); in getIntList()
374 for (String item : splitter) { in getIntList()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1481 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readComponentNamesFromStringLocked() local
1482 splitter.setString(names); in readComponentNamesFromStringLocked()
1483 while (splitter.hasNext()) { in readComponentNamesFromStringLocked()
1484 String str = splitter.next(); in readComponentNamesFromStringLocked()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...