/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 63 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null 65 wc -l | grep '^1$' >/dev/null 76 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null 78 wc -l | grep '^1$' >/dev/null 90 grep "^${ANDROID_SERIAL}[${SPACE}${TAB}][${SPACE}${TAB}]*recovery\$" >/dev/null 93 if echo "${list}" | wc -l | grep '^1$' >/dev/null; then 95 grep "[${SPACE}${TAB}]recovery\$" >/dev/null 125 adb_sh date +%s.%N </dev/null 133 adb logcat "${@}" </dev/null | 142 adb_sh getprop ${1} </dev/null [all …]
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | XsdHandler.java | 86 if (str == null) return null; in parseQName() 91 return new QName(null, str); in parseQName() 98 if (str == null) return qNames; in parseQNames() 228 if (tag == null) continue; in makeSchema() 253 if (defVal != null) { in makeElement() 256 if (substitutionGroup != null) { in makeElement() 261 if (maxOccurs != null) { in makeElement() 262 if (maxOccurs.equals("0")) return null; in makeElement() 266 XsdType type = null; in makeElement() 267 if (typename != null) { in makeElement() [all …]
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | StagedDistroOperation.java | 25 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/core/libmeminfo/testdata1/ |
D | showmap_test.sh | 10 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/ |
D | update-makefiles-helper.sh | 37 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/ |
D | TimeZoneDistroBuilder.java | 55 this.distroVersion = null; in clearVersionForTests() 80 this.tzData = null; in clearTzDataForTests() 104 this.icuData = null; in clearIcuDataForTests() 114 if (distroVersion != null) { in buildUnvalidatedBytes() 118 if (tzData != null) { in buildUnvalidatedBytes() 121 if (icuData != null) { in buildUnvalidatedBytes() 124 if (tzLookupXml != null) { in buildUnvalidatedBytes() 138 if (distroVersion == null) { in buildBytes() 141 if (icuData == null) { in buildBytes() 144 if (tzData == null) { in buildBytes()
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 37 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/apex/tests/src/com/android/tests/apex/ |
D | ApexTestUtils.java | 71 return null; in getApexInfo() 80 File testFile = null; in getTestFile() 83 if (testcasesPath != null) { in getTestFile() 86 if (testFile != null) { in getTestFile() 91 if (hostLinkedDir != null) { in getTestFile() 94 if (testFile != null) { in getTestFile() 100 if (tzdataFile != null) { in getTestFile() 135 if (baseSearchFile != null && baseSearchFile.isDirectory()) { in searchTestFile() 137 if (testFile != null && testFile.isFile()) { in searchTestFile() 141 return null; in searchTestFile()
|
/system/tools/xsdc/src/com/android/xsdc/tag/ |
D | XsdAttribute.java | 29 if (name == null && ref == null) { in XsdAttribute() 32 if (ref == null && type == null) { in XsdAttribute()
|
D | XsdElement.java | 30 if (name == null && ref == null) { in XsdElement() 33 if (name != null && type == null) { in XsdElement()
|
D | XsdComplexType.java | 30 super(name, null); in XsdComplexType() 33 attributes != null ? attributes : new ArrayList<>()); in XsdComplexType() 35 elements != null ? elements : new ArrayList<>()); in XsdComplexType()
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaCodeGenerator.java | 51 ((XsdRestriction)type).getEnums() != null)) { in JavaCodeGenerator() 62 if (type.getRef() == null && type instanceof XsdComplexType) { in JavaCodeGenerator() 76 XsdType refType = new XsdType(null, new QName(type.getName())); in JavaCodeGenerator() 93 ((XsdRestriction)type).getEnums() != null) { in print() 104 if (type.getRef() == null && type instanceof XsdComplexType) { in print() 145 assert name != null; in printClass() local 150 getValueType((XsdSimpleContent) complexType, false) : null; in printClass() 160 if (baseName != null) { in printClass() 171 if (element.getRef() == null && element.getType().getRef() == null in printClass() 207 if (valueType != null) { in printClass() [all …]
|
/system/update_engine/sample_images/ |
D | generate_images.sh | 30 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/ |
D | CameraAvgFragment.java | 203 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/tools/xsdc/src/com/android/xsdc/cpp/ |
D | CppCodeGenerator.java | 55 ((XsdRestriction)type).getEnums() != null)) { in CppCodeGenerator() 69 if (type.getRef() == null && type instanceof XsdComplexType) { in CppCodeGenerator() 86 XsdType refType = new XsdType(null, new QName(type.getName())); in CppCodeGenerator() 130 ((XsdRestriction)type).getEnums() != null) { in print() 138 if (type.getRef() == null && type instanceof XsdComplexType) { in print() 186 if (type.getRef() == null && type instanceof XsdComplexType) { in printPrototype() 195 assert name != null; in printClass() local 200 getValueType((XsdSimpleContent) complexType, false) : null; in printClass() 204 if (baseName != null) { in printClass() 215 if (element.getRef() == null && element.getType().getRef() == null in printClass() [all …]
|
/system/libufdt/tests/ |
D | apply_overlay.sh | 55 "$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/media/camera/docs/ |
D | metadata-check-dependencies | 25 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/aidl/tests/java_app/src/android/aidl/tests/ |
D | NullableTests.java | 37 String response = mService.RepeatString(null); in checkNullHandling() 54 mService.TakesAnIBinder(null); in checkNullBinderDetection() 69 listWithNulls.add(null); in checkNullBinderInListDetection() 88 if (callback == null) { in checkNullInterfaceHandling() 92 if (callback != null) { in checkNullInterfaceHandling()
|
D | SimpleParcelable.java | 45 if (o == null) { in equals() 52 if ((mName == null && p.mName != null) || in equals() 53 (mName != null && !mName.equals(p.mName))) { in equals()
|
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | TzLookupGenerator.java | 195 if (zoneTabCountryTimeZoneIds == null) { in createOutputTimeZones() 208 } else if (countryOut == null) { in createOutputTimeZones() 229 return null; in processCountry() 238 return null; in processCountry() 243 if (defaultTimeZoneId == null) { in processCountry() 245 return null; in processCountry() 253 return null; in processCountry() 269 return null; in processCountry() 286 return null; in processCountry() 295 return null; in processCountry() [all …]
|
/system/extras/tests/workloads/ |
D | defs.sh | 64 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/sepolicy/tools/ |
D | build_policies.sh | 26 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/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | TreeNode.java | 59 if (e.getParent() != null) { in addChild() 94 toRemove.setParent(null); in removeChild() 99 return null; in removeChild() 103 return getParent() == null; in isRoot()
|
/system/extras/tests/ext4/ |
D | android_emmc_perf_tests.sh | 22 if ! adb shell true >/dev/null 2>&1 99 adb shell umount /sdcard >/dev/null 2>&1 100 adb shell umount /mnt/sdcard >/dev/null 2>&1 101 adb shell umount /mnt/shell/sdcard0 >/dev/null 2>&1 102 adb shell umount /mnt/shell/emulated >/dev/null 2>&1 103 adb shell umount /cache >/dev/null 2>&1 106 adb shell umount /data >/dev/null 2>&1 214 adb shell dd if="$CACHE" of=/dev/null bs=1048576 count=200
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | DeployAgent.java | 62 if (getFilenameFromPackageName(packageName) == null) { in main() 74 InputStream deltaInputStream = null; in main() 82 OutputStream outputStream = null; in main() 89 if (outputStream == null) { in main() 96 String[] sessionArgs = null; in main() 144 return null; in executeCommand() 157 while ((line = reader.readLine()) != null) { in getFilenameFromPackageName() 169 return null; in getFilenameFromPackageName() 174 if (filename == null) { in getFileFromPackageName() 190 for (int i=0 ; args != null && i<args.length ; i++) { in createInstallSession() [all …]
|