/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | KeyboardInterceptorTest.java | 21 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 …]
|
H A D | AbstractAccessibilityServiceConnectionTest.java | 51 import static org.hamcrest.Matchers.nullValue; 334 assertThat(mServiceConnection.getWindows(), is(nullValue())); in getWindows_returnNull() 339 assertThat(mServiceConnection.getWindows(), is(nullValue())); in getWindows_returnNull() 361 assertThat(mServiceConnection.getWindow(WINDOWID), is(nullValue())); in getWindow_returnNull() 366 assertThat(mServiceConnection.getWindow(WINDOWID), is(nullValue())); in getWindow_returnNull() 391 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenCantGetInfo_returnNullOrFalse() 404 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenNoA11yAccess_returnNullOrFalse() 417 assertThat(mFindA11yNodesFunctions[i].call(), is(nullValue())); in accessAccessibilityNodeInfo_whenNoRemoteA11yConnection_returnNullOrFalse()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | HashedStringCacheTest.java | 22 import static org.hamcrest.CoreMatchers.nullValue; 134 assertThat(cachedResult, is(nullValue())); in testMinusOneResultsInNull() 142 assertThat(cachedResult, is(nullValue())); in testEmptyStringInput() 150 assertThat(cachedResult, is(nullValue())); in testNullInput() 158 assertThat(cachedResult, is(nullValue())); in testEmptyStringTag() 166 assertThat(cachedResult, is(nullValue())); in testNullTag() 174 assertThat(cachedResult, is(nullValue())); in testNullContext()
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
H A D | ActionBarOverlayLayoutTest.java | 24 import static org.hamcrest.CoreMatchers.nullValue; 103 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_stable() 115 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_notStable() 127 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_stable() 139 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_notStable() 151 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_stable() 163 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_notStable()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | RoundedCornersTest.java | 29 import static org.hamcrest.Matchers.nullValue; 72 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_LEFT), nullValue()); in testGetRoundedCorner_noRoundedCorners() 73 assertThat(roundedCorners.getRoundedCorner(POSITION_TOP_RIGHT), nullValue()); in testGetRoundedCorner_noRoundedCorners() 74 assertThat(roundedCorners.getRoundedCorner(POSITION_BOTTOM_RIGHT), nullValue()); in testGetRoundedCorner_noRoundedCorners() 75 assertThat(roundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), nullValue()); in testGetRoundedCorner_noRoundedCorners() 109 assertThat(mRoundedCorners.getRoundedCorner(POSITION_BOTTOM_LEFT), nullValue()); in testSetRoundedCorner_null()
|
H A D | DisplayCutoutTest.java | 26 import static org.hamcrest.Matchers.nullValue; 137 assertThat(NO_CUTOUT.getCutoutPath(), nullValue()); in testHasCutout_noCutout()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | EditorCursorTest.java | 30 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()
|
/aosp12/build/make/tools/product_config/src/com/android/build/config/ |
H A D | Value.java | 131 public static String oneLinePerWord(Value val, String nullValue) { in oneLinePerWord() argument 133 return nullValue; in oneLinePerWord() 149 public static String oneLinePerWord(Str str, String nullValue) { in oneLinePerWord() argument 151 return nullValue; in oneLinePerWord()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | TimestampedValueTest.java | 104 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()
|
H A D | ParcelNullabilityTest.java | 352 public void nullValue() { in nullValue() method in ParcelNullabilityTest
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | CustomizationParamsTest.java | 23 import static org.hamcrest.Matchers.nullValue; 103 assertThat(instance.supportUrl, nullValue()); in urlDefaultsToNull() 115 assertThat(instance.supportUrl, nullValue()); in ignoresInvalidUrl()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 301 return nullValue(); in value() 313 public JsonWriter nullValue() throws IOException { in nullValue() method in JsonWriter 366 return nullValue(); in value()
|
/aosp12/system/tools/aidl/tests/java/src/android/aidl/tests/ |
H A D | NullableTests.java | 24 import static org.hamcrest.core.IsNull.nullValue; 103 assertThat(callback, is(nullValue())); in testNullableIInterface()
|
H A D | ExtensionTests.java | 20 import static org.hamcrest.core.IsNull.nullValue; 119 assertThat(vep.ext.getParcelable(VintfParcelable.class), is(nullValue())); in testVintfParcelableHolderCannotContainNonVintfParcelable() 125 assertThat(vep.ext.getParcelable(UnstableParcelable.class), is(nullValue())); in testVintfParcelableHolderCannotContainUnstableParcelable()
|
H A D | VintfTests.java | 21 import static org.hamcrest.core.IsNull.nullValue;
|
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/ |
H A D | LiveDataFunctions.java | 84 public static <T, R> LiveData<R> mapNonNull(@NonNull LiveData<T> source, @Nullable R nullValue, in mapNonNull() argument 86 return Transformations.map(source, value -> value == null ? nullValue : func.apply(value)); in mapNonNull() 104 @Nullable R nullValue, in switchMapNonNull() argument
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | ScanTests.java | 31 import static org.hamcrest.Matchers.nullValue; 181 assertThat(scanResultNoReal.pkgSetting.realName, nullValue()); in installRealPackageName() 210 assertThat(scanResult.pkgSetting.cpuAbiOverrideString, nullValue()); in updateSimpleNominal() 263 assertThat(scanResult.staticSharedLibraryInfo.getDependencies(), nullValue()); in installStaticSharedLibrary() 295 assertThat(dynamicLib0.getDependencies(), nullValue()); in installDynamicLibraries() 308 assertThat(dynamicLib1.getDependencies(), nullValue()); in installDynamicLibraries()
|
H A D | PackageManagerSettingsTests.java | 30 import static org.hamcrest.CoreMatchers.nullValue; 215 assertThat(packageUserState1.suspendParams.valueAt(0), is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage() 223 assertThat(packageUserState1.suspendParams.valueAt(0), is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage() 228 assertThat(packageUserState2.suspendParams, is(nullValue())); in testReadPackageRestrictions_noSuspendingPackage() 366 assertThat(params21.dialogInfo, is(nullValue())); in testReadWritePackageRestrictions_suspendInfo() 368 assertThat(params21.launcherExtras, is(nullValue())); in testReadWritePackageRestrictions_suspendInfo() 374 assertThat(readPus3.suspendParams, is(nullValue())); in testReadWritePackageRestrictions_suspendInfo()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | HalDeviceManagerTest.java | 423 collector.checkThat("NAN can't be created", nanIface2, IsNull.nullValue()); in testCacheMismatchError() 749 collector.checkThat("not allocated interface", apIface, IsNull.nullValue()); in testReplaceRequestorWs() 1112 collector.checkThat("STA created", staIface2, IsNull.nullValue()); in testDuplicateStaRequestsFromLowerPriorityAppTestChipV1() 1439 collector.checkThat("AP2 should not be created", apIface2, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV2() 1848 collector.checkThat("AP2 should not be created", apIface2, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV3() 1852 collector.checkThat("P2P should not be created", p2pIface, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV3() 2150 collector.checkThat("AP2 should not be created", apIface2, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV4() 2154 collector.checkThat("P2P should not be created", p2pIface, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV4() 2283 collector.checkThat("AP2 should not be created", apIface2, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV4ForR() 2287 collector.checkThat("P2P should not be created", p2pIface, IsNull.nullValue()); in testInterfaceCreationFlowTestChipV4ForR() [all …]
|
/aosp12/frameworks/base/tools/bit/ |
H A D | make.cpp | 185 Json::Value nullValue; in get_values() local 187 const Json::Value& value = json.get(name, nullValue); in get_values()
|
/aosp12/hardware/interfaces/identity/support/src/ |
H A D | IdentityCredentialSupport.cpp | 1703 cppbor::Null nullValue; in coseSignEcDsaWithSignature() local 1704 coseSign1.add(std::move(nullValue)); in coseSignEcDsaWithSignature() 1764 cppbor::Null nullValue; in coseSignEcDsa() local 1765 coseSign1.add(std::move(nullValue)); in coseSignEcDsa() 2075 cppbor::Null nullValue; in coseMac0() local 2076 array.add(std::move(nullValue)); in coseMac0() 2097 cppbor::Null nullValue; in coseMacWithDigest() local 2098 array.add(std::move(nullValue)); in coseMacWithDigest()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
H A D | PrivacyItemControllerTest.kt | 41 import org.hamcrest.Matchers.nullValue 264 assertThat(argCaptor.value, not(hasItem(nullValue())))
|
/aosp12/packages/services/Car/car-lib/src/android/car/drivingstate/ |
H A D | CarUxRestrictionsConfiguration.java | 240 writer.name(JSON_NAME_PHYSICAL_PORT).nullValue(); in writeJson()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | WifiAwareStateManagerTest.java | 23 import static org.hamcrest.core.IsNull.nullValue; 3881 nullValue()); in validateInternalClientInfoCleanedUp() 3898 nullValue()); in validateInternalSessionInfoCleanedUp() 4005 nullValue()); in validateInternalSendMessageQueuesCleanedUp() 4013 nullValue()); in validateInternalSendMessageQueuesCleanedUp()
|
/aosp12/packages/services/Car/tests/BugReportApp/libs/ |
H A D | google-http-client-1.30.1.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |