Home
last modified time | relevance | path

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

12345678

/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.java94 if (str == null) return null; in parseQName()
99 return new QName(null, str); in parseQName()
106 if (str == null) return qNames; in parseQNames()
253 if (tag == null) continue; in makeSchema()
282 if (defVal != null) { in makeElement()
285 if (substitutionGroup != null) { in makeElement()
290 if (maxOccurs != null) { in makeElement()
291 if (maxOccurs.equals("0")) return null; in makeElement()
295 XsdType type = null; in makeElement()
296 if (typename != null) { in makeElement()
[all …]
DCodeWriter.java28 this(null); in CodeWriter()
46 if (out != null) { in println()
83 if (out != null) { in close()
89 if (out != null) { in printImpl()
/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/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/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DITestService.java66 return null; in RepeatString()
83 return null; in ReverseBoolean()
87 return null; in ReverseByte()
91 return null; in ReverseChar()
95 return null; in ReverseInt()
99 return null; in ReverseLong()
103 return null; in ReverseFloat()
107 return null; in ReverseDouble()
111 return null; in ReverseString()
115 return null; in ReverseByteEnum()
[all …]
DIDeprecated.java14 return null; in asBinder()
31 if ((obj==null)) { in asInterface()
32 return null; in asInterface()
35 if (((iin!=null)&&(iin instanceof android.aidl.tests.IDeprecated))) { in asInterface()
84 if (Stub.Proxy.sDefaultImpl != null) { in setDefaultImpl()
87 if (impl != null) { in setDefaultImpl()
DINewName.java12 return null; in RealName()
16 return null; in asBinder()
33 if ((obj==null)) { in asInterface()
34 return null; in asInterface()
37 if (((iin!=null)&&(iin instanceof android.aidl.tests.INewName))) { in asInterface()
97 if (getDefaultImpl() != null) { in RealName()
117 if (Stub.Proxy.sDefaultImpl != null) { in setDefaultImpl()
120 if (impl != null) { in setDefaultImpl()
DINamedCallback.java12 return null; in GetName()
16 return null; in asBinder()
33 if ((obj==null)) { in asInterface()
34 return null; in asInterface()
37 if (((iin!=null)&&(iin instanceof android.aidl.tests.INamedCallback))) { in asInterface()
97 if (getDefaultImpl() != null) { in GetName()
117 if (Stub.Proxy.sDefaultImpl != null) { in setDefaultImpl()
120 if (impl != null) { in setDefaultImpl()
DIOldName.java12 return null; in RealName()
16 return null; in asBinder()
33 if ((obj==null)) { in asInterface()
34 return null; in asInterface()
37 if (((iin!=null)&&(iin instanceof android.aidl.tests.IOldName))) { in asInterface()
97 if (getDefaultImpl() != null) { in RealName()
117 if (Stub.Proxy.sDefaultImpl != null) { in setDefaultImpl()
120 if (impl != null) { in setDefaultImpl()
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DChreTestUtil.java59 InputStream inputStream = null; in getNanoAppInputStream()
78 byte[] binary = null; in createNanoAppBinary()
100 ContextHubTransaction.Response<Void> resp = null; in loadNanoApp()
107 return resp != null && resp.getResult() == ContextHubTransaction.RESULT_SUCCESS; in loadNanoApp()
131 ContextHubTransaction.Response<Void> resp = null; in unloadNanoApp()
138 return resp != null && resp.getResult() == ContextHubTransaction.RESULT_SUCCESS; in unloadNanoApp()
167 return null; in executeShellCommand()
207 ContextHubTransaction.Response<List<NanoAppState>> response = null; in queryNanoAppsAssertSuccess()
256 String str = null; in readFromInputStream()
257 while ((str = br.readLine()) != null) { in readFromInputStream()
[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/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java62 ((XsdRestriction)type).getEnums() != null)) { in JavaCodeGenerator()
73 if (type.getRef() == null && type instanceof XsdComplexType) { in JavaCodeGenerator()
87 XsdType refType = new XsdType(null, new QName(type.getName())); in JavaCodeGenerator()
104 ((XsdRestriction)type).getEnums() != null) { in print()
115 if (type.getRef() == null && type instanceof XsdComplexType) { in print()
184 assert name != null; in printClass() local
189 getValueType((XsdSimpleContent) complexType, false) : null; in printClass()
200 if (baseName != null) { in printClass()
215 if (element.getRef() == null && element.getType().getRef() == null in printClass()
257 if (valueType != null) { in printClass()
[all …]
/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 python3 -c "import $mod" >& /dev/null
/system/tools/aidl/tests/java/src/android/aidl/tests/
DSimpleParcelable.java50 if (o == null) { in equals()
57 if ((mName == null && p.mName != null) || in equals()
58 (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 …]

12345678