Home
last modified time | relevance | path

Searched refs:valueOf (Results 1 – 25 of 1057) sorted by relevance

12345678910>>...43

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DTestDataFactory.java106 new Object[] { Long.valueOf(1), "name1", "content://icon1", in getConversationListCursor()
107 "snippetText1", "content://snippetUri1", Long.valueOf(10), 1, in getConversationListCursor()
109 new Object[] { Long.valueOf(2), "name2", "content://icon2", in getConversationListCursor()
110 "snippetText2", "content://snippetUri2", Long.valueOf(20) + 24*60*60*1000, in getConversationListCursor()
112 new Object[] { Long.valueOf(3), "name3", "content://icon3", in getConversationListCursor()
113 "snippetText3", "content://snippetUri3", Long.valueOf(30) + 2*24*60*60*1000, in getConversationListCursor()
129 new Object[] { Long.valueOf(0), Long.valueOf(1), Long.valueOf(1), in getConversationMessageCursor()
130 Long.valueOf(10), Long.valueOf(10), in getConversationMessageCursor()
133 new Object[] { Long.valueOf(1), Long.valueOf(1), Long.valueOf(2), in getConversationMessageCursor()
134 Long.valueOf(20), Long.valueOf(20), in getConversationMessageCursor()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java224 DATA_DOWNLOAD_STATE_KEY, String.valueOf(testDownloadStateSet)); in testSetDataDownloadState_downloadStarted_schedulesDownloadTimeoutJob()
236 .isEqualTo(String.valueOf(testDownloadStateSet)); in testSetDataDownloadState_downloadStarted_schedulesDownloadTimeoutJob()
246 DATA_DOWNLOAD_STATE_KEY, String.valueOf(testDownloadStateSet)); in testSetDataDownloadState_downloadRetry_schedulesDownloadTimeoutJob()
256 .isEqualTo(String.valueOf(testDownloadStateSet)); in testSetDataDownloadState_downloadRetry_schedulesDownloadTimeoutJob()
265 DATA_RESTORE_STATE_KEY, String.valueOf(INTERNAL_RESTORE_STATE_WAITING_FOR_STAGING)); in testSetInternalRestoreState_waitingForStaging_schedulesStagingTimeoutJob()
276 .isEqualTo(String.valueOf(INTERNAL_RESTORE_STATE_WAITING_FOR_STAGING)); in testSetInternalRestoreState_waitingForStaging_schedulesStagingTimeoutJob()
285 DATA_RESTORE_STATE_KEY, String.valueOf(INTERNAL_RESTORE_STATE_STAGING_IN_PROGRESS)); in testSetInternalRestoreState_stagingInProgress_schedulesStagingTimeoutJob()
296 .isEqualTo(String.valueOf(INTERNAL_RESTORE_STATE_STAGING_IN_PROGRESS)); in testSetInternalRestoreState_stagingInProgress_schedulesStagingTimeoutJob()
306 DATA_RESTORE_STATE_KEY, String.valueOf(INTERNAL_RESTORE_STATE_MERGING_IN_PROGRESS)); in testSetInternalRestoreState_mergingInProgress_schedulesMergingTimeoutJob()
317 .isEqualTo(String.valueOf(INTERNAL_RESTORE_STATE_MERGING_IN_PROGRESS)); in testSetInternalRestoreState_mergingInProgress_schedulesMergingTimeoutJob()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregatePayloadGeneratorTest.java78 aggregatableSource.put("campaignCounts", BigInteger.valueOf(345L)); in testGenerateAttributionReport_twoContributions_filterSetMatches()
79 aggregatableSource.put("geoValue", BigInteger.valueOf(5L)); in testGenerateAttributionReport_twoContributions_filterSetMatches()
125 .setKey(BigInteger.valueOf(1024L)) in testGenerateAttributionReport_twoContributions_filterSetMatches()
133 .setKey(BigInteger.valueOf(2688L)) in testGenerateAttributionReport_twoContributions_filterSetMatches()
162 .setKey(BigInteger.valueOf(1369L)) in testGenerateAttributionReport_twoContributions_filterSetMatches()
168 .setKey(BigInteger.valueOf(2693L)) in testGenerateAttributionReport_twoContributions_filterSetMatches()
180 aggregatableSource.put("campaignCounts", BigInteger.valueOf(345L)); in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
181 aggregatableSource.put("geoValue", BigInteger.valueOf(5L)); in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
220 .setKey(BigInteger.valueOf(1024L)) in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
228 .setKey(BigInteger.valueOf(2688L)) in testGenerateAttributionReport_filterSetMatches_withPayloadPadding()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkInfo_DetailedStateTest.java26 assertEquals(DetailedState.AUTHENTICATING, DetailedState.valueOf("AUTHENTICATING")); in testValueOf()
27 assertEquals(DetailedState.CONNECTED, DetailedState.valueOf("CONNECTED")); in testValueOf()
28 assertEquals(DetailedState.CONNECTING, DetailedState.valueOf("CONNECTING")); in testValueOf()
29 assertEquals(DetailedState.DISCONNECTED, DetailedState.valueOf("DISCONNECTED")); in testValueOf()
30 assertEquals(DetailedState.DISCONNECTING, DetailedState.valueOf("DISCONNECTING")); in testValueOf()
31 assertEquals(DetailedState.FAILED, DetailedState.valueOf("FAILED")); in testValueOf()
32 assertEquals(DetailedState.IDLE, DetailedState.valueOf("IDLE")); in testValueOf()
33 assertEquals(DetailedState.OBTAINING_IPADDR, DetailedState.valueOf("OBTAINING_IPADDR")); in testValueOf()
34 assertEquals(DetailedState.SCANNING, DetailedState.valueOf("SCANNING")); in testValueOf()
35 assertEquals(DetailedState.SUSPENDED, DetailedState.valueOf("SUSPENDED")); in testValueOf()
DNetworkInfo_StateTest.java25 assertEquals(State.CONNECTED, State.valueOf("CONNECTED")); in testValueOf()
26 assertEquals(State.CONNECTING, State.valueOf("CONNECTING")); in testValueOf()
27 assertEquals(State.DISCONNECTED, State.valueOf("DISCONNECTED")); in testValueOf()
28 assertEquals(State.DISCONNECTING, State.valueOf("DISCONNECTING")); in testValueOf()
29 assertEquals(State.SUSPENDED, State.valueOf("SUSPENDED")); in testValueOf()
30 assertEquals(State.UNKNOWN, State.valueOf("UNKNOWN")); in testValueOf()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DProcfsUidIoStatsProvider.java73 int uid = Integer.valueOf(tokenizer.nextToken()); in load()
74 long foreground_rchar = Long.valueOf(tokenizer.nextToken()); in load()
75 long foreground_wchar = Long.valueOf(tokenizer.nextToken()); in load()
76 long foreground_read_bytes = Long.valueOf(tokenizer.nextToken()); in load()
77 long foreground_write_bytes = Long.valueOf(tokenizer.nextToken()); in load()
78 long background_rchar = Long.valueOf(tokenizer.nextToken()); in load()
79 long background_wchar = Long.valueOf(tokenizer.nextToken()); in load()
80 long background_read_bytes = Long.valueOf(tokenizer.nextToken()); in load()
81 long background_write_bytes = Long.valueOf(tokenizer.nextToken()); in load()
82 long foreground_fsync = Long.valueOf(tokenizer.nextToken()); in load()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DVenueUrlElementTest.java107 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseTruncatedBuffer()
177 urlList.put(Integer.valueOf(249), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithNegativeVenueNumberAndUrlData()
202 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithValidVenueUrls()
203 urlList.put(Integer.valueOf(2), createUrlFromString(TEST_VENUE_URL2)); in parseBufferWithValidVenueUrls()
204 urlList.put(Integer.valueOf(4), createUrlFromString(TEST_VENUE_URL3)); in parseBufferWithValidVenueUrls()
219 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithValidVenueUrlsAndCapsUrls()
220 urlList.put(Integer.valueOf(2), createUrlFromString(TEST_VENUE_URL2)); in parseBufferWithValidVenueUrlsAndCapsUrls()
221 urlList.put(Integer.valueOf(3), createUrlFromString(TEST_VENUE_URL_CAPS)); in parseBufferWithValidVenueUrlsAndCapsUrls()
222 urlList.put(Integer.valueOf(4), createUrlFromString(TEST_VENUE_URL3)); in parseBufferWithValidVenueUrlsAndCapsUrls()
257 urlList.put(Integer.valueOf(1), createUrlFromString(TEST_VENUE_URL1)); in parseBufferWithValidVenueUrlsAndOneInsecureUrl()
[all …]
/packages/services/Telephony/src/com/android/phone/
DImsProvisioningLoader.java165 String.valueOf(imsFeature)); in getProvisioningStatusFromSubIdBundle()
172 String.valueOf(tech)); in getProvisioningStatusFromSubIdBundle()
178 return getIntValueFromBundle(String.valueOf(capability), capabilityBundle); in getProvisioningStatusFromSubIdBundle()
187 String.valueOf(imsFeature)); in setProvisioningStatusToSubIdBundle()
190 subIdBundle.putPersistableBundle(String.valueOf(imsFeature), regTechBundle); in setProvisioningStatusToSubIdBundle()
194 String.valueOf(tech)); in setProvisioningStatusToSubIdBundle()
197 regTechBundle.putPersistableBundle(String.valueOf(tech), capabilityBundle); in setProvisioningStatusToSubIdBundle()
200 capabilityBundle.putInt(String.valueOf(capability), newStatus); in setProvisioningStatusToSubIdBundle()
296 setProvisioningStatusToSubIdBundle(Integer.valueOf(paramArray[0]), in setProvisioningToXml()
297 Integer.valueOf(paramArray[1]), Integer.valueOf(paramArray[2]), in setProvisioningToXml()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/fixture/
DTestableSystemPropertiesTest.java45 .isEqualTo(String.valueOf(shellCommandConfiguredValue)); in testForceToReturnDefaultValue_intValue()
53 TestableSystemProperties.set(systemPropertyKey, String.valueOf(apiConfiguredValue)); in testForceToReturnDefaultValue_intValue()
68 .isEqualTo(String.valueOf(shellCommandConfiguredValue)); in testForceToReturnDefaultValue_longValue()
76 TestableSystemProperties.set(systemPropertyKey, String.valueOf(apiConfiguredValue)); in testForceToReturnDefaultValue_longValue()
91 .isEqualTo(String.valueOf(shellCommandConfiguredValue)); in testForceToReturnDefaultValue_booleanValue()
99 TestableSystemProperties.set(systemPropertyKey, String.valueOf(apiConfiguredValue)); in testForceToReturnDefaultValue_booleanValue()
114 .isEqualTo(String.valueOf(shellCommandConfiguredValue)); in testForceToReturnDefaultValue_stringValue()
148 String stringVal = String.valueOf(systemPropertyValue); in setSystemPropertyByRunningAdbCommand()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeAdapter.java73 vh.currentVolume.setText(String.valueOf(mVolumeList[position].currentGain)); in getView()
78 vh.isMuted.setText(String.valueOf("Muted?")); in getView()
79 vh.isAttenuated.setText(String.valueOf("Attenuated?")); in getView()
80 vh.isBlocked.setText(String.valueOf("Blocked?")); in getView()
81 vh.isSystemMuted.setText(String.valueOf("System Muted?")); in getView()
87 vh.maxVolume.setText(String.valueOf(mVolumeList[position].maxGain)); in getView()
88 vh.isMuted.setText(String.valueOf(mVolumeList[position].isMuted)); in getView()
89 vh.isAttenuated.setText(String.valueOf(mVolumeList[position].isAttenuated)); in getView()
90 vh.isBlocked.setText(String.valueOf(mVolumeList[position].isBlocked)); in getView()
91 vh.isSystemMuted.setText(String.valueOf(mVolumeList[position].isSystemMuted)); in getView()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailViewHolder.java167 String.valueOf(viewHolderVoicemailUri), in bindViewHolderValuesFromAdapter()
168 String.valueOf(mediaPlayerView.getVoicemailUri()), in bindViewHolderValuesFromAdapter()
189 String.valueOf(viewHolderVoicemailUri), in bindViewHolderValuesFromAdapter()
190 String.valueOf(mediaPlayerView.getVoicemailUri()), in bindViewHolderValuesFromAdapter()
215 String.valueOf(mediaPlayerView.getVoicemailUri()), in collapseViewHolder()
216 String.valueOf(viewHolderVoicemailUri)); in collapseViewHolder()
232 String.valueOf(viewHolderVoicemailUri), in reset()
234 String.valueOf(mediaPlayerView.getVoicemailUri())); in reset()
252 String.valueOf(viewHolderVoicemailUri), in reset()
289 String.valueOf(viewHolderVoicemailUri), in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerImplTest.java124 batcher.add(new PersonBuilderHelper(/*id=*/ String.valueOf(i), in testBatcher_noFlushBeforeReachingLimit()
125 new Person.Builder("namespace", /*id=*/ String.valueOf(i), /*name=*/ in testBatcher_noFlushBeforeReachingLimit()
126 String.valueOf(i))).setCreationTimestampMillis(0), in testBatcher_noFlushBeforeReachingLimit()
143 /*id=*/ String.valueOf(i), in testBatcher_autoFlush()
144 new Person.Builder("namespace", /*id=*/ String.valueOf(i), /*name=*/ in testBatcher_autoFlush()
145 String.valueOf(i)) in testBatcher_autoFlush()
403 batcher.add(new PersonBuilderHelper(/*id=*/ String.valueOf(i), in testBatcher_batchedContactClearedAfterFlush()
404 new Person.Builder("namespace", /*id=*/ String.valueOf(i), /*name=*/ in testBatcher_batchedContactClearedAfterFlush()
405 String.valueOf(i)) in testBatcher_batchedContactClearedAfterFlush()
418 batcher.add(new PersonBuilderHelper(/*id=*/ String.valueOf(i), in testBatcher_batchedContactClearedAfterFlush()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java128 String.valueOf(false).getBytes()); in refresh_connectedWatch_behaveAsExpected()
149 String.valueOf(false).getBytes()); in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()
152 String.valueOf(BluetoothUtils.META_INT_ERROR).getBytes()); in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel()
175 String.valueOf(false).getBytes()); in refresh_connectedStylus_behaveAsExpected()
195 String.valueOf(false).getBytes()); in refresh_connectedUnknownType_behaveAsExpected()
215 String.valueOf(false).getBytes()); in refresh_connectedUntetheredHeadset_behaveAsExpected()
218 String.valueOf(BATTERY_LEVEL_LEFT).getBytes()); in refresh_connectedUntetheredHeadset_behaveAsExpected()
221 String.valueOf(BATTERY_LEVEL_RIGHT).getBytes()); in refresh_connectedUntetheredHeadset_behaveAsExpected()
224 String.valueOf(BATTERY_LEVEL_MAIN).getBytes()); in refresh_connectedUntetheredHeadset_behaveAsExpected()
238 String.valueOf(true).getBytes()); in refresh_connected_updateCorrectInfo()
[all …]
DBluetoothDetailsHearingAidsPresetsControllerTest.java136 String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_keyMatched_verifyStatusUpdated()
147 presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_keyNotMatched_doNothing()
159 mController.onPreferenceChange(presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_supportGroupOperation_validGroupId_verifySelectPresetForGroup()
170 mController.onPreferenceChange(presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_notSupportGroupOperation_verifySelectPreset()
181 mController.onPreferenceChange(presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_invalidGroupId_verifySelectPreset()
192 mController.onPreferenceChange(presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_notSupportGroupOperation_hasSubDevice_verifyStatusUpdated()
204 mController.onPreferenceChange(presetPreference, String.valueOf(TEST_PRESET_INDEX)); in onPreferenceChange_notSupportGroupOperation_hasMemberDevice_verifyStatusUpdated()
258 mController.getPreference().setValue(String.valueOf(TEST_PRESET_INDEX)); in onPresetSelectionForGroupFailed_selectPresetIsCalled()
274 when(presetPreference.findIndexOfValue(String.valueOf(TEST_PRESET_INDEX))).thenReturn(0); in getTestPresetPreference()
277 new CharSequence[]{String.valueOf(TEST_PRESET_INDEX)}); in getTestPresetPreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetNetworkSubscriptionPreferenceControllerTest.java196 String.valueOf(INVALID_SUBSCRIPTION_ID)); in refreshUi_nullSubscriptions_setsValue()
217 String.valueOf(INVALID_SUBSCRIPTION_ID)); in refreshUi_noSubscriptions_setsValue()
241 assertThat(mPreference.getValue()).isEqualTo(String.valueOf(SUBID_1)); in refreshUi_oneSubscription_setsValue()
270 String.valueOf(SUBID_1), in refreshUi_multipleSubscriptions_populatesEntries()
271 String.valueOf(SUBID_2)); in refreshUi_multipleSubscriptions_populatesEntries()
285 assertThat(mPreference.getValue()).isEqualTo(String.valueOf(SUBID_4)); in refreshUi_defaultSelection_fourthPriority_system()
300 assertThat(mPreference.getValue()).isEqualTo(String.valueOf(SUBID_3)); in refreshUi_defaultSelection_thirdPriority_sms()
316 assertThat(mPreference.getValue()).isEqualTo(String.valueOf(SUBID_2)); in refreshUi_defaultSelection_secondPriority_voice()
333 assertThat(mPreference.getValue()).isEqualTo(String.valueOf(SUBID_1)); in refreshUi_defaultSelection_firstPriority_data()
353 assertThat(title).contains(String.valueOf(subInfo.getMcc())); in refreshUi_title_fourthPriority_subscriptionNetworkIds()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java95 mAppTargetSdk.setText(String.valueOf(appInfo.targetSdkVersion)); in onStart()
96 mAppCompilationSdk.setText(String.valueOf(appInfo.compileSdkVersion)); in onStart()
97 mAndroidSdkCodename.setText(String.valueOf(VERSION.CODENAME)); in onStart()
98 mAndroidSdkVersion.setText(String.valueOf(VERSION.SDK_INT)); in onStart()
99 mCarMajorVersion.setText(String.valueOf(carApiVersion.getMajorVersion())); in onStart()
100 mCarMinorVersion.setText(String.valueOf(carApiVersion.getMinorVersion())); in onStart()
130 mAppCarTargetMajorSdk.setText(String.valueOf(apiVersion.getMajorVersion())); in setTargetCarApiVersion()
131 mAppCarTargetMinorSdk.setText(String.valueOf(apiVersion.getMinorVersion())); in setTargetCarApiVersion()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNetlinkConstants.java74 return String.valueOf(family); in stringForAddressFamily()
83 return String.valueOf(protocol); in stringForProtocol()
187 default: return "unknown control message type: " + String.valueOf(nlmType); in stringForCtlMsgType()
215 default: return "unknown RTM type: " + String.valueOf(nlmType); in stringForRtMsgType()
226 default: return "unknown SOCK_DIAG type: " + String.valueOf(nlmType); in stringForInetDiagMsgType()
251 return "unknown NETFILTER type: " + String.valueOf(nlmType); in stringForNfMsgType()
270 return "unknown type: " + String.valueOf(nlmType); in stringForNlMsgType()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/viewmodel/
DPickerViewModelTest.java424 testUrisAsString.add(Uri.parse(testUriPrefix + String.valueOf(i))); in test_preSelectionItemsExceedMaxLimit_initialisationOfItemsFails()
457 itemList.add(generateFakeImageItem(String.valueOf(i))); in generateFakeImageItemList()
467 FAKE_ID + String.valueOf(i), in generateCursorForFakeCategories()
470 FAKE_ID + String.valueOf(i), in generateCursorForFakeCategories()
518 String.valueOf(itr), in getAllItems()
519 String.valueOf(item.getDateTaken()), in getAllItems()
520 String.valueOf(item.getGenerationModified()), in getAllItems()
522 String.valueOf(item.getSpecialFormat()), in getAllItems()
525 String.valueOf(item.getDuration()), in getAllItems()
527 String.valueOf(800), // width in getAllItems()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DPickerDbTestUtils.java160 String.valueOf(dateTakenMs), in getMediaCursor()
161 String.valueOf(generationModified), in getMediaCursor()
162 String.valueOf(sizeBytes), in getMediaCursor()
164 String.valueOf(standardMimeTypeExtension), in getMediaCursor()
165 String.valueOf(DURATION_MS), in getMediaCursor()
166 String.valueOf(isFavorite ? 1 : 0), in getMediaCursor()
167 String.valueOf(HEIGHT), in getMediaCursor()
168 String.valueOf(WIDTH), in getMediaCursor()
169 String.valueOf(ORIENTATION), in getMediaCursor()
191 String.valueOf(dateTakenMs), in getAlbumCursor()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java392 + String.valueOf(ScanMode) in testScreenOffStartUnfilteredScan()
394 + String.valueOf(expectedScanMode)); in testScreenOffStartUnfilteredScan()
425 + String.valueOf(ScanMode) in testScreenOffStartFilteredScan()
427 + String.valueOf(expectedScanMode)); in testScreenOffStartFilteredScan()
459 + String.valueOf(ScanMode) in testScreenOffStartEmptyFilterScan()
461 + String.valueOf(expectedScanMode)); in testScreenOffStartEmptyFilterScan()
492 + String.valueOf(ScanMode) in testScreenOnStartUnfilteredScan()
494 + String.valueOf(expectedScanMode)); in testScreenOnStartUnfilteredScan()
525 + String.valueOf(ScanMode) in testScreenOnStartFilteredScan()
527 + String.valueOf(expectedScanMode)); in testScreenOnStartFilteredScan()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsDao.java254 String[] joinedSelectionArgs = {String.valueOf(fromEventId), serviceName}; in readAllNewRowsForPackage()
261 String[] queriesSelectionArgs = {String.valueOf(fromQueryId), serviceName}; in readAllNewRowsForPackage()
284 String[] joinedSelectionArgs = {String.valueOf(fromEventId)}; in readAllNewRows()
290 String[] queriesSelectionArgs = {String.valueOf(fromQueryId)}; in readAllNewRows()
441 String[] eventsSelectionArgs = {String.valueOf(timestamp)}; in deleteEventsAndQueries()
450 String[] queriesSelectionArgs = {String.valueOf(timestamp)}; in deleteEventsAndQueries()
474 String[] selectionArgs = {String.valueOf(startTimeMillis), String.valueOf( in readAllQueries()
493 String[] selectionArgs = {String.valueOf(startTimeMillis), String.valueOf( in readAllEventIds()
532 String.valueOf(queryId), in hasEvent()
533 String.valueOf(type), in hasEvent()
[all …]
/packages/apps/Settings/src/com/android/settings/display/
DNightDisplayAutoModePreferenceController.java61 String.valueOf(ColorDisplayManager.AUTO_MODE_DISABLED), in displayPreference()
62 String.valueOf(ColorDisplayManager.AUTO_MODE_CUSTOM_TIME), in displayPreference()
63 String.valueOf(ColorDisplayManager.AUTO_MODE_TWILIGHT) in displayPreference()
69 mPreference.setValue(String.valueOf(mColorDisplayManager.getNightDisplayAutoMode())); in updateState()
74 if (String.valueOf(ColorDisplayManager.AUTO_MODE_TWILIGHT).equals(newValue) in onPreferenceChange()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceControllerTest.java208 .contains(String.valueOf(TelephonyManager.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA)); in updateState_LteWorldPhone_GlobalHasLte()
223 .contains(String.valueOf(TelephonyManager.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA)); in updateState_5gWorldPhone_GlobalHasNr()
242 String.valueOf( in updateState_selectedOn5gItem()
263 String.valueOf(TelephonyManager.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA)); in updateState_disAllowed5g_5gOptionHidden()
281 String.valueOf( in updateState_disAllowed5g_selectOn4gOption()
302 String.valueOf( in updateState_NrEnableBoolFalse_5gOptionHidden()
307 String.valueOf(TelephonyManager.NETWORK_MODE_NR_LTE_GSM_WCDMA)); in updateState_NrEnableBoolFalse_5gOptionHidden()
327 String.valueOf(TelephonyManager.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA)); in updateState_GlobalDisAllowed5g_GlobalWithoutNR()
345 String.valueOf( in updateState_GlobalDisAllowed5g_SelectOnGlobal()
361 String.valueOf(TelephonyManagerConstants.NETWORK_MODE_TDSCDMA_GSM_WCDMA)); in updateState_updateByNetworkMode()
[all …]
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModelTest.kt295 Color.valueOf(Color.RED), in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
296 Color.valueOf(Color.GREEN), in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
297 Color.valueOf(Color.BLUE) in wallpaperColors_withStoredColorsAndNullCropHints_returnsColorsStoredInPreferences()
330 Color.valueOf(Color.CYAN), in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
331 Color.valueOf(Color.MAGENTA), in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
332 Color.valueOf(Color.YELLOW) in wallpaperColors_withNoStoredColorsAndNullCropHints_returnsClientWallpaperColors()
364 Color.valueOf(Color.RED), in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
365 Color.valueOf(Color.GREEN), in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
366 Color.valueOf(Color.BLUE) in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
370 Color.valueOf(Color.CYAN), in wallpaperColors_withStoredColorsAndNonNullCropHints_returnsClientWallpaperColors()
[all …]
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java84 builder.appendQueryParameter(CONTACT_TYPE_PARAM_KEY, String.valueOf(request.contactType)); in getDefaultAvatarUriForContact()
87 builder.appendQueryParameter(SCALE_PARAM_KEY, String.valueOf(request.scale)); in getDefaultAvatarUriForContact()
90 builder.appendQueryParameter(OFFSET_PARAM_KEY, String.valueOf(request.offset)); in getDefaultAvatarUriForContact()
93 builder.appendQueryParameter(IS_CIRCULAR_PARAM_KEY, String.valueOf(request.isCircular)); in getDefaultAvatarUriForContact()
109 builder.encodedFragment(String.valueOf(LetterTileDrawable.TYPE_BUSINESS)); in appendBusinessContactType()
142 && encodedFragment.equals(String.valueOf(LetterTileDrawable.TYPE_BUSINESS)); in isBusinessContactUri()
154 request.contactType = Integer.valueOf(contactType); in getDefaultImageRequestFromUri()
159 request.scale = Float.valueOf(scale); in getDefaultImageRequestFromUri()
164 request.offset = Float.valueOf(offset); in getDefaultImageRequestFromUri()
169 request.isCircular = Boolean.valueOf(isCircular); in getDefaultImageRequestFromUri()

12345678910>>...43