Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 424) sorted by relevance

12345678910>>...17

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java49 while ((tmp = txtReader.readLine()) != null) { in setUp()
67 null, in testGetAllCrashes()
72 stackFrame("/system/lib/libaudioflinger.so", null), in testGetAllCrashes()
73 stackFrame("/system/lib/libaudioflinger.so", null), in testGetAllCrashes()
74 stackFrame("/system/lib/libaudioflinger.so", null), in testGetAllCrashes()
75 stackFrame("/system/lib/libaudioflinger.so", null), in testGetAllCrashes()
76 stackFrame("/system/lib/libaudioflinger.so", null), in testGetAllCrashes()
90 null, in testGetAllCrashes()
103 stackFrame("/system/lib/libaudiopolicyservice.so", null), in testGetAllCrashes()
119 stackFrame("/system/lib/libbinder.so", null), in testGetAllCrashes()
[all …]
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java36 if (reportLog == null) { in serialize()
41 if (summary != null) { in serialize()
42 mXmlSerializer.startTag(null, "Summary"); in serialize()
43 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
44 mXmlSerializer.attribute(null, "scoreType", summary.getType().toReportString()); in serialize()
45 mXmlSerializer.attribute(null, "unit", summary.getUnit().toReportString()); in serialize()
47 mXmlSerializer.endTag(null, "Summary"); in serialize()
DTestResult.java201 if (report != null) { in passed()
212 if (getResultStatus() == null) { in skipped()
231 mResult = null; in reset()
232 mMessage = null; in reset()
233 mStackTrace = null; in reset()
234 mReport = null; in reset()
235 mBugReport = null; in reset()
236 mLog = null; in reset()
237 mScreenshot = null; in reset()
240 mTestResultHistories = null; in reset()
[all …]
DReportLog.java127 serializer.startTag(null, METRIC_TAG); in serialize()
128 serializer.attribute(null, SOURCE_ATTR, getSource()); in serialize()
129 serializer.attribute(null, MESSAGE_ATTR, getMessage()); in serialize()
130 serializer.attribute(null, SCORETYPE_ATTR, getType().toReportString()); in serialize()
131 serializer.attribute(null, SCOREUNIT_ATTR, getUnit().toReportString()); in serialize()
133 serializer.startTag(null, VALUE_TAG); in serialize()
135 serializer.endTag(null, VALUE_TAG); in serialize()
137 serializer.endTag(null, METRIC_TAG); in serialize()
142 parser.require(XmlPullParser.START_TAG, null, METRIC_TAG); in parse()
143 String source = parser.getAttributeValue(null, SOURCE_ATTR); in parse()
[all …]
DTestResultHistory.java76 if (o == null || getClass() != o.getClass()) { in equals()
101 if (resultHistory == null) { in serialize()
105 serializer.startTag(null, RUN_HISTORY_TAG); in serialize()
109 serializer.attribute(null, SUB_TEST_ATTR, name); in serialize()
113 serializer.startTag(null, RUN_TAG); in serialize()
114 serializer.attribute(null, START_TIME_ATTR, String.valueOf(execRecord.getStartTime())); in serialize()
115 serializer.attribute(null, END_TIME_ATTR, String.valueOf(execRecord.getEndTime())); in serialize()
117 null, IS_AUTOMATED_ATTR, String.valueOf(execRecord.getIsAutomated())); in serialize()
118 serializer.endTag(null, RUN_TAG); in serialize()
120 serializer.endTag(null, RUN_HISTORY_TAG); in serialize()
[all …]
DKeyValueArgsParser.java32 String key = null; in parse()
34 if (key == null) { in parse()
41 key = null; in parse()
44 if (key != null) { in parse()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DValueResourceParser.java78 if (mCurrentValue != null) { in endElement()
80 value = value == null ? "" : ValueXmlHelper.unescapeResourceString(value, false, true); in endElement()
87 mCurrentValue = null; in endElement()
88 mCurrentStyle = null; in endElement()
89 mCurrentDeclareStyleable = null; in endElement()
90 mCurrentAttr = null; in endElement()
91 mArrayResourceValue = null; in endElement()
93 if (mArrayResourceValue != null && mCurrentValue != null) { in endElement()
96 mCurrentValue = null; in endElement()
98 if (mCurrentDeclareStyleable != null) { in endElement()
[all …]
DFrameworkResources.java89 ResourceType lastType = null; in loadPublicResources()
99 String name = null; in loadPublicResources()
100 String typeName = null; in loadPublicResources()
106 if (typeName != null) { in loadPublicResources()
115 if (name != null && typeName != null) { in loadPublicResources()
124 if (type != null) { in loadPublicResources()
125 ResourceItem match = null; in loadPublicResources()
127 if (map != null) { in loadPublicResources()
131 if (match != null) { in loadPublicResources()
133 if (publicList == null) { in loadPublicResources()
[all …]
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DGarbageCollectRule.java54 if (applications == null || applications.length == 0) { in initGcHelper()
55 if (getArguments() != null && getArguments().getString(GC_APPS) != null) { in initGcHelper()
59 return null; in initGcHelper()
73 if (getArguments() != null && getArguments().getString(GC_WAIT_TIME_MS) != null) { in garbageCollect()
86 if (mGcHelper == null) { in starting()
97 if (mGcHelper == null || getArguments() == null) return; in finished()
/platform_testing/libraries/sts-common-util/util/src/com/android/sts/common/util/
DStsLogic.java108 if (annotation == null) { in getCveBugIds()
109 return null; in getCveBugIds()
116 if (bugIds == null) { in isBugSplDataKnownMissing()
155 if (map == null) { in getMinTestSpl()
158 LocalDate minSpl = null; in getMinTestSpl()
161 if (splString == null) { in getMinTestSpl()
171 if (minSpl == null) { in getMinTestSpl()
182 if (map == null) { in getMinModificationDate()
185 LocalDate minModificationDate = null; in getMinModificationDate()
188 if (modificationMillisString == null) { in getMinModificationDate()
[all …]
/platform_testing/libraries/flag-helpers/junit/test/src/android/platform/test/flag/junit/
DAnnotationTestRuleHelper.java37 private Class<?> mTestClass = null;
38 private TestRule mClassRule = null;
39 private TestCode mPreTestCode = null;
40 private TestRule mTestRule = null;
41 private TestCode mTestCode = null;
86 if (mTestClass == null) { in buildClassDescription()
96 if (mTestClass == null) { in buildTestDescription()
123 if (mTestCode != null) { in prepareTest()
135 if (mPreTestCode == null) { in prepareTest()
149 if (mClassRule == null) { in prepareTest()
[all …]
DFakeFeatureFlagsImpl.java29 this(null); in FakeFeatureFlagsImpl()
33 super(null); in FakeFeatureFlagsImpl()
37 mFlagMap.put(flagName, null); in FakeFeatureFlagsImpl()
44 if (value != null) { in getValue()
47 if (mDefaults != null) { in getValue()
62 entry.setValue(null); in resetAll()
/platform_testing/libraries/flag-helpers/junit/src_util/android/platform/test/flag/util/
DFlag.java53 String namespace = null; in createFlag()
54 String fullFlagName = null; in createFlag()
55 String packageName = null; in createFlag()
56 String simpleFlagName = null; in createFlag()
91 return flagsClassPackageName() == null in flagsClassName()
92 ? null in flagsClassName()
103 if (packageName == null) { in flagsClassPackageName()
104 return null; in flagsClassPackageName()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DSuspendUnsuspendAppRuleTest.java63 null, // appExtras in testSuspendUnsuspendAppRule()
64 null, // launcherExtras in testSuspendUnsuspendAppRule()
72 null, // appExtras in testSuspendUnsuspendAppRule()
73 null, // launcherExtras in testSuspendUnsuspendAppRule()
98 null, // appExtras in testEnableSuspendUnsuspendAppRuleTrue()
99 null, // launcherExtras in testEnableSuspendUnsuspendAppRuleTrue()
107 null, // appExtras in testEnableSuspendUnsuspendAppRuleTrue()
108 null, // launcherExtras in testEnableSuspendUnsuspendAppRuleTrue()
133 null, // appExtras in testEnableSuspendUnsuspendAppRuleFalse()
134 null, // launcherExtras in testEnableSuspendUnsuspendAppRuleFalse()
[all …]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java134 if (PLATFORM_DIR == null) {
145 if (TEST_RES_DIR == null) {
168 if (Choreographer.getInstance().mCallbackQueues[i].mHead != null) {
179 if (nativeLibDirPath != null) { in getNativeLibDirPath()
184 nativeLibDirPath = null; in getNativeLibDirPath()
187 if (nativeLibDirPath == null) { in getNativeLibDirPath()
195 if (fontDir == null) { in getFontDir()
207 if (icuDataPath == null) { in getIcuDataPath()
215 if (keyboardDir == null) { in getKeyboardDir()
228 if (platformDir != null && !platformDir.isEmpty() && new File(platformDir).isDirectory()) { in getPlatformDir()
[all …]
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/ghidra/
DGhidraPreparer.java60 private File mGhidraZipDir = null; // Stores the ghidra zip directory
61 private File mGhidraZipFile = null; // Stores the ghidra zip file
62 private File mCacheDir = null; // Refers to the ghidra cache directory
63 private URI mGhidraZipUri = null; // Stores the url to download ghidra zip
64 private String mPreviousPropertyVal = null; // To restore analyzeHeadless path set in other runs
70 private String mTagName = null;
75 private String mAssetName = null;
85 ghidraZipName = (mAssetName == null) ? ghidraZipName : mAssetName; in setUp()
107 if (analyzeHeadlessPath != null) { in setUp()
117 if (analyzeHeadlessPath != null) { in setUp()
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DLeanbackLauncherStrategy.java105 if (appsRow == null) { in openAllApps()
231 if (selectSearchRow() == null) { in search()
237 if (orbButton == null) { in search()
253 if (editText == null) { in search()
318 if (settings != null && isSettingsRowSelected()) { in selectSettingsRow()
321 return null; in selectSettingsRow()
416 if (focused == null) { in launchApp()
425 if (appIcon == null) { in launchApp()
427 if (appIcon == null) { in launchApp()
479 if (packageName != null) { in launchApp()
[all …]
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper2/
DLeanbackLauncherStrategy.java97 if (appsRow == null) { in openAllApps()
198 if (selectSearchRow() == null) { in search()
204 if (orbButton == null) { in search()
220 if (editText == null) { in search()
279 if (settings != null && isSettingsRowSelected()) { in selectSettingsRow()
282 return null; in selectSettingsRow()
378 if (focused == null) { in launchApp()
387 if (appIcon == null) { in launchApp()
389 if (appIcon == null) { in launchApp()
441 if (packageName != null) { in launchApp()
[all …]
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/
DAccountHelper.java37 private static AccountHelper sInstance = null;
38 private Context mContext = null;
39 private UiDevice mDevice = null;
40 private ActivityHelper mActivityHelper = null;
41 private DeviceHelper mDeviceHelper = null;
51 if (sInstance == null) { in getInstance()
71 if (deviceBackup!=null){ in hasDeviceBackupAccount()
100 if (backupDialog!=null){ in dismissInitalDialogs()
106 if (alwaysBtn!=null){ in dismissInitalDialogs()
/platform_testing/libraries/system-helpers/package-helper/src/android/system/helpers/
DPackageHelper.java30 public static PackageHelper sInstance = null;
31 private Instrumentation mInstrumentation = null;
32 private CommandsHelper cmdHelper = null;
33 private PackageManager mPackageManager = null;
42 if (sInstance == null) { in getInstance()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityHelper.java45 public static AccessibilityHelper sInstance = null;
46 private Context mContext = null;
47 private Instrumentation mInstrumentation = null;
48 private UiDevice mDevice = null;
49 private SettingsHelper mSettingsHelper = null;
64 if (sInstance == null) { in getInstance()
81 if (swtBar != null && !swtBar.getText().equals(value.toString())) { in setTalkBackSetting()
85 if (confirmBtn != null) { in setTalkBackSetting()
120 if (actionBar == null) { in launchSpecificAccessibilitySetting()
151 if (cellSwitch != null) { in setSettingSwitchValue()
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DProcessShowmapHelper.java84 return mTestStartMetrics != null; in startCollecting()
92 if (mTestEndMetrics == null) { in getMetrics()
101 if (endMetrics == null) { in getMetrics()
110 if (mTestStartMetrics == null || mTestStartMetrics[i] == null) { in getMetrics()
139 if (processNames == null || mUiDevice == null) { in sampleMemoryOfProcesses()
141 return null; in sampleMemoryOfProcesses()
165 return null; in sampleMemory()
174 return null; in sampleMemory()
196 return null; in sampleMemory()
205 mTestStartMetrics = null; in reset()
[all …]
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java48 if (outputFile != null && outputFile.length() > 0) { in getRunListener()
52 suiteName != null ? suiteName : "Unknown test suite"); in getRunListener()
57 return null; in getRunListener()
63 if (outputFileStr != null && outputFileStr.length() > 0) { in getAtestRunListener()
69 return null; in getAtestRunListener()
89 if (xmlListener != null) { in main()
95 if (atestRunListener != null) { in main()
99 if (xmlListener != null) { in main()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationHelperImpl.java126 if (empty_notification == null) { in tapClearAllBtn()
149 if (empty_notification == null) { in clickManageBtn()
167 return postedNotification != null; in checkNotificationExists()
187 return clr_btn != null; in checkIfClearAllButtonExist()
193 return manage_btn != null; in checkIfManageButtonExist()
210 UiObject2 notificationPageObj = null; in isNotificationSettingsOpened()
216 if (notificationPageObj != null) { in isNotificationSettingsOpened()
223 return notificationPageObj != null; in isNotificationSettingsOpened()
230 if (notification_list != null && notification_list.isScrollable()) { in scrollDownOnePage()
246 if (notification_list != null && notification_list.isScrollable()) { in scrollUpOnePage()
[all …]
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DLatencyTests.java83 private String mTraceDirectoryStr = null;
84 private File mRootTrace = null;
87 private Set<String> mTraceCategoriesSet = null;
88 private AtraceLogger mAtraceLogger = null;
149 if (null != mAtraceLogger) { in testExpandNotificationsLatency()
161 if (null != mAtraceLogger) { in testExpandNotificationsLatency()
199 if (null != mAtraceLogger) { in testFingerprintWakeAndUnlock()
208 if (null != mAtraceLogger) { in testFingerprintWakeAndUnlock()
229 if (null != mAtraceLogger) { in testScreenTurnOn()
237 if (null != mAtraceLogger) { in testScreenTurnOn()
[all …]

12345678910>>...17