Home
last modified time | relevance | path

Searched refs:emptyArray (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/netstats/
DNetworkTemplateTest.kt71 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
83 emptyArray<String>(), METERED_YES, ROAMING_YES, DEFAULT_NETWORK_ALL, in <lambda>()
108 emptyArray<String>() /*wifiNetworkKey*/, in <lambda>()
123 emptyArray<String>() /*subscriberIds*/, emptyArray<String>() /*wifiNetworkKey*/, in <lambda>()
134 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in <lambda>()
143 emptyArray<String>() /*subscriberIds*/, emptyArray<String>(), METERED_ALL, in <lambda>()
152 NetworkTemplate(MATCH_WIFI, emptyArray<String>() /*subscriberIds*/, in <lambda>()
173 emptyArray<String>() /*subscriberIds*/, emptyArray<String>(), in <lambda>()
208 emptyArray<String>() /*subscriberIds*/, emptyArray<String>(), in <lambda>()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DResourceUtilsTests.java45 final String[] emptyArray = {}; in testFindConstantForKeyValuePairsSimple() local
46 assertNull(ResourceUtils.findConstantForKeyValuePairs(anyKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
47 assertNull(ResourceUtils.findConstantForKeyValuePairs(emptyKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
48 assertNull(ResourceUtils.findConstantForKeyValuePairs(nullKeyValue, emptyArray)); in testFindConstantForKeyValuePairsSimple()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DUriMetadataHelpers.kt50 getStreamTypes(uri, "*/*") ?: emptyArray() in getStreamTypesSafe()
53 emptyArray<String?>() in getStreamTypesSafe()
56 emptyArray<String?>() in getStreamTypesSafe()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkTemplateTest.kt163 emptyArray<String>() /* subscriberIds */, arrayOf(null) /* wifiNetworkKeys */, in testWifiMatches()
490 emptyArray<String>(), METERED_YES, ROAMING_ALL, DEFAULT_NETWORK_ALL, in testEquals()
502 val dupTemplateWifiKey1 = NetworkTemplate(MATCH_WIFI, emptyArray<String>(), in testEquals()
516 emptyArray<String>(), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, in testParcelUnparcel()
518 val templateWifi = NetworkTemplate(MATCH_WIFI, emptyArray<String>(), in testParcelUnparcel()
521 val templateOem = NetworkTemplate(MATCH_MOBILE, emptyArray<String>(), in testParcelUnparcel()
522 emptyArray<String>(), METERED_ALL, ROAMING_ALL, DEFAULT_NETWORK_ALL, 0, in testParcelUnparcel()
577 if (subscriberId == null) emptyArray<String>() else arrayOf(subscriberId) in matchOemManagedIdent()
579 if (templateWifiKey == null) emptyArray<String>() else arrayOf(templateWifiKey) in matchOemManagedIdent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/util/
DLazyStringResource.kt153 override val formatArgs: Array<out CharSequence> = emptyArray()
160 override val formatArgs: Array<out CharSequence> = emptyArray() in value()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionTest22.kt62 emptyArray(), in testNoRuntimePrompt()
/packages/apps/ThemePicker/tests/common/src/com/android/customization/testing/
DTestPluginManager.kt9 return emptyArray() in getPrivilegedPlugins()
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DAppPreferenceRepository.kt39 packageManager.getPackagesForUid(uid) ?: emptyArray() in <lambda>()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLauncherMultivalentJUnit.kt34 (testClass.getAnnotation(EmulatedDevices::class.java)?.value ?: emptyArray()).let { devices in <lambda>()
/packages/modules/Permission/tests/cts/permissionui/PermissionPolicyApp25/src/android/permissionui/cts/permissionpolicy/
DTestProtectionFlagsActivity.kt42 for (declaredPermissionInfo in packageInfo.permissions ?: emptyArray()) { in <lambda>()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DArrayUtilsTest.java71 Integer[] array1 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray()
73 Integer[] array2 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray()
74 Float[] array3 = ArrayUtils.emptyArray(Float.class); in testEmptyArray()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DVoiceInteractionWindowController.kt71 mControllers = emptyArray() in init()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt193 doReturn(emptyArray<String>()).`when`(resources) in setUp()
199 doReturn(emptyArray<String>()).`when`(resources).getStringArray( in setUp()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DDataUsageLibTest.kt92 whenever(telephonyManager.mergedImsisFromGroup).thenReturn(emptyArray()) in getMobileTemplate_mergedImsisFromGroupEmpty_returnRequestedSub()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DChooserListAdapterTest.kt70 emptyArray(), in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnRepository.kt168 /* projection = */ emptyArray(), in isItemExist()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitsFragment.kt188 else -> emptyArray() in <lambda>()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DArrayUtils.java95 public static <T> T[] emptyArray(Class<T> kind) { in emptyArray() method in ArrayUtils
118 return items != null ? items : emptyArray(kind); in emptyIfNull()
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorProvider.kt328 if (isAvailable) getItemsFromStub(COLOR_BUNDLES_ARRAY_NAME) else emptyArray() in loadPreset()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt131 override fun newArray(size: Int) = emptyArray<TestNetwork>() in createFromParcel()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/
DPreviewDataProviderTest.kt227 val cursor = MatrixCursor(emptyArray()) in test_emptyQueryResult_cursorGetsClosed()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DPermissionsActivityTest.kt308 val startActivityIntent = getPermissionScreenIntent(emptyArray()) in <lambda>()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2796 @NonNull String[] strings, Function<String, T> converter, T[] emptyArray) { in convertStrings() argument
2810 return convertedValues.toArray(emptyArray); in convertStrings()
/packages/apps/Calendar/src/com/android/calendar/
DDayView.kt272 private var mLines: FloatArray = emptyArray<Float>().toFloatArray()