/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionScriptEngineTest.java | 161 AdSelectionSignals.EMPTY); 169 AdSelectionSignals.EMPTY); 351 AdSelectionSignals.EMPTY, in testGenerateBidSuccessfulCase() 352 AdSelectionSignals.EMPTY, in testGenerateBidSuccessfulCase() 353 AdSelectionSignals.EMPTY, in testGenerateBidSuccessfulCase() 354 AdSelectionSignals.EMPTY, in testGenerateBidSuccessfulCase() 398 AdSelectionSignals.EMPTY, in testGenerateBidWithAdCostSuccessfulCaseCpcBillingEnabled() 399 AdSelectionSignals.EMPTY, in testGenerateBidWithAdCostSuccessfulCaseCpcBillingEnabled() 400 AdSelectionSignals.EMPTY, in testGenerateBidWithAdCostSuccessfulCaseCpcBillingEnabled() 401 AdSelectionSignals.EMPTY, in testGenerateBidWithAdCostSuccessfulCaseCpcBillingEnabled() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | ByteUtilsTests.kt | 27 private val EMPTY = byteArrayOf() constant in com.android.net.module.util.ByteUtilsTests 33 assertEquals(-1, indexOf(EMPTY, 1)) in testIndexOf() 45 assertContentEquals(EMPTY, concat()) in testConcat() 46 assertContentEquals(EMPTY, concat(EMPTY)) in testConcat() 47 assertContentEquals(EMPTY, concat(EMPTY, EMPTY, EMPTY)) in testConcat() 50 assertContentEquals(ARRAY1, concat(EMPTY, ARRAY1, EMPTY)) in testConcat()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsTable.java | 264 private static final String EMPTY = ""; field in KeyboardTextsTable 269 EMPTY, EMPTY, EMPTY, EMPTY, 274 EMPTY, EMPTY, EMPTY, 277 /* morekeys_s */ EMPTY, 281 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, 286 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, 301 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, 304 /* morekeys_nordic_row2_11 */ EMPTY, 312 EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, 342 /* morekeys_tablet_comma */ EMPTY, [all …]
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | ConnectivityDiagnosticsManagerTest.java | 114 PersistableBundle.EMPTY); in createDefaultConnectivityReport() 121 null, PersistableBundle.EMPTY)); in testPersistableBundleEquals() 124 PersistableBundle.EMPTY, null)); in testPersistableBundleEquals() 127 PersistableBundle.EMPTY, PersistableBundle.EMPTY)); in testPersistableBundleEquals() 139 ConnectivityDiagnosticsManager.persistableBundleEquals(PersistableBundle.EMPTY, a)); in testPersistableBundleEquals() 141 ConnectivityDiagnosticsManager.persistableBundleEquals(a, PersistableBundle.EMPTY)); in testPersistableBundleEquals() 168 PersistableBundle.EMPTY)); in testConnectivityReportEquals() 176 PersistableBundle.EMPTY)); in testConnectivityReportEquals() 184 PersistableBundle.EMPTY)); in testConnectivityReportEquals() 192 PersistableBundle.EMPTY)); in testConnectivityReportEquals() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBReportingDataTest.java | 78 .setSellerReportingUri(Uri.EMPTY) in testBuild_sellerEmptyUri_success() 83 assertEquals(Uri.EMPTY, reportingData.getSellerReportingUri()); in testBuild_sellerEmptyUri_success() 91 .setBuyerReportingUri(Uri.EMPTY) in testBuild_buyerEmptyUri_success() 96 assertEquals(Uri.EMPTY, reportingData.getBuyerReportingUri()); in testBuild_buyerEmptyUri_success() 103 DBReportingData.create(AD_SELECTION_ID_1, Uri.EMPTY, BUYER_REPORTING_URI_1); in testCreate_sellerEmptyUri_success() 107 assertEquals(Uri.EMPTY, reportingData.getSellerReportingUri()); in testCreate_sellerEmptyUri_success() 113 DBReportingData.create(AD_SELECTION_ID_1, SELLER_REPORTING_URI_1, Uri.EMPTY); in testCreate_buyerEmptyUri_success() 116 assertEquals(Uri.EMPTY, reportingData.getBuyerReportingUri()); in testCreate_buyerEmptyUri_success()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | AccessCheckerTest.java | 367 .that(getWhereForConstrainedAccess(hasNoPerms, AUDIO_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms() 371 .that(getWhereForConstrainedAccess(hasNoPerms, VIDEO_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms() 374 .that(getWhereForConstrainedAccess(hasNoPerms, IMAGES_MEDIA, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms() 379 .that(getWhereForConstrainedAccess(hasNoPerms, DOWNLOADS, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms() 382 .that(getWhereForConstrainedAccess(hasNoPerms, FILES, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_noPerms() 397 .that(getWhereForConstrainedAccess(hasReadMedia, DOWNLOADS, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_hasReadMediaPerms() 400 .that(getWhereForConstrainedAccess(hasReadMedia, FILES, false, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forRead_hasReadMediaPerms() 412 .that(getWhereForConstrainedAccess(noPerms, AUDIO_MEDIA, true, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forWrite_noPerms() 416 .that(getWhereForConstrainedAccess(noPerms, VIDEO_MEDIA, true, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forWrite_noPerms() 419 .that(getWhereForConstrainedAccess(noPerms, IMAGES_MEDIA, true, Bundle.EMPTY)) in testGetWhereForConstrainedAccess_forWrite_noPerms() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/ |
D | BiometricNavigationUtilsTest.java | 79 Bundle.EMPTY, null); in launchBiometricSettings_quietMode_launchesQuiteModeDialog() 89 mContext, SETTINGS_CLASS_NAME, Bundle.EMPTY, null)).isFalse(); in launchBiometricSettings_quietMode_returnsFalse() 97 Bundle.EMPTY, mLauncher); in launchBiometricSettings_quietMode_withLauncher_notThroughLauncher() 107 mContext, SETTINGS_CLASS_NAME, Bundle.EMPTY, null); in launchBiometricSettings_noQuietMode_emptyExtras_launchesFragmentWithoutExtras() 117 mContext, SETTINGS_CLASS_NAME, Bundle.EMPTY, null)).isTrue(); in launchBiometricSettings_noQuietMode_emptyExtras_returnsTrue() 155 mContext, SETTINGS_CLASS_NAME, null /* enforcedAdmin */, Bundle.EMPTY); in getBiometricSettingsIntent_quietMode_returnsQuiteModeDialogIntent() 165 mContext, SETTINGS_CLASS_NAME, null /* enforcedAdmin */, Bundle.EMPTY); in getBiometricSettingsIntent_noQuietMode_emptyExtras_returnsSettingsIntent() 187 mContext, SETTINGS_CLASS_NAME, enforcedAdmin, Bundle.EMPTY); in getBiometricSettingsIntent_whenDisabledByAdmin_quietMode_returnsBlockedIntent() 199 mContext, SETTINGS_CLASS_NAME, enforcedAdmin, Bundle.EMPTY); in getBiometricSettingsIntent_whenDisabledByAdmin_emptyExtras_returnsBlockedIntent() 211 mContext, SETTINGS_CLASS_NAME, enforcedAdmin, Bundle.EMPTY); in getBiometricSettingsIntent_whenDisabledByAdmin_withExtras_returnsBlockedIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ZenModeTest.java | 65 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterPriority_returnsZenPolicy() 75 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterAll_returnsPolicyAllowingAll() 87 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterAlarms_returnsPolicyAllowingAlarms() 103 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in getPolicy_interruptionFilterNone_returnsPolicyAllowingNothing() 118 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_setsInterruptionFilterPriority() 132 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_withAllChannelsAllowed_setsInterruptionFilterAll() 148 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_priorityToAllChannelsAndBack_restoresOldPolicy() 171 ZenMode zenMode = new ZenMode("id", new AutomaticZenRule.Builder("Rule", Uri.EMPTY) in setPolicy_alarmsOnlyToAllChannelsAndBack_restoresPolicySimilarToAlarmsOnly()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ProxyInfo.java | 116 mPacFileUrl = Uri.EMPTY; in ProxyInfo() 162 mPacFileUrl = Uri.EMPTY; in ProxyInfo() 180 mPacFileUrl = Uri.EMPTY; in ProxyInfo() 240 if (!Uri.EMPTY.equals(mPacFileUrl)) return true; in isValid() 266 return !Uri.EMPTY.equals(mPacFileUrl); in isPacProxy() 272 if (!Uri.EMPTY.equals(mPacFileUrl)) { in toString() 296 if (!Uri.EMPTY.equals(mPacFileUrl)) { in equals() 299 if (!Uri.EMPTY.equals(p.mPacFileUrl)) { in equals() 337 if (!Uri.EMPTY.equals(mPacFileUrl)) { in writeToParcel()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionType.java | 29 @IntDef({LoadingStatus.LOADING, LoadingStatus.COMPLETE, LoadingStatus.EMPTY}) 36 int EMPTY = 2; field 84 return getLoadingStatus() == LoadingStatus.EMPTY; in isEmpty() 106 setLoadingStatus(LoadingStatus.EMPTY); in updateLoadingStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/ |
D | BiometricSettingsProviderTest.kt | 55 provider.query(Uri.EMPTY, null, null, null, null) in query_shouldCrash() 60 provider.getType(Uri.EMPTY) in getType_shouldCrash() 65 provider.insert(Uri.EMPTY, null) in insert_shouldCrash() 70 provider.delete(Uri.EMPTY, null, null) in delete_shouldCrash() 75 provider.update(Uri.EMPTY, null, null, null) in update_shouldCrash()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceControllerTest.java | 62 new ComponentName(mContext.getPackageName(), "test"), Uri.EMPTY, in testGetSettingsActivity_configActivity() 78 new ComponentName("another", "test"), Uri.EMPTY, in testGetSettingsActivity_configActivity_wrongPackage() 94 new ComponentName("another", "test"), Uri.EMPTY, in testGetSettingsActivity_configActivity_unspecifiedOwner() 109 new ComponentName(mContext.getPackageName(), "service"), null, Uri.EMPTY, in testGetSettingsActivity_cps() 132 new ComponentName(mContext.getPackageName(), "service"), null, Uri.EMPTY, in testGetSettingsActivity_cps_wrongPackage() 155 new ComponentName(mContext.getPackageName(), "service"), null, Uri.EMPTY, in testGetSettingsActivity_cps_unspecifiedPackage() 177 new ComponentName(mContext.getPackageName(), "test"), Uri.EMPTY, in testGetRuleIntent()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapResponse.java | 81 return ImapString.EMPTY; // Not a status response. in getResponseCodeOrEmpty() 92 return ImapString.EMPTY; // Not an ALERT in getAlertTextOrEmpty() 101 return ImapString.EMPTY; in getStatusResponseTextOrEmpty() 108 return ImapString.EMPTY; in getStatusOrEmpty()
|
D | ImapList.java | 24 public static final ImapList EMPTY = field in ImapList 96 return el.isList() ? (ImapList) el : EMPTY; in getListOrEmpty() 105 return el.isString() ? (ImapString) el : ImapString.EMPTY; in getStringOrEmpty() 133 return (e != null) ? ((ImapList) e) : ImapList.EMPTY; in getKeyedListOrEmpty() 150 return (e != null) ? ((ImapString) e) : ImapString.EMPTY; in getKeyedStringOrEmpty()
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | RemoteDataImpl.java | 66 asyncResult.add(Bundle.EMPTY); in get() 72 asyncResult.add(Bundle.EMPTY); in get() 103 Bundle.EMPTY, in keySet() 110 asyncResult.add(Bundle.EMPTY); in keySet() 116 asyncResult.add(Bundle.EMPTY); in keySet()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | IoStatsTrackerTest.java | 43 private static final List<IoStatsEntry> EMPTY = Collections.emptyList(); field in IoStatsTrackerTest 48 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testNewUsersAppear() 79 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUserMetricsChange() 112 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUpdateNoIoProcessActive() 141 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUpdateNoIoProcessInactive() 165 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUpdateIoHappens() 194 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUpdateGoAwayComeBackProcess() 220 IoStatsTracker ioStatsTracker = new IoStatsTracker(EMPTY, in testUpdateGoAwayComeBackIo()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/model/ |
D | MediaParcelableTest.kt | 42 mediaUri = Uri.EMPTY.buildUpon() in testMediaImageIsParcelable() 51 glideLoadableUri = Uri.EMPTY.buildUpon() in testMediaImageIsParcelable() 87 mediaUri = Uri.EMPTY.buildUpon() in testMediaVideoIsParcelable() 96 glideLoadableUri = Uri.EMPTY.buildUpon() in testMediaVideoIsParcelable()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexData.java | 65 private static final String EMPTY = ""; field in IndexData 124 return (input != null) ? input.replaceAll(LIST_DELIMITERS, SPACE) : EMPTY; in normalizeKeywords() 131 return (input != null) ? input.replaceAll(NON_BREAKING_HYPHEN, HYPHEN) : EMPTY; in normalizeHyphen() 139 final String nohyphen = (input != null) ? normalizedHypen.replaceAll(HYPHEN, EMPTY) : EMPTY; in normalizeString() 146 final String nohyphen = (input != null) ? input.replaceAll(HYPHEN, EMPTY) : EMPTY; in normalizeJapaneseString()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adselection/ |
D | AdSelectionConfig.java | 51 @NonNull public static final AdSelectionConfig EMPTY = new AdSelectionConfig(); field in AdSelectionConfig 79 this.mDecisionLogicUri = Uri.EMPTY; in AdSelectionConfig() 81 this.mAdSelectionSignals = AdSelectionSignals.EMPTY; in AdSelectionConfig() 82 this.mSellerSignals = AdSelectionSignals.EMPTY; in AdSelectionConfig() 85 this.mTrustedScoringSignalsUri = Uri.EMPTY; in AdSelectionConfig() 269 private AdSelectionSignals mAdSelectionSignals = AdSelectionSignals.EMPTY; 270 private AdSelectionSignals mSellerSignals = AdSelectionSignals.EMPTY;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | PowerUsageSummaryTest.java | 161 eq(PowerUsageBase.LoaderIndex.BATTERY_TIP_LOADER), eq(Bundle.EMPTY), any()); in restartBatteryTipLoader() 174 eq(PowerUsageBase.LoaderIndex.BATTERY_TIP_LOADER), eq(Bundle.EMPTY), any()); in restartBatteryTipLoader_nullLoader_initLoader() 188 eq(PowerUsageBase.LoaderIndex.BATTERY_TIP_LOADER), eq(Bundle.EMPTY), any()); in restartBatteryTipLoader_loaderReset_initLoader() 278 Bundle.EMPTY, in restartBatteryInfoLoader_contextNull_doNothing() 291 Bundle.EMPTY, in restartBatteryInfoLoader_batteryIsNotPresent_doNothing() 307 eq(Bundle.EMPTY), in restartBatteryInfoLoader() 322 eq(Bundle.EMPTY), in restartBatteryInfoLoader_nullLoader_initLoader() 339 eq(Bundle.EMPTY), in restartBatteryInfoLoader_loaderReset_initLoader()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
D | DreamSettingsTest.java | 172 dreamSettings.onCreate(Bundle.EMPTY); in complicationsToggle_addAndRemoveActiveDreamChangeCallback() 192 dreamSettings.onCreate(Bundle.EMPTY); in complicationsToggle_showWhenDreamSupportsComplications() 211 dreamSettings.onCreate(Bundle.EMPTY); in complicationsToggle_hideWhenDreamDoesNotSupportComplications() 230 dreamSettings.onCreate(Bundle.EMPTY); in complicationsToggle_showWhenSwitchToDreamSupportsComplications() 258 dreamSettings.onCreate(Bundle.EMPTY); in homeControlToggle_enableWhenDreamCategoryIsDefault() 277 dreamSettings.onCreate(Bundle.EMPTY); in homePanelToggle_disableWhenDreamCategoryIsHomePanel() 297 dreamSettings.onCreate(Bundle.EMPTY); in homePanelToggle_disableWhenSwitchingFromDefaultToHomePanel() 322 dreamSettings.onCreate(Bundle.EMPTY); in homePanelToggle_showWhenSwitchingFromHomePanelToDefault()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ToggleColorInversionPreferenceFragmentTest.java | 107 mFragment.onCreate(Bundle.EMPTY); in onResume_colorCorrectEnabled_shouldReturnTrue() 119 mFragment.onCreate(Bundle.EMPTY); in onResume_colorCorrectDisabled_shouldReturnFalse() 132 mFragment.onCreate(Bundle.EMPTY); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips() 146 mFragment.onCreateView(LayoutInflater.from(mContext), mock(ViewGroup.class), Bundle.EMPTY); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView() 147 mFragment.onViewCreated(mFragment.getView(), Bundle.EMPTY); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView() 164 mFragment.onCreate(Bundle.EMPTY); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | SettingsQCRegistryTest.java | 45 Class<? extends SettingsQCItem> clazz = SettingsQCRegistry.getQCClassByUri(Uri.EMPTY); in getQCClassByUri_invalidUri_returnsNull() 62 assertThat(SettingsQCRegistry.isValidUri(Uri.EMPTY)).isFalse(); in isValidUri_invalidUri_returnsFalse() 72 assertThat(SettingsQCRegistry.isValidAction(Uri.EMPTY.toString())).isFalse(); in isValidAction_invalidAction_returnsFalse()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | AdSelectionConfigTest.java | 222 AdSelectionConfig config = AdSelectionConfig.EMPTY; in testEmptyConfigHasProperValuesSuccess() 225 assertEquals(config.getDecisionLogicUri(), Uri.EMPTY); in testEmptyConfigHasProperValuesSuccess() 227 assertEquals(config.getAdSelectionSignals(), AdSelectionSignals.EMPTY); in testEmptyConfigHasProperValuesSuccess() 228 assertEquals(config.getSellerSignals(), AdSelectionSignals.EMPTY); in testEmptyConfigHasProperValuesSuccess() 230 assertEquals(config.getTrustedScoringSignalsUri(), Uri.EMPTY); in testEmptyConfigHasProperValuesSuccess()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | ProxyTracker.java | 126 && Uri.EMPTY.equals(proxy.getPacFileUrl())) { in canonicalizeProxyInfo() 279 return Uri.EMPTY.equals(proxy.getPacFileUrl()) || proxy.getPort() > 0; in shouldSendBroadcast() 299 !Uri.EMPTY.equals(proxyInfo.getPacFileUrl()))) { in setGlobalProxy() 308 pacFileUrl = Uri.EMPTY.equals(proxyInfo.getPacFileUrl()) in setGlobalProxy() 342 && Uri.EMPTY.equals(proxyInfo.getPacFileUrl())) { in setDefaultProxy() 358 && (!Uri.EMPTY.equals(proxyInfo.getPacFileUrl())) in setDefaultProxy()
|