/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MyAutofillId.java | 25 private final AutofillId mId; field in MyAutofillId 28 mId = id; in MyAutofillId() 35 result = prime * result + ((mId == null) ? 0 : mId.hashCode()); in hashCode() 45 if (mId == null) { in equals() 46 if (other.mId != null) return false; in equals() 47 } else if (!mId.equals(other.mId)) { in equals() 55 return mId.toString(); in toString() 65 dest.writeParcelable(mId, flags); in writeToParcel()
|
D | SaveInfoTest.java | 36 private final AutofillId mId = new AutofillId(42); field in SaveInfoTest 67 new AutofillId[] { mId }); in testSetOptionalIds_null() 74 new AutofillId[] { mId }); in testSetOptional_empty() 82 new AutofillId[] { mId }); in testSetOptional_nullEntry() 90 new AutofillId[] { mId }); in testAddSanitizer_illegalArgs() 93 () -> builder.addSanitizer(null, mId)); in testAddSanitizer_illegalArgs() 96 () -> builder.addSanitizer(mock(Sanitizer.class), mId)); in testAddSanitizer_illegalArgs() 105 () -> builder.addSanitizer(mSanitizer, new AutofillId[] {mId, mId})); in testAddSanitizer_illegalArgs() 111 new AutofillId[] { mId }); in testAddSanitizer_sameIdOnDifferentCalls() 112 builder.addSanitizer(mSanitizer, mId); in testAddSanitizer_sameIdOnDifferentCalls() [all …]
|
D | DatasetTest.java | 40 private final AutofillId mId = new AutofillId(42); field in DatasetTest 60 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation() 66 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithNullPresentation() 72 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter() 78 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentationNullFilter() 85 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, mFilter, in testBuilder_setFilteredValueWithPresentationNullPresentation() 92 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue, mFilter)); in testBuilder_setFilteredValueWithoutPresentation() 104 builder.setValue(mId, mValue, mPresentation); in testNoMoreInteractionsAfterBuild() 107 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue)); in testNoMoreInteractionsAfterBuild() 109 () -> builder.setValue(mId, mValue, mPresentation)); in testNoMoreInteractionsAfterBuild() [all …]
|
D | UserDataTest.java | 74 private final String mId = "4815162342"; field in UserDataTest 88 mBuilder = new UserData.Builder(mId, mValue, mCategoryId); in setFixtures() 98 () -> new UserData.Builder(mId, null, mCategoryId)); in testBuilder_invalid() 100 () -> new UserData.Builder(mId, "", mCategoryId)); in testBuilder_invalid() 102 () -> new UserData.Builder(mId, mShortValue, mCategoryId)); in testBuilder_invalid() 104 () -> new UserData.Builder(mId, mLongValue, mCategoryId)); in testBuilder_invalid() 105 assertThrows(NullPointerException.class, () -> new UserData.Builder(mId, mValue, null)); in testBuilder_invalid() 106 assertThrows(IllegalArgumentException.class, () -> new UserData.Builder(mId, mValue, "")); in testBuilder_invalid() 152 assertThat(userData.getId()).isEqualTo(mId); in testBuild_valid()
|
D | CannedFillResponse.java | 499 private final String mId; field in CannedFillResponse.CannedDataset 509 mId = builder.mId; in CannedDataset() 560 builder.setId(mId).setAuthentication(mAuthentication); in asDataset() 566 return "CannedDataset " + mId + " : [hasPresentation=" + (mPresentation != null) in toString() 584 private String mId; field in CannedFillResponse.CannedDataset.Builder 743 mId = id; in setId()
|
/cts/tests/framework/base/activitymanager/src/android/server/am/ |
D | ActivityManagerMultiDisplayTests.java | 113 launchActivityOnDisplay(TEST_ACTIVITY, newDisplay.mId); in testLaunchActivityOnSecondaryDisplay() 121 final int frontStackId = mAmWmState.getAmState().getFrontStackId(newDisplay.mId); in testLaunchActivityOnSecondaryDisplay() 183 launchActivityOnDisplay(NON_RESIZEABLE_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityOnSecondaryDisplay() 220 launchActivityOnDisplay(NON_RESIZEABLE_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityWithSplitScreen() 252 launchActivityOnDisplay(RESIZEABLE_ACTIVITY, newDisplay.mId); in testMoveNonResizeableActivityToSecondaryDisplay() 254 .getFrontStackId(newDisplay.mId); in testMoveNonResizeableActivityToSecondaryDisplay() 289 launchActivityOnDisplay(BROADCAST_RECEIVER_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() 295 int frontStackId = mAmWmState.getAmState().getFrontStackId(newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() 310 frontStackId = mAmWmState.getAmState().getFrontStackId(newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplaySameTask() 330 launchActivityOnDisplay(LAUNCHING_ACTIVITY, newDisplay.mId); in testLaunchNonResizeableActivityFromSecondaryDisplayNewTask() [all …]
|
D | ActivityManagerDisplayLockedKeyguardTests.java | 64 launchActivityOnDisplay(TEST_ACTIVITY, newDisplay.mId); in testVirtualDisplayHidesContentWhenLocked() 93 launchActivityOnDisplay(DISMISS_KEYGUARD_ACTIVITY, newDisplay.mId); in testDismissKeyguard_secondaryDisplay() 113 launchActivityOnDisplay(DISMISS_KEYGUARD_ACTIVITY, newDisplay.mId); in testDismissKeyguard_whileOccluded_secondaryDisplay()
|
D | ActivityManagerVrDisplayTests.java | 118 assertEquals("Launch in Vr mode should be in virtual stack", vrDisplay.mId, in testVrActivityLaunch() 165 assertEquals("Launch in Vr mode should be in virtual stack", vrDisplay.mId, in testVrActivityReLaunch() 214 assertEquals("Launch in Vr mode should be in virtual stack", vrDisplay.mId, in testActivityLaunchPostVr()
|
D | ActivityManagerDisplayKeyguardTests.java | 57 launchActivityOnDisplay(DISMISS_KEYGUARD_ACTIVITY, newDisplay.mId); in testDismissKeyguardActivity_secondaryDisplay()
|
D | ActivityManagerDisplayTestBase.java | 73 if (display.mId == displayId) { in getDisplayState() 84 if (display.mId == DEFAULT_DISPLAY) { in getDisplayState() 107 if (oldDisplays.stream().noneMatch(d -> d.mId == newDisplay.mId)) { in findNewDisplayStates()
|
D | ActivityManagerDisplayTests.java | 82 launchActivityOnDisplay(TEST_ACTIVITY, newDisplay.mId); in testMultiDisplayDisabled()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/ |
D | Movie.java | 28 private String mId; field in Movie 41 mId = data[0]; in Movie() 57 return mId; in getId() 61 mId = id; in setId() 103 dest.writeStringArray(new String[] {mId, in writeToParcel() 114 sb.append("mId=" + mId); in toString()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeCommand.java | 31 private final long mId; field in ImeCommand 39 mId = id; in ImeCommand() 46 mId = bundle.getLong(ID_KEY); in ImeCommand() 58 bundle.putLong(ID_KEY, mId); in toBundle() 70 return mId; in getId()
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | UriHelper.java | 104 private final String mId; field in UriHelper 109 mId = (segments.size() >= 2) ? segments.get(1) : null; in UriHelper() 122 if (mId == null) { in buildSelection() 145 if (mId == null) { in buildSelectionArgs() 151 return new String[]{ mId }; in buildSelectionArgs() 157 args[0] = mId; in buildSelectionArgs()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_TestDataBuilder.java | 63 private long mId = -1; field in ContactsContract_TestDataBuilder.Builder 70 if (mId != -1) { in getId() 71 return mId; in getId() 80 mId = cursor.getInt(IdQuery._ID); in getId() 86 assertTrue("Could not obtain _ID for URI: " + mUri, mId != -1); in getId() 87 return mId; in getId() 98 assertTrue("Neither URI nor ID has been specified", mId != -1); in getUri() 99 mUri = ContentUris.withAppendedId(getContentUri(), mId); in getUri() 133 mId = ContentUris.parseId(mUri); in insertDependent() 197 mId = mCursor.getLong(getColumnIndex(BaseColumns._ID)); in loadUsingValues()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskOutput.cpp | 57 android::sp<Buffer> buffer = getTestCase()->findBuffer(mId); in start() 59 LOGE("cannot find buffer %s", mId.string()); in start() 69 int id = getTestCase()->getRemoteAudio()->getDataId(mId); in start()
|
D | TaskInput.cpp | 97 if (!getTestCase()->registerBuffer(mId, mBuffer)) { in complete() 98 if (!getTestCase()->updateBuffer(mId, mBuffer)) { in complete() 99 LOGE("cannot register/update buffer %s", mId.string()); in complete()
|
D | TaskAsync.cpp | 40 if (mId.length() == 0) { in run() 62 mId.append(value); in parseAttribute()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 78 private String mId; field in NotificationManagerTest 85 mId = UUID.randomUUID().toString(); in setUp() 164 new NotificationChannel(mId, "name", NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannelGroup() 168 new NotificationChannel(mId + "!", "name", NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannelGroup() 189 new NotificationChannel(mId, "name", NotificationManager.IMPORTANCE_DEFAULT); in testGetChannelGroup() 207 new NotificationChannel(mId, "name", NotificationManager.IMPORTANCE_DEFAULT); in testDeleteChannelGroup() 220 new NotificationChannel(mId, "name", NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannel() 232 mNotificationManager.getNotificationChannel(mId); in testCreateChannel() 241 new NotificationChannel(mId, "name", NotificationManager.IMPORTANCE_DEFAULT); in testCreateChannel_rename() 246 mNotificationManager.getNotificationChannel(mId); in testCreateChannel_rename() [all …]
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskAsync.h | 48 android::String8 mId;
|
/cts/suite/audio_quality/lib/src/audio/ |
D | AudioProtocol.cpp | 95 mBuffer[2] = htonl(param.mId); in sendCommand() 113 mBuffer[2] = htonl(param.mId); in sendCommand()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MockFontProvider.java | 65 mId = id; in Font() 76 return mId; in getId() 107 private int mId; field in MockFontProvider.Font
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 389 private final int mId; field in DialogStubActivity.MockOnClickListener 392 mId = buttonId; in MockOnClickListener() 396 switch (mId) { in onClick()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioProtocol.h | 38 uint32_t mId; variable
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityManagerState.java | 245 int mId; field in ActivityManagerState.ActivityDisplay 250 mId = proto.id; in ActivityDisplay()
|