Home
last modified time | relevance | path

Searched refs:reference (Results 1 – 25 of 89) sorted by relevance

1234

/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigValidTest.kt46 .setTitleResId(R.string.reference) in validConfig_matchesExpected()
47 .setSummaryResId(R.string.reference) in validConfig_matchesExpected()
53 .setTitleResId(R.string.reference) in validConfig_matchesExpected()
54 .setSummaryResId(R.string.reference) in validConfig_matchesExpected()
63 .setTitleResId(R.string.reference) in validConfig_matchesExpected()
64 .setTitleForWorkResId(R.string.reference) in validConfig_matchesExpected()
65 .setSummaryResId(R.string.reference) in validConfig_matchesExpected()
70 .setSearchTermsResId(R.string.reference) in validConfig_matchesExpected()
87 .setTitleResId(R.string.reference) in validConfig_matchesExpected()
88 .setTitleForWorkResId(R.string.reference) in validConfig_matchesExpected()
[all …]
DParserConfigOverlayTest.kt59 assertThat(safetySource.titleResId).isEqualTo(R.string.reference) in <lambda>()
93 assertThat(safetySource.titleResId).isEqualTo(R.string.reference) in <lambda>()
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DReferenceWithHistoryTest.java46 TestRef<String> reference = new TestRef<>(); in testBasicReferenceBehavior() local
49 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior()
51 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior()
54 setAndCompareReturnValue(referenceWithHistory, reference, null); in testBasicReferenceBehavior()
55 compareGet(referenceWithHistory, reference, null); in testBasicReferenceBehavior()
57 compareToString(referenceWithHistory, reference, "null"); in testBasicReferenceBehavior()
60 setAndCompareReturnValue(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior()
61 compareGet(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior()
63 compareToString(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior()
66 setAndCompareReturnValue(referenceWithHistory, reference, "Foo"); in testBasicReferenceBehavior()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DComparatorTester.java153 for (Object reference : equalityGroups.get(referenceIndex)) { in doTestEquivalanceGroupOrdering()
154 testNullCompare(reference); in doTestEquivalanceGroupOrdering()
155 testClassCast(reference); in doTestEquivalanceGroupOrdering()
158 assertWithMessage("compare(%s, %s)", reference, other) in doTestEquivalanceGroupOrdering()
159 .that(Integer.signum(compare(reference, other))) in doTestEquivalanceGroupOrdering()
170 for (Object reference : referenceGroup) { in doTestEqualsCompatibility()
178 .withMessage("%s.equals(%s)", reference, other) in doTestEqualsCompatibility()
179 .that(reference.equals(other)) in doTestEqualsCompatibility()
180 .isEqualTo(compare(reference, other) == 0); in doTestEqualsCompatibility()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DNearbyManager.java159 WeakReference<ScanListenerTransport> reference = sScanListeners.get(scanCallback); in startScan() local
160 ScanListenerTransport transport = reference != null ? reference.get() : null; in startScan()
199 WeakReference<ScanListenerTransport> reference = sScanListeners.remove( in stopScan() local
201 ScanListenerTransport transport = reference != null ? reference.get() : null; in stopScan()
229 WeakReference<BroadcastListenerTransport> reference = sBroadcastListeners.get( in startBroadcast() local
231 BroadcastListenerTransport transport = reference != null ? reference.get() : null; in startBroadcast()
258 WeakReference<BroadcastListenerTransport> reference = sBroadcastListeners.remove( in stopBroadcast() local
260 BroadcastListenerTransport transport = reference != null ? reference.get() : null; in stopBroadcast()
/packages/modules/Bluetooth/tools/pdl/tests/
Dpython_generator_test.py85 reference = json.load(f)
87 for item in reference:
104 reference = json.load(f)
106 for item in reference:
128 reference = json.load(f)
130 for item in reference:
148 reference = json.load(f)
150 for item in reference:
/packages/apps/Calendar/
Dproject.properties16 android.library.reference.1=../../../frameworks/ex/chips
17 android.library.reference.2=../../../frameworks/opt/calendar
18 android.library.reference.3=../../../frameworks/opt/colorpicker
19 android.library.reference.4=../../../frameworks/opt/datetimepicker
20 android.library.reference.5=../../../frameworks/opt/timezonepicker
/packages/apps/Dialer/java/com/android/dialer/common/
DAssert.java146 public static <T> T isNotNull(@Nullable T reference) { in isNotNull() argument
147 return isNotNull(reference, null); in isNotNull()
161 @Nullable T reference, @Nullable String messageTemplate, Object... args) { in isNotNull()
162 if (reference == null) { in isNotNull()
165 return reference; in isNotNull()
/packages/apps/TV/common/src/com/android/tv/common/
DSoftPreconditions.java95 final T reference, in checkNotNull() argument
99 if (reference == null) { in checkNotNull()
103 return reference; in checkNotNull()
113 public static <T> T checkNotNull(final T reference) { in checkNotNull() argument
114 return checkNotNull(reference, null, null); in checkNotNull()
/packages/modules/GeoTZ/
DREADME.md1 This directory contains code, tools and data for the AOSP reference location
11 reference location time zone provider.
17 - Code for a host sample / reference data generation pipeline. See
25 - A reference location time zone provider that uses AOSP APIs to obtain
41 project. Used as input for the reference data generation pipeline.
DOWNERS2 # This contains the reference code and data for a Location Time Zone Provider.
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java245 Calendar reference = Calendar.getInstance(); in isWithinOneYear() local
246 reference.setTimeInMillis(secondTimestamp); in isWithinOneYear()
247 reference.add(Calendar.YEAR, -1); in isWithinOneYear()
252 return reference.before(other); in isWithinOneYear()
/packages/modules/GeoTZ/data_pipeline/
DAndroid.bp66 // Step 1 of the OSM time zone geolocation reference data pipeline.
76 // Step 2 of the OSM time zone geolocation reference data pipeline.
86 // Step 3 of the OSM time zone geolocation reference data pipeline.
95 // Step 4 of the OSM time zone geolocation reference data pipeline.
104 // Step 5 of the OSM time zone geolocation reference data pipeline.
114 // Step 6 of the OSM time zone geolocation reference data pipeline.
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/
Djarjar-rules.txt4 # at runtime. The assumption is that if a *relevant* reference is missing, then it must mean that
7 # reference by `LintJarVerifier`. To work around this, preserve the dynamically linked Android Lint
8 # API references and rename any other `com.android` reference.
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java73 ContactInfoCache reference = contactInfoCacheWeakReference.get(); in handleMessage() local
74 if (reference == null) { in handleMessage()
79 reference.onContactInfoChangedListener.onContactInfoChanged(); in handleMessage()
82 reference.startRequestProcessing(); in handleMessage()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java176 final String reference = (beforeCursor.length() <= actualLength) ? beforeCursor.toString() in checkConsistencyForDebug() local
180 || !(reference.equals(internal.toString()))) { in checkConsistencyForDebug()
184 + "\nActual text = " + reference.length() + " " + reference; in checkConsistencyForDebug()
666 final String reference = prev.length() <= checkLength ? prev.toString() in getNgramContextFromNthPreviousWord() local
675 if (!(reference.equals(internal.toString()))) { in getNgramContextFromNthPreviousWord()
677 "Expected text = " + internal + "\nActual text = " + reference; in getNgramContextFromNthPreviousWord()
/packages/modules/Bluetooth/tools/pdl/
DREADME.md21 [Full reference documentation](#doc/reference.md)
/packages/apps/TV/
DREADME.md3 __Live TV__ is the Open Source reference application for watching TV on Android
16 NOTE: This is a reference application and should not be used with further
/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/
DREADME.md4 Two Android UWB devices (DUT and reference device) are needed for these tests.
19 1 m distance between the DUT and reference device. Both devices should be positioned in portrait
/packages/modules/GeoTZ/s2storage/
DREADME.md119 Further, the time zone IDs are referenced as sets, e.g. one cell range may reference
120 "Europe/London", another may reference "Europe/Paris" and another may reference
130 1. Several ranges with S2 cell IDs close together may reference the same set - e.g. there
131 will be several range entries that reference "Europe/London".
132 2. There is unlikely to a single S2 cell that needs to reference both "America/Los_Angeles" and
/packages/modules/Bluetooth/system/embdrv/lc3/
DREADME.md13 - test: Python implentation, used as reference for unit testing
55 standard format described by the reference encoder / decoder tools.
/packages/modules/Bluetooth/system/tools/irk-calculator/
DCargo.toml6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
/packages/modules/NetworkStack/
Djarjar-excludes.txt2 # hardcoded reference to them in AOSP, but it is possible that OEM customizations are relying on
/packages/modules/Bluetooth/system/doc/
Dnetwork_ports.md4 It should be used as a reference and as a mechanism to avoid port
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java136 final AccountType reference = FallbackAccountType.createWithPackageNameForTest( in testEditSchema_fallback() local
139 assertsDataKindEquals(reference.getSortedDataKinds(), type.getSortedDataKinds()); in testEditSchema_fallback()

1234