/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | StoragedDumpsysTest.java | 137 if ((Integer.parseInt(parts[6]) >= 8192 && Integer.parseInt(parts[8]) == 0) || in testStoragedOutput() 138 (Integer.parseInt(parts[2]) >= 8192 && Integer.parseInt(parts[4]) == 0)) { in testStoragedOutput() 142 … } else if ((Integer.parseInt(parts[2]) >= 4096 && Integer.parseInt(parts[4]) >= 4096) || in testStoragedOutput() 143 Integer.parseInt(parts[4]) >= 8192) { in testStoragedOutput() 149 … assertTrue((Integer.parseInt(parts[6]) >= 4096 && Integer.parseInt(parts[8]) >= 4096) || in testStoragedOutput() 150 Integer.parseInt(parts[8]) >= 8192); in testStoragedOutput()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockNetworkConfig.java | 109 mId = Integer.parseInt(parser.getAttributeValue(null, "id").trim()); in MockNetworkProfile() 152 lte.cellIdentityLte.ci = Integer.parseInt(parser.nextText().trim()); in loadLteCellIdentity() 155 lte.cellIdentityLte.pci = Integer.parseInt(parser.nextText().trim()); in loadLteCellIdentity() 158 lte.cellIdentityLte.tac = Integer.parseInt(parser.nextText().trim()); in loadLteCellIdentity() 161 lte.cellIdentityLte.earfcn = Integer.parseInt(parser.nextText().trim()); in loadLteCellIdentity() 199 Integer.parseInt(parser.nextText().trim()); in loadLteSignalStrength() 202 lte.signalStrengthLte.rsrp = Integer.parseInt(parser.nextText().trim()); in loadLteSignalStrength() 205 lte.signalStrengthLte.rsrq = Integer.parseInt(parser.nextText().trim()); in loadLteSignalStrength() 208 lte.signalStrengthLte.rssnr = Integer.parseInt(parser.nextText().trim()); in loadLteSignalStrength() 211 lte.signalStrengthLte.cqi = Integer.parseInt(parser.nextText().trim()); in loadLteSignalStrength() [all …]
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/ |
D | ContactsSharingTest.java | 147 Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders() 153 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders() 180 Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders() 186 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders() 213 Integer.parseInt(sCloneUserId), in testCloneContactsProviderApplyBatch_rawContacts_noContactsInsertedInBothProviders() 219 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderApplyBatch_rawContacts_noContactsInsertedInBothProviders() 244 Integer.parseInt(sCloneUserId), args); in testCloneContactsProviderUpdates_rawContactsUpdate_doesNotUpdateActually() 266 Integer.parseInt(sCloneUserId), args); in testCloneContactsProviderDeletes_rawContactsDelete_doesNotDeleteActually() 283 Integer.parseInt(sCloneUserId), args); in testCloneAccountsContactsSync_syncsAreDisabled() 305 Integer.parseInt(sCloneUserId), args); in testReadsForClonedAppWithLauncherActivity_rawContactReads_redirectsToPrimary() [all …]
|
D | ManagedProfileContactsAccessTest.java | 148 return Integer.parseInt(tokens[tokens.length - 1]); in getUserIdFromCreateUserCommandOutput() 211 Integer.parseInt(sCloneUserId), args); in testClonedAppsAccessManagedProfileContacts_contactReadSuccessfully() 223 Integer.parseInt(sManagedProfileUserId)); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked() 238 Integer.parseInt(sManagedProfileUserId), new HashMap<>()); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked() 244 Integer.parseInt(sCloneUserId), args); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked() 250 Integer.parseInt(sManagedProfileUserId), new HashMap<>()); in testClonedAppsAccessManagedProfileContacts_contactReadsBlocked()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | PidTidPair.java | 29 pid = Integer.parseInt(metrics.get("AtraceDeviceTests_pid")); in PidTidPair() 30 tid = Integer.parseInt(metrics.get("AtraceDeviceTests_tid")); in PidTidPair()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1UTCTime.java | 197 year = Integer.parseInt(result.substring(0, yearLength)); in retrieveResult() 206 month = Integer.parseInt(result.substring(yearLength, yearLength + 2)); in retrieveResult() 207 day = Integer.parseInt(result.substring(yearLength + 2, yearLength + 4)); in retrieveResult() 208 hour = Integer.parseInt(result.substring(yearLength + 4, yearLength + 6)); in retrieveResult() 209 minute = Integer.parseInt(result.substring(yearLength + 6, yearLength + 8)); in retrieveResult() 211 second = Integer.parseInt(result.substring(yearLength + 8, yearLength + 10)); in retrieveResult()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceIdleDeviceInfo.java | 30 return Integer.parseInt(output) != 0; in isDeviceIdleEnabled() 35 return Integer.parseInt(output) != 0; in isDeviceLightIdleEnabled()
|
D | BiometricsDeviceInfo.java | 178 final int sensorId = Integer.parseInt(matcher.group("ID")); in getSensorInfo() 179 final int modality = toModality(Integer.parseInt(matcher.group("modality"))); in getSensorInfo() 180 final int strength = authenticatorStrengthToSensorStrength(Integer.parseInt( in getSensorInfo() 182 final int curStrength = authenticatorStrengthToSensorStrength(Integer.parseInt( in getSensorInfo()
|
/cts/hostsidetests/apex/src/android/apex/cts/ |
D | ApexTest.java | 63 return result.getExitCode() == 0 ? Integer.parseInt(result.getStdout().trim()) : 0; in countFlattenedApexes() 70 return result.getExitCode() == 0 ? Integer.parseInt(result.getStdout().trim()) : 0; in countNonFlattenedApexes() 97 mountId = Integer.parseInt(tokens[0]); in MountEntry()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | AdbUserParser26.java | 129 user.mFlags = Integer.parseInt(userInfo[2], 16); in parseUser() 130 user.mId = Integer.parseInt(userInfo[0]); in parseUser() 131 user.mSerialNo = Integer.parseInt( in parseUser()
|
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | AppCloningMediaProviderHostTest.java | 93 Integer mCloneUserIdInt = Integer.parseInt(sCloneUserId); in beforeClassWithDevice() 95 Integer.parseInt(sCloneUserId)); in beforeClassWithDevice() 140 Integer.parseInt(sCloneUserId), cloneArgs); in testInsertCrossUserFilesInDirectoryViaMediaProvider() 166 Integer.parseInt(sCloneUserId), cloneArgs); in testGetFilesInDirectoryViaMediaProvider() 181 Integer.parseInt(sCloneUserId), listFilesArgs); in testGetFilesInDirectoryViaMediaProvider()
|
/cts/hostsidetests/multiuser/app/src/com/android/cts/multiuser/ |
D | UserOperationsTest.java | 46 int userId = Integer.parseInt(InstrumentationRegistry.getArguments().getString("userId")); in removeUserWhenPossibleDeviceSide() 50 int expectedResult = Integer.parseInt(InstrumentationRegistry.getArguments() in removeUserWhenPossibleDeviceSide()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/ |
D | Version.java | 73 int major = Integer.parseInt(matcher.group(1)); in parse() 74 int minor = Integer.parseInt(matcher.group(2)); in parse() 75 int patch = Integer.parseInt(matcher.group(3)); in parse()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | AppCloningDeviceTest.java | 52 Integer.parseInt(getCurrentUserId())); in testInsertFilesInDirectoryViaMediaProvider() 65 Integer.parseInt(getUserIdForPath())); in testInsertFilesInDirectoryViaMediaProviderWithPathSpecified() 79 Integer.parseInt(getCurrentUserId())); in testGetFilesInDirectoryViaMediaProviderRespectsUserId()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/storage/ |
D | AppCloningStorageHostTest.java | 64 int mCloneUserIdInt = Integer.parseInt(sCloneUserId); in testVerifyStatsExternalForClonedUser() 72 Integer.parseInt(sCloneUserId), new HashMap<>()); in testVerifyStatsExternalForClonedUser()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 223 return Integer.parseInt(output) != 0; in isDeviceIdleEnabled() 228 return Integer.parseInt(output) != 0; in isDeviceLightIdleEnabled() 253 int seq = Integer.parseInt(res.trim()); in setStorageStateLow() 259 curSeq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setStorageStateLow() 348 final int curLevel = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState() 359 int seq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState() 367 curSeq = Integer.parseInt(SystemUtil.runShellCommand(getInstrumentation(), in setBatteryState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | PeripheralProfile.java | 126 ints[index] = Integer.parseInt(strings[index]); in parseIntList() 168 buttonAttributes.mHasBtnA = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnA)) == 1; in parseProfileButtons() 169 buttonAttributes.mHasBtnB = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnB)) == 1; in parseProfileButtons() 170 buttonAttributes.mHasBtnC = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnC)) == 1; in parseProfileButtons()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | ContactsIndexerDeviceTest.java | 51 int userId = Integer.parseInt(args.getString(USER_ID_KEY)); in testFullUpdateJobIsScheduled() 64 int userId = Integer.parseInt(args.getString(USER_ID_KEY)); in testFullUpdateJobIsNotScheduled()
|
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/ |
D | MediaPreparerAppTest.java | 76 this.width = Integer.parseInt(matcher.group(WIDTH_INDEX)); in Resolution() 77 this.height = Integer.parseInt(matcher.group(HEIGHT_INDEX)); in Resolution() 162 format.setInteger(k, Integer.parseInt(v)); in parseTrackFormat()
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/media/ |
D | AppCloningHostTest.java | 97 Integer.parseInt(sCloneUserId)); in setup() 121 Integer mCloneUserIdInt = Integer.parseInt(sCloneUserId); in testCreateCloneUserFile() 299 assertTrue(!getPackageInUser(APP_A_PACKAGE, Integer.parseInt(sCloneUserId)) in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp() 336 uninstallPackage(APP_A_PACKAGE, Integer.parseInt(managedProfileId)); in testDeletionOfAppInNotParentProfile_notDeletesCloneApp() 339 assertFalse(getPackageInUser(APP_A_PACKAGE, Integer.parseInt(managedProfileId)) in testDeletionOfAppInNotParentProfile_notDeletesCloneApp() 341 assertTrue(getPackageInUser(APP_A_PACKAGE, Integer.parseInt(sCloneUserId)) in testDeletionOfAppInNotParentProfile_notDeletesCloneApp()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | TransformReverseTransformIdentityTest.java | 131 int inputWidth = Integer.parseInt(Objects.requireNonNull(matcher.group(1))); in prepareParamList() 132 int inputHeight = Integer.parseInt(Objects.requireNonNull(matcher.group(2))); in prepareParamList() 133 int outputWidth = Integer.parseInt(Objects.requireNonNull(matcher.group(3))); in prepareParamList() 134 int outputHeight = Integer.parseInt(Objects.requireNonNull(matcher.group(4))); in prepareParamList() 138 int transformationType = Integer.parseInt(arg[1].toString()); in prepareParamList()
|
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | Change.java | 89 sinceSdk = Integer.parseInt(sinceSdkAsString); in fromString() 127 sinceSdk = Integer.parseInt(element.getAttribute("enableAfterTargetSdk")) + 1; in fromNode() 130 sinceSdk = Integer.parseInt(element.getAttribute("enableSinceTargetSdk")); in fromNode()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/ |
D | StreamBase.java | 157 sSystemBurstFrames = Integer.parseInt(text); in calcNumBurstFrames() 195 return sSystemSampleRate = Integer.parseInt(text); in calcSystemSampleRate()
|
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/user/ |
D | CarInitialUserCommand.java | 42 mCarInitialUser = Integer.parseInt(mCommandReturn.trim()); in parseCommandReturn()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SecurityPatchTest.java | 84 declaredYear = Integer.parseInt(buildSecurityPatch.substring(0,4)); in testSecurityPatchDate() 85 declaredMonth = Integer.parseInt(buildSecurityPatch.substring(5,7)); in testSecurityPatchDate()
|