/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/ |
D | BluetoothMapEmailProviderTest.java | 169 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_whenTableNameIsWrong() 185 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_success() 355 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in update_forMessageUri_success() 362 Long.parseLong(MESSAGE_ID), in update_forMessageUri_success() 363 Long.parseLong(FOLDER_ID), in update_forMessageUri_success() 398 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, Long.parseLong(ACCOUNT_ID)); in call_success() 399 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, Long.parseLong(FOLDER_ID)); in call_success() 402 verify(mProvider).syncFolder(Long.parseLong(ACCOUNT_ID), Long.parseLong(FOLDER_ID)); in call_success()
|
D | BluetoothMapIMProviderTest.java | 165 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_whenTableNameIsWrong() 181 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_success() 440 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in update_forMessageUri_success() 447 Long.parseLong(MESSAGE_ID), in update_forMessageUri_success() 448 Long.parseLong(FOLDER_ID), in update_forMessageUri_success() 483 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_ACCOUNT_ID, Long.parseLong(ACCOUNT_ID)); in call_updateFolderMethod_success() 484 extras.putLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, Long.parseLong(FOLDER_ID)); in call_updateFolderMethod_success() 487 verify(mProvider).syncFolder(Long.parseLong(ACCOUNT_ID), Long.parseLong(FOLDER_ID)); in call_updateFolderMethod_success()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | CaptionCustomFragment.java | 221 final int color = (int) Long.parseLong(textColor, 16) & 0x00ffffff; in setCaptionsTextColor() 236 final int alpha = (int) Long.parseLong(textOpacity, 16) & 0xff000000; in setCaptionsTextOpacity() 259 0xff000000 | (int) Long.parseLong(edgeColor, 16)); in setCaptionsEdgeColor() 283 final int color = (int) Long.parseLong(backgroundColor, 16) & 0x00ffffff; in setCaptionsBackgroundColor() 298 final int alpha = (int) Long.parseLong(backgroundOpacity, 16) & 0xff000000; in setCaptionsBackgroundOpacity() 323 final int color = (int) Long.parseLong(windowColor, 16) & 0x00ffffff; in setCaptionsWindowColor() 338 final int alpha = (int) Long.parseLong(windowOpacity, 16) & 0xff000000; in setCaptionsWindowOpacity()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MetadataTest.java | 145 Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadata() 148 Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadata() 151 MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)); in getMediaMetadata() 164 Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadataWithBitmap() 167 Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadataWithBitmap() 169 .putLong(MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)) in getMediaMetadataWithBitmap() 183 Long.parseLong(SONG_TRACK_NUM)) in getMediaMetadataWithUri() 186 Long.parseLong(SONG_NUM_TRACKS)) in getMediaMetadataWithUri() 188 .putLong(MediaMetadata.METADATA_KEY_DURATION, Long.parseLong(SONG_DURATION)) in getMediaMetadataWithUri() 226 bundle.putLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER, Long.parseLong(SONG_TRACK_NUM)); in getBundle() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | ModelTestUtils.java | 38 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL, Long.parseLong(id)), in generateItem() 56 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL, Long.parseLong(id)), in generateSpecialFormatItem()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | OnDeviceClassifier.java | 265 return Long.parseLong(modelVersion); in getBertModelVersion() 288 return Long.parseLong(labelsVersion); in getBertLabelsVersion() 332 Long.parseLong( in load() 335 Long.parseLong( in load()
|
D | PrecomputedClassifier.java | 197 Long.parseLong( in load() 200 Long.parseLong( in load()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/ |
D | FileUtils.java | 45 long timestamp = Long.parseLong(fileNameList[1]); in cleanUpFilesDir() 56 if (timestamp < Long.parseLong(existingFile.getName().split("_")[1])) { in cleanUpFilesDir()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/ |
D | PpsMoParser.java | 752 oiArray[i] = parseLong(oiStrArray[i], 16); in parseRoamingConsortiumOI() 803 hessid = parseLong(getPpsNodeValue(child), 16); in parseNetworkIdInstance() 1281 downlinkBandwidth = parseLong(getPpsNodeValue(child), 10); in parseMinBackhaulThresholdInstance() 1284 uplinkBandwidth = parseLong(getPpsNodeValue(child), 10); in parseMinBackhaulThresholdInstance() 1326 updateParam.setUpdateIntervalInMinutes(parseLong(getPpsNodeValue(child), 10)); in parseUpdateParameter() 1605 config.setUsageLimitDataLimit(parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1611 config.setUsageLimitTimeLimitInMinutes(parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1615 parseLong(getPpsNodeValue(child), 10)); in parseUsageLimits() 1852 private static long parseLong(String value, int radix) throws ParsingException { in parseLong() method in PpsMoParser 1854 return Long.parseLong(value, radix); in parseLong()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | IngressRateLimitPreferenceControllerTest.java | 93 assertThat(Long.parseLong(mPreference.getValue())).isEqualTo(newRateLimit); in updateState_preferenceShouldBeSelected() 103 assertThat(Long.parseLong(mPreference.getValue())).isEqualTo(-1); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | KeyValueData.java | 148 return Long.parseLong(mValue); in getReportingJobLastExecutionTime() 163 return Long.parseLong(mValue); in getReportingJobNextExecutionTime()
|
/packages/modules/Scheduling/tests/hostsidetests/src/com/android/tests/scheduling/host/ |
D | RebootReadinessHostTest.java | 113 mTimeToRebootReadyMs = Long.parseLong(key); in setField() 116 mTimeToFirstUnlockMs = Long.parseLong(key); in setField()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/entitlement/ |
D | EntitlementConfiguration.java | 132 .map(Long::parseLong) in getTokenValidity() 151 .map(Long::parseLong) in getVersValidity()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataParser.java | 82 Long.parseLong(arguments.get(UPDATE_FIELD_NAME)), in parseOneWordList() 83 Long.parseLong(arguments.get(FILESIZE_FIELD_NAME)), in parseOneWordList()
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/http/ |
D | HttpClientUtil.java | 130 totalBytes += Long.parseLong(request.getExtraHeaders().get(CONTENT_LENGTH_HDR)); in getTotalSentBytes() 150 totalBytes += Long.parseLong(header.getValue().get(0)); in getTotalReceivedBytes()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/ |
D | CommonClassifierHelperTest.java | 143 Long.parseLong( in setUp() 146 Long.parseLong( in setUp() 153 Long.parseLong( in setUp() 158 Long.parseLong( in setUp()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 113 long timeout = Long.parseLong(mInitialValues[i].toString()); in removeUnusableTimeouts() 137 && Long.parseLong(revisedValues.get(revisedValues.size() - 1).toString()) in removeUnusableTimeouts()
|
D | ScreenTimeoutPreferenceController.java | 142 if (currentTimeout == Long.parseLong(mTimeoutValues[i].toString())) { in getCurrentTimeout() 154 if (Long.parseLong(mTimeoutValues[i].toString()) <= maxTimeout) { in getLargestTimeout()
|
/packages/providers/MediaProvider/src/com/android/providers/media/stableuris/dao/ |
D | BackupIdRow.java | 115 long value = Long.parseLong(dateExpires); in setDateExpires() 266 BackupIdRow.Builder builder = BackupIdRow.newBuilder(Long.parseLong(fields[1])); in deserialize()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 233 if (mDm.remove(Long.parseLong(docId)) != 1) { in deleteDocument() 256 final long id = Long.parseLong(docId); in renameDocument() 292 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in queryDocument() 504 final long id = Long.parseLong(docId); in getDocumentType() 528 final long id = Long.parseLong(docId); in openDocument() 555 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId))); in getFileForDocId() 790 return getDocIdForMediaStoreDownload(Long.parseLong(uri.getLastPathSegment()), isDir); in getDocIdForMediaStoreDownloadUri() 974 Long.parseLong(parentId)); in buildSearchSelection()
|
D | MediaStoreDownloadsHelper.java | 37 return Long.parseLong(getMediaStoreIdString(docId)); in getMediaStoreId()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/transformer/ |
D | PersonEnterpriseTransformer.java | 121 long contactId = Long.parseLong(originalDocument.getId()); in transformDocument() 173 long contactId = Long.parseLong(pathSegments.get(3)); in getCorpLookupUri()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | KeyValueListParser.java | 99 return Long.parseLong(value); in getLong() 210 return Long.parseLong(value); in getDurationMillis()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | Bpf2Apf.java | 46 final long val_long = Long.parseLong(arg.substring(3), 16); in parseImm() 47 if (val_long < 0 || val_long > Long.parseLong("ffffffff", 16)) { in parseImm()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
D | CursorUtils.java | 63 return Long.parseLong(value); in getCursorLong()
|