Home
last modified time | relevance | path

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

12345678910>>...38

/tools/loganalysis/src/com/android/loganalysis/parser/
DGfxInfoParser.java62 String name = null; in parse()
63 Integer pid = null; in parse()
64 Long totalFrames = null; in parse()
65 Long jankyFrames = null; in parse()
66 Integer percentile90 = null; in parse()
67 Integer percentile95 = null; in parse()
68 Integer percentile99 = null; in parse()
80 totalFrames = null; in parse()
81 jankyFrames = null; in parse()
82 percentile90 = null; in parse()
[all …]
DLogcatParser.java99 public Integer mPid = null;
100 public Integer mTid = null;
101 public Date mTime = null;
102 public String mLevel = null;
103 public String mTag = null;
104 public String mLastPreamble = null;
105 public String mProcPreamble = null;
123 private String mYear = null;
125 LogcatItem mLogcat = null;
130 private Date mStartTime = null;
[all …]
DBatteryDischargeStatsInfoParser.java44 Integer minPercent = null; in parse()
45 Integer maxPercent = null; in parse()
46 Integer minProjectionPercent = null; in parse()
47 Integer maxProjectionPercent = null; in parse()
55 if (minPercent == null || percent < minPercent) { in parse()
59 if (maxPercent == null || maxPercent < percent) { in parse()
77 if (minProjectionPercent == null || percent < minProjectionPercent) { in parse()
81 if (maxProjectionPercent == null || maxProjectionPercent < percent) { in parse()
89 if (minPercent == null) { in parse()
90 return null; in parse()
[all …]
/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java155 return (name == null) in isEmpty()
156 && (keystoreFile == null) in isEmpty()
157 && (keystoreKeyAlias == null) in isEmpty()
158 && (keystorePasswordSpec == null) in isEmpty()
159 && (keyPasswordSpec == null) in isEmpty()
160 && (passwordCharset == null) in isEmpty()
161 && (keystoreType == null) in isEmpty()
162 && (keystoreProviderName == null) in isEmpty()
163 && (keystoreProviderClass == null) in isEmpty()
164 && (keystoreProviderArg == null) in isEmpty()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DFlashingResourcesParser.java107 this(deviceImgZipFile, null); in FlashingResourcesParser()
135 this(infoReader, null); in FlashingResourcesParser()
169 return getRequiredImageVersion(imageVersionKey, null); in getRequiredImageVersion()
182 if (productReqs == null && productName != null) { in getRequiredImageVersion()
185 return getRequiredImageVersion(imageVersionKey, null); in getRequiredImageVersion()
191 if (result != null) { in getRequiredImageVersion()
195 if (result == null && productName != null) { in getRequiredImageVersion()
198 return getRequiredImageVersion(imageVersionKey, null); in getRequiredImageVersion()
202 return null; in getRequiredImageVersion()
211 MultiMap<String, String> boardReqs = mReqs.get(null); in getRequiredBoards()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java81 serializer.startDocument("UTF-8", null); in build()
82 serializer.startTag(null, ConfigurationUtil.CONFIGURATION_NAME); in build()
84 null, Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, CONFIG_DESCRIPTION); in build()
86 serializer.startTag(null, INCLUDE_NAME); in build()
87 serializer.attribute(null, ConfigurationUtil.NAME_NAME, mOriginalConfig); in build()
88 serializer.endTag(null, INCLUDE_NAME); in build()
90 if (mPort != null) { in build()
91 serializer.startTag(null, Configuration.RESULT_REPORTER_TYPE_NAME); in build()
92 serializer.attribute(null, ConfigurationUtil.CLASS_NAME, REPORTER_CLASS); in build()
94 serializer.startTag(null, ConfigurationUtil.OPTION_NAME); in build()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildRetrievalError.java33 this(reason, null, null, null); in BuildRetrievalError()
43 this(reason, null, errorId, null); in BuildRetrievalError()
54 this(reason, cause, null, null); in BuildRetrievalError()
65 this(reason, cause, errorId, null); in BuildRetrievalError()
77 this(reason, cause, null, build); in BuildRetrievalError()
92 if (build != null) { in BuildRetrievalError()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java78 public String mRunName = null;
79 public Integer mTestCount = null;
80 public Integer mAttempt = null;
81 public Long mStartTime = null;
109 if (mRunName != null) { in toString()
112 if (mTestCount != null) { in toString()
115 if (mAttempt != null) { in toString()
118 if (mStartTime != null) { in toString()
132 public String mReason = null;
133 public FailureDescription mFailure = null;
[all …]
DBuildTestsZipUtils.java54 if (altDirs != null) { in getApkFile()
70 File testsDir = null; in getApkFile()
71 if (buildInfo != null && buildInfo instanceof IDeviceBuildInfo) { in getApkFile()
73 if (testsDir != null && testsDir.exists()) { in getApkFile()
83 if (testcasesSubDir != null) { in getApkFile()
95 if (altDirBehavior == null) { in getApkFile()
116 if (testAppFile != null && testAppFile.exists()) { in getApkFile()
122 if (deviceSigningKey != null) { in getApkFile()
127 URL apkUrl = null; in getApkFile()
130 if (apkUrl != null) { in getApkFile()
[all …]
DJUnitXmlParser.java70 private TestDescription mCurrentTest = null;
71 private StringBuffer mFailureContent = null;
72 private String mCurrentMessage = null;
81 mFailureContent = null; in startElement()
82 mCurrentMessage = null; in startElement()
89 String runName = (mRunName != null) ? mRunName : testSuiteName; in startElement()
104 if (mCurrentTest != null) { in startElement()
112 if (value != null) { in startElement()
124 if (mFailureContent != null) { in characters()
134 if (mFailureContent != null && mFailureContent.length() == 0) { in endElement()
[all …]
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClient.java34 private File mJsonFile = null;
36 protected JSONObject mJsonKeyStore = null;
43 if (mJsonFile == null) { in JSONFileKeyStoreClient()
67 return mJsonKeyStore != null; in isAvailable()
73 if (mJsonKeyStore == null) { in containsKey()
82 if (key == null) { in fetchKey()
84 return null; in fetchKey()
86 if (mJsonKeyStore == null) { in fetchKey()
88 return null; in fetchKey()
95 return null; in fetchKey()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/targetprep/
DTargetSetupError.java29 private String mDeviceSerial = null;
39 super(reason, null); in TargetSetupError()
50 this(reason, null, null, true, errorId); in TargetSetupError()
61 this(reason, null, descriptor, true, null); in TargetSetupError()
73 this(reason, null, descriptor, true, errorId); in TargetSetupError()
87 this(reason, cause, null, true, null); in TargetSetupError()
99 this(reason, cause, null, true, errorId); in TargetSetupError()
111 this(reason, cause, descriptor, true, null); in TargetSetupError()
139 this(reason, cause, descriptor, deviceSide, null); in TargetSetupError()
159 (descriptor != null && deviceSide) ? reason + " " + descriptor : reason, in TargetSetupError()
[all …]
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DFailureDescription.java36 private @Nullable String mDebugHelpMessage = null;
38 private @Nullable Throwable mCause = null;
44 private @Nullable ErrorIdentifier mErrorId = null;
46 private @Nullable String mOrigin = null;
62 return null; in getFailureStatus()
156 return create(errorMessage, null); in create()
178 result = prime * result + ((mActionInProgress == null) ? 0 : mActionInProgress.hashCode()); in hashCode()
179 result = prime * result + ((mDebugHelpMessage == null) ? 0 : mDebugHelpMessage.hashCode()); in hashCode()
180 result = prime * result + ((mErrorMessage == null) ? 0 : mErrorMessage.hashCode()); in hashCode()
181 result = prime * result + ((mFailureStatus == null) ? 0 : mFailureStatus.hashCode()); in hashCode()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestParser.java64 while ((section = readSection()) != null) { in readAllSections()
80 if (attr == null) { in readSection()
81 return null; in readSection()
90 if ((attr == null) || (attr.length() == 0)) { in readSection()
124 if (bytes == null) { in readAttribute()
125 return null; in readAttribute()
139 if ((mBufferedLine != null) && (mBufferedLine.length == 0)) { in readAttributeBytes()
140 mBufferedLine = null; in readAttributeBytes()
146 if (line == null) { in readAttributeBytes()
148 if (mBufferedLine != null) { in readAttributeBytes()
[all …]
/tools/tradefederation/contrib/src/com/android/monkey/
DAnrReportGenerator.java40 private File mCachedMonkeyLog = null;
41 private File mCachedBugreport = null;
49 private String mBuildId = null;
50 private String mBuildFlavor = null;
72 if (mReportBasePath == null in AnrReportGenerator()
73 || mReportPath == null in AnrReportGenerator()
74 || mReportScriptPath == null in AnrReportGenerator()
75 || mReportUrlPrefix == null) { in AnrReportGenerator()
86 if (mBuildId == null) { in getPerBuildStoragePath()
89 if (mBuildFlavor == null) { in getPerBuildStoragePath()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DStopServicesSetupTest.java34 private StopServicesSetup mPreparer = null;
35 private ITestDevice mMockDevice = null;
36 private TestInformation mTestInfo = null;
55 EasyMock.expect(mMockDevice.executeShellCommand("stop")).andReturn(null); in testNoop()
80 EasyMock.expect(mMockDevice.executeShellCommand("stop")).andReturn(null); in testStopServices()
81 EasyMock.expect(mMockDevice.executeShellCommand("stop service1")).andReturn(null); in testStopServices()
82 EasyMock.expect(mMockDevice.executeShellCommand("stop service2")).andReturn(null); in testStopServices()
94 EasyMock.expect(mMockDevice.executeShellCommand("start")).andReturn(null); in testTearDown()
96 EasyMock.expect(mMockDevice.executeShellCommand("start service1")).andReturn(null); in testTearDown()
97 EasyMock.expect(mMockDevice.executeShellCommand("start service2")).andReturn(null); in testTearDown()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java79 private Boolean isLocalConfig = null;
92 mInsideParentDeviceTag = (parentDeviceObject != null) ? true : false; in ConfigHandler()
94 if (templateMap == null) { in ConfigHandler()
99 if (templateSeen == null) { in ConfigHandler()
111 if (objectTypeName == null) { in startElement()
122 if (mCurrentDeviceObject != null) { in startElement()
128 if (deviceName == null) { in startElement()
148 if (isLocalConfig == null) { in startElement()
156 if (mCurrentConfigObject != null) { in startElement()
163 if (mCurrentDeviceObject == null && in startElement()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DPairTest.java32 Pair<Object, Object> p2 = null; in testPairs()
36 p1 = Pair.create(null, null); in testPairs()
37 p2 = Pair.create(null, null); in testPairs()
41 Assert.assertFalse(p1.equals(null)); in testPairs()
44 p1 = Pair.create(null, new Object()); in testPairs()
45 p2 = Pair.create(null, new Object()); in testPairs()
49 p1 = Pair.create(null, obj1); in testPairs()
50 p2 = Pair.create(null, obj1); in testPairs()
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java66 private String mBugreportPath = null;
69 private String mLogcatPath = null;
72 private String mKernelLogPath = null;
75 private String mMonkeyLogPath = null;
78 private String mMemoryHealthLogPath = null;
90 private String mEventsLogPath = null;
113 BufferedReader reader = null; in run()
115 if (mBugreportPath != null) { in run()
122 if (mLogcatPath != null) { in run()
129 if (mKernelLogPath != null) { in run()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationTest.java110 private String mPackageName = null;
115 private String mRunnerName = null;
119 private String mTestClassName = null;
123 private String mTestMethodName = null;
128 private String mTestPackageName = null;
136 private Integer mTimeout = null;
170 private String mTestSize = null;
184 private File mInstallFile = null;
189 private String mRunName = null;
201 private BugreportCollector.Freq mBugreportFrequency = null;
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/
DApkAlignmentTest.java49 null, in soFilesUncompressedAndAligned()
50 null, in soFilesUncompressedAndAligned()
53 null, in soFilesUncompressedAndAligned()
54 null, in soFilesUncompressedAndAligned()
102 null, in soFilesMergedFromZipsCanBeUncompressedAndAligned()
103 null, in soFilesMergedFromZipsCanBeUncompressedAndAligned()
106 null, in soFilesMergedFromZipsCanBeUncompressedAndAligned()
107 null, in soFilesMergedFromZipsCanBeUncompressedAndAligned()
113 creator.writeZip(zipToMerge, null, null); in soFilesMergedFromZipsCanBeUncompressedAndAligned()
146 null, in soFilesUncompressedAndNotAligned()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceManager.java74 private String mGceInstanceName = null;
75 private String mGceHost = null;
76 private GceAvdInfo mGceAvdInfo = null;
144 return startGce(null); in startGce()
154 mGceAvdInfo = null; in startGce()
156 if (mGceHost != null && mGceInstanceName != null) { in startGce()
165 File reportFile = null; in startGce()
188 if (instanceName != null) { in startGce()
198 if (instanceName != null) { in startGce()
201 mGceAvdInfo = new GceAvdInfo(instanceName, null, errors, GceStatus.BOOT_FAIL); in startGce()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java113 private DeviceRequestedType mRequestedType = null;
122 private Integer mMinBattery = null;
127 private Integer mMaxBattery = null;
135 private Integer mMaxBatteryTemperature = null;
156 private Integer mMinSdk = null;
160 private Integer mMaxSdk = null;
222 if (env_serial != null in getSerials()
260 if (mRequestedType != null) { in emulatorRequested()
271 if (mRequestedType != null) { in stubEmulatorRequested()
282 if (mRequestedType != null) { in nullDeviceRequested()
[all …]
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DDeviceNotAvailableException.java30 private String mSerial = null;
40 super(null); in DeviceNotAvailableException()
53 this(msg, null, null, null); in DeviceNotAvailableException()
64 this(msg, null, serial, null); in DeviceNotAvailableException()
76 this(msg, null, serial, errorId); in DeviceNotAvailableException()
88 this(msg, cause, serial, null); in DeviceNotAvailableException()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DIEmail.java52 private Collection<String> mToAddrs = null;
53 private Collection<String> mCcAddrs = null;
54 private Collection<String> mBccAddrs = null;
55 private String mSubject = null;
56 private String mBody = null;
57 private String mSender = null;
76 if (mToAddrs == null) { in addTo()
82 if (mCcAddrs == null) { in addCc()
88 if (mBccAddrs == null) { in addBcc()
112 if (contentType == null) throw new NullPointerException(); in setContentType()

12345678910>>...38