/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuSpeedReader.java | 69 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()
|
D | KernelMemoryBandwidthStats.java | 66 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/ |
D | TableSplitter_test.cpp | 45 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/ |
D | StreamSplitter_test.cpp | 69 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() 208 sp<StreamSplitter> splitter; in TEST_F() local 209 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F() 211 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F()
|
/frameworks/native/libs/gui/ |
D | StreamSplitter.cpp | 50 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/ |
D | Camera.java | 2751 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(';'); in unflatten() local 2752 splitter.setString(flattened); in unflatten() 2753 for (String kv : splitter) { in unflatten() 4335 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in split() 4336 splitter.setString(str); in split() 4338 for (String s : splitter) { in split() 4349 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt() 4350 splitter.setString(str); in splitInt() 4352 for (String s : splitter) { in splitInt() 4362 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 753 wp<Camera3StreamSplitter> splitter, in OutputListener() argument 755 : mSplitter(splitter), mOutput(output) {} in OutputListener() 759 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in onBufferReleased() local 761 if (splitter != nullptr && output != nullptr) { in onBufferReleased() 762 splitter->onBufferReleasedByOutput(output); in onBufferReleased() 767 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in binderDied() local 768 if (splitter != nullptr) { in binderDied() 769 Mutex::Autolock lock(splitter->mMutex); in binderDied() 770 splitter->onAbandonedLocked(); in binderDied()
|
D | Camera3SharedOutputStream.cpp | 87 sp<Camera3StreamSplitter> splitter = mStreamSplitter; in attachBufferToSplitterLocked() local 89 res = splitter->attachBufferToOutputs(anb, surface_ids); in attachBufferToSplitterLocked()
|
D | Camera3StreamSplitter.h | 153 OutputListener(wp<Camera3StreamSplitter> splitter,
|
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2UtilsTest.java | 36 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/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 424 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\n'); in dumpUsageStats() local 425 splitter.setString(output); in dumpUsageStats() 427 while (splitter.hasNext()) { in dumpUsageStats() 428 str = splitter.next(); in dumpUsageStats()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 170 TableSplitter splitter(options_.split_constraints, options_.table_splitter_options); in Run() local 171 if (!splitter.VerifySplitConstraints(context_)) { in Run() 174 splitter.SplitTable(apk->GetResourceTable()); in Run() 178 for (std::unique_ptr<ResourceTable>& split_table : splitter.splits()) { in Run()
|
/frameworks/native/libs/gui/include/gui/ |
D | StreamSplitter.h | 114 OutputListener(const sp<StreamSplitter>& splitter,
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 253 TableSplitter splitter{{}, splits}; in FilterTable() local 254 splitter.SplitTable(table.get()); in FilterTable()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 613 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter('\n'); in getSettingValueFromDump() local 614 splitter.setString(settingsDump); in getSettingValueFromDump() 616 while (splitter.hasNext()) { in getSettingValueFromDump() 617 next = splitter.next(); in getSettingValueFromDump()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 231 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in stringSplitterTestHelper() local 232 splitter.setString(string); in stringSplitterTestHelper() 234 for (String s : splitter) { in stringSplitterTestHelper()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 719 final SimpleStringSplitter splitter = new SimpleStringSplitter(COMPAT_PACKAGE_DELIMITER); in getWhitelistedCompatModePackages() local 720 splitter.setString(setting); in getWhitelistedCompatModePackages() 721 while (splitter.hasNext()) { in getWhitelistedCompatModePackages() 722 final String packageBlock = splitter.next(); in getWhitelistedCompatModePackages()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 963 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readPrintServicesFromSettingLocked() local 964 splitter.setString(settingValue); in readPrintServicesFromSettingLocked() 965 while (splitter.hasNext()) { in readPrintServicesFromSettingLocked() 966 String string = splitter.next(); in readPrintServicesFromSettingLocked()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiControlService.java | 438 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in getIntList() local 439 splitter.setString(string); in getIntList() 440 for (String item : splitter) { in getIntList()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1575 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readComponentNamesFromStringLocked() local 1576 splitter.setString(names); in readComponentNamesFromStringLocked() 1577 while (splitter.hasNext()) { in readComponentNamesFromStringLocked() 1578 String str = splitter.next(); in readComponentNamesFromStringLocked()
|