Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 1420) sorted by relevance

12345678910>>...57

/packages/providers/TvProvider/tests/src/com/android/providers/tv/util/
DSqliteTokenFinderTest.java56 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapAccountItemTest.java42 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(TEST_ID, TEST_NAME, in create_withAllParameters()
58 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(/*id=*/null, TEST_NAME, in create_withoutIdAndUciData()
73 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(TEST_ID, TEST_NAME, in getUciFull()
77 BluetoothMapAccountItem accountItemWithoutUciPrefix = BluetoothMapAccountItem.create( in getUciFull()
81 BluetoothMapAccountItem accountItemWithoutUci = BluetoothMapAccountItem.create(TEST_ID, in getUciFull()
92 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(TEST_ID, TEST_NAME, in compareIfTwoObjectsAreEqual_returnFalse_whenTypesAreDifferent()
96 BluetoothMapAccountItem accountItemWithDifferentType = BluetoothMapAccountItem.create( in compareIfTwoObjectsAreEqual_returnFalse_whenTypesAreDifferent()
106 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(TEST_ID, TEST_NAME, in compareIfTwoObjectsAreEqual_returnTrue_evenWhenUcisAreDifferent()
110 BluetoothMapAccountItem accountItemWithoutUciData = BluetoothMapAccountItem.create(TEST_ID, in compareIfTwoObjectsAreEqual_returnTrue_evenWhenUcisAreDifferent()
119 BluetoothMapAccountItem accountItem = BluetoothMapAccountItem.create(TEST_ID, TEST_NAME, in equals_withSameInstance()
[all …]
DMapContactTest.java38 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in constructor()
46 MapContact contact = MapContact.create(TEST_ZERO_ID, TEST_NAME); in getXBtUidString_withZeroId()
53 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in getXBtUidString_withNonZeroId()
61 MapContact contact = MapContact.create(TEST_ZERO_ID, TEST_NAME); in getXBtUid_withZeroId()
68 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in getXBtUid_withNonZeroId()
75 MapContact contact = MapContact.create(TEST_NON_ZERO_ID, TEST_NAME); in toString_returnsName()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DClientPlaylistTest.java129 final TestContentObserverHelper obs = TestContentObserverHelper.create( in testAdd()
145 Pair.create(mRed, 1), in testAdd()
146 Pair.create(mGreen, 2)), queryMembers(membersUri)); in testAdd()
155 Pair.create(mBlue, 1), in testAdd()
156 Pair.create(mRed, 2), in testAdd()
157 Pair.create(mGreen, 3)), queryMembers(membersUri)); in testAdd()
170 TestContentObserverHelper obs = TestContentObserverHelper.create( in testMove()
180 Pair.create(mGreen, 1), in testMove()
181 Pair.create(mBlue, 2), in testMove()
182 Pair.create(mRed, 3)), queryMembers(membersUri)); in testMove()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java119 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testDeviceOwnerSystemUser()
120 Pair.create(UserHandle.USER_SYSTEM, DeleteNonRequiredAppsTask.class), in testDeviceOwnerSystemUser()
121 Pair.create(UserHandle.USER_SYSTEM, DisallowAddUserTask.class), in testDeviceOwnerSystemUser()
122 Pair.create(UserHandle.USER_SYSTEM, UpdateInteractAcrossProfilesAppOpTask.class)); in testDeviceOwnerSystemUser()
142 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testManagedProfileWithoutMissingSystemIme()
143 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfileWithoutMissingSystemIme()
144 Pair.create(MANAGED_PROFILE_USER_ID, DeleteNonRequiredAppsTask.class), in testManagedProfileWithoutMissingSystemIme()
145 Pair.create(UserHandle.USER_SYSTEM, UpdateInteractAcrossProfilesAppOpTask.class)); in testManagedProfileWithoutMissingSystemIme()
179 Pair.create(UserHandle.USER_SYSTEM, MigrateSystemAppsSnapshotTask.class), in testManagedProfileWithMissingSystemIme()
180 Pair.create(MANAGED_PROFILE_USER_ID, InstallExistingPackageTask.class), in testManagedProfileWithMissingSystemIme()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DDatabaseUtilsTest.java241 recoverAbusiveGroupBy(Pair.create("foo=bar GROUP BY foo", null)); in testRecoverAbusiveGroupBy_Conflicting()
244 recoverAbusiveGroupBy(Pair.create("foo=bar", "foo")); in testRecoverAbusiveGroupBy_Conflicting()
248 recoverAbusiveGroupBy(Pair.create("foo=bar GROUP BY foo", "foo")); in testRecoverAbusiveGroupBy_Conflicting()
256 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_Buckets()
259 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_Buckets()
267 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath()
270 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath()
278 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113651872()
281 final Pair<String, String> expected = Pair.create( in testRecoverAbusiveGroupBy_113651872()
289 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113652519()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreferences.java28 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/modules/adb/client/pairing/tests/
Dpairing_connection_test.cpp89 server_ = PairingServer::create(server_pswd, server_info_, cert, key, kDefaultPairingPort); in initPairing()
96 client_ = PairingClient::create(client_pswd, client_info_, cert, key, "127.0.0.1"); in initPairing()
109 return PairingServer::create(pswd, server_info_, cert, key, kDefaultPairingPort); in createServer()
122 return PairingClient::create(pswd, client_info_, cert, key, "127.0.0.1"); in createClient()
139 auto server = PairingServer::create({}, {}, {}, {}, -1); in TEST_F()
142 server = PairingServer::create({}, server_info_, {0x01}, {0x01}, -1); in TEST_F()
145 server = PairingServer::create({0x01}, {}, {0x01}, {0x01}, -1); in TEST_F()
148 server = PairingServer::create({0x01}, server_info_, {}, {0x01}, -1); in TEST_F()
151 server = PairingServer::create({0x01}, server_info_, {0x01}, {}, -1); in TEST_F()
154 server = PairingServer::create({0x01}, server_info_, {0x01}, {0x01}, -1); in TEST_F()
[all …]
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoDatabase.java137 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/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/
DAppSearchSessionShimImpl.java89 SettableFuture<AppSearchResult<AppSearchSession>> future = SettableFuture.create(); in createSearchSessionAsync()
106 SettableFuture<AppSearchResult<SetSchemaResponse>> future = SettableFuture.create(); in setSchemaAsync()
114 SettableFuture<AppSearchResult<GetSchemaResponse>> future = SettableFuture.create(); in getSchemaAsync()
122 SettableFuture<AppSearchResult<Set<String>>> future = SettableFuture.create(); in getNamespacesAsync()
131 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in putAsync()
142 SettableFuture.create(); in getByDocumentIdAsync()
159 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in reportUsageAsync()
168 SettableFuture<AppSearchBatchResult<String, Void>> future = SettableFuture.create(); in removeAsync()
177 SettableFuture<AppSearchResult<Void>> future = SettableFuture.create(); in removeAsync()
185 SettableFuture<AppSearchResult<StorageInfo>> future = SettableFuture.create(); in getStorageInfoAsync()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserCapabilitiesTest.java66 UserCapabilities userCapabilities = UserCapabilities.create(mContext); in disallowUserSwitch_restrictionIsSet_true()
77 UserCapabilities userCapabilities = UserCapabilities.create(mContext); in disallowUserSwitch_restrictionIsNotSet_false()
87 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in userSwitchEnabled_off()
97 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in userSwitchEnabled_on()
109 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in restrictedProfile_enabled()
118 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in restrictedProfile_configNotSet()
127 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in restrictedProfile_deviceIsManaged()
136 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in restrictedProfile_typeNotEnabled()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/
DIBluetoothGattImpl.java46 private static final Logger LOGGER = Logger.create("IBluetoothGattImpl");
95 NamedRunnable.create( in registerClient()
204 NamedRunnable.create( in readCharacteristic()
246 NamedRunnable.create( in writeCharacteristic()
264 NamedRunnable.create( in writeCharacteristic()
313 NamedRunnable.create( in readDescriptor()
361 NamedRunnable.create( in writeDescriptor()
386 NamedRunnable.create( in writeDescriptor()
432 NamedRunnable.create( in registerServer()
545 NamedRunnable.create( in sendResponse()
[all …]
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/
DPackedTableReaderWriterTest.java84 PackedTableWriter tableWriter = PackedTableWriter.create(baos, entrySizeBytes, keyBits, in headerFields()
104 PackedTableWriter writer = PackedTableWriter.create( in entryGetValue_int()
123 PackedTableWriter writer = PackedTableWriter.create( in entryGetValue_long()
153 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 9, signedValue, null); in valueSizeMax_unsigned()
177 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null); in valueSizeMax_signed()
197 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null); in addEntry_outOfOrder()
220 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, sharedData); in getSharedData()
232 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null); in getEntry_unsignedValue()
251 PackedTableWriter writer = PackedTableWriter.create(baos, 3, 4, signedValue, null); in getEntry_signedValue()
270 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null); in getEntry_emptyTable()
[all …]
DIntValuePackedTableTest.java48 PackedTableWriter writer = PackedTableWriter.create(baos, 5, 4, signedValue, null); in valueSizeTooBig()
65 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 9, signedValue, null)) { in valueSizeMax_unsigned()
88 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null)) { in valueSizeMax_signed()
110 try (PackedTableWriter writer = PackedTableWriter.create(baos, 5, 8, signedValue, null)) { in addEntry_outOfOrder()
132 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, sharedData); in getSharedData()
144 try (PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null)) { in getEntry_unsignedValue()
163 try (PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null)) { in getEntryByIndex()
186 try (PackedTableWriter writer = PackedTableWriter.create(baos, 3, 4, signedValue, null)) { in getEntry_signedValue()
205 PackedTableWriter writer = PackedTableWriter.create(baos, 2, 4, signedValue, null); in getEntry_emptyTable()
220 PackedTableWriter writer = PackedTableWriter.create(baos, 2, keyBits, signedValue, null); in getEntry_badKey()
[all …]
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java76 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/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DFrameworkAppSearchConfigTest.java38 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testDefaultValues_allCachedValue()
76 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValue_minTimeIntervalBetweenSamplesMillis()
89 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValueOverride_minTimeIntervalBetweenSamplesMillis()
140 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValue_allSamplingIntervals()
195 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValueOverride_allSamplingIntervals()
263 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackToDefaultSamplingValue_useHardCodedDefault()
286 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackDefaultSamplingValue_useConfiguredDefault()
308 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testFallbackDefaultSamplingValue_defaultValueChanged()
342 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testShouldNotFallBack_ifValueConfigured()
366 AppSearchConfig appSearchConfig = FrameworkAppSearchConfig.create(DIRECT_EXECUTOR); in testCustomizedValue_maxDocument()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackDBHelper.java70 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/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureManager.java127 callback.accept(Pair.create(id, TelephonyManager.CallComposerException.SUCCESS)); in handleUploadToServer()
136 callback.accept(Pair.create(null, in handleUploadToServer()
142 CallComposerPictureTransfer transfer = transferFactory.create(mContext, in handleUploadToServer()
149 callback.accept(Pair.create(null, error)); in handleUploadToServer()
156 callback.accept(Pair.create(null, in handleUploadToServer()
174 callback.accept(Pair.create(id, TelephonyManager.CallComposerException.SUCCESS)); in handleUploadToServer()
188 storeUploadedPictureToCallLog(id, uri -> callback.accept(Pair.create(uri, -1))); in handleDownloadFromServer()
193 CallComposerPictureTransfer transfer = transferFactory.create(mContext, in handleDownloadFromServer()
200 callback.accept(Pair.create(null, error)); in handleDownloadFromServer()
207 callback.accept(Pair.create(null, in handleDownloadFromServer()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java115 mController.create().resume(); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip()
135 mController.create().resume(); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
155 mController.create().resume(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
169 mController.create().resume(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
182 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
198 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
211 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
222 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldSetIntentDataIfLockScreenAdded()
233 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded()
245 mController.create().postCreate(null).resume(); in testLockPattern()
/packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/
DQuickAccessWalletClientTest.java79 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_serviceAvailable_returnsTrue()
88 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_returnsFalseIfServiceUnavailable()
98 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_returnsFalseIfNfcPaymentAppIsAnotherApp()
111 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_happyCase()
125 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_wrongUser()
137 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_userSetupIncomplete()
152 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_globalActionsPanelDisabled()
166 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_userInLockdown()
174 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailableWhenDeviceLocked()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/fastpair/
DEllipticCurveDiffieHellmanExchangeTest.java50 EllipticCurveDiffieHellmanExchange bob = EllipticCurveDiffieHellmanExchange.create(); in generateCommonKey()
51 EllipticCurveDiffieHellmanExchange alice = EllipticCurveDiffieHellmanExchange.create(); in generateCommonKey()
63 EllipticCurveDiffieHellmanExchange bob = EllipticCurveDiffieHellmanExchange.create(); in generateCommonKey_withExistingPrivateKey()
65 EllipticCurveDiffieHellmanExchange.create(ANTI_SPOOF_PRIVATE_KEY); in generateCommonKey_withExistingPrivateKey()
82 EllipticCurveDiffieHellmanExchange bob = EllipticCurveDiffieHellmanExchange.create(); in generateCommonKey_soundcoreAntiSpoofingKey_generatedTooShort()
84 EllipticCurveDiffieHellmanExchange.create(soundCorePrivateKey); in generateCommonKey_soundcoreAntiSpoofingKey_generatedTooShort()
/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java68 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/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java128 public static TestEnv create(Features features) { in create() method in TestEnv
129 return create(features, TestProvidersAccess.HOME.authority); in create()
132 public static TestEnv create() { in create() method in TestEnv
133 return create(TestProvidersAccess.HOME.authority); in create()
136 public static TestEnv create(Features features, String authority) { in create() method in TestEnv
138 return create(context, features, authority); in create()
141 public static TestEnv create(String authority) { in create() method in TestEnv
144 return create(context, features, authority); in create()
147 private static TestEnv create(Context context, Features features, String authority) { in create() method in TestEnv
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DBidirectionalSparseIntArrayTest.java34 BidirectionalSparseIntArray.create(new int[]{key, val}); in testGetKey()
44 BidirectionalSparseIntArray.create(new int[]{key, val}); in testGetValue()
54 BidirectionalSparseIntArray.create(new int[]{key, val}); in testGetKey_returnsDefaultKeyForNonexistentKey()
64 BidirectionalSparseIntArray.create(new int[]{key, val}); in testGetValue_returnsDefaultValueForNonexistentValue()
74 () -> BidirectionalSparseIntArray.create(keyvaluePairs)); in testCreate_failToCreateArrayWithOddNumberOfElements()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DTvInputNewComparatorTest.java48 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()

12345678910>>...57