/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/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodSubtypeHandle.java | 116 final SimpleStringSplitter splitter = new SimpleStringSplitter(DATA_SEPARATOR); in of() local 117 splitter.setString(Objects.requireNonNull(stringHandle)); in of() 118 if (!splitter.hasNext()) { in of() 121 final String imeId = splitter.next(); in of() 130 if (!splitter.hasNext()) { in of() 133 final String source = splitter.next(); in of() 137 if (!splitter.hasNext()) { in of() 140 final String hashCodeStr = splitter.next(); in of() 141 if (splitter.hasNext()) { in of()
|
/frameworks/native/libs/gui/tests/ |
D | StreamSplitter_test.cpp | 53 sp<StreamSplitter> splitter; in TEST_F() local 54 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F() 56 ASSERT_EQ(OK, splitter->addOutput(outputProducer)); in TEST_F() 123 sp<StreamSplitter> splitter; in TEST_F() local 124 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F() 127 ASSERT_EQ(OK, splitter->addOutput(outputProducers[output])); in TEST_F() 193 sp<StreamSplitter> splitter; in TEST_F() local 194 status_t status = StreamSplitter::createSplitter(inputConsumer, &splitter); in TEST_F() 196 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/services/core/java/com/android/server/infra/ |
D | SecureSettingsServiceNameResolver.java | 114 final TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in parseColonDelimitedServiceNames() local 115 splitter.setString(serviceNames); in parseColonDelimitedServiceNames() 116 while (splitter.hasNext()) { in parseColonDelimitedServiceNames() 117 final String str = splitter.next(); in parseColonDelimitedServiceNames()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3StreamSplitter.cpp | 781 wp<Camera3StreamSplitter> splitter, in OutputListener() argument 783 : mSplitter(splitter), mOutput(output) {} in OutputListener() 787 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in onBufferReleased() local 789 if (splitter != nullptr && output != nullptr) { in onBufferReleased() 790 splitter->onBufferReleasedByOutput(output); in onBufferReleased() 795 sp<Camera3StreamSplitter> splitter = mSplitter.promote(); in binderDied() local 796 if (splitter != nullptr) { in binderDied() 797 Mutex::Autolock lock(splitter->mMutex); in binderDied() 798 splitter->onAbandonedLocked(); in binderDied()
|
D | Camera3SharedOutputStream.cpp | 93 sp<Camera3StreamSplitter> splitter = mStreamSplitter; in attachBufferToSplitterLocked() local 95 res = splitter->attachBufferToOutputs(anb, surface_ids); in attachBufferToSplitterLocked()
|
D | Camera3StreamSplitter.h | 165 OutputListener(wp<Camera3StreamSplitter> splitter,
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 2658 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(';'); in unflatten() local 2659 splitter.setString(flattened); in unflatten() 2660 for (String kv : splitter) { in unflatten() 4242 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in split() 4243 splitter.setString(str); in split() 4245 for (String s : splitter) { in split() 4256 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt() 4257 splitter.setString(str); in splitInt() 4259 for (String s : splitter) { in splitInt() 4269 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in splitInt() [all …]
|
/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/core/java/com/android/server/tv/ |
D | TvRemoteProviderWatcher.java | 70 SimpleStringSplitter splitter = new SimpleStringSplitter(','); in TvRemoteProviderWatcher() local 71 splitter.setString(context.getString( in TvRemoteProviderWatcher() 74 splitter.forEach(packageName -> { in TvRemoteProviderWatcher()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Optimize.cpp | 190 TableSplitter splitter(options_.split_constraints, options_.table_splitter_options); in Run() local 191 if (!splitter.VerifySplitConstraints(context_)) { in Run() 194 splitter.SplitTable(apk->GetResourceTable()); in Run() 198 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 | 263 TableSplitter splitter{{}, splits}; in FilterTable() local 264 splitter.SplitTable(table.get()); in FilterTable()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 234 TextUtils.StringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in stringSplitterTestHelper() local 235 splitter.setString(string); in stringSplitterTestHelper() 237 for (String s : splitter) { in stringSplitterTestHelper()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 976 TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readPrintServicesFromSettingLocked() local 977 splitter.setString(settingValue); in readPrintServicesFromSettingLocked() 978 while (splitter.hasNext()) { in readPrintServicesFromSettingLocked() 979 String string = splitter.next(); in readPrintServicesFromSettingLocked()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 1060 final SimpleStringSplitter splitter = new SimpleStringSplitter(COMPAT_PACKAGE_DELIMITER); in getAllowedCompatModePackages() local 1061 splitter.setString(setting); in getAllowedCompatModePackages() 1062 while (splitter.hasNext()) { in getAllowedCompatModePackages() 1063 final String packageBlock = splitter.next(); in getAllowedCompatModePackages()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiControlService.java | 672 TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(','); in getIntList() local 673 splitter.setString(string); in getIntList() 674 for (String item : splitter) { in getIntList()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 6339 final TextUtils.SimpleStringSplitter splitter = new TextUtils.SimpleStringSplitter(':'); 6340 splitter.setString(value); 6342 while (splitter.hasNext()) { 6343 final String str = splitter.next();
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 2658 final TextUtils.SimpleStringSplitter splitter = mStringColonSplitter; in readColonDelimitedStringToSet() local 2659 splitter.setString(names); in readColonDelimitedStringToSet() 2660 while (splitter.hasNext()) { in readColonDelimitedStringToSet() 2661 final String str = splitter.next(); in readColonDelimitedStringToSet()
|