/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/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 81 mButtons.add(Pair.create("Toggle progress bar", v -> { in onCreate() 91 mButtons.add(Pair.create("Change title", v -> in onCreate() 94 mButtons.add(Pair.create(getString(R.string.toolbar_set_xml_resource), v -> { in onCreate() 99 mButtons.add(Pair.create(getString(R.string.toolbar_add_icon), v -> { in onCreate() 108 mButtons.add(Pair.create(getString(R.string.toolbar_add_untined_icon), v -> { in onCreate() 120 mButtons.add(Pair.create(getString(R.string.toolbar_add_overflow), v -> { in onCreate() 132 mButtons.add(Pair.create(getString(R.string.toolbar_add_switch), v -> { in onCreate() 145 mButtons.add(Pair.create(getString(R.string.toolbar_add_text), v -> { in onCreate() 155 mButtons.add(Pair.create(getString(R.string.toolbar_add_icon_text), v -> { in onCreate() 167 mButtons.add(Pair.create(getString(R.string.toolbar_add_untinted_icon_and_text), v -> { in onCreate() [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 …]
|
/packages/apps/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 59 mButtons.add(Pair.create(R.string.dialog_show_dialog, in onCreate() 61 mButtons.add(Pair.create(R.string.dialog_show_dialog_icon, in onCreate() 63 mButtons.add(Pair.create(R.string.dialog_show_dialog_edit, in onCreate() 65 mButtons.add(Pair.create(R.string.dialog_show_dialog_only_positive, in onCreate() 67 mButtons.add(Pair.create(R.string.dialog_show_dialog_no_button, in onCreate() 69 mButtons.add(Pair.create(R.string.dialog_show_dialog_checkbox, in onCreate() 71 mButtons.add(Pair.create(R.string.dialog_show_dialog_no_title, in onCreate() 73 mButtons.add(Pair.create(R.string.dialog_show_toast, in onCreate() 75 mButtons.add(Pair.create(R.string.dialog_show_subtitle, in onCreate() 77 mButtons.add(Pair.create(R.string.dialog_show_subtitle_and_icon, in onCreate() [all …]
|
/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/TV/common/src/com/android/tv/common/dev/ |
D | DeveloperPreferences.java | 28 DeveloperPreference.create("tv_allow_analytics_in_eng", false); 36 DeveloperPreference.create("tv_allow_strict_mode", true); 44 DeveloperPreference.create("tv_log_keyevent", false); 52 DeveloperPreference.create("tv_use_debug_keys", false); 60 DeveloperPreference.create("tv_use_tracker", true); 68 DeveloperPreference.create("tv.tuner.buffersize_mbytes", 2 * 1024);
|
/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
|
/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/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/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/ |
D | MainActivity.java | 60 Pair.create("Dialogs sample", DialogsActivity.class), 61 Pair.create("List sample", CarUiRecyclerViewActivity.class), 62 Pair.create("Grid sample", GridCarUiRecyclerViewActivity.class), 63 Pair.create("Preferences sample", PreferenceActivity.class), 64 Pair.create("Overlays", OverlayActivity.class), 65 Pair.create("Toolbar sample", ToolbarActivity.class), 66 Pair.create("Widget sample", WidgetActivity.class), 67 Pair.create("ListItem sample", CarUiListItemActivity.class)
|
/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/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/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/TV/tests/robotests/src/com/android/tv/data/ |
D | TvInputNewComparatorTest.java | 48 inputIdToNewInput.put("2_new_input", Pair.create(true, false)); in testComparator() 49 inputIdToNewInput.put("4_new_input", Pair.create(true, false)); in testComparator() 50 inputIdToNewInput.put("4_old_input", Pair.create(false, false)); in testComparator() 51 inputIdToNewInput.put("0_old_input", Pair.create(false, true)); in testComparator() 52 inputIdToNewInput.put("1_old_input", Pair.create(false, true)); in testComparator() 53 inputIdToNewInput.put("3_old_input", Pair.create(false, true)); in testComparator()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ConvergedImageCaptureCommand.java | 179 RequestBuilder triggerBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAFConvergence() 184 RequestBuilder idleBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAFConvergence() 202 RequestBuilder triggerBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAEConvergence() 207 RequestBuilder idleBuilder = mScanRequestTemplate.create(mRepeatingRequestTemplate); in waitForAEConvergence() 228 RequestBuilder builder = builderTemplate.create(mStillCaptureRequestTemplate); in captureBurst() 267 RequestBuilder repeatingBuilder = mRepeatingRequestBuilder.create in resetRepeating() 273 .create(mRepeatingRequestTemplate); in resetRepeating() 290 RequestBuilder hackAETriggerCancelBuilder = mRepeatingRequestBuilder.create in resetRepeating()
|
/packages/modules/Cronet/api/ |
D | lint-baseline.txt | 158 MissingNullability: org.chromium.net.UploadDataProviders#create(android.os.ParcelFileDescriptor): 159 Missing nullability on method `create` return 160 MissingNullability: org.chromium.net.UploadDataProviders#create(android.os.ParcelFileDescriptor) pa… 161 Missing nullability on parameter `fd` in method `create` 162 MissingNullability: org.chromium.net.UploadDataProviders#create(byte[]): 163 Missing nullability on method `create` return 164 MissingNullability: org.chromium.net.UploadDataProviders#create(byte[]) parameter #0: 165 Missing nullability on parameter `data` in method `create` 166 MissingNullability: org.chromium.net.UploadDataProviders#create(byte[], int, int): 167 Missing nullability on method `create` return [all …]
|
/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()
|