/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncManagerTest.java | 39 b1.putString(KEY_1, null); in testSyncExtrasEquals_WithNull() 40 b2.putString(KEY_1, null); in testSyncExtrasEquals_WithNull() 50 b1.putString(KEY_1, null); in testSyncExtrasEqualsBigger_WithNull() 51 b2.putString(KEY_1, null); in testSyncExtrasEqualsBigger_WithNull() 53 b1.putString(KEY_2, "bla"); in testSyncExtrasEqualsBigger_WithNull() 54 b2.putString(KEY_2, "bla"); in testSyncExtrasEqualsBigger_WithNull() 64 b1.putString(KEY_1, null); in testSyncExtrasEqualsFails_differentValues() 65 b2.putString(KEY_1, null); in testSyncExtrasEqualsFails_differentValues() 67 b1.putString(KEY_2, "bla"); in testSyncExtrasEqualsFails_differentValues() 68 b2.putString(KEY_2, "ble"); // different key in testSyncExtrasEqualsFails_differentValues() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CarrierConfigManager.java | 3571 defaults.putString(KEY_SUPL_HOST_STRING, "supl.google.com"); in getDefaults() 3572 defaults.putString(KEY_SUPL_PORT_STRING, "7275"); in getDefaults() 3573 defaults.putString(KEY_SUPL_VER_STRING, "0x20000"); in getDefaults() 3574 defaults.putString(KEY_SUPL_MODE_STRING, "1"); in getDefaults() 3575 defaults.putString(KEY_SUPL_ES_STRING, "1"); in getDefaults() 3576 defaults.putString(KEY_LPP_PROFILE_STRING, "0"); in getDefaults() 3577 defaults.putString(KEY_USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL_STRING, "1"); in getDefaults() 3578 defaults.putString(KEY_A_GLONASS_POS_PROTOCOL_SELECT_STRING, "0"); in getDefaults() 3579 defaults.putString(KEY_GPS_LOCK_STRING, "3"); in getDefaults() 3580 defaults.putString(KEY_ES_EXTENSION_SEC_STRING, "0"); in getDefaults() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | TestAccountType1Authenticator.java | 49 result.putString(AccountManager.KEY_ACCOUNT_NAME, in editProperties() 51 result.putString(AccountManager.KEY_ACCOUNT_TYPE, in editProperties() 53 result.putString( in editProperties() 78 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName); in addAccount() 79 result.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccountType); in addAccount() 80 result.putString(AccountManager.KEY_AUTHTOKEN, in addAccount() 117 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in confirmCredentials() 118 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type); in confirmCredentials() 158 result.putString( in getAuthToken() 163 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); in getAuthToken() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 68 Secure.putString(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, "null"); in testSetPowerSaveMode_enable_firstCall_needWarning() 69 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enable_firstCall_needWarning() 86 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enable_secondCall_needWarning() 113 Secure.putString(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, "null"); in testSetPowerSaveMode_enable_firstCall_noWarning() 114 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enable_firstCall_noWarning() 127 Secure.putString(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, "null"); in testSetPowerSaveMode_disable_firstCall_noWarning() 128 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_disable_firstCall_noWarning() 143 Secure.putString(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, "null"); in testSetPowerSaveMode_disable_firstCall_needWarning() 144 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_disable_firstCall_needWarning() 174 Global.putString(mMockResolver, Global.LOW_POWER_MODE_TRIGGER_LEVEL, "null"); in testSetAutoBatterySaverTriggerLevel_setSuppressSuggestion() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleTest.java | 55 source.putString("string", "abc"); in createBundleParcel() 150 bundle1.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_same() 154 bundle2.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_same() 163 bundle1.putString("StringKey", "S"); in kindofEquals_bothUnparcelled_different() 167 bundle2.putString("StringKey", "T"); in kindofEquals_bothUnparcelled_different() 176 bundle1.putString("StringKey", "S"); in kindofEquals_bothParcelled_same() 181 bundle2.putString("StringKey", "S"); in kindofEquals_bothParcelled_same() 193 bundle1.putString("StringKey", "S"); in kindofEquals_bothParcelled_different() 198 bundle2.putString("StringKey", "T"); in kindofEquals_bothParcelled_different()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 245 verify(mSettingsFacade, never()).putString(any(), any(), any()); in testSetActiveScorer_noChange() 253 verify(mSettingsFacade).putString(mMockContext, in testSetActiveScorer_nullPackage_currentIsSet() 265 verify(mSettingsFacade, never()).putString(any(), any(), any()); in testSetActiveScorer_nullPackage_currentIsNull() 278 verify(mSettingsFacade).putString(mMockContext, in testSetActiveScorer_validPackage() 293 verify(mSettingsFacade, never()).putString(any(), any(), any()); in testSetActiveScorer_invalidPackage() 316 verify(mSettingsFacade, never()).putString(any(), in testUpdateState_currentPackageValid() 335 verify(mSettingsFacade).putString(mMockContext, in testUpdateState_currentPackageNotValid_validDefault() 362 verify(mSettingsFacade, never()).putString(any(), in testUpdateState_currentPackageNull_defaultNull() 376 verify(mSettingsFacade, never()).putString(any(), in testUpdateState_currentPackageEmpty_defaultEmpty() 404 verify(mSettingsFacade, never()).putString(eq(mMockContext), in testMigrateNetworkScorerAppSettingIfNeeded_networkScorerAppIsNull() [all …]
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 84 results.putString("shortMsg", ex.getClass().getName()); in run() 85 results.putString("longMsg", ex.getMessage()); in run() 165 testRunOutput.putString("shortMsg", t.getMessage()); in start() 264 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter() 281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest() 282 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in startTest() 286 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest() 290 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in startTest() 316 mTestResult.putString(REPORT_KEY_STACK, BaseTestRunner.getFilteredTrace(t)); in addError() 319 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addError() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 52 Settings.Secure.putString(r, "test_service", "Value"); in testNameValueCache() 56 Settings.Secure.putString(r, "test_service", "New"); in testNameValueCache() 65 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache() 83 Settings.Secure.putString(getContext().getContentResolver(), testKey, null); in testRowNameContentUriForSecure() 104 Settings.System.putString(getContext().getContentResolver(), testKey, oldValue); in testRowNameContentUriForSystem() 185 Settings.Secure.putString(r, testKey, testValue1); in testSettingsChangeForOtherUser() 229 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test1"); in testParseProviderList() 234 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test2"); in testParseProviderList() 241 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test3"); in testParseProviderList() 250 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-test1"); in testParseProviderList() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationTestRunner.java | 547 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart() 573 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart() 619 mResults.putString(REPORT_KEY_COVERAGE_PATH, coverageFilePath); in generateCoverageReport() 623 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport() 657 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError() 735 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest() 740 mTestResult.putString(REPORT_KEY_SUITE_ASSIGNMENT, assignmentSuite); in endTest() 758 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter() 770 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest() 771 mTestResult.putString(REPORT_KEY_NAME_TEST, testName); in startTest() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableSettingsProviderTest.java | 47 Settings.Secure.putString(mContentResolver, NONEXISTENT_SETTING, null); in setup() 48 Settings.Global.putString(mContentResolver, NONEXISTENT_SETTING, "initial value"); in setup() 49 Settings.Global.putString(mContentResolver, Global.DEVICE_PROVISIONED, null); in setup() 66 Secure.putString(mContentResolver, NONEXISTENT_SETTING, "something"); in testSeparateTables() 67 Global.putString(mContentResolver, NONEXISTENT_SETTING, "else"); in testSeparateTables()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageParserCacheHelperTest.java | 39 source.putString("s1", "abcdef"); in testParcelUnparcel() 40 source.putString("s2", "xyz"); in testParcelUnparcel() 41 source.putString("s3", null); in testParcelUnparcel() 44 nest.putString("s1", "xyz"); in testParcelUnparcel()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleHello.java | 156 putString(out, vmIdent); in handleHELO() 157 putString(out, appName); in handleHELO() 160 putString(out, instructionSetDescription); in handleHELO() 162 putString(out, vmFlags); in handleHELO() 199 putString(out, vmFeatures[i]); in handleFEAT() 203 putString(out, FRAMEWORK_FEATURES[i]); in handleFEAT()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 83 result.putString("empty", ""); in createBundle() 84 result.putString("string", "text"); in createBundle() 88 bundle.putString("bundle_string", "bundle_string"); in createBundle() 94 bundleArray[0].putString("bundle_array_string", "bundle_array_string"); in createBundle() 97 bundleArray[1].putString("bundle_array_string2", "bundle_array_string2"); in createBundle()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothInstrumentation.java | 56 mSuccessResult.putString("result", "SUCCESS"); in onCreate() 97 mSuccessResult.putString("name", name); in getName() 103 mSuccessResult.putString("address", name); in getAddress() 111 mSuccessResult.putString(String.format("device-%02d", i), device.getAddress()); in getBondedDevices()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnoozeTest.java | 53 Settings.Global.putString(mContext.getContentResolver(), in setUp() 74 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithInvalidConfig() 87 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidDefault() 96 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithValidConfig() 110 Settings.Global.putString(mContext.getContentResolver(), in testGetOptionsWithLongConfig()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NetworkTypeControllerTest.java | 89 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_CONFIGURATION_STRING, in setUp() 161 mBundle.putString(CarrierConfigManager.KEY_SHOW_CARRIER_DATA_ICON_PATTERN_STRING, in testUpdateOverrideNetworkTypeLte() 354 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpire() 384 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerReset() 420 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerExpireMmwave() 452 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testPrimaryTimerResetMmwave() 487 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire() 489 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_SECONDARY_GRACE_PERIOD_STRING, in testSecondaryTimerExpire() 528 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_GRACE_PERIOD_STRING, in testSecondaryTimerReset() 530 mBundle.putString(CarrierConfigManager.KEY_5G_ICON_DISPLAY_SECONDARY_GRACE_PERIOD_STRING, in testSecondaryTimerReset() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbAlsaManager.java | 277 properties.putString(MidiDeviceInfo.PROPERTY_NAME, name); in usbDeviceAdded() 278 properties.putString(MidiDeviceInfo.PROPERTY_MANUFACTURER, manufacturer); in usbDeviceAdded() 279 properties.putString(MidiDeviceInfo.PROPERTY_PRODUCT, product); in usbDeviceAdded() 280 properties.putString(MidiDeviceInfo.PROPERTY_VERSION, version); in usbDeviceAdded() 281 properties.putString(MidiDeviceInfo.PROPERTY_SERIAL_NUMBER, in usbDeviceAdded() 333 properties.putString(MidiDeviceInfo.PROPERTY_NAME, r.getString( in setPeripheralMidiState() 335 properties.putString(MidiDeviceInfo.PROPERTY_MANUFACTURER, r.getString( in setPeripheralMidiState() 337 properties.putString(MidiDeviceInfo.PROPERTY_PRODUCT, r.getString( in setPeripheralMidiState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | TestConferenceEventPackageParser.java | 156 bundle.putString(ImsConferenceState.USER, user); in parseParticipant() 157 bundle.putString(ImsConferenceState.DISPLAY_TEXT, displayText); in parseParticipant() 158 bundle.putString(ImsConferenceState.ENDPOINT, endpoint); in parseParticipant() 159 bundle.putString(ImsConferenceState.STATUS, status); in parseParticipant()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | ResourceEntryTest.java | 51 source.putString(ResourceEntry.KEY_PACKAGE_NAME, TEST_PACKAGE_NAME); in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData() 52 source.putString( in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData() 71 source.putString("wrongKeyName", TEST_PACKAGE_NAME); in fromBundleWithoutRequiredData_returnNull()
|
/frameworks/base/test-runner/tests/src/android/test/ |
D | InstrumentationTestRunnerTest.java | 133 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, in testDelayParameter() 156 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, expectedTestClassName); in testAnnotationParameter() 157 args.putString(InstrumentationTestRunner.ARGUMENT_ANNOTATION, FlakyTest.class.getName()); in testAnnotationParameter() 169 args.putString(InstrumentationTestRunner.ARGUMENT_TEST_CLASS, expectedTestClassName); in testNotAnnotationParameter() 170 args.putString(InstrumentationTestRunner.ARGUMENT_NOT_ANNOTATION, in testNotAnnotationParameter() 197 bundle.putString(key, value); in createBundle()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsCallTest.java | 61 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetWifiDeprecated() 85 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetWifiAlt() 97 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE, in testSetLteNoWifiDeprecated() 121 mBundle.putString(ImsCallProfile.EXTRA_CALL_RAT_TYPE_ALT, in testSetLteNoWifiAlt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicyTest.java | 54 Settings.Global.putString(mContext.getContentResolver(), in tearDown() 60 Settings.Global.putString(mContext.getContentResolver(), in testPolicy_valueNull_containsDefaultValue() 76 Settings.Global.putString(mContext.getContentResolver(), in testPolicy_valueNotNull_containsValue()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 83 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUM), in getOldMetadata() 97 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST), in getOldMetadata() 101 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_ARTIST), in getOldMetadata() 105 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_AUTHOR), in getOldMetadata() 109 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPILATION), in getOldMetadata() 113 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_COMPOSER), in getOldMetadata() 117 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_DATE), in getOldMetadata() 129 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_GENRE), in getOldMetadata() 145 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_TITLE), in getOldMetadata() 154 oldMetadata.putString(String.valueOf(MediaMetadataRetriever.METADATA_KEY_WRITER), in getOldMetadata()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | CursorWindowTest.java | 90 assertTrue(window.putString("1198032740000", 0, 3)); in doTestValues() 94 assertTrue(window.putString(Long.toString(1198032740000L), 0, 3)); in doTestValues() 98 assertTrue(window.putString(Double.toString(42.0), 0, 4)); in doTestValues()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 136 results.putString("device_id", mDeviceId); in downloadFile() 137 results.putString("timestamp", ts); in downloadFile() 190 results.putString("device_id", mDeviceId); in uploadFile() 191 results.putString("timestamp", ts); in uploadFile() 247 results.putString("device_id", mDeviceId); in downloadFileUsingDownloadManager() 248 results.putString("timestamp", ts); in downloadFileUsingDownloadManager()
|