/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()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | IncrementalDeviceConnection.java | 157 static class Factory implements IDeviceConnection.Factory { class in IncrementalDeviceConnection 161 static Factory reliable() { in reliable() 162 return new Factory(ConnectionType.RELIABLE, true); in reliable() 165 static Factory ureliable() { in ureliable() 166 return new Factory(ConnectionType.UNRELIABLE, false); in ureliable() 169 static Factory reliableExpectInstallationFailure() { in reliableExpectInstallationFailure() 170 return new Factory(ConnectionType.RELIABLE, false); in reliableExpectInstallationFailure() 173 private Factory(ConnectionType connectionType, boolean expectInstallationSuccess) { in Factory() method in IncrementalDeviceConnection.Factory
|
D | PackageManagerShellCommandIncrementalTest.java | 285 IncrementalDeviceConnection.Factory.reliable()); in testSpaceAllocatedForPackage() 364 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithStreaming() 426 IncrementalDeviceConnection.Factory.reliableExpectInstallationFailure()); in installWithBlockFilter() 513 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithStreamingAndCompression() 535 IncrementalDeviceConnection.Factory.ureliable()); in testInstallWithStreamingUnreliableConnection() 843 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithIdSigNoDigesting() 980 IncrementalDeviceConnection.Factory.reliable()); in testInstallWithIdSigStreamPerUidTimeoutsIncompleteData()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NotificationListenerQuerySubject.kt | 21 import com.google.common.truth.Subject.Factory in <lambda>() 66 …fun notificationListenerQuery(): Factory<NotificationListenerQuerySubject, NotificationListenerQue… in <lambda>() 67 return Factory { metadata: FailureMetadata, actual: NotificationListenerQuery -> in <lambda>()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | InMatcher.java | 20 import org.hamcrest.Factory; 61 @Factory 66 @Factory
|
/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/tests/tests/text/src/android/text/method/cts/ |
D | CharacterPickerDialogTest.java | 68 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructor() 77 final Editable content = Editable.Factory.getInstance().newEditable(str); in testConstructorNullContext() 87 Editable text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 112 text = Editable.Factory.getInstance().newEditable(str); in testOnItemClick() 129 final Editable content = Editable.Factory.getInstance().newEditable(str); in testOnClick()
|
D | BaseKeyListenerTest.java | 59 Editable content = Editable.Factory.getInstance().newEditable(TEST_STRING); in verifyBackspace() 80 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 98 content = Editable.Factory.getInstance().newEditable(testText); in verifyBackspace() 129 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testBackspace_withAlt() 150 Editable content = Editable.Factory.getInstance().newEditable(LONG_TEXT_FOR_ALT_BACKSPACE); in testForwardDelete_withAlt() 208 Editable content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 216 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 251 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 274 content = Editable.Factory.getInstance().newEditable(testText); in testBackspace_withCtrl() 300 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/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/libs/install/src/com/android/cts/install/lib/ |
D | PackageInstallerSessionInfoSubject.java | 36 private static Subject.Factory<PackageInstallerSessionInfoSubject, 38 return new Subject.Factory<PackageInstallerSessionInfoSubject, in sessions()
|
/cts/tests/tests/car/src/android/car/cts/utils/watchdog/ |
D | ResourceOveruseConfigurationSubject.java | 34 private static final Subject.Factory< 47 public static Subject.Factory<ResourceOveruseConfigurationSubject,
|
D | IoOveruseConfigurationSubject.java | 39 private static final Subject.Factory< 67 public static Subject.Factory<IoOveruseConfigurationSubject,
|
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/ |
D | ResourceOveruseConfigurationSubject.java | 35 private static final Subject.Factory< 54 public static Subject.Factory<ResourceOveruseConfigurationSubject,
|
D | IoOveruseConfigurationSubject.java | 39 private static final Subject.Factory< 67 public static Subject.Factory<IoOveruseConfigurationSubject,
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PhoneNumberUtilsTest.java | 259 Editable jpEditNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods() 262 jpEditNumber = Editable.Factory.getInstance().newEditable("09077777777"); in testFormatMethods() 265 jpEditNumber = Editable.Factory.getInstance().newEditable("0120777777"); in testFormatMethods() 268 jpEditNumber = Editable.Factory.getInstance().newEditable("+81377777777"); in testFormatMethods() 271 jpEditNumber = Editable.Factory.getInstance().newEditable("+819077777777"); in testFormatMethods() 278 Editable editNumber = Editable.Factory.getInstance().newEditable("0377777777"); in testFormatMethods() 281 editNumber = Editable.Factory.getInstance().newEditable("+177777777"); in testFormatMethods() 284 editNumber = Editable.Factory.getInstance().newEditable("+8177777777"); in testFormatMethods()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/controls/ |
D | ControlsPanelTestUtils.java | 32 Spannable spannable = Spannable.Factory.getInstance().newSpannable(text); in addImage()
|
/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/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | InputConnectionTestUtils.java | 124 final Editable editable = Editable.Factory.getInstance().newEditable(source);
|
/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 | 134 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testOpTextMethods() 172 Editable inputText = Editable.Factory.getInstance().newEditable(str); in testFinishComposingText() 601 Editable.Factory.getInstance().newEditable("test")); in testTakeSnapshotForNoSelection()
|