/external/ltp/testcases/kernel/security/smack/ |
smack_set_current.sh | 22 start_label=$(cat /proc/self/attr/current 2>/dev/null) 24 echo "$not_floor_label" 2>/dev/null > /proc/self/attr/current 26 label=$(cat /proc/self/attr/current 2>/dev/null) 32 echo "$start_label" 2>/dev/null > /proc/self/attr/current 34 label=$(cat /proc/self/attr/current 2> /dev/null)
|
smack_set_direct.sh | 21 start_value=$(cat "$smackfsdir/direct" 2>/dev/null) 23 echo "$not_start_value" 2>/dev/null > "$smackfsdir/direct" 25 direct_value=$(cat "$smackfsdir/direct" 2>/dev/null) 31 echo "$start_value" 2>/dev/null> "$smackfsdir/direct" 33 direct_value=$(cat "$smackfsdir/direct" 2>/dev/null)
|
smack_set_doi.sh | 21 start_value=$(cat "$smackfsdir/doi" 2>/dev/null) 23 echo "$not_start_value" 2>/dev/null > "$smackfsdir/doi" 25 direct_value=$(cat "$smackfsdir/doi" 2>/dev/null) 31 echo "$start_value" 2>/dev/null > "$smackfsdir/doi" 33 direct_value=$(cat "$smackfsdir/doi" 2>/dev/null)
|
/external/protobuf/src/google/protobuf/compiler/ |
zip_output_unittest.sh | 60 if unzip -h > /dev/null; then 63 grep 'testing: testzip\.pb\.cc *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 65 grep 'testing: testzip\.pb\.h *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 67 grep 'testing: testzip_pb2\.py *OK$' $TEST_TMPDIR/testzip.list > /dev/null \ 69 grep -i 'manifest' $TEST_TMPDIR/testzip.list > /dev/null \ 76 if jar c $TEST_TMPDIR/testzip.proto > /dev/null; then 79 grep '^test/jar/Foo\.java$' $TEST_TMPDIR/testzip.list > /dev/null \ 81 grep '^test/jar/Bar\.java$' $TEST_TMPDIR/testzip.list > /dev/null \ 83 grep '^test/jar/Outer\.java$' $TEST_TMPDIR/testzip.list > /dev/null \ 85 grep '^META-INF/MANIFEST\.MF$' $TEST_TMPDIR/testzip.list > /dev/null \ [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/ |
AbstractHuman.java | 53 result = prime * result + ((birthPlace == null) ? 0 : birthPlace.hashCode()); 54 result = prime * result + ((birthday == null) ? 0 : birthday.hashCode()); 55 result = prime * result + ((name == null) ? 0 : name.hashCode()); 63 if (obj == null) 68 if (birthPlace == null) { 69 if (other.birthPlace != null) 73 if (birthday == null) { 74 if (other.birthday != null) 78 if (name == null) { 79 if (other.name != null) [all...] |
/external/strace/tests/ |
detach-stopped.test | 37 $STRACE -d -enone / > /dev/null 2> "$LOG" 38 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then 48 kill -0 $! 2> /dev/null || 61 wait $tracee_pid 2> /dev/null 68 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do 69 kill -0 $! 2> /dev/null || { 76 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do 77 kill -0 $! 2> /dev/null || { 87 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || { 98 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null || { [all...] |
/external/strace/tests-m32/ |
detach-stopped.test | 37 $STRACE -d -enone / > /dev/null 2> "$LOG" 38 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then 48 kill -0 $! 2> /dev/null || 61 wait $tracee_pid 2> /dev/null 68 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do 69 kill -0 $! 2> /dev/null || { 76 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do 77 kill -0 $! 2> /dev/null || { 87 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || { 98 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null || { [all...] |
/external/strace/tests-mx32/ |
detach-stopped.test | 37 $STRACE -d -enone / > /dev/null 2> "$LOG" 38 if grep -x "[^:]*strace: PTRACE_SEIZE doesn't work" "$LOG" > /dev/null; then 48 kill -0 $! 2> /dev/null || 61 wait $tracee_pid 2> /dev/null 68 while ! grep -F "Process $tracee_pid attached" "$LOG" > /dev/null; do 69 kill -0 $! 2> /dev/null || { 76 while ! grep -F -e '--- stopped by ' "$LOG" > /dev/null; do 77 kill -0 $! 2> /dev/null || { 87 grep -F "Process $tracee_pid detached" "$LOG" > /dev/null || { 98 grep_pid_status "$tracee_pid" '^State:.*T (stopped)' > /dev/null || { [all...] |
/frameworks/base/core/java/android/net/ |
NetworkState.java | 28 public static final NetworkState EMPTY = new NetworkState(null, null, null, null, null, null); 49 networkInfo = in.readParcelable(null); 50 linkProperties = in.readParcelable(null); 51 networkCapabilities = in.readParcelable(null); 52 network = in.readParcelable(null); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
OutputPort.java | 33 if (mTargetPort != null) { 41 return mTargetPort != null; 46 if (mTargetPort != null && !mTargetPort.isOpen()) { 53 if (mTargetPort != null && mTargetPort.isOpen()) { 63 return mTargetPort == null ? null : mTargetPort.getFilter(); 84 if (mTargetPort != null) { 91 if (mTargetPort == null) { 101 if (mTargetPort == null) { 115 return mTargetPort == null ? false : mTargetPort.hasFrame() [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
IntentFilterVerificationKey.java | 43 if (o == null || getClass() != o.getClass()) return false; 47 if (domains != null ? !domains.equals(that.domains) : that.domains != null) return false; 48 if (className != null ? !className.equals(that.className) : that.className != null) 50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) 58 int result = domains != null ? domains.hashCode() : 0; 59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0); 60 result = 31 * result + (className != null ? className.hashCode() : 0) [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
StateListAnimator.java | 30 private Tuple mLastMatch = null; 31 ValueAnimator mRunningAnimator = null; 38 mRunningAnimator = null; 60 Tuple match = null; 72 if (mLastMatch != null) { 78 if (match != null) { 89 if (mRunningAnimator != null) { 91 mRunningAnimator = null; 101 if (mRunningAnimator != null) { 103 mRunningAnimator = null; [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Policy.java | 45 return null; 54 return null; 61 return null; 69 return null; 73 return null; 77 return null; 81 return null; 85 return null; 89 return null; 114 return null; [all...] |
/libcore/ojluni/src/main/java/java/util/ |
ListResourceBundle.java | 129 if (lookup == null) { 132 if (key == null) { 148 if (lookup == null) { 154 (parent != null) ? parent.getKeys() : null); 167 if (lookup == null) { 192 if (lookup != null) 198 // key must be non-null String, value must be non-null 201 if (key == null || value == null) [all...] |
Objects.java | 32 * on objects. These utilities include {@code null}-safe or {@code 33 * null}-tolerant methods for computing the hash code of an object, 46 * Consequently, if both arguments are {@code null}, {@code true} 47 * is returned and if exactly one argument is {@code null}, {@code 59 return (a == b) || (a != null && a.equals(b)); 66 * Two {@code null} values are deeply equal. If both arguments are 82 else if (a == null || b == null) 89 * Returns the hash code of a non-{@code null} argument and 0 for 90 * a {@code null} argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapLoader.java | 44 // mTask is not null only when a task is on the way 51 mTask = null; 54 if (mBitmap != null) { 56 mBitmap = null; 60 if (future.isCancelled() && mBitmap == null) { 64 mState = mBitmap == null ? STATE_ERROR : STATE_LOADED; 73 if (mTask == null) mTask = submitBitmapTask(this); 80 if (mTask != null) mTask.cancel(); 87 if (mBitmap != null) { 89 mBitmap = null; [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
EnterpriseDefaultApps.java | 29 buildIntent(Intent.ACTION_VIEW, Intent.CATEGORY_BROWSABLE, "http:", null)}), 31 buildIntent(Intent.ACTION_INSERT, null, null, "vnd.android.cursor.dir/event")}), 36 buildIntent(Intent.ACTION_PICK, null, null, ContactsContract.Contacts.CONTENT_TYPE)}), 40 MAP(new Intent[] {buildIntent(Intent.ACTION_VIEW, null, "geo:", null)}), 55 if (category != null) { 58 if (protocol != null) { 61 if (type != null) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
EditorInfoCompatUtils.java | 30 null /* receiver */, null /* defaultValue */, FIELD_IME_FLAG_FORCE_ASCII); 39 if (OBJ_IME_FLAG_FORCE_ASCII == null) return false; 82 return (action != null) ? flags + action : flags.toString(); 86 if (editorInfo == null) { 87 return null; 89 final Object localeList = CompatUtils.getFieldValue(editorInfo, null, FIELD_HINT_LOCALES); 90 if (localeList == null) { 91 return null; 94 return null; [all...] |
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GlobalCanvasDragInfo.java | 37 * off a canvas or its palette and then set back to null when the drag'n'drop is finished. 41 * and will be null. 47 private SimpleElement[] mCurrentElements = null; 49 private Object mSourceCanvas = null; 72 * @param selection The selection (which can be null, for example when the 76 * @param removeSourceHandler A runnable (or null) which can clean up the 93 mCurrentElements = null; 94 mCurrentSelection = null; 95 mSourceCanvas = null; 96 mRemoveSourceHandler = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
PropertyChangeTransform.java | 37 this(accessor, newValue, null); 50 mOldValue = null; 58 assert mOldValue == null : "Transform cannot be applied multiple times"; 59 if (mPredicate != null) { 60 // if predicate is not null, then first check if the current value 67 if (property != null) { 82 if (mOldValue != null) { 85 mOldValue = null; 92 if (mPredicate != null) { 93 Object value = mOldValue == null ? mNewValue : mOldValue [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/keystore/ |
JSONFileKeyStoreClient.java | 34 private File mJsonFile = null; 36 protected JSONObject mJsonKeyStore = null; 43 if (mJsonFile == null) { 67 return mJsonKeyStore != null; 73 if (mJsonKeyStore == null) { 74 CLog.w("Key Store is null"); 82 if (key == null) { 83 CLog.w("null key passed"); 84 return null; 86 if (mJsonKeyStore == null) { [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 74 if (this.inTransportMetric != null) { 82 if (this.outTransportMetric != null) { 106 Object value = null; 107 if (this.metricsCache != null) { 110 if (value == null) { 116 if (this.inTransportMetric != null) { 119 return null; 122 if (this.outTransportMetric != null) { 125 return null; 133 if (this.metricsCache == null) { [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 72 if (params == null) { 73 throw new IllegalArgumentException("HTTP parameters may not be null"); 77 if (charset == null) { 88 if (params == null) { 89 throw new IllegalArgumentException("HTTP parameters may not be null"); 100 if (params == null) { 101 throw new IllegalArgumentException("HTTP parameters may not be null"); 105 if (charset == null) { 117 if (params == null) { 118 throw new IllegalArgumentException("HTTP parameters may not be null"); [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
ProbeInserterTest.java | 161 pi.visitLocalVariable(null, null, null, null, null, 0); 162 pi.visitLocalVariable(null, null, null, null, null, 1) [all...] |