/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ts43/ |
D | Ts43VowifiStatusTest.java | 44 assertThat(status.serverDataMissing()).isFalse(); in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 45 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 46 assertThat(status.incompatible()).isFalse(); in ts43VowifiStatus_vowifiAvailable_vowifiEntitled() 60 assertThat(status.serverDataMissing()).isFalse(); in ts43VowifiStatus_addressNotRequired_vowifiEntitled() 61 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_addressNotRequired_vowifiEntitled() 62 assertThat(status.incompatible()).isFalse(); in ts43VowifiStatus_addressNotRequired_vowifiEntitled() 76 assertThat(status.serverDataMissing()).isFalse(); in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled() 77 assertThat(status.inProgress()).isFalse(); in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled() 78 assertThat(status.incompatible()).isFalse(); in ts43VowifiStatus_tcStatusNotRequired_vowifiEntitled() 92 assertThat(status.serverDataMissing()).isFalse(); in ts43VowifiStatus_provisionNotRequired_vowifiEntitled() [all …]
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/ |
D | DenylistTest.java | 35 apiType)).isFalse(); in testEmptyDenylistDeniesNothing() 36 assertThat(Denylist.EMPTY_INSTANCE.checkDeniedPackage("foo", apiType)).isFalse(); in testEmptyDenylistDeniesNothing() 54 assertThat(denylist.checkDeniedPackageDatabase("bar", "foo", apiType)).isFalse(); in testDenyAllApis() 56 assertThat(denylist.checkDeniedPackage("bar", apiType)).isFalse(); in testDenyAllApis() 65 assertThat(denylist.checkDeniedPackage("foo", apiType)).isFalse(); in testDenyNoApis() 79 assertThat(denylist.checkDeniedPackage("foo", apiType)).isFalse(); in testDenySomeApis() 95 CallStats.CALL_TYPE_SET_SCHEMA)).isFalse(); in testDenyByPackage() 97 CallStats.CALL_TYPE_SET_SCHEMA)).isFalse(); in testDenyByPackage() 98 assertThat(denylist.checkDeniedPackage("bar", CallStats.CALL_TYPE_SET_SCHEMA)).isFalse(); in testDenyByPackage() 107 CallStats.CALL_TYPE_SET_SCHEMA)).isFalse(); in testDenyByPackageDatabase() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 132 assertThat(checkPermissionShell(uid)).isFalse(); in testSelfPermissions() 133 assertThat(checkPermissionManager(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 134 assertThat(checkPermissionDelegator(context, pid, uid)).isFalse(); in testSelfPermissions() 135 assertThat(checkPermissionManageMedia(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 137 packageName, null, true)).isFalse(); in testSelfPermissions() 143 assertThat(checkPermissionWriteAudio(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 145 assertThat(checkPermissionWriteVideo(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 147 assertThat(checkPermissionWriteImages(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 148 assertThat(checkPermissionInstallPackages(context, pid, uid, packageName, null)).isFalse(); in testSelfPermissions() 159 assertThat(checkNoIsolatedStorageGranted(context, uid, packageName, null)).isFalse(); in testNoIsolatedStorageIsByDefaultDenied() [all …]
|
D | SyntheticPathUtilsTest.java | 69 .isFalse(); in testIsSyntheticPath() 71 .isFalse(); in testIsSyntheticPath() 72 assertThat(isSyntheticPath("/storage/emulated/0/.transforms", /* userId */ 0)).isFalse(); in testIsSyntheticPath() 73 assertThat(isSyntheticPath("/storage/emulated/0/synthetic", /* userId */ 0)).isFalse(); in testIsSyntheticPath() 86 + REDACTED_ID, /* userId */ 10)).isFalse(); in testIsRedactedPath() 88 + REDACTED_ID, /* userId */ 0)).isFalse(); in testIsRedactedPath() 90 + REDACTED_ID, /* userId */ 0)).isFalse(); in testIsRedactedPath() 92 /* userId */ 0)).isFalse(); in testIsRedactedPath() 94 /* userId */ 0)).isFalse(); in testIsRedactedPath() 107 /* userId */ 10)).isFalse(); in testIsPickerPath() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/model/ |
D | EnrollmentRequestTest.kt | 36 Truth.assertThat(EnrollmentRequest(Intent(), context, true).isSuw).isFalse() in testIsSuw() 37 Truth.assertThat(EnrollmentRequest(Intent(), context, false).isSuw).isFalse() in testIsSuw() 41 Truth.assertThat(EnrollmentRequest(trueIntent, context, false).isSuw).isFalse() in testIsSuw() 44 Truth.assertThat(EnrollmentRequest(falseIntent, context, true).isSuw).isFalse() in testIsSuw() 45 Truth.assertThat(EnrollmentRequest(falseIntent, context, false).isSuw).isFalse() in testIsSuw() 54 ).isFalse() in testIsAfterSuwOrSuwSuggestedAction() 58 ).isFalse() in testIsAfterSuwOrSuwSuggestedAction() 68 ).isFalse() in testIsAfterSuwOrSuwSuggestedAction() 74 ).isFalse() in testIsAfterSuwOrSuwSuggestedAction() 78 ).isFalse() in testIsAfterSuwOrSuwSuggestedAction() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/chooser/ |
D | ImmutableTargetInfoTest.kt | 124 assertThat(info.isEmptyTargetInfo).isFalse() in testBasicProperties() 125 assertThat(info.isPlaceHolderTargetInfo).isFalse() in testBasicProperties() 126 assertThat(info.isNotSelectableTargetInfo).isFalse() in testBasicProperties() 127 assertThat(info.isSelectableTargetInfo).isFalse() in testBasicProperties() 128 assertThat(info.isChooserTargetInfo).isFalse() in testBasicProperties() 129 assertThat(info.isMultiDisplayResolveInfo).isFalse() in testBasicProperties() 130 assertThat(info.isDisplayResolveInfo).isFalse() in testBasicProperties() 180 assertThat(info.isEmptyTargetInfo).isFalse() in testToBuilderPreservesBasicProperties() 181 assertThat(info.isPlaceHolderTargetInfo).isFalse() in testToBuilderPreservesBasicProperties() 182 assertThat(info.isNotSelectableTargetInfo).isFalse() in testToBuilderPreservesBasicProperties() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceInfoTest.java | 69 assertThat(info.shouldBeBound()).isFalse(); in testServiceNameWithDefaults() 70 assertThat(info.shouldBeStartedInForeground()).isFalse(); in testServiceNameWithDefaults() 80 assertThat(info.shouldBeBound()).isFalse(); in startService() 81 assertThat(info.shouldBeStartedInForeground()).isFalse(); in startService() 91 assertThat(info.shouldBeStartedInForeground()).isFalse(); in bindService() 98 assertThat(info.shouldBeBound()).isFalse(); in startServiceInForeground() 106 assertThat(info.shouldStartOnUnlock()).isFalse(); in triggerAsap() 141 assertThat(info.isAllUserService()).isFalse(); in userScopeForeground() 143 assertThat(info.isSystemUserService()).isFalse(); in userScopeForeground() 144 assertThat(info.isVisibleUserService()).isFalse(); in userScopeForeground() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothUtilsTest.java | 100 mMockBluetoothDevice, BluetoothProfile.A2DP)).isFalse(); in testIsA2dpSourceProfileSupportedRemoteSupported_returnsFalse() 107 mMockBluetoothDevice, BluetoothProfile.A2DP)).isFalse(); in testIsA2dpSourceProfileSupportedLocalSupported_returnsFalse() 114 mMockBluetoothDevice, BluetoothProfile.A2DP)).isFalse(); in testIsA2dpSourceProfileSupportedBothUnsupported_returnsFalse() 121 mMockBluetoothDevice, BluetoothProfile.A2DP)).isFalse(); in testIsA2dpSourceProfileSupportedBothSupportSameRole_returnsFalse() 135 mMockBluetoothDevice, BluetoothProfile.A2DP_SINK)).isFalse(); in testIsA2dpSinkProfileSupportedRemoteSupported_returnsFalse() 142 mMockBluetoothDevice, BluetoothProfile.A2DP_SINK)).isFalse(); in testIsA2dpSinkProfileSupportedLocalSupported_returnsFalse() 149 mMockBluetoothDevice, BluetoothProfile.A2DP_SINK)).isFalse(); in testIsA2dpSinkProfileSupportedBothUnsupported_returnsFalse() 156 mMockBluetoothDevice, BluetoothProfile.A2DP_SINK)).isFalse(); in testIsA2dpSinkProfileSupportedBothSupportSameRole_returnsFalse() 170 mMockBluetoothDevice, BluetoothProfile.HEADSET_CLIENT)).isFalse(); in testIsHfpHfProfileSupportedRemoteSupported_returnsFalse() 177 mMockBluetoothDevice, BluetoothProfile.HEADSET_CLIENT)).isFalse(); in testIsHfpHfProfileSupportedLocalSupported_returnsFalse() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockGenericControllerTest.java | 102 .isFalse(); in isScreenLockVisible_shouldRespectResourceConfig() 104 mController.isScreenLockVisible(ScreenLockType.SWIPE)).isFalse(); in isScreenLockVisible_shouldRespectResourceConfig() 111 mController.isScreenLockVisible(ScreenLockType.SWIPE)).isFalse(); in isScreenLockVisible_ManagedProfile_shouldHideInsecure() 113 .isFalse(); in isScreenLockVisible_ManagedProfile_shouldHideInsecure() 146 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualitySomething() 147 assertThat(mController.isScreenLockEnabled(ScreenLockType.SWIPE)).isFalse(); in isScreenLockEnabled_QualitySomething() 156 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityNumeric() 157 assertThat(mController.isScreenLockEnabled(ScreenLockType.SWIPE)).isFalse(); in isScreenLockEnabled_QualityNumeric() 158 assertThat(mController.isScreenLockEnabled(ScreenLockType.PATTERN)).isFalse(); in isScreenLockEnabled_QualityNumeric() 166 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityNumericComplex() [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/tests/ |
D | ParsedDataBuilderTest.java | 52 assertThat(classData.isInterface).isFalse(); in testClassData() 58 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData() 63 assertThat(classData.isClassHidden).isFalse(); in testClassData() 68 assertThat(classData.isInterface).isFalse(); in testClassData() 69 assertThat(classData.annotationData.isSystemApi).isFalse(); in testClassData() 74 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData() 76 assertThat(constructorData.isHidden).isFalse(); in testClassData() 77 assertThat(constructorData.annotationData.isSystemApi).isFalse(); in testClassData() 123 assertThat(annotationData.isSystemApi).isFalse(); in testFieldDataAndAnnotationData() 127 assertThat(annotationData.hasDeprecatedAddedInAnnotation).isFalse(); in testFieldDataAndAnnotationData() [all …]
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/ |
D | AndroidSdkLevelTest.java | 80 expect.withMessage("ANY.isAtLeast(DEV)").that(ANY.isAtLeast(DEV)).isFalse(); in testAtLeast() 82 expect.withMessage("ANY.isAtLeast(R)").that(ANY.isAtLeast(R)).isFalse(); in testAtLeast() 83 expect.withMessage("ANY.isAtLeast(S)").that(ANY.isAtLeast(S)).isFalse(); in testAtLeast() 84 expect.withMessage("ANY.isAtLeast(S2)").that(ANY.isAtLeast(S2)).isFalse(); in testAtLeast() 85 expect.withMessage("ANY.isAtLeast(T)").that(ANY.isAtLeast(T)).isFalse(); in testAtLeast() 86 expect.withMessage("ANY.isAtLeast(U)").that(ANY.isAtLeast(U)).isFalse(); in testAtLeast() 87 expect.withMessage("ANY.isAtLeast(V)").that(ANY.isAtLeast(V)).isFalse(); in testAtLeast() 98 expect.withMessage("S.isAtLeast(DEV)").that(S.isAtLeast(DEV)).isFalse(); in testAtLeast() 101 expect.withMessage("R.isAtLeast(S)").that(R.isAtLeast(S)).isFalse(); in testAtLeast() 102 expect.withMessage("R.isAtLeast(S2)").that(R.isAtLeast(S2)).isFalse(); in testAtLeast() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioDynamicRoutingTest.java | 98 .isFalse(); in setupAudioDynamicRouting() 110 .isFalse(); in setupAudioDynamicRouting() 114 .isFalse(); in setupAudioDynamicRouting() 117 .isFalse(); in setupAudioDynamicRouting() 120 .isFalse(); in setupAudioDynamicRouting() 123 .isFalse(); in setupAudioDynamicRouting() 126 .isFalse(); in setupAudioDynamicRouting() 129 .isFalse(); in setupAudioDynamicRouting() 133 .isFalse(); in setupAudioDynamicRouting() 136 .isFalse(); in setupAudioDynamicRouting() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiUtilsTest.java | 74 assertThat(WifiUtils.isSSIDTooLong("123")).isFalse(); in testSSID() 77 assertThat(WifiUtils.isSSIDTooShort("123")).isFalse(); in testSSID() 86 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK)).isFalse(); in testPassword() 92 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK)).isFalse(); in testPassword() 94 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK)).isFalse(); in testPassword() 96 SoftApConfiguration.SECURITY_TYPE_WPA2_PSK)).isFalse(); in testPassword() 100 SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION)).isFalse(); in testPassword() 106 SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION)).isFalse(); in testPassword() 108 SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION)).isFalse(); in testPassword() 110 SoftApConfiguration.SECURITY_TYPE_WPA3_SAE_TRANSITION)).isFalse(); in testPassword() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/ |
D | ConsentManagerTest.java | 103 assertThat(datastore.get(NOTIFICATION_DISPLAYED_ONCE)).isFalse(); in testCreateAndInitBooleanFileDatastore() 111 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetConsent_unSet() 112 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetConsent_unSet() 113 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetConsent_unSet() 114 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetConsent_unSet() 128 assertThat(consentManager.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 136 assertThat(consentManager.getConsent(ConsentParcel.TOPICS).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 144 assertThat(consentManager.getConsent(ConsentParcel.FLEDGE).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 152 assertThat(consentManager.getConsent(ConsentParcel.MEASUREMENT).isIsGiven()).isFalse(); in testGetAndSetConsent_null() 161 assertThat(consentManager0.getConsent(ConsentParcel.ALL_API).isIsGiven()).isFalse(); in testGetAndSetConsent_nonNull() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/input/ |
D | DisplayInputSinkControllerTest.java | 180 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in mayStartDisplayInputLock_withValidDisplay_createsDisplayInputSink() 204 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in mayStopDisplayInputLockLocked_inputLockStarted_removesDisplayInputSink() 210 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in mayStopDisplayInputLockLocked_inputLockNotStarted_doesNotStopDisplayInputLock() 215 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in mayStopDisplayInputLockLocked_inputLockNotStarted_doesNotStopDisplayInputLock() 228 assertThat(isInputMonitorStarted(mPassengerDisplayId2)).isFalse(); in onDisplayAdded_withValidDisplay_callsStartDisplayInputLock() 239 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in onDisplayAdded_withNonPassengerDisplay_doesNotCallStartDisplayInputLock() 240 assertThat(isInputMonitorStarted(mPassengerDisplayId1)).isFalse(); in onDisplayAdded_withNonPassengerDisplay_doesNotCallStartDisplayInputLock() 241 assertThat(isInputLockStarted(mPassengerDisplayId2)).isFalse(); in onDisplayAdded_withNonPassengerDisplay_doesNotCallStartDisplayInputLock() 242 assertThat(isInputMonitorStarted(mPassengerDisplayId2)).isFalse(); in onDisplayAdded_withNonPassengerDisplay_doesNotCallStartDisplayInputLock() 254 assertThat(isInputLockStarted(mPassengerDisplayId1)).isFalse(); in onDisplayRemoved_inputLockStarted_callsStopDisplayInputLock() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | DvrRecordingServiceTest.java | 58 assertThat(getService().mInForeground).isFalse(); in testStartService_null() 75 assertThat(getService().mForegroundForUpcomingRecording).isFalse(); in testStartService_noUpcomingRecording() 77 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording() 86 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording() 87 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording() 89 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording() 90 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording() 104 assertThat(getService().mInForeground).isFalse(); in testStartService_noUpcomingRecording() 105 assertThat(getService().mIsRecording).isFalse(); in testStartService_noUpcomingRecording() 117 assertThat(getService().mIsRecording).isFalse(); in testStartService_hasUpcomingRecording() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/api/ |
D | ProgramTest.java | 50 assertThat(Program.sameChannel(null, null)).isFalse(); in sameChannel_nullAlwaysFalse() 51 assertThat(Program.sameChannel(channel1, null)).isFalse(); in sameChannel_nullAlwaysFalse() 52 assertThat(Program.sameChannel(null, channel1)).isFalse(); in sameChannel_nullAlwaysFalse() 63 assertThat(Program.sameChannel(channel1, createProgramWithChannelId(2))).isFalse(); in sameChannel_false() 68 assertThat(Program.isOverlapping(null, null)).isFalse(); in isOverLapping_nullAlwaysFalse() 69 assertThat(Program.isOverlapping(start10end20, null)).isFalse(); in isOverLapping_nullAlwaysFalse() 70 assertThat(Program.isOverlapping(null, start10end20)).isFalse(); in isOverLapping_nullAlwaysFalse() 81 .isFalse(); in isOverLapping_endBefore() 87 .isFalse(); in isOverLapping_endAtStart() 99 .isFalse(); in isOverLapping_startAfter() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/ |
D | ItemTest.java | 79 assertThat(item.isVideo()).isFalse(); in testConstructor() 80 assertThat(item.isGifOrAnimatedWebp()).isFalse(); in testConstructor() 81 assertThat(item.isMotionPhoto()).isFalse(); in testConstructor() 108 assertThat(item.isVideo()).isFalse(); in testConstructor_differentUser() 109 assertThat(item.isGifOrAnimatedWebp()).isFalse(); in testConstructor_differentUser() 110 assertThat(item.isMotionPhoto()).isFalse(); in testConstructor_differentUser() 124 assertThat(item.isVideo()).isFalse(); in testIsImage() 125 assertThat(item.isGifOrAnimatedWebp()).isFalse(); in testIsImage() 126 assertThat(item.isMotionPhoto()).isFalse(); in testIsImage() 140 assertThat(item.isImage()).isFalse(); in testIsVideo() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupUnitTest.java | 186 .that(carVolumeGroup.setMute(false)).isFalse(); in setMuted_whenUnmuted_onDeactivation_returnsFalse() 205 .that(carVolumeGroup.setMute(true)).isFalse(); in setMuted_whenMuted_onActivation_returnsFalse() 237 .that(carVolumeGroup.setMute(false)).isFalse(); in setMuted_whenHalMuted_onDeactivation_returnsFalse() 245 .that(carVolumeGroup.isMuted()).isFalse(); in isMuted_whenDefault_returnsFalse() 264 .that(carVolumeGroup.isMuted()).isFalse(); in isMuted_afterUnMuting_returnsFalse() 353 .that(carVolumeGroup.isHalMuted()).isFalse(); in isHalMuted_withHalUnmuted() 379 .that(info.isMutedBySystem()).isFalse(); in getMutedBySystem_withHalUnmuted() 508 SUPPORTED_ACTIVATION_VOLUME_INVOCATION_TYPE)).isFalse(); in handleActivationVolume_withActivationVolumeDisabled() 521 UNSUPPORTED_ACTIVATION_VOLUME_INVOCATION_TYPE)).isFalse(); in handleActivationVolume_withUnsupportedActivationInvocationType() 535 SUPPORTED_ACTIVATION_VOLUME_INVOCATION_TYPE)).isFalse(); in handleActivationVolume_withVolumeWithinActivationVolumeRange() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/ |
D | CredentialManagerPreferenceControllerTest.java | 109 assertThat(controller.isConnected()).isFalse(); in getAvailabilityStatus_withoutInit_returnsUnavailable() 117 assertThat(controller.isConnected()).isFalse(); in getAvailabilityStatus_noServices_returnsUnavailable() 128 assertThat(controller.isHiddenDueToNoProviderSet(createPair())).isFalse(); in getAvailabilityStatus_withServices_returnsAvailable() 158 assertThat(controller.isHiddenDueToNoProviderSet(testPair)).isFalse(); in isHiddenDueToNoProviderSet_validDataSoNotHidden() 168 assertThat(controller.isHiddenDueToNoProviderSet(createPair())).isFalse(); in displayPreference_withServices_preferencesAdded() 192 assertThat(controller.isHiddenDueToNoProviderSet(createPair())).isFalse(); in buildPreference() 196 assertThat(providerInfo1.isEnabled()).isFalse(); in buildPreference() 197 assertThat(providerInfo2.isEnabled()).isFalse(); in buildPreference() 217 assertThat(pref2.isChecked()).isFalse(); in buildPreference() 236 assertThat(controller.isHiddenDueToNoProviderSet(createPair())).isFalse(); in getAvailabilityStatus_handlesToggleAndSave() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/ |
D | HeadsetClientServiceInterfaceTest.java | 106 assertThat(mServiceInterface.enterPrivateMode(TEST_DEVICE, TEST_CALL_INDEX)).isFalse(); in testEnterPrivateMode() 112 assertThat(mServiceInterface.enterPrivateMode(TEST_DEVICE, TEST_CALL_INDEX)).isFalse(); in testEnterPrivateMode() 121 assertThat(mServiceInterface.sendDTMF(TEST_DEVICE, TEST_CODE)).isFalse(); in testSendDTMF() 125 assertThat(mServiceInterface.sendDTMF(TEST_DEVICE, TEST_CODE)).isFalse(); in testSendDTMF() 132 assertThat(mServiceInterface.terminateCall(TEST_DEVICE, TEST_CALL)).isFalse(); in testTerminateCall() 142 assertThat(mServiceInterface.terminateCall(TEST_DEVICE, TEST_CALL)).isFalse(); in testTerminateCall() 147 assertThat(mServiceInterface.holdCall(TEST_DEVICE)).isFalse(); in testHoldCall() 151 assertThat(mServiceInterface.holdCall(TEST_DEVICE)).isFalse(); in testHoldCall() 158 assertThat(mServiceInterface.acceptCall(TEST_DEVICE, TEST_FLAGS)).isFalse(); in testAcceptCall() 162 assertThat(mServiceInterface.acceptCall(TEST_DEVICE, TEST_CODE)).isFalse(); in testAcceptCall() [all …]
|
/packages/modules/Bluetooth/service/src/ |
D | BleScanSettingListenerTest.kt | 68 assertThat(isScanAllowed).isFalse() in initialize_whenNoSettings_isOff() 69 assertThat(callbackTriggered).isFalse() in initialize_whenNoSettings_isOff() 78 assertThat(isScanAllowed).isFalse() in initialize_whenSettingsOff_isOff() 79 assertThat(callbackTriggered).isFalse() in initialize_whenSettingsOff_isOff() 88 assertThat(callbackTriggered).isFalse() in initialize_whenSettingsOn_isScanAllowed() 99 assertThat(callbackTriggered).isFalse() in changeModeToOn_whenSettingsOn_isScanAllowedAndEventDiscarded() 108 assertThat(isScanAllowed).isFalse() in changeModeToOff_whenSettingsOff_isOffAndEventDiscarded() 109 assertThat(callbackTriggered).isFalse() in changeModeToOff_whenSettingsOff_isOffAndEventDiscarded() 119 assertThat(callbackTriggered).isFalse() in changeModeToOn_whenSettingsOff_isScanAllowedWithoutCallback() 129 assertThat(isScanAllowed).isFalse() in changeModeToOff_whenSettingsOn_isOffAndCallbackTriggered()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | PageTokenWrapperTest.java | 49 assertThat(wrapper.isEmpty()).isFalse(); in of_createInstance() 94 assertThat(wrapper.isTimestampSet()).isFalse(); in ofAscending_timestampNotSet() 95 assertThat(wrapper.isEmpty()).isFalse(); in ofAscending_timestampNotSet() 98 assertThat(wrapper.isAscending()).isFalse(); in ofAscending_timestampNotSet() 99 assertThat(wrapper.isTimestampSet()).isFalse(); in ofAscending_timestampNotSet() 100 assertThat(wrapper.isEmpty()).isFalse(); in ofAscending_timestampNotSet() 118 assertThat(wrapper.isEmpty()).isFalse(); in from_validPageToken_expectCorrectResult() 126 assertThat(wrapper.isEmpty()).isFalse(); in from_pageTokenUnset_useDefaultIsAscending() 129 assertThat(wrapper.isAscending()).isFalse(); in from_pageTokenUnset_useDefaultIsAscending() 130 assertThat(wrapper.isEmpty()).isFalse(); in from_pageTokenUnset_useDefaultIsAscending() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | ArrayUtilsTest.java | 39 assertThat(ArrayUtils.equals(array1, array2, 3)).isFalse(); in testEquals() 51 assertThat(ArrayUtils.equals(array1, null, 2)).isFalse(); in testEqualsNull() 52 assertThat(ArrayUtils.equals(null, array1, 2)).isFalse(); in testEqualsNull() 59 assertThat(ArrayUtils.equals(array1, array2, 4)).isFalse(); in testEqualsLengthTooSmall() 87 assertThat(ArrayUtils.isEmpty(array2)).isFalse(); in testEmptyIfNull() 97 assertThat(ArrayUtils.isEmpty(list)).isFalse(); in testIsEmptyAndSize() 103 assertThat(ArrayUtils.isEmpty(map)).isFalse(); in testIsEmptyAndSize() 109 assertThat(ArrayUtils.isEmpty(array)).isFalse(); in testIsEmptyAndSize() 113 assertThat(ArrayUtils.isEmpty(new int[]{1, 2})).isFalse(); in testIsEmptyAndSize() 116 assertThat(ArrayUtils.isEmpty(new long[]{1L, 2L})).isFalse(); in testIsEmptyAndSize() [all …]
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | UtilitiesKtTest.kt | 51 assertThat(rootView.clipChildren).isFalse() in set_clipChildren_false() 52 assertThat(midView.clipChildren).isFalse() in set_clipChildren_false() 60 assertThat(rootView.clipChildren).isFalse() in restore_clipChildren_true() 61 assertThat(midView.clipChildren).isFalse() in restore_clipChildren_true() 75 assertThat(rootView.clipChildren).isFalse() in restore_clipChildren_skipRestoreMidView() 76 assertThat(midView.clipChildren).isFalse() in restore_clipChildren_skipRestoreMidView() 80 assertThat(rootView.clipChildren).isFalse() in restore_clipChildren_skipRestoreMidView() 91 assertThat(rootView.clipToPadding).isFalse() in set_clipToPadding_false() 92 assertThat(midView.clipToPadding).isFalse() in set_clipToPadding_false() 100 assertThat(rootView.clipToPadding).isFalse() in restore_clipToPadding_true() [all …]
|