Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java69 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in readDelta() local
73 splitter.setString(line); in readDelta()
74 splitter.next(); in readDelta()
76 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readDelta()
104 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in readAbsolute() local
108 splitter.setString(line); in readAbsolute()
109 splitter.next(); in readAbsolute()
110 long time = Long.parseLong(splitter.next()) * mJiffyMillis; in readAbsolute()
DKernelMemoryBandwidthStats.java66 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(' '); in parseStats() local
69 splitter.setString(line); in parseStats()
70 splitter.next(); in parseStats()
76 + Long.parseLong(splitter.next()) / 1000000); in parseStats()
78 mBandwidthEntries.put(bandwidth, Long.parseLong(splitter.next()) / 1000000); in parseStats()
85 } while(splitter.hasNext()); in parseStats()
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp45 TableSplitter splitter({}, options); in TEST() local
46 splitter.SplitTable(table.get()); in TEST()
84 TableSplitter splitter({}, options); in TEST() local
85 splitter.SplitTable(table.get()); in TEST()
128 TableSplitter splitter(constraints, TableSplitterOptions{}); in TEST() local
129 splitter.SplitTable(table.get()); in TEST()
131 ASSERT_EQ(3u, splitter.splits().size()); in TEST()
133 ResourceTable* split_one = splitter.splits()[0].get(); in TEST()
134 ResourceTable* split_two = splitter.splits()[1].get(); in TEST()
135 ResourceTable* split_three = splitter.splits()[2].get(); in TEST()
[all …]
/frameworks/native/libs/gui/tests/
DStreamSplitter_test.cpp69 sp<StreamSplitter> splitter; in TEST_F() local
70 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
72 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
139 sp<StreamSplitter> splitter; in TEST_F() local
140 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
143 ASSERT_EQ(OK, splitter->addOutput(outputProducers[output])); in TEST_F()
209 sp<StreamSplitter> splitter; in TEST_F() local
210 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F()
212 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
/frameworks/native/libs/gui/
DStreamSplitter.cpp50 sp<StreamSplitter> splitter(new StreamSplitter(inputQueue)); in createSplitter() local
51 status_t status = splitter->mInput->consumerConnect(splitter, false); in createSplitter()
53 splitter->mInput->setConsumerName(String8("StreamSplitter")); in createSplitter()
54 *outSplitter = splitter; in createSplitter()
263 const sp<StreamSplitter>& splitter, in OutputListener() argument
265 : mSplitter(splitter), mOutput(output) {} in OutputListener()
/frameworks/base/core/java/android/hardware/
DCamera.java2709 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(';'); in unflatten() local
2710 splitter.setString(flattened); in unflatten()
2711 for (String kv : splitter) { in unflatten()
4293 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in split()
4294 splitter.setString(str); in split()
4296 for (String s : splitter) { in split()
4307 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt()
4308 splitter.setString(str); in splitInt()
4310 for (String s : splitter) { in splitInt()
4320 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp760 wp<Camera3StreamSplitter> splitter, in OutputListener() argument
762 : mSplitter(splitter), mOutput(output) {} in OutputListener()
766 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in onBufferReleased() local
768 if (splitter != nullptr && output != nullptr) { in onBufferReleased()
769 splitter->onBufferReleasedByOutput(output); in onBufferReleased()
774 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in binderDied() local
775 if (splitter != nullptr) { in binderDied()
776 Mutex::Autolock lock(splitter->mMutex); in binderDied()
777 splitter->onAbandonedLocked(); in binderDied()
DCamera3SharedOutputStream.cpp88 sp<Camera3StreamSplitter> splitter = mStreamSplitter; in attachBufferToSplitterLocked() local
90 res = splitter->attachBufferToOutputs(anb, surface_ids); in attachBufferToSplitterLocked()
DCamera3StreamSplitter.h160 OutputListener(wp<Camera3StreamSplitter> splitter,
/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/services/core/java/com/android/server/tv/
DTvRemoteProviderWatcher.java70 SimpleStringSplitter splitter = new SimpleStringSplitter(','); in TvRemoteProviderWatcher() local
71 splitter.setString(context.getString( in TvRemoteProviderWatcher()
74 splitter.forEach(packageName -> { in TvRemoteProviderWatcher()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java391 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\n'); in dumpUsageStats() local
392 splitter.setString(output); in dumpUsageStats()
394 while (splitter.hasNext()) { in dumpUsageStats()
395 str = splitter.next(); in dumpUsageStats()
/frameworks/base/tools/aapt2/cmd/
DOptimize.cpp176 TableSplitter splitter(options_.split_constraints, options_.table_splitter_options); in Run() local
177 if (!splitter.VerifySplitConstraints(context_)) { in Run()
180 splitter.SplitTable(apk->GetResourceTable()); in Run()
184 for (std::unique_ptr<ResourceTable>& split_table : splitter.splits()) { in Run()
/frameworks/native/libs/gui/include/gui/
DStreamSplitter.h114 OutputListener(const sp<StreamSplitter>& splitter,
/frameworks/base/tools/aapt2/optimize/
DMultiApkGenerator.cpp257 TableSplitter splitter{{}, splits}; in FilterTable() local
258 splitter.SplitTable(table.get()); in FilterTable()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java632 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\n'); in getSettingValueFromDump() local
633 splitter.setString(settingsDump); in getSettingValueFromDump()
635 while (splitter.hasNext()) { in getSettingValueFromDump()
636 next = splitter.next().trim(); in getSettingValueFromDump()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java233 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in stringSplitterTestHelper() local
234 splitter.setString(string); in stringSplitterTestHelper()
236 for (String s : splitter) { in stringSplitterTestHelper()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java964 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readPrintServicesFromSettingLocked() local
965 splitter.setString(settingValue); in readPrintServicesFromSettingLocked()
966 while (splitter.hasNext()) { in readPrintServicesFromSettingLocked()
967 String string = splitter.next(); in readPrintServicesFromSettingLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java779 final SimpleStringSplitter splitter = new SimpleStringSplitter(COMPAT_PACKAGE_DELIMITER); in getWhitelistedCompatModePackages() local
780 splitter.setString(setting); in getWhitelistedCompatModePackages()
781 while (splitter.hasNext()) { in getWhitelistedCompatModePackages()
782 final String packageBlock = splitter.next(); in getWhitelistedCompatModePackages()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1856 final TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readColonDelimitedStringToSet() local
1857 splitter.setString(names); in readColonDelimitedStringToSet()
1858 while (splitter.hasNext()) { in readColonDelimitedStringToSet()
1859 final String str = splitter.next(); in readColonDelimitedStringToSet()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java526 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in getIntList() local
527 splitter.setString(string); in getIntList()
528 for (String item : splitter) { in getIntList()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java5386 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(':');
5387 splitter.setString(value);
5389 while (splitter.hasNext()) {
5390 final String str = splitter.next();