Home
last modified time | relevance | path

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

123456

/system/core/fs_mgr/tests/
Dadb-remount-test.sh77 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null
79 wc -l | grep "^[${SPACE}${TAB}]*1\$" >/dev/null
90 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null
92 wc -l | grep "^[${SPACE}${TAB}]*1\$" >/dev/null
104 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}][${SPACE}${TAB}]*recovery\$" >/dev/null
107 if echo "${list}" | wc -l | grep "^[${SPACE}${TAB}]*1\$" >/dev/null; then
109 grep "[${SPACE}${TAB}]recovery\$" >/dev/null
139 adb_sh date +%s.%N </dev/null
147 adb logcat "${@}" </dev/null |
161 -e 'context=u:object_r:unlabeled:s0' 2>/dev/null |
[all …]
/system/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java92 if (str == null) return null; in parseQName()
97 return new QName(null, str); in parseQName()
104 if (str == null) return qNames; in parseQNames()
248 if (tag == null) continue; in makeSchema()
277 if (defVal != null) { in makeElement()
280 if (substitutionGroup != null) { in makeElement()
285 if (maxOccurs != null) { in makeElement()
286 if (maxOccurs.equals("0")) return null; in makeElement()
290 XsdType type = null; in makeElement()
291 if (typename != null) { in makeElement()
[all …]
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DStagedDistroOperation.java25 new StagedDistroOperation(true /* isUninstall */, null /* stagedVersion */);
36 if (distroVersion == null) { in install()
51 if (o == null || getClass() != o.getClass()) { in equals()
60 return distroVersion != null ? distroVersion.equals(that.distroVersion) in equals()
61 : that.distroVersion == null; in equals()
67 result = 31 * result + (distroVersion != null ? distroVersion.hashCode() : 0); in hashCode()
/system/memory/libmeminfo/
Dshowmap_test.sh10 diff $OUT1 $OUT2 > /dev/null
20 diff $OUT1 $OUT2 > /dev/null
30 diff $OUT1 $OUT2 > /dev/null
40 diff $OUT1 $OUT2 > /dev/null
54 diff $OUT1 $OUT2 > /dev/null
64 diff $OUT1 $OUT2 > /dev/null
78 diff $OUT1 $OUT2 > /dev/null
/system/tools/hidl/
Dupdate-makefiles-helper.sh37 pushd $current_dir > /dev/null;
42 popd > /dev/null;
66 if command -v nproc >/dev/null 2>&1; then
67 PROCS=$(nproc --all 2>/dev/null) && echo $PROCS && return 0
68 elif command -v sysctl >/dev/null 2>&1; then
69 PROCS=$(sysctl -n hw.logicalcpu 2>/dev/null) && echo $PROCS && return 0
83 if ! command -v hidl-gen 1>/dev/null; then
/system/timezone/distro/tools/src/main/com/android/timezone/distro/builder/
DTimeZoneDistroBuilder.java56 this.distroVersion = null; in clearVersionForTests()
81 this.tzData = null; in clearTzDataForTests()
115 this.icuData = null; in clearIcuDataForTests()
125 if (distroVersion != null) { in buildUnvalidatedBytes()
129 if (tzData != null) { in buildUnvalidatedBytes()
132 if (icuData != null) { in buildUnvalidatedBytes()
135 if (tzLookupXml != null) { in buildUnvalidatedBytes()
139 if (telephonyLookupXml != null) { in buildUnvalidatedBytes()
153 if (distroVersion == null) { in buildBytes()
156 if (icuData == null) { in buildBytes()
[all …]
/system/core/bootstat/
Dboot_reason_test.sh37 fastboot devices | grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null
44 …evices | grep -v 'List of devices attached' | grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null
80 if inAdb && [ 0 -eq `adb_su ls /sys/fs/pstore </dev/null | wc -l` ]; then
89 adb_sh getprop ${1} 2>&1 </dev/null
128 if adb_su "cat /proc/cmdline | tr '\\0 ' '\\n\\n'" </dev/null |
129 grep '^androidboot[.]bootreason=[^ ]' >/dev/null; then
134 adb_su setprop persist.test.boot.reason "'${1}'" 2>/dev/null </dev/null
228 adb wait-for-device </dev/null >/dev/null 2>/dev/null
264 if ! ( echo X"${rval}" | grep '^X'"${lval}"'$' >/dev/null 2>/dev/null ); then
337 adb_sh date +%s.%N </dev/null
[all …]
/system/tools/xsdc/src/com/android/xsdc/tag/
DXsdAttribute.java30 if (name == null && ref == null) { in XsdAttribute()
33 if (ref == null && type == null) { in XsdAttribute()
DXsdElement.java30 if (name == null && ref == null) { in XsdElement()
33 if (name != null && type == null) { in XsdElement()
DXsdSimpleContent.java23 super(name, base, attributes, null, null, null); in XsdSimpleContent()
DXsdComplexType.java33 super(name, null); in XsdComplexType()
36 attributes != null ? attributes : new ArrayList<>()); in XsdComplexType()
38 attributeGroups != null ? attributeGroups : new ArrayList<>()); in XsdComplexType()
40 elements != null ? elements : new ArrayList<>()); in XsdComplexType()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java53 ((XsdRestriction)type).getEnums() != null)) { in JavaCodeGenerator()
64 if (type.getRef() == null && type instanceof XsdComplexType) { in JavaCodeGenerator()
78 XsdType refType = new XsdType(null, new QName(type.getName())); in JavaCodeGenerator()
95 ((XsdRestriction)type).getEnums() != null) { in print()
106 if (type.getRef() == null && type instanceof XsdComplexType) { in print()
163 assert name != null; in printClass() local
168 getValueType((XsdSimpleContent) complexType, false) : null; in printClass()
179 if (baseName != null) { in printClass()
194 if (element.getRef() == null && element.getType().getRef() == null in printClass()
236 if (valueType != null) { in printClass()
[all …]
/system/update_engine/sample_images/
Dgenerate_images.sh30 if ! sudo umount "${path}" 2>/dev/null; then
90 echo "foo" | sudo tee "${mntdir}"/dir1/dir2/file >/dev/null
91 echo "bar" | sudo tee "${mntdir}"/dir1/file >/dev/null
111 sudo mkdir -p "${mntdir}"/etc >/dev/null
112 sudo tee "${mntdir}"/etc/update_engine.conf >/dev/null <<EOF
116 sudo tee "${mntdir}"/etc/lsb-release >/dev/null <<EOF
139 sudo mkdir -p "${mntdir}"/bin >/dev/null
142 sudo tee "${mntdir}"/bin/postinst_example >/dev/null <<EOF
152 sudo tee "${mntdir}"/bin/postinst_fail3 >/dev/null <<EOF
157 sudo tee "${mntdir}"/bin/postinst_fail1 >/dev/null <<EOF
[all …]
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java203 mCameraDevice = null;
210 mCameraDevice = null;
212 if (null != activity && !activity.isFinishing()) {
298 if (afState == null) {
304 if (aeState == null ||
317 if (aeState == null ||
327 if (aeState == null || aeState != CaptureResult.CONTROL_AE_STATE_PRECAPTURE) {
359 if (activity != null) { in showToast()
438 mFile = new File(getActivity().getExternalFilesDir(null), "pic.jpg"); in onActivityCreated()
512 if (facing != null && facing == CameraCharacteristics.LENS_FACING_FRONT) { in setUpCameraOutputs()
[all …]
/system/libufdt/tests/
Dapply_overlay.sh55 "$REMOTE_PATH" > /dev/null
99 adb push "$BASE_DTB" "$REMOTE_PATH" > /dev/null
100 adb push "$OVERLAY_DTB" "$REMOTE_PATH" > /dev/null
105 adb pull "${REMOTE_PATH}/${MERGED_DTB_NAME}" "$MERGED_DTB" > /dev/null
116 " > /dev/null
/system/apex/tests/util/com/android/tests/util/
DModuleTestUtils.java87 return null; in getApexInfo()
96 File testFile = null; in getTestFile()
99 if (testcasesPath != null) { in getTestFile()
102 if (testFile != null) { in getTestFile()
107 if (hostLinkedDir != null) { in getTestFile()
110 if (testFile != null) { in getTestFile()
116 if (buildInfoFile != null) { in getTestFile()
138 if (baseSearchFile != null && baseSearchFile.isDirectory()) { in searchTestFile()
140 if (testFile != null && testFile.isFile()) { in searchTestFile()
144 return null; in searchTestFile()
[all …]
/system/core/adb/fastdeploy/deployagent/test/com/android/fastdeploy/
DApkArchiveTest.java45 assertNotEquals(cdLoc, null); in testApkArchiveSizes()
51 assertNotEquals(sigLoc, null); in testApkArchiveSizes()
61 assertNotEquals(dump, null); in testApkArchiveDump()
62 assertNotEquals(dump.cd, null); in testApkArchiveDump()
63 assertNotEquals(dump.signature, null); in testApkArchiveDump()
/system/media/camera/docs/
Dmetadata-check-dependencies25 if ! which port >& /dev/null
29 elif [[ "$OSTYPE" == "linux-gnu" ]] && which apt-get >& /dev/null
55 if type -f "$bin" >& /dev/null
85 if python -c "import $mod" >& /dev/null
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java57 ((XsdRestriction)type).getEnums() != null)) { in CppCodeGenerator()
71 if (type.getRef() == null && type instanceof XsdComplexType) { in CppCodeGenerator()
88 XsdType refType = new XsdType(null, new QName(type.getName())); in CppCodeGenerator()
145 ((XsdRestriction)type).getEnums() != null) { in print()
153 if (type.getRef() == null && type instanceof XsdComplexType) { in print()
214 if (type.getRef() == null && type instanceof XsdComplexType) { in printPrototype()
223 assert name != null; in printClass() local
228 getValueType((XsdSimpleContent) complexType, false) : null; in printClass()
232 if (baseName != null) { in printClass()
247 if (element.getRef() == null && element.getType().getRef() == null in printClass()
[all …]
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DSimpleParcelable.java45 if (o == null) { in equals()
52 if ((mName == null && p.mName != null) || in equals()
53 (mName != null && !mName.equals(p.mName))) { in equals()
/system/extras/tests/workloads/
Ddefs.sh64 chk1=$(functions 2>/dev/null)
65 chk2=$(typeset -F 2>/dev/null)
80 if ls /etc/* 2>/dev/null | grep -q android.hardware; then
86 adb devices -l 2>&1 >/dev/null
202 s=$(grep "Binder.*tracing_mark_write.*launching" $traceout 2>/dev/null | head -1| tr [\(\)\[\]
205 s=$(grep activityPause $traceout | head -1 2>/dev/null| tr [\(\)\[\]
221 f=$(grep "surfaceflinger.*tracing_mark_write.*$_app" $traceout 2>/dev/null |
228 f=$(grep " <...>-$pid.*tracing_mark_write.*$_app" $traceout 2>/dev/null |
239 ${ADB}dumpsys gfxinfo $_gfxapp reset 2>&1 >/dev/null
311 ${ADB}atrace --async_stop > /dev/null
[all …]
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java62 if (packagePath != null) { in main()
81 InputStream deltaInputStream = null; in main()
89 OutputStream outputStream = null; in main()
96 if (outputStream == null) { in main()
101 String[] sessionArgs = null; in main()
150 return null; in executeCommand()
163 while ((line = reader.readLine()) != null) { in getFilenameFromPackageName()
175 return null; in getFilenameFromPackageName()
184 if (dump.cd != null) { in dumpApk()
187 if (dump.signature != null) { in dumpApk()
[all …]
/system/sepolicy/tools/
Dbuild_policies.sh26 source build/envsetup.sh > /dev/null
31 all_targets=`lunch 2>/dev/null <<< _ | grep "[0-9]" | sed 's/^.* //'`
68 source build/envsetup.sh > /dev/null
69 lunch $target &> /dev/null
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneUsage.java52 if (entry == null) { in getNotUsedAfterInstant()
61 if (entry == null) { in getNotUsedReplacementId()
76 if ((notUsedAfter == null) != (notUsedReplacementId == null)) { in Entry()
DTreeNode.java59 if (e.getParent() != null) { in addChild()
94 toRemove.setParent(null); in removeChild()
99 return null; in removeChild()
103 return getParent() == null; in isRoot()

123456