/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/library/ |
H A D | AndroidHidlUpdaterTest.java | 47 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P() local 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_system() local 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries() local 98 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_not_empty_usesLibraries_system() local 120 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_in_usesLibraries() local 137 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_P_in_usesLibraries_system() local 159 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 176 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 191 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | RemoveUnnecessaryAndroidTestBaseLibraryTest.java | 48 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local 80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local 97 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local 114 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 129 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 146 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_bothLibraries() local 162 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | RemoveUnnecessaryOrgApacheHttpLegacyLibraryTest.java | 48 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local 80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local 97 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local 114 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 131 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 148 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_bothLibraries() local 164 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | AndroidTestBaseUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q() local 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_not_empty_usesLibraries() local 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesLibraries() local 99 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_Q_in_usesOptionalLibraries() local 117 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 135 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 151 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | OrgApacheHttpLegacyUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local 62 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_not_empty_usesLibraries() local 81 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesLibraries() local 99 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O_in_usesOptionalLibraries() local 117 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 135 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 151 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | PackageBackwardCompatibilityTest.java | 47 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in null_usesLibraries_and_usesOptionalLibraries() local 80 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in targeted_at_O() local 111 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_base_in_usesLibraries() local 135 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries() local 157 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in com_google_android_maps_in_usesLibraries() local 174 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_net_ipsec_ike_in_usesLibraries() local 185 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | AndroidNetIpSecIkeUpdaterTest.java | 42 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() local 59 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 74 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 87 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | ComGoogleAndroidMapsUpdaterTest.java | 42 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in otherUsesLibraries() local 59 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesLibraries() local 76 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in in_usesOptionalLibraries() local 91 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | AndroidTestRunnerSplitUpdaterTest.java | 46 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesOptionalLibraries() local 63 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in android_test_runner_in_usesLibraries_android_test_mock_in_usesOptionalLibraries() local 79 private void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after) { in checkBackwardsCompatibility()
|
H A D | PackageSharedLibraryUpdaterTest.java | 33 static void checkBackwardsCompatibility(ParsedPackage before, AndroidPackage after, in checkBackwardsCompatibility() 39 private static void check(AndroidPackage before, AndroidPackage after) { in check()
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
H A D | RawContactDeltaTests.java | 74 final RawContact before = new RawContact(contact); in getRawContact() local 86 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesNone() local 96 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesInsert() local 114 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesUpdate() local 128 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testParcelChangesDelete() local 141 final ContentValues before = new ContentValues(); in testValuesDiffDelete() local 162 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNone() local 173 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNoneInsert() local 213 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffUpdateInsert() local 262 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); in testEntityDiffNoneUpdate() local [all …]
|
H A D | ValuesDeltaTests.java | 63 final ContentValues before = new ContentValues(); in testValuesDiffNone() local 75 final ContentValues before = new ContentValues(); in testValuesDiffUpdate() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | DropBoxTest.java | 94 long before = System.currentTimeMillis(); in testAddText() local 224 long before = System.currentTimeMillis(); in testAddEntry_Success() local 256 long before = System.currentTimeMillis(); in testAddEntry_Failure() local 285 long before = System.currentTimeMillis(); in testAddEntriesInTheFuture() local 362 long before = System.currentTimeMillis(); in testIsTagEnabled() local 396 long before = System.currentTimeMillis(); in testGetNextEntry() local 454 long before = System.currentTimeMillis(); in testSizeLimits() local 549 long before = System.currentTimeMillis(); in testAgeLimits() local 827 int before = countOpenFiles(); in testDropBoxEntrySerializationDoesntLeakFileDescriptors() local
|
/aosp12/system/tools/xsdc/ |
H A D | README.md | 13 #### before subsubsection 50 #### before subsubsection
|
/aosp12/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/ |
H A D | StagedInstallInternalTest.java | 273 List<String> before = getStagingDirectories(); in testAbandonStagedSessionShouldCleanUp() local 284 List<String> before = getStagingDirectories(); in testStagedSessionShouldCleanUpOnVerificationFailure() local 293 List<String> before = getStagingDirectories(); in testStagedSessionShouldCleanUpOnOnSuccess() local 304 List<String> before = getStagingDirectories(); in testStagedInstallationShouldCleanUpOnValidationFailure() local 313 List<String> before = getStagingDirectories(); in testStagedInstallationShouldCleanUpOnValidationFailureMultiPackage() local
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/utils/ |
H A D | autocorrection_threshold_utils.cpp | 32 /* static */ int AutocorrectionThresholdUtils::editDistance(const int *before, in editDistance() 70 /* static */ float AutocorrectionThresholdUtils::calcNormalizedScore(const int *before, in calcNormalizedScore()
|
/aosp12/packages/modules/Connectivity/core/tests/coretests/src/android/net/ |
H A D | NetworkStatsTest.java | 119 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalData() local 135 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractIdenticalRows() local 151 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractNewRows() local 169 final NetworkStats before = new NetworkStats(TEST_START, 2) in testSubtractMissingRows() local 282 final NetworkStats before = new NetworkStats(TEST_START, 3) in testWithoutUid() local
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | ValidatedEditTextPreferenceDialogFragment.java | 87 public void onTextChanged(CharSequence s, int start, int before, int count) { in onTextChanged() 91 public void beforeTextChanged(CharSequence s, int start, int before, int count) { in beforeTextChanged()
|
/aosp12/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/ |
H A D | StagedRollbackTest.java | 272 List<String> before = getSnapshotDirectories("/data/misc_ce/0/rollback"); in testRollbackDataPolicy() local 332 List<String> before = getSnapshotDirectories("/data/misc/apexrollback"); in testRollbackApexDataDirectories_DeSys() local 385 List<String> before = getSnapshotDirectories("/data/misc_de/0/apexrollback"); in testRollbackApexDataDirectories_DeUser() local 440 List<String> before = getSnapshotDirectories("/data/misc_ce/0/apexrollback"); in testRollbackApexDataDirectories_Ce() local 533 List<String> before = getSnapshotDirectories("/data/misc_ce/0/apexrollback"); in testExpireApexRollback() local
|
/aosp12/art/runtime/ |
H A D | class_table-inl.h | 137 const uint32_t before = data_.load(std::memory_order_relaxed); in Read() local 151 const uint32_t before = data_.load(std::memory_order_relaxed); in VisitRoot() local
|
/aosp12/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
H A D | autocorrection_threshold_utils_test.cpp | 26 int CalcEditDistance(const std::vector<int> &before, in CalcEditDistance()
|
/aosp12/frameworks/base/tests/NullHomeTest/src/com/android/test/nullhome/ |
H A D | NullHomeTest.java | 54 public void before() { in before() method in NullHomeTest
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/testutils/ |
H A D | TestLifecycleOwner.java | 43 protected void before() throws Throwable { in before() method in TestLifecycleOwner
|
/aosp12/frameworks/base/services/core/java/com/android/server/uri/ |
H A D | UriPermission.java | 165 final int before = persistedModeFlags; in takePersistableModes() local 180 final int before = persistedModeFlags; in releasePersistableModes() local 199 final int before = persistedModeFlags; in revokeModes() local
|
/aosp12/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
H A D | ChannelSourcesTest.java | 37 public void before() throws Exception { in before() method in ChannelSourcesTest
|