Home
last modified time | relevance | path

Searched refs:setString (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/compat/overrides/
DAppCompatOverridesServiceTest.java170 .setString(FLAG_OWNED_CHANGE_IDS, "123,456,789") in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
171 .setString(PACKAGE_1, "123:::true,456::1:false,456:2::true,789:::false") in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
172 .setString(PACKAGE_2, "123:::true") in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
173 .setString(PACKAGE_3, "123:1:9:true,123:10:11:false,123:11::true") in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
174 .setString(PACKAGE_4, "").build()); in onPropertiesChanged_removeOverridesFlagNotSet_appliesPackageOverrides()
220 .setString(PACKAGE_1, "123:::true").build()); in onPropertiesChanged_ownedChangeIdsFlagNotSet_onlyAddsOverrides()
237 .setString(FLAG_OWNED_CHANGE_IDS, "123,456,789") in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove()
238 .setString(FLAG_REMOVE_OVERRIDES, PACKAGE_1 + "=123:456," + PACKAGE_2 + "=123") in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove()
239 .setString(PACKAGE_1, "123:::true") in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove()
240 .setString(PACKAGE_4, "123:::true").build()); in onPropertiesChanged_removeOverridesFlagSetBefore_skipsOverridesToRemove()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DKeyValueListParserTest.java49 mParser.setString(null); in testParseIntArrayNullInput()
56 mParser.setString("test="); in testParseIntArrayEmptyInput()
63 mParser.setString("foo=bar,test=100:200,baz=123"); in testParseIntArrayNullKey()
70 mParser.setString("foo=bar,test=100:200,baz=123"); in testParseIntArrayComplexInput()
79 mParser.setString("test=:4:5:6"); in testParseIntArrayLeadingSep()
86 mParser.setString("test=:4::6"); in testParseIntArrayEmptyItem()
93 mParser.setString("test=4:5:6:"); in testParseIntArrayTrailingSep()
103 mParser.setString("test=4:5:6"); in testParseIntArrayGoodData()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java609 Properties properties = new Properties.Builder(NAMESPACE).setString(KEY, VALUE) in setProperties()
610 .setString(KEY2, VALUE2).build(); in setProperties()
618 properties = new Properties.Builder(NAMESPACE).setString(KEY, VALUE2) in setProperties()
619 .setString(KEY3, VALUE3).build(); in setProperties()
635 Properties properties1 = new Properties.Builder(NAMESPACE).setString(KEY, VALUE) in setProperties_multipleNamespaces()
636 .setString(KEY2, VALUE2).build(); in setProperties_multipleNamespaces()
637 Properties properties2 = new Properties.Builder(namespace2).setString(KEY2, VALUE) in setProperties_multipleNamespaces()
638 .setString(KEY3, VALUE2).build(); in setProperties_multipleNamespaces()
674 Properties properties = new Properties.Builder(NAMESPACE).setString(KEY, VALUE) in propertiesBuilder()
689 Properties properties = new Properties.Builder(namespaceToBan).setString(KEY, VALUE) in banNamespaceProperties()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DUserSettingDeviceConfigMediatorTest.java43 .setString("string", "abc123") in testDeviceConfigOnly()
126 .setString("string", "xyz987") in testSettingsOverridesAll()
127 .setString("stringOnlyInDeviceConfig", "deviceConfigString") in testSettingsOverridesAll()
209 .setString("string", "xyz987") in testSettingsOverridesIndividual()
210 .setString("stringOnlyInDeviceConfig", "deviceConfigString") in testSettingsOverridesIndividual()
/frameworks/av/cmds/stagefright/
Daudioloop.cpp129 meta->setString( in main()
134 meta->setString("mime", mediaType); in main()
135 meta->setString("testing-name", name); in main()
Drecordvideo.cpp276 enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_MPEG4); in main()
279 enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_H263); in main()
282 enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC); in main()
Drecord.cpp216 enc_meta->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC);
280 encMeta->setString("mime", in main()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DDeviceConfigProxyFake.java72 propBuilder.setString(name, value); in setProperty()
87 .setString(name, mProperties.get(namespace).get(name)).build(); in propsForNamespaceAndName()
91 .setString(name, mDefaultProperties.get(namespace).get(name)).build(); in propsForNamespaceAndName()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java73 splitter.setString(line); in readDelta()
108 splitter.setString(line); in readAbsolute()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java102 sStringColonSplitter.setString(targetsValue); in optOutValueFromSettings()
132 sStringColonSplitter.setString(targetString); in isComponentIdExistingInSettings()
266 sStringColonSplitter.setString(targetString); in getShortcutTargetsFromSettings()
/frameworks/libs/modules-utils/javatests/com/android/modules/utils/testing/
DTestableDeviceConfigTest.java105 DeviceConfig.setProperties(new Properties.Builder(sNamespace).setString(sKey, in setProperties()
106 sValue).setString(newKey, newValue).build()); in setProperties()
212 DeviceConfig.setProperties(new Properties.Builder(sNamespace).setString(sKey, in testListener_setProperties()
213 sValue).setString(newKey, newValue).build()); in testListener_setProperties()
/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp114 cfg->setString("mime", MIMETYPE_VIDEO_AVC); in TEST_P()
143 cfg->setString("mime", MIMETYPE_VIDEO_VP8); in TEST_P()
172 cfg->setString("mime", MIMETYPE_AUDIO_AAC); in TEST_P()
207 cfg->setString("mime", MIMETYPE_VIDEO_AVC); in TEST_F()
266 cfg->setString("mime", MIMETYPE_VIDEO_MPEG4); in TEST_F()
292 cfg->setString("mime", MIMETYPE_VIDEO_AVC); in TEST_P()
/frameworks/base/core/java/android/os/
DBatteryProperty.java65 public void setString(String val) { in setString() method in BatteryProperty
/frameworks/base/media/java/android/media/
DMediaFormat.java2113 public final void setString(@NonNull String name, @Nullable String value) { in setString() method in MediaFormat
2349 format.setString(KEY_MIME, mime); in createAudioFormat()
2368 format.setString(KEY_MIME, mime); in createSubtitleFormat()
2369 format.setString(KEY_LANGUAGE, language); in createSubtitleFormat()
2385 format.setString(KEY_MIME, mime); in createVideoFormat()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSettings.java193 inputMethodSplitter.setString(enabledInputMethodsStr); in getEnabledInputMethodsAndSubtypeList()
196 subtypeSplitter.setString(nextImsStr); in getEnabledInputMethodsAndSubtypeList()
463 inputMethodSplitter.setString(subtypeHistoryStr); in loadInputMethodAndSubtypeHistory()
466 subtypeSplitter.setString(nextImsStr); in loadInputMethodAndSubtypeHistory()
690 imeSplitter.setString(enabledImesString); in updateEnabledImeString()
694 imeSubtypeSplitter.setString(nextImsStr); in updateEnabledImeString()
/frameworks/av/media/libstagefright/
DMediaCodecListWriter.cpp53 globalSettings->setString(kv.first.c_str(), kv.second.c_str()); in writeGlobalSettings()
/frameworks/native/libs/binder/tests/
DIBinderRecordReplayTest.aidl40 void setString(String input); in setString() method
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodSettingsTest.java44 imeSubtypeSplitter.setString(subtypeHashCodesStr); in createSubtypeHashCodeArrayFromStr()
/frameworks/base/core/java/android/util/
DKeyValueSettingObserver.java77 mParser.setString(setting); in setParserValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DPosition.java45 sStringCommaSplitter.setString(positionString); in fromString()
/frameworks/av/media/libstagefright/tests/fuzzers/
DMediaMuxerFuzzer.cpp125 format->setString("mime", mimeType.c_str(), mimeType.length()); in getSampleAudioFormat()
132 format->setString("mime", mimeType.c_str(), mimeType.length()); in getSampleVideoFormat()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1396 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_NB); in createAudioSource()
1399 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_WB); in createAudioSource()
1402 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); in createAudioSource()
1406 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); in createAudioSource()
1410 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); in createAudioSource()
1414 format->setString("mime", MEDIA_MIMETYPE_AUDIO_OPUS); in createAudioSource()
1986 format->setString("mime", MEDIA_MIMETYPE_VIDEO_H263); in setupVideoEncoder()
1990 format->setString("mime", MEDIA_MIMETYPE_VIDEO_MPEG4); in setupVideoEncoder()
1994 format->setString("mime", MEDIA_MIMETYPE_VIDEO_AVC); in setupVideoEncoder()
1998 format->setString("mime", MEDIA_MIMETYPE_VIDEO_VP8); in setupVideoEncoder()
[all …]
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DAMessage.h109 void setString(const char *name, const char *s, ssize_t len = -1);
110 void setString(const char *name, const AString &s);
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp379 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in registerAvailCallback()
392 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in registerAvailCallback()
393 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId.c_str())); in registerAvailCallback()
649 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in onStatusChangedLocked()
707 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in onStatusChangedLocked()
708 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId.c_str())); in onStatusChangedLocked()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp419 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in registerAvailCallback()
432 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in registerAvailCallback()
433 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId.c_str())); in registerAvailCallback()
600 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in onStatusChangedLocked()
666 msg->setString(kCameraIdKey, AString(cameraId.c_str())); in onStatusChangedLocked()
667 msg->setString(kPhysicalCameraIdKey, AString(physicalCameraId.c_str())); in onStatusChangedLocked()

123456