/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/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 129 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/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 94 mButtons.add(Pair.create("Toggle progress bar", v -> { in onCreate() 98 mButtons.add(Pair.create("Change title", v -> in onCreate() 101 mButtons.add(Pair.create("Add/Change subtitle", v -> { in onCreate() 110 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_nav_button), v -> { in onCreate() 124 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_logo), v -> { in onCreate() 129 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_state), v -> { in onCreate() 139 mButtons.add(Pair.create(getString(R.string.toolbar_show_tabs_in_subpage), v -> in onCreate() 142 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_search_hint), v -> { in onCreate() 150 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_background), in onCreate() 153 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab), v -> toolbar.addTab( in onCreate() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 119 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/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 87 mActivityController.create(); in onCreate_requestDisableIntent_hasDisableRequestType() 97 mActivityController.create(); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() 107 mActivityController.create(); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() 119 mActivityController.create(); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() 132 mActivityController.create(); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan() 145 mActivityController.create(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog() 157 mActivityController.create(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered() 169 mActivityController.create(); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery() 196 mActivityController.create(); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange() 205 mActivityController.create(); in onCreate_requestEnableIntent_hasEnableRequestType() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 241 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/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/ |
D | DialogsActivity.java | 66 mButtons.add(Pair.create(R.string.dialog_show_dialog, in onCreate() 68 mButtons.add(Pair.create(R.string.dialog_show_dialog_icon, in onCreate() 70 mButtons.add(Pair.create(R.string.dialog_show_dialog_edit, in onCreate() 72 mButtons.add(Pair.create(R.string.dialog_show_dialog_only_positive, in onCreate() 74 mButtons.add(Pair.create(R.string.dialog_show_dialog_no_button, in onCreate() 76 mButtons.add(Pair.create(R.string.dialog_show_dialog_checkbox, in onCreate() 78 mButtons.add(Pair.create(R.string.dialog_show_dialog_no_title, in onCreate() 80 mButtons.add(Pair.create(R.string.dialog_show_toast, in onCreate() 82 mButtons.add(Pair.create(R.string.dialog_show_subtitle, in onCreate() 84 mButtons.add(Pair.create(R.string.dialog_show_subtitle_and_icon, in onCreate() [all …]
|
/packages/modules/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 89 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/ |
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/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/ |
D | PackedTableReaderWriterTest.java | 84 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 …]
|
D | IntValuePackedTableTest.java | 48 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/services/Telephony/src/com/android/phone/callcomposer/ |
D | CallComposerPictureManager.java | 127 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/ |
D | SetupFingerprintEnrollIntroductionTest.java | 114 mController.create().resume(); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip() 133 mController.create().resume(); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip() 152 mController.create().resume(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() 167 mController.create().resume(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 179 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() 196 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testCancelClicked_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 208 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 220 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldSetIntentDataIfLockScreenAdded() 230 SetupFingerprintEnrollIntroduction activity = mController.create().resume().get(); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded() 241 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/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
D | QuickAccessWalletClientTest.java | 80 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_serviceAvailable_returnsTrue() 89 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_returnsFalseIfServiceUnavailable() 99 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletServiceAvailable_returnsFalseIfNfcPaymentAppIsAnotherApp() 112 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_happyCase() 126 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_wrongUser() 138 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_userSetupIncomplete() 153 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_globalActionsPanelDisabled() 167 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailable_userInLockdown() 175 mWalletClient = QuickAccessWalletClient.create(mContext); in isWalletFeatureAvailableWhenDeviceLocked()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/ |
D | SettingsHomepageActivityTest.java | 72 SettingsHomepageActivity.class).create().get(); in launch_shouldHaveAnimationForIaFragment() 81 SettingsHomepageActivity.class).create().get(); in launch_configDisabled_shouldHideAvatar() 91 SettingsHomepageActivity.class).create().get(); in launch_configEnabled_shouldShowAvatar() 105 SettingsHomepageActivity.class).create().get(); in launch_LowRamDevice_shouldHideAvatar() 114 SettingsHomepageActivity.class).create().get(); in showHomepageWithSuggestion_showSuggestion() 127 SettingsHomepageActivity.class).create().get(); in showHomepageWithSuggestion_hideSuggestion() 140 SettingsHomepageActivity.class).create().get(); in showHomepageWithSuggestion_callTwice_shouldKeepPreviousVisibility() 157 Robolectric.buildActivity(SettingsHomepageActivity.class).create(); in onStart_isNotDebuggable_shouldHideSystemOverlay() 176 Robolectric.buildActivity(SettingsHomepageActivity.class).create(); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|
/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/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 128 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/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 185 .create(any(), any(), any(), eq(TEST_IFACE_NAME_0))) in setUp() 190 .create(any(), any(), any(), eq(TEST_IFACE_NAME_1))) in setUp() 550 .create(any(), any(), any(), eq(TEST_IFACE_NAME_0)); in loadDriver() 577 .create(any(), any(), any(), any()); in duplicateScanEnableIsIgnored() 638 when(mWifiScannerImplFactory.create(any(), any(), any(), any())).thenReturn(null); in rejectBackgroundScanRequestWhenScannerImplCreateFails() 721 ScanResults.create(0, WifiScanner.WIFI_BAND_ALL, 2412, 5160, 5175)); in sendSingleScanBandRequest() 732 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, 2412, 5160, 5175)); in sendSingleScanChannelsRequest() 744 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, 2412, 5160, 5175)); in sendSingleScanAllChannelsRequest() 755 ScanResults.create(0, WifiScanner.WIFI_BAND_BOTH, new int[0])); in sendSingleScanRequestWithNoResults() 775 ScanResults.create(0, WifiScanner.WIFI_BAND_BOTH, new int[0])); in testPscIsIgnoredForPartialScan() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionNominatorTest.java | 126 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForNoMatch() 169 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatch() 211 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatchWithInsecureEnterpriseSuggestion() 256 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatch() 301 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatchHighPriorityWins() 350 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatchHighPriorityFromEachPriorityGroupWins() 396 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestions() 451 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForMultipleMatchWithMultipleSuggestionsHighPriorityWins() 495 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatchButInToWifiConfigManager() 553 connectableNetworks.add(Pair.create(scanDetail, configuration)); in testSelectNetworkSuggestionForOneMatchForExistingNetwork() [all …]
|
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkNominateHelperTest.java | 217 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNetworkMatchingHomeProvider() 264 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNoInternetBit() 305 roamingProvider.add(Pair.create(sTestProvider1, PasspointMatch.RoamingProvider)); in evaluateScansWithNetworkMatchingRoamingProvider() 348 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 350 roamingProvider.add(Pair.create(sTestProvider2, PasspointMatch.RoamingProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 386 homeProvider.add(Pair.create(testProvider, PasspointMatch.HomeProvider)); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() 413 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansMatchingActiveNetworkWithDifferentBSS() 467 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateNetworkWithDisabledWifiConfig() 492 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScanResultWithHomeMatchButPreviouslyUserDisconnected() 515 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNetworkMatchingHomeProviderWithAnqpLinkDown() [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 58 return ArchiveHandle.create(parcelFileDescriptor, mimeType); in prepareArchiveHandle() 154 ArchiveHandle.create(null, in buildArchiveHandle_withoutFileDescriptor_shouldBeIllegal() 168 ArchiveHandle.create(parcelFileDescriptor, null); in buildArchiveHandle_withWrongMimeType_shouldBeIllegal() 357 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in close_zipFile_shouldNotOpen() 375 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_zipFile_shouldHaveTheSameContent() 461 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_sevenZFile_shouldHaveTheSameContent() 480 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFile_shouldHaveTheSameContent() 499 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFileNullEntry_getNullInputStream() 519 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarGzFileInvalidEntry_getNullInputStream() 540 ArchiveHandle archiveHandle = ArchiveHandle.create(parcelFileDescriptor, in getInputStream_tarBrotliFile_shouldHaveTheSameContent()
|