/cts/tests/tests/text/src/android/text/cts/ |
D | Spannable_FactoryTest.java | 25 import android.text.Spannable.Factory; 40 Factory factory = Spannable.Factory.getInstance(); in testNewSpannable() 50 Factory factory = Spannable.Factory.getInstance(); in testNewSpannableNull() 56 Spannable.Factory factory = Spannable.Factory.getInstance(); in testGetInstance() 58 assertSame(factory, Spannable.Factory.getInstance()); in testGetInstance()
|
D | Editable_FactoryTest.java | 23 import android.text.Editable.Factory; 35 private Factory mFactory; 43 mFactory = new Editable.Factory(); in testNewEditable() 51 mFactory = Factory.getInstance(); in testGetInstance() 52 assertTrue(mFactory instanceof Editable.Factory); in testGetInstance()
|
D | StaticLayoutTest.java | 570 Editable editable = Editable.Factory.getInstance().newEditable("123\t\n555"); in testImmutableStaticLayout()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | IncrementalDeviceConnection.java | 159 static class Factory implements IDeviceConnection.Factory { class in IncrementalDeviceConnection 163 static Factory reliable() { in reliable() 164 return new Factory(ConnectionType.RELIABLE, true); in reliable() 167 static Factory ureliable() { in ureliable() 168 return new Factory(ConnectionType.UNRELIABLE, false); in ureliable() 171 static Factory reliableExpectInstallationFailure() { in reliableExpectInstallationFailure() 172 return new Factory(ConnectionType.RELIABLE, false); in reliableExpectInstallationFailure() 175 private Factory(ConnectionType connectionType, boolean expectInstallationSuccess) { in Factory() method in IncrementalDeviceConnection.Factory
|
D | PackageManagerShellCommandIncrementalTest.java | 234 IncrementalDeviceConnection.Factory.reliable()); in testSpaceAllocatedForPackage() 311 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithStreaming() 372 IncrementalDeviceConnection.Factory.reliableExpectInstallationFailure()); in installWithBlockFilter() 459 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithStreamingAndCompression() 481 IncrementalDeviceConnection.Factory.ureliable()); in testInstallWithStreamingUnreliableConnection() 770 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithIdSigStreamPerUidTimeoutsIncompleteData()
|
D | ResourcesHardeningTest.java | 387 IncrementalDeviceConnection.Factory.reliable()); in startInstallSession()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | InMatcher.java | 20 import org.hamcrest.Factory; 61 @Factory 66 @Factory
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | CharacterPickerDialogTest.java | 57 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructor() 66 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructorNullContext() 76 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 101 text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 118 final Editable content = Editable.Factory.getInstance().newEditable(str); in testOnClick()
|
D | BaseKeyListenerTest.java | 58 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace() 79 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 97 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 121 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 129 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 136 content = Editable.Factory.getInstance().newEditable(TEST_STRING); in testBackspace_withAlt() 186 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 194 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 229 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 252 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() [all …]
|
D | MetaKeyKeyListenerTest.java | 56 final Editable content = Editable.Factory.getInstance().newEditable(str); in testPressKey() 82 final Editable content = Editable.Factory.getInstance().newEditable(str); in testReleaseKey() 106 Spannable content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 115 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 124 content = Editable.Factory.getInstance().newEditable(str); in testAdjustMetaAfterKeypress() 151 Spannable text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 159 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 167 text = Editable.Factory.getInstance().newEditable(str); in testResetMetaState() 313 Editable text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState() 321 text = Editable.Factory.getInstance().newEditable(str); in testClearMetaKeyState() [all …]
|
D | EditorState.java | 175 mText = Editable.Factory.getInstance().newEditable(spannable); in setByString()
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | UriHelper.java | 42 static final class Factory { class in UriHelper 50 private Factory(FactoryBuilder builder) { in Factory() method in UriHelper.Factory 91 Factory build() { in build() 95 return new Factory(this); in build()
|
D | EventProvider.java | 50 private UriHelper.Factory mUriFactory; 55 mUriFactory = UriHelper.Factory.builder() in onCreate()
|
/cts/libs/rollback/src/com/android/cts/rollback/lib/ |
D | RollbackInfoSubject.java | 48 public static Subject.Factory<RollbackInfoSubject, RollbackInfo> rollbacks() { in rollbacks() 52 private static final Subject.Factory<RollbackInfoSubject, RollbackInfo> SUBJECT_FACTORY = 53 new Subject.Factory<RollbackInfoSubject, RollbackInfo>() {
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | PackageInstallerSessionInfoSubject.java | 36 private static Subject.Factory<PackageInstallerSessionInfoSubject, 38 return new Subject.Factory<PackageInstallerSessionInfoSubject, in sessions()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PhoneNumberUtilsTest.java | 241 Editable jpEditNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods() 244 jpEditNumber = Editable.Factory.getInstance().newEditable("09077777777"); in testFormatMethods() 247 jpEditNumber = Editable.Factory.getInstance().newEditable("0120777777"); in testFormatMethods() 250 jpEditNumber = Editable.Factory.getInstance().newEditable("+81377777777"); in testFormatMethods() 253 jpEditNumber = Editable.Factory.getInstance().newEditable("+819077777777"); in testFormatMethods() 260 Editable editNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods() 263 editNumber = Editable.Factory.getInstance().newEditable("+177777777"); in testFormatMethods() 266 editNumber = Editable.Factory.getInstance().newEditable("+8177777777"); in testFormatMethods()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NotificationListenerQuerySubject.java | 44 …public static Factory<NotificationListenerQuerySubject, NotificationListenerQuery> notificationLis… in notificationListenerQuery()
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/truth/ |
D | MetricQueryBuilderSubject.java | 36 public static Factory<MetricQueryBuilderSubject, MetricQueryBuilder> MetricQueryBuilder() { in MetricQueryBuilder()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/truth/ |
D | EventLogsSubject.java | 38 public static <F extends Event> Factory<EventLogsSubject<F>, EventLogs<F>> eventLogs() { in eventLogs()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoSubject.java | 51 public static Factory<TvTrackInfoSubject, TvTrackInfo> tvTrackInfos() { in tvTrackInfos()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | BaseInputConnectionTest.java | 125 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testOpTextMethods() 163 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testFinishComposingText() 202 final Editable editable = Editable.Factory.getInstance().newEditable(source); in createConnectionWithSelection()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 43 import android.view.LayoutInflater.Factory; 69 private final Factory mFactory = (String name, Context context, AttributeSet attrs) -> null;
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | LoginActivityTest.java | 675 Editable newEditable = Editable.Factory.getInstance().newEditable(s); in appendText()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1399 final Editable.Factory mockEditableFactory = spy(new Editable.Factory()); in testSetEditableFactory() 1436 final Spannable.Factory mockSpannableFactory = spy(new Spannable.Factory()); in testSetSpannableFactory()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 5551 return_type: "android.view.LayoutInflater.Factory"
|