Home
last modified time | relevance | path

Searched refs:nullValue (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyboardInterceptorTest.java21 import static org.hamcrest.CoreMatchers.nullValue;
85 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysUseIt_eventGoesToAms()
94 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysDropIt_eventDropped()
104 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
111 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysDelayThenUse_eventQueuedThenSentToAms()
121 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
128 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenVolumeKeyArrives_andPolicySaysDelayThenDrop_eventQueuedThenDropped()
143 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenSomeEventsGetDelayed_allEventsStillInOrder()
145 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenSomeEventsGetDelayed_allEventsStillInOrder()
152 when(mMockPolicy.interceptKeyBeforeDispatching((IBinder) argThat(nullValue()), in whenSomeEventsGetDelayed_allEventsStillInOrder()
[all …]
DAbstractAccessibilityServiceConnectionTest.java51 import static org.hamcrest.Matchers.nullValue;
361 assertThat(mServiceConnection.getWindows(), is(nullValue())); in getWindows_returnNull()
366 assertThat(mServiceConnection.getWindows(), is(nullValue())); in getWindows_returnNull()
388 assertThat(mServiceConnection.getWindow(WINDOWID), is(nullValue())); in getWindow_returnNull()
393 assertThat(mServiceConnection.getWindow(WINDOWID), is(nullValue())); in getWindow_returnNull()
418 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenCantGetInfo_returnNullOrFalse()
431 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenNoA11yAccess_returnNullOrFalse()
444 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenNoRemoteA11yConnection_returnNullOrFalse()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java25 import static org.hamcrest.CoreMatchers.nullValue;
114 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_stable()
126 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_notStable()
138 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_stable()
150 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_notStable()
162 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_stable()
174 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_notStable()
186 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_noContentOnApplyWindowInsetsListener()
199 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout__hasContentOnApplyWindowInsetsListener()
211 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_noContentOnApplyWindowInsetsListener()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DHashedStringCacheTest.java22 import static org.hamcrest.CoreMatchers.nullValue;
143 assertThat(cachedResult, is(nullValue())); in testMinusOneResultsInNull()
151 assertThat(cachedResult, is(nullValue())); in testEmptyStringInput()
159 assertThat(cachedResult, is(nullValue())); in testNullInput()
167 assertThat(cachedResult, is(nullValue())); in testEmptyStringTag()
175 assertThat(cachedResult, is(nullValue())); in testNullTag()
183 assertThat(cachedResult, is(nullValue())); in testNullContext()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DScanTests.java33 import static org.hamcrest.Matchers.nullValue;
188 assertThat(scanResultNoReal.mPkgSetting.getRealName(), nullValue()); in installRealPackageName()
217 assertThat(scanResult.mPkgSetting.getCpuAbiOverride(), nullValue()); in updateSimpleNominal()
269 assertThat(scanResult.mSdkSharedLibraryInfo.getDependencies(), nullValue()); in installSdkLibrary()
301 assertThat(scanResult.mStaticSharedLibraryInfo.getDependencies(), nullValue()); in installStaticSharedLibrary()
333 assertThat(dynamicLib0.getDependencies(), nullValue()); in installDynamicLibraries()
346 assertThat(dynamicLib1.getDependencies(), nullValue()); in installDynamicLibraries()
397 assertThat(applicationInfo.primaryCpuAbi, nullValue()); in scanFirstBoot_apexDontDeriveAbis()
398 assertThat(applicationInfo.primaryCpuAbi, nullValue()); in scanFirstBoot_apexDontDeriveAbis()
399 assertThat(applicationInfo.secondaryCpuAbi, nullValue()); in scanFirstBoot_apexDontDeriveAbis()
[all …]
DPackageManagerSettingsTests.java34 import static org.hamcrest.CoreMatchers.nullValue;
245 assertThat(appInfo2.optionalSharedLibraryInfos, nullValue()); in testApplicationInfoForUseSdkOptionalEnabled()
277 assertThat(appInfo1.optionalSharedLibraryInfos, nullValue()); in testApplicationInfoForUseSdkOptionalDisabled()
436 assertThat(packageUserState1.getSuspendParams().valueAt(0).getAppExtras(), is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
438 is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
440 is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
448 assertThat(packageUserState1.getSuspendParams().valueAt(0).getAppExtras(), is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
450 is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
452 is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
457 assertThat(packageUserState2.getSuspendParams(), is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DTimestampedValueTest.java104 TimestampedValue<String> nullValue = new TimestampedValue<>(1000, null); in testParceling_nullValue() local
107 parcel.writeParcelable(nullValue, 0); in testParceling_nullValue()
112 assertEquals(nullValue, nullValueCopy); in testParceling_nullValue()
DParcelNullabilityTest.java361 public void nullValue() { in nullValue() method in ParcelNullabilityTest
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java30 import static org.hamcrest.Matchers.nullValue;
122 assertThat(mEditText.getHint(), nullValue()); in testCursorIsOnLeft_withFirstStrongLtrAlgorithm()
141 assertThat(mEditText.getHint(), nullValue()); in testCursorIsOnRight_withFirstStrongRtlAlgorithm()
160 assertThat(mEditText.getHint(), nullValue()); in testCursorIsOnLeft_withLtrAlgorithm()
179 assertThat(mEditText.getHint(), nullValue()); in testCursorIsOnRight_withRtlAlgorithm()
/frameworks/base/core/tests/coretests/src/android/view/
DRoundedCornersTest.java31 import static org.hamcrest.Matchers.nullValue;
99 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), nullValue()); in testGetRoundedCorner_noRoundedCorners()
100 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_RIGHT), nullValue()); in testGetRoundedCorner_noRoundedCorners()
101 assertThat(roundedCorners.getRoundedCorner(POSITION_BOTTOM_RIGHT), nullValue()); in testGetRoundedCorner_noRoundedCorners()
102 assertThat(roundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), nullValue()); in testGetRoundedCorner_noRoundedCorners()
136 assertThat(mRoundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), nullValue()); in testSetRoundedCorner_null()
DDisplayCutoutTest.java32 import static org.hamcrest.Matchers.nullValue;
143 assertThat(NO_CUTOUT.getCutoutPath(), nullValue()); in testHasCutout_noCutout()
/frameworks/base/core/java/android/util/
DJsonWriter.java302 return nullValue(); in value()
314 public JsonWriter nullValue() throws IOException { in nullValue() method in JsonWriter
367 return nullValue(); in value()
/frameworks/base/tools/bit/
Dmake.cpp185 Json::Value nullValue; in get_values() local
187 const Json::Value& value = json.get(name, nullValue); in get_values()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DAppOpsPrivacyItemMonitorTest.kt34 import org.hamcrest.Matchers.nullValue
221 assertThat(appOpsPrivacyItemMonitor.getActivePrivacyItems(), not(hasItem(nullValue()))) in testListShouldNotHaveNull()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31543 method public android.util.JsonWriter nullValue() throws java.io.IOException;
/frameworks/base/core/api/
Dcurrent.txt50017 method public android.util.JsonWriter nullValue() throws java.io.IOException;