Home
last modified time | relevance | path

Searched refs:ID (Results 1 – 25 of 109) sorted by relevance

12345

/cts/tests/tests/content/src/android/content/cts/
DLocusIdTest.java36 private static final String ID = "file://dev/null"; field in LocusIdTest
51 final LocusId clone = cloneThroughParcel(new LocusId(ID)); in testParcel()
52 assertThat(clone.getId()).isEqualTo(ID); in testParcel()
57 final LocusId id1 = new LocusId(ID); in testEquals()
58 final LocusId id2 = new LocusId(ID); in testEquals()
69 final LocusId id1 = new LocusId(ID); in testHashcode()
70 final LocusId id2 = new LocusId(ID); in testHashcode()
/cts/tests/app/src/android/app/cts/
DStatusBarNotificationTest.java25 private static final int ID = 146; field in StatusBarNotificationTest
43 mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, mNotification, in setUp()
56 assertEquals(ID, mSbn.getId()); in testGetId()
100 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsClearable_notClearableOngoingEvent()
121 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_notifGroup()
133 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsGroup_sortKey()
149 new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, notification, in testIsOngoing_ongoingEvent()
165 assertEquals(ID, clone.getId()); in testClone()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DsendToClientBlocking.rscript4 int ID;
8 rsSendToClientBlocking(ID);
12 rsSendToClientBlocking(ID, &data, sizeof(data));
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCompletionInfoTest.java34 private static final int ID = 1; field in CompletionInfoTest
41 new CompletionInfo(ID, POSITION, TEXT); in testCompletionInfo()
42 CompletionInfo info = new CompletionInfo(ID, POSITION, TEXT, LABEL); in testCompletionInfo()
57 assertEquals(ID, info.getId()); in assertCompletionInfo()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/a/
DAppSearchDeviceTest.java58 private static final String ID = "id"; field in AppSearchDeviceTest
69 new GenericDocument.Builder<>(NAMESPACE, ID, SCHEMA.getSchemaType())
107 assertThat(result.getSuccesses()).containsExactly(ID, /*v0=*/null); in testPutDocuments()
113 List<GenericDocument> outDocuments = doGet(mDb, NAMESPACE, ID); in testGetDocuments_exist()
125 new GetByDocumentIdRequest.Builder(NAMESPACE).addIds(ID).build()).get(); in testGetDocuments_nonexist()
126 assertThat(getResult.getFailures().get(ID).getResultCode()) in testGetDocuments_nonexist()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java45 private static final String ID = "ID"; field in SearchTargetTest
60 SearchTarget.Builder mBuilderAction = new SearchTarget.Builder(RESULT_CORPUS, LAYOUT_TYPE, ID)
69 SearchTarget.Builder mBuilderSlice = new SearchTarget.Builder(RESULT_CORPUS, LAYOUT_TYPE, ID)
85 assertThat(target.getId()).isEqualTo(ID); in assertEverythingSearchAction()
106 SearchTarget target = new SearchTarget.Builder(RESULT_CORPUS, LAYOUT_TYPE, ID) in testBuilderShortcutInfo()
120 SearchTarget target = new SearchTarget.Builder(RESULT_CORPUS, LAYOUT_TYPE, ID) in testBuilderAppWidget()
DSearchActionTest.java52 private static final String ID = "ID"; field in SearchActionTest
58 private final SearchAction.Builder mBuilder = new SearchAction.Builder(ID, TITLE);
75 assertThrows(NullPointerException.class, () -> new Builder (ID, null)); in testBuilder_invalidTitle()
80 assertThrows(IllegalStateException.class, () -> new Builder(ID, TITLE).build()); in testBuilder_zeroIntent()
128 assertThat(searchAction.getId()).isEqualTo(ID); in assertEverything()
DSearchTargetEventTest.java39 private final String ID = "id"; field in SearchTargetEventTest
41 private final Builder mBuilder = new Builder(ID, ACTION_TAP).setLaunchLocation(LOCATION);
63 assertThat(event.getTargetId()).isEqualTo(ID); in assertEverything()
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto130 // Entry ID
149 // Content ID
151 // Parent entry ID
161 // Entry ID
167 // Build ID
169 // Content ID
/cts/tests/tests/sax/src/android/sax/cts/
DElementTest.java48 private static final String ID = "id"; field in ElementTest
75 name.getChild(ATOM_NAMESPACE, ID).setEndTextElementListener(new EndTextElementListener() { in testParse()
83 entry1.getChild(ATOM_NAMESPACE, ID).setElementListener(new ElementListener() { in testParse()
106 entry2.getChild(ATOM_NAMESPACE, ID).setTextElementListener(new TextElementListener() { in testParse()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDataCallResponseTest.java43 private static final int ID = 1; field in DataCallResponseTest
80 .setId(ID) in testConstructorAndGetters()
98 assertThat(response.getId()).isEqualTo(ID); in testConstructorAndGetters()
119 .setId(ID) in testEquals()
138 .setId(ID) in testEquals()
162 .setId(ID) in testNotEquals()
207 .setId(ID) in testParcel()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/unit/
DContentCaptureContextTest.java41 private static final String ID = "4815162342"; field in ContentCaptureContextTest
43 private static final LocusId LOCUS_ID = new LocusId(ID);
117 final ContentCaptureContext context = ContentCaptureContext.forLocusId(ID); in testForLocus_valid()
122 assertThat(locusId.getId()).isEqualTo(ID); in testForLocus_valid()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextLanguageTest.java42 private static final String ID = "id123"; field in TextLanguageTest
48 .setId(ID) in testTextLanguage()
55 assertEquals(ID, language.getId()); in testTextLanguage()
DTextClassificationTest.java59 private static final String ID = "id123"; field in TextClassificationTest
89 .setId(ID) in testTextClassification()
118 assertEquals(ID, classification.getId()); in testTextClassification()
140 .setId(ID) in testTextClassificationLegacy()
157 assertEquals(ID, classification.getId()); in testTextClassificationLegacy()
DConversationActionsTest.java43 private static final String ID = "ID"; field in ConversationActionsTest
136 new ConversationActions(Arrays.asList(conversationAction), ID); in testConversationActions_full()
206 assertThat(conversationActions.getId()).isEqualTo(ID); in assertFullConversationActions()
DTextSelectionTest.java54 private static final String ID = "id123"; field in TextSelectionTest
67 .setId(ID) in testTextSelection()
86 assertThat(selection.getId()).isEqualTo(ID); in testTextSelection()
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperB/src/android/appsearch/app/b/
DAppSearchDeviceTest.java41 private static final String ID = "id"; field in AppSearchDeviceTest
43 new GenericDocument.Builder<>(NAMESPACE, ID, "testSchema")
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DServiceInfoTest.java34 private static final String ID = "StreamingServiceId"; field in ServiceInfoTest
47 new StreamingServiceInfo(LOCALE_DICT, NAME, LOCALES, ID, BEGIN_DATE, END_DATE);
/cts/tests/tests/media/src/android/media/cts/
DStubMediaSession2Service.java36 private static final String ID = "StubMediaSession2Service"; field in StubMediaSession2Service
108 .setId(ID) in onGetSession()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DSensorDeviceInfo.java51 private static final String ID = "id"; field in SensorDeviceInfo
87 store.addResult(ID, sensor.getId()); in collectDeviceInfo()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/feature_a/
DAndroid.bp42 // Assign a unique package ID to this feature split. Since these are
69 // Assign a unique package ID to this feature split. Since these are
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/d/
DT_mul_int_3.smali27 .method public run(ID)I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/d/
DT_mul_int_2addr_3.smali27 .method public run(ID)I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/d/
DT_rem_int_3.smali27 .method public run(ID)I
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/d/
DT_rem_int_2addr_3.smali27 .method public run(ID)I

12345