Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 110) sorted by relevance

12345

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DBackupUtilsTest.java58 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
60 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue()
77 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
79 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse()
96 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
98 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue()
115 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
117 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse()
135 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()
137 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines()
[all …]
DMultipartFormTest.java56 assertTrue("Wrong data", Arrays.equals(ZIP_ARRAY, data)); in testContentBody()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DCpuUsageListener.java47 if ("true".equals(args.getString(DISABLE_PER_PACKAGE))) { in setupAdditionalArgs()
51 if ("true".equals(args.getString(DISABLE_TOTAL_PKG))) { in setupAdditionalArgs()
55 if ("true".equals(args.getString(ENABLE_CPU_UTILIZATION))) { in setupAdditionalArgs()
DAppStartupListener.java45 if ("true".equals(args.getString(DISABLE_PROC_START_DETAILS))) { in setupAdditionalArgs()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/
DProfileSuiteTest.java201 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
217 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule()
218 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
237 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule()
238 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
243 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
252 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule()
253 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
262 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule()
263 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule()
[all …]
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/
DWindowToken.kt32 override fun equals(other: Any?): Boolean { in equals() method
35 if (!super.equals(other)) return false in equals()
/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/
DUxRestrictionTest.java77 assertTrue("Phong ringtone setting is not disabled", currentTitle.equals(newTitle)); in testRestrictedSoundSettings()
93 assertTrue("Bluetooth setting is not disabled", currentTitle.equals(newTitle)); in testRestrictedBluetoothSettings()
102 assertTrue("Apps & notification settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedAppSettings()
111 assertTrue("Profiles and accounts settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedProfilesAndAccountsSettings()
120 assertTrue("Security settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedSecuritySettings()
129 assertTrue("System settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedSystemSettings()
/platform_testing/utils/permissions/src/com/android/permissionutils/
DPermissionInstrumentation.java39 if (COMMAND_DUMP.equals(command)) { in onCreate()
41 } else if (COMMAND_GRANTALL.equals(command)) { in onCreate()
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/
DDateTimeSettingTest.java78 assertTrue(mDateTimeSettingsHelper.get().getDate().equals(DATE)); in testSetDate()
84 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWELVE)); in testSetTimeTwelveHourFormat()
90 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWENTYFOUR)); in testSetTimeTwentyFourHourFormat()
96 assertTrue(mDateTimeSettingsHelper.get().getTimeZone().equals(TIME_ZONE_FULL)); in testSetTimeZone()
DSoundSettingTest.java98 assertTrue("Sound was not changed", sound.equals(RINGTONE)); in testChangeRingtone()
105 assertTrue("Sound was not changed", sound.equals(NOTIFICATION_SOUND)); in testChangeNotificationSound()
112 assertTrue("Sound was not changed", sound.equals(ALARM_SOUND)); in testChangeAlarmSound()
DSystemSettingTest.java88 date.equals(mSystemSettingsHelper.get().getAndroidSecurityPatchLevel())); in testAndroidSecurityPatchLevel()
104 buildNumber.equals(mSystemSettingsHelper.get().getBuildNumber())); in testBuildNumber()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java81 if (swtBar != null && !swtBar.getText().equals(value.toString())) { in setTalkBackSetting()
125 if (actionBarText.equals(settingName)) { in launchSpecificAccessibilitySetting()
127 } else if (actionBarText.equals("Accessibility")) { in launchSpecificAccessibilitySetting()
152 if (!cellSwitch.getText().equals(value.toString())) { in setSettingSwitchValue()
160 return cellSwitch.getText().equals(value.toString()); in setSettingSwitchValue()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DTestResultHistory.java72 public boolean equals(Object o) { in equals() method in TestResultHistory
80 return Objects.equals(mTestName, that.mTestName) in equals()
81 && Objects.equals(mExecutionRecords, that.mExecutionRecords); in equals()
167 public boolean equals(Object o) { in equals() method in TestResultHistory.ExecutionRecord
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/
DICamera2Helper.java56 if (mode.toString().equals(name)) return mode; in fromString()
87 if (camera.toString().equals(name)) return camera; in fromString()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/
DRegion.kt42 override fun equals(other: Any?): Boolean { in equals() method in com.android.server.wm.traces.common.Region
45 if (!super.equals(other)) return false in equals()
DPoint.kt24 override fun equals(other: Any?): Boolean { in prettyPrint() method in com.android.server.wm.traces.common.Point
DSize.kt30 override fun equals(other: Any?): Boolean = in prettyPrint() method in com.android.server.wm.traces.common.Size
DBuffer.kt22 override fun equals(other: Any?): Boolean = in prettyPrint() method
/platform_testing/tests/automotive/functional/mediacenter/src/android/platform/tests/
DNoUserLoggedInTest.java61 mMediaCenterHelper.get().getMediaAppTitle().equals(mMediaApp.get())); in testNoUserLogInMessage()
65 noUserLoginMsg.equals("Please sign in to YouTube Music.")); in testNoUserLogInMessage()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/errors/
DErrorTrace.kt31 override fun equals(other: Any?): Boolean { in <lambda>() method
DErrorState.kt17 override fun equals(other: Any?): Boolean { in equals() method
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DNavigationModeRule.java94 if (!mOriginalOverlayPackage.equals(mRequestedOverlayPackage)) { in starting()
108 if (!mOriginalOverlayPackage.equals(mRequestedOverlayPackage)) { in finished()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBaseCollectionListener.java66 mIsCollectPerRun = "true".equals(args.getString(COLLECT_PER_RUN)); in onTestRunStart()
68 mSkipTestFailureMetrics = "true".equals(args.getString(SKIP_TEST_FAILURE_METRICS)); in onTestRunStart()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/tags/
DTagTrace.kt34 override fun equals(other: Any?): Boolean { in <lambda>() method
DTagState.kt24 override fun equals(other: Any?): Boolean { in toString() method

12345