/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/ |
D | SqliteTokenFinderTest.java | 56 expected.add(Pair.create(SqliteTokenFinder.TYPE_REGULAR, token)); in checkTokensRegular() 102 checkTokens("''", Pair.create(SqliteTokenFinder.TYPE_IN_SINGLE_QUOTES, "")); in testSingleQuotes() 107 Pair.create(SqliteTokenFinder.TYPE_IN_SINGLE_QUOTES, "\'")); in testSingleQuotes() 110 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes() 111 Pair.create(SqliteTokenFinder.TYPE_IN_SINGLE_QUOTES, "\'"), in testSingleQuotes() 112 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "b")); in testSingleQuotes() 115 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "a"), in testSingleQuotes() 116 Pair.create(SqliteTokenFinder.TYPE_IN_SINGLE_QUOTES, " \' "), in testSingleQuotes() 117 Pair.create(SqliteTokenFinder.TYPE_REGULAR, "b")); in testSingleQuotes() 118 checkTokens("'abc'", Pair.create(SqliteTokenFinder.TYPE_IN_SINGLE_QUOTES, "abc")); in testSingleQuotes() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 122 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testDeviceOwnerSystemUser() 123 Pair.create(UserHandle.USER_SYSTEM, DeleteNonRequiredAppsTask.class), in testDeviceOwnerSystemUser() 124 Pair.create(UserHandle.USER_SYSTEM, DisallowAddUserTask.class)); in testDeviceOwnerSystemUser() 145 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testDeviceOwnerSeparate() 146 Pair.create(DEVICE_OWNER_USER_ID, DeleteNonRequiredAppsTask.class), in testDeviceOwnerSeparate() 147 Pair.create(DEVICE_OWNER_USER_ID, DisallowAddUserTask.class)); in testDeviceOwnerSeparate() 168 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testManagedProfileWithoutMissingSystemIme() 169 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfileWithoutMissingSystemIme() 170 Pair.create(MANAGED_PROFILE_USER_ID, DisableInstallShortcutListenersTask.class), in testManagedProfileWithoutMissingSystemIme() 171 Pair.create(MANAGED_PROFILE_USER_ID, DeleteNonRequiredAppsTask.class)); in testManagedProfileWithoutMissingSystemIme() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 74 mActivityController.create(); in onCreate_requestDisableIntent_hasDisableRequestType() 84 mActivityController.create(); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() 94 mActivityController.create(); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() 106 mActivityController.create(); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() 116 mActivityController.create(); in onCreate_requestEnableIntent_hasEnableRequestType() 128 mActivityController.create(); in onCreate_bluetoothOff_requestDisableIntent_noDialog() 139 mActivityController.create(); in onCreate_bluetoothOn_requestDisableIntent_startsDialog() 151 mActivityController.create(); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog() 163 mActivityController.create(); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog() 175 mActivityController.create(); in onCreate_bluetoothOff_requestEnableIntent_startsDialog() [all …]
|
D | BluetoothPairingSelectionFragmentTest.java | 86 mFragmentController.create().start(); in onStart_setsBluetoothManagerForegroundActivity() 94 mFragmentController.create().start(); in onStart_registersEventListener() 101 mFragmentController.create(); in onStart_showsProgressBar() 112 mFragmentController.create().start().resume().pause().stop(); in onStop_clearsBluetoothManagerForegroundActivity() 121 mFragmentController.create().start().resume().pause().stop(); in onStop_unregistersEventListener()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 255 recoverAbusiveGroupBy(Pair.create("foo=bar GROUP BY foo", null)); in testRecoverAbusiveGroupBy_Conflicting() 258 recoverAbusiveGroupBy(Pair.create("foo=bar", "foo")); in testRecoverAbusiveGroupBy_Conflicting() 262 recoverAbusiveGroupBy(Pair.create("foo=bar GROUP BY foo", "foo")); in testRecoverAbusiveGroupBy_Conflicting() 270 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_Buckets() 273 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_Buckets() 281 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() 284 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() 292 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113651872() 295 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113651872() 303 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113652519() [all …]
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoDatabase.java | 137 StringBuilder create = new StringBuilder(SQL_CREATE_TABLE); in createTable() local 138 create.append(table).append('('); in createTable() 142 create.append(','); in createTable() 146 create.append(val).append(' '); in createTable() 149 create.append(')'); in createTable() 152 db.execSQL(create.toString()); in createTable() 166 ArrayList<String[]> create = new ArrayList<String[]>(createTable.length); in tableCreationStrings() local 168 create.add(line); in tableCreationStrings() 170 return create; in tableCreationStrings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollIntroductionTest.java | 87 mController.create().resume(); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip() 106 mController.create().resume(); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip() 125 mController.create().resume(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() 140 mController.create().resume(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 152 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() 169 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 181 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 193 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldSetIntentDataIfLockScreenAdded() 203 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded() 214 mController.create().postCreate(null).resume(); in testLockPattern()
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
D | Profilers.java | 76 return e().create(name).start(); in e() 84 return w().create(name).start(); in w() 92 return i().create(name).start(); in i() 100 return d().create(name).start(); in d() 108 return v().create(name).start(); in v() 116 return guard().create(name).start(); in guard() 120 return guard().create(name, durationMillis).start(); in guard()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 116 public static TestEnv create(Features features) { in create() method in TestEnv 117 return create(features, TestProvidersAccess.HOME.authority); in create() 120 public static TestEnv create() { in create() method in TestEnv 121 return create(TestProvidersAccess.HOME.authority); in create() 124 public static TestEnv create(Features features, String authority) { in create() method in TestEnv 126 return create(context, features, authority); in create() 129 public static TestEnv create(String authority) { in create() method in TestEnv 132 return create(context, features, authority); in create() 135 private static TestEnv create(Context context, Features features, String authority) { in create() method in TestEnv
|
D | TestDocumentClipper.java | 88 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), primaryClip)); in copyFromClipboard() 93 copyFromClip.accept(Pair.create(docStack, primaryClip)); in copyFromClipboard() 99 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), clipData)); in copyFromClipData() 105 copyFromClip.accept(Pair.create(dstStack, clipData)); in copyFromClipData() 111 copyFromClip.accept(Pair.create(docStack, clipData)); in copyFromClipData()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | GroupsDaoIntegrationTests.java | 68 final Uri uri = sut.create("Test Create Group", getLocalAccount()); in test_createGroup_createsGroupWithCorrectTitle() 76 final Uri uri = sut.create("Test Delete Group", getLocalAccount()); in test_deleteEmptyGroup_marksRowDeleted() 92 final Uri uri = sut.create("Test Undo Delete Empty Group", getLocalAccount()); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle() 105 final Uri groupUri = sut.create("Test delete non-empty group", getLocalAccount()); in test_deleteNonEmptyGroup_removesGroupAndMembers() 131 final Uri groupUri = sut.create("Test undo delete non-empty group", getLocalAccount()); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() 160 final Uri uri = sut.create("a deleted group", getLocalAccount()); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle() 192 final Uri groupUri = sut.create("Test undo delete null memberIds", getLocalAccount()); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup() 283 public Uri create(String title, AccountWithDataSet account) { in create() method in GroupsDaoIntegrationTests.GroupsDaoWrapper 284 final Uri result = mDelegate.create(title, account); in create()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | FilterStackDBHelper.java | 70 StringBuilder create = new StringBuilder(SQL_CREATE_TABLE); in createTable() local 71 create.append(table).append('('); in createTable() 75 create.append(','); in createTable() 79 create.append(val).append(' '); in createTable() 82 create.append(')'); in createTable() 85 db.execSQL(create.toString()); in createTable()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelFeatureProviderImpl.java | 34 return InternetConnectivityPanel.create(context); in getPanel() 36 return MediaOutputPanel.create(context, mediaPackageName); in getPanel() 38 return NfcPanel.create(context); in getPanel() 40 return WifiPanel.create(context); in getPanel() 42 return VolumePanel.create(context); in getPanel()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/ |
D | PanelFeatureProviderImpl.java | 30 return InternetConnectivityPanel.create(context); in getPanel() 32 return MediaOutputPanel.create(context, mediaPackageName); in getPanel() 34 return NfcPanel.create(context); in getPanel() 36 return WifiPanel.create(context); in getPanel() 38 return VolumePanel.create(context); in getPanel()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 57 return ArchiveHandle.create(parcelFileDescriptor, mimeType); in prepareArchiveHandle() 153 ArchiveHandle.create(null, in buildArchiveHandle_withoutFileDescriptor_shouldBeIllegal() 167 ArchiveHandle.create(parcelFileDescriptor, null); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal() 356 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in close_zipFile_shouldNotOpen() 374 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_zipFile_shouldHaveTheSameContent() 460 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_sevenZFile_shouldHaveTheSameContent() 479 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFile_shouldHaveTheSameContent() 498 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFileNullEntry_getNullInputStream() 518 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFileInvalidEntry_getNullInputStream() 539 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 145 RequestBuilder triggerBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAFConvergence() 150 RequestBuilder idleBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAFConvergence() 168 RequestBuilder triggerBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAEConvergence() 173 RequestBuilder idleBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAEConvergence() 194 RequestBuilder builder = builderTemplate.create(mStillCaptureRequestTemplate); in captureBurst() 231 RequestBuilder repeatingBuilder = mRepeatingRequestBuilder.create in resetRepeating() 237 .create(mRepeatingRequestTemplate); in resetRepeating() 254 RequestBuilder hackAETriggerCancelBuilder = mRepeatingRequestBuilder.create in resetRepeating()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | EditQuickResponseDialog.java | 58 Uri baseUri, boolean create) { in newInstance() argument 64 args.putBoolean(QUICK_RESPONSE_CREATE, create); in newInstance() 73 final boolean create = getArguments().getBoolean(QUICK_RESPONSE_CREATE); in onCreateDialog() 114 if (create) { in onCreateDialog() 134 if (!create) { in onCreateDialog() 137 mDialog = b.create(); in onCreateDialog()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | IconFactory.java | 63 public Icon create(@NonNull DialerShortcut shortcut) { in create() method in IconFactory 66 return create(shortcut.getLookupUri(), shortcut.getDisplayName(), shortcut.getLookupKey()); in create() 72 public Icon create(@NonNull ShortcutInfo shortcutInfo) { in create() method in IconFactory 74 return create( in create() 82 private Icon create( in create() method in IconFactory 144 RoundedBitmapDrawableFactory.create(context.getResources(), bitmap); in createCircularDrawable()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | CachedLater.java | 49 protected abstract void create(); in create() method in CachedLater 97 boolean create = false; in getLater() 101 create = true; in getLater() 104 if (create) { in getLater() 106 create(); in getLater()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | FragmentController.java | 53 return create().start().resume().visible().get(); in setup() 59 public FragmentController<F> create(final Bundle bundle) { in create() method in FragmentController 62 .create(bundle) in create() 72 public FragmentController<F> create() { in create() method in FragmentController 73 return create(null); in create()
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | SimContactDaoTests.java | 129 final SimContactDao sut = SimContactDao.create(getContext()); in importFromSim() 161 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasName() 176 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasPhone() 191 final SimContactDao sut = SimContactDao.create(getContext()); in ignoresEmptyContacts() 219 final SimContactDao sut = SimContactDao.create(getContext()); in largeImport() 496 return SimContactDao.create(mContext); in createDao() 611 final SimContactDao sut = SimContactDao.create(mContext); in createsContactsFromCursor() 647 final SimContactDao sut = SimContactDao.create(mContext); in excludesEmptyContactsFromResult() 672 final SimContactDao sut = SimContactDao.create(mContext); in usesSimCardSubscriptionIdIfAvailable() 688 final SimContactDao sut = SimContactDao.create(mContext); in omitsSimCardSubscriptionIdIfUnavailable() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | FocusManagerTest.java | 40 private static final List<String> ITEMS = TestData.create(10); 50 mView = TestRecyclerView.create(ITEMS); in setUp() 51 mTestGridLayoutManager = TestGridLayoutManager.create(); in setUp() 67 List<String> mutableItems = TestData.create(11); in testPendingFocus() 75 mView = TestRecyclerView.create(new ArrayList<>()); in testFocusDirectoryList_noItemsToFocus()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsList.java | 38 mFeatures = Features.create(getContext()); in RootsList() 43 mFeatures = Features.create(getContext()); in RootsList() 48 mFeatures = Features.create(getContext()); in RootsList() 53 mFeatures = Features.create(getContext()); in RootsList()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragHoverListener.java | 97 public static DragHoverListener create( in create() method in DragHoverListener 100 return create(dragHandler, scrollView, scrollView::scrollListBy); in create() 103 public static DragHoverListener create( in create() method in DragHoverListener 106 return create( in create() 114 static DragHoverListener create( in create() method
|
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/ |
D | BlockReportSpamDialogs.java | 175 .create(); in onCreateDialog() 221 .create(); in onCreateDialog() 258 .create(); in onCreateDialog() 307 .create(); in onCreateDialog() 344 .create(); in onCreateDialog() 376 .create(); in onCreateDialog()
|