Home
last modified time | relevance | path

Searched defs:helper (Results 1 – 25 of 162) sorted by relevance

1234567

/packages/apps/CertInstaller/robotests/src/com/android/certinstaller/
DCertInstallerRoboTest.java50 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testNameNotNullPass() local
59 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testReferrerNotNullPass() local
75 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testUidUsageEqualWifiPass() local
93 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testUidUsageNotNullPass() local
108 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testUidUsageNullPass() local
119 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testIntentGetsMultipleKeysPass() local
128 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testIntentNullPass() local
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/
DProfileHelperTest.kt95 val helper = in <lambda>() constant
117 val helper = in <lambda>() constant
138 val helper = in <lambda>() constant
161 val helper = in <lambda>() constant
185 val helper = in <lambda>() constant
209 val helper = in <lambda>() constant
233 val helper = in <lambda>() constant
259 val helper = in <lambda>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DMediaControlHelperTest.java85 MediaControlHelper helper = new MediaControlHelper(mContext, null); in testStart_noBluetoothManager_doNothing() local
93 MediaControlHelper helper = new MediaControlHelper(mContext, mLocalBluetoothManager); in testStart_noConnectedDevice_doNothing() local
106 MediaControlHelper helper = new MediaControlHelper(mContext, mLocalBluetoothManager); in testStart_isStopped_onDeviceListUpdate_shouldNotStopMedia() local
120 MediaControlHelper helper = new MediaControlHelper(mContext, mLocalBluetoothManager); in testStart_isPlaying_onDeviceListUpdate_noDevice_shouldNotStopMedia() local
135 MediaControlHelper helper = new MediaControlHelper(mContext, mLocalBluetoothManager); in testStart_isPlaying_onDeviceListUpdate_deviceMatch_shouldStopMedia() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/
DPickerDatabaseHelperTest.java88 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testMediaColumns()
130 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testAlbumMediaColumns()
159 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_cloudOrLocal()
175 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_local()
204 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraintAlbumMedia()
235 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_cloud()
258 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testUniqueConstraint_localAndCloudPlusLocal()
285 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_IsVisible()
304 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_Size()
335 try (PickerDatabaseHelper helper = new PickerDatabaseHelperT(sIsolatedContext)) { in testCheck_MimeType()
[all …]
DExternalDbFacadeTest.java114 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_addAndRemove()
200 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_onInsert()
237 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_onUpdate_mediaType()
315 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_onUpdate_trashed()
367 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_onUpdate_pending()
419 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testOnUpdate_visibleFavorite()
455 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testOnUpdate_hiddenFavorite()
491 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testOnUpdate_visibleSpecialFormat()
527 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testOnUpdate_hiddenSpecialFormat()
563 try (DatabaseHelper helper = new TestDatabaseHelper(sIsolatedContext)) { in testDeletedMedia_onDelete()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/
DCustomAudienceDevOverridesHelperTest.java83 CustomAudienceDevOverridesHelper helper = in testGetOverridesFindsMatchingOverride() local
115 CustomAudienceDevOverridesHelper helper = in testGetOverridesFindsMatchingOverride_nullJsVersion() local
138 CustomAudienceDevOverridesHelper helper = in testGetOverridesReturnsNullIfDevOptionsAreDisabled() local
163 CustomAudienceDevOverridesHelper helper = in testGetOverridesReturnsNullIfTheOverrideBelongsToAnotherApp() local
DAdSelectionDevOverridesHelperTest.java119 AdSelectionDevOverridesHelper helper = in testGetDecisionLogicOverrideFindsMatchingOverride() local
139 AdSelectionDevOverridesHelper helper = in testGetDecisionLogicOverrideReturnsNullIfDevOptionsAreDisabled() local
159 AdSelectionDevOverridesHelper helper = in testGetDecisionLogicOverrideReturnsNullIfTheOverrideBelongsToAnotherApp() local
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DPageIndexingHelperTest.java39 PageIndexingHelper helper = createTestAppGridPagingUtils( in test2x4x1_testAdapterGridOneToOneMapping_LTR() local
54 PageIndexingHelper helper = createTestAppGridPagingUtils( in test2x4x1_testAdapterGridOneToOneMapping_RTL() local
69 PageIndexingHelper helper = createTestAppGridPagingUtils( in test3x5x2_testAdapterGridOneToOneMapping_LTR() local
94 PageIndexingHelper helper = createTestAppGridPagingUtils( in test3x5x2_testAdapterGridOneToOneMapping_RTL() local
119 PageIndexingHelper helper = createTestAppGridPagingUtils( in test1x6x3_testAdapterGridOneToOneMapping_LTR() local
140 PageIndexingHelper helper = createTestAppGridPagingUtils( in test1x6x3_testAdapterGridOneToOneMapping_RTL() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java55 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivityWithExternal() local
86 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivityInternal() local
119 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in testLaunchConfirmationActivity_internal_shouldPropagateTheme() local
136 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in launchConfirmPattern_ForceVerify_shouldLaunchInternalActivity() local
156 ChooseLockSettingsHelper helper = getChooseLockSettingsHelper(builder); in launchConfirmPassword_ForceVerify_shouldLaunchInternalActivity() local
262 ChooseLockSettingsHelper helper = builder.build(); in getChooseLockSettingsHelper() local
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java79 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_insertThenRead_recordReturned() local
99 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_requestSizeMoreThanRecordNumber_recordsReturned() local
115 RecordHelper<?> helper = new StepsRecordHelper(); in getInternalRecords_cursorHasTooManyData_throws() local
135 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults() local
191 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults() local
278 RecordHelper<?> helper = new StepsRecordHelper(); in getNextInternalRecordsPageAndToken_wrongOffsetPageToken_skipSameStartTimeRecords() local
297 RecordHelper<?> helper, ReadRecordsRequestParcel request) { in getReadTableRequest()
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionTracker.java72 InstallSessionHelper helper = mWeakHelper.get(); in onCreated() local
94 InstallSessionHelper helper = mWeakHelper.get(); in onFinished() local
122 InstallSessionHelper helper = mWeakHelper.get(); in onProgressChanged() local
138 InstallSessionHelper helper = mWeakHelper.get(); in onBadgingChanged() local
151 @NonNull final InstallSessionHelper helper, @NonNull final Callback callback) { in pushSessionDisplayToLauncher()
164 private SparseArray<PackageUserKey> getActiveSessionMap( in getActiveSessionMap()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java83 try (DatabaseHelper helper = new DatabaseHelperU(sIsolatedContext, TEST_CLEAN_DB)) { in testFilterVolumeNames()
165 try (DatabaseHelper helper = new DatabaseHelperR(sIsolatedContext, TEST_CLEAN_DB)) { in testArtistsAndAlbumsIncludeOnlyMusic()
227 try (DatabaseHelper helper = new DatabaseHelperR(sIsolatedContext, TEST_CLEAN_DB)) { in testTransactions()
258 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertDowngrade()
278 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertDowngrade()
313 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class, in assertDowngradeWithStableUrisEnabledRecoversData()
337 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class, in assertDowngradeWithStableUrisEnabledRecoversData()
380 try (DatabaseHelper helper = before.getConstructor(Context.class, String.class) in assertUpgrade()
385 try (DatabaseHelper helper = after.getConstructor(Context.class, String.class) in assertUpgrade()
425 try (DatabaseHelper helper = beforeModifier.getConstructor(Context.class, String.class) in testUpgradeAndAddModifier()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java116 try (SQLiteOpenHelper helper = new MyDatabaseHelper()) { in testDowngrade_success_v31()
121 try (TestOpenHelper helper = new TestOpenHelper(24)) { in testDowngrade_success_v31()
131 TestOpenHelper helper = new TestOpenHelper(24); in testDowngrade_success_v24() local
140 try (SQLiteOpenHelper helper = new TestOpenHelper(22)) { in testDowngrade_success_v22()
146 try (SQLiteOpenHelper helper = new MyDatabaseHelper()) { in testDowngrade_success_v22()
158 TestOpenHelper helper = new TestOpenHelper(20); in testDowngrade_fail_v20() local
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java234 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_succeeds() local
249 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_parsesAllVolumeGroups() local
264 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_primaryZoneHasInputDevice() local
279 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_primaryZoneHasMicrophoneInputDevice() local
297 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_associatesLegacyContextsWithCorrectBuses() local
327 CarAudioZonesHelperLegacy helper = new CarAudioZonesHelperLegacy(mContext, in loadAudioZones_associatesNonLegacyContextsWithMediaBus() local
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/
DDatabaseTestUtils.java36 SlicesDatabaseHelper helper = SlicesDatabaseHelper.getInstance(context); in clearSlicesDb() local
43 AnomalyDatabaseHelper helper = AnomalyDatabaseHelper.getInstance(context); in clearAnomalyDb() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DSendDpcBroadcastService.java53 ProvisioningIntentProvider helper = new ProvisioningIntentProvider(); in onStartCommand() local
70 ProvisioningIntentProvider helper, UserHandle managedProfileUserHandle) { in maybeLaunchDpc()
84 Utils utils, ProvisioningIntentProvider helper, UserHandle managedProfileUserHandle) { in sendDpcReceivedSuccessReceiver()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java106 PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController> helper = in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice() local
121 PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController> helper = in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneWrite() local
137 PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController> helper = in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneRead() local
153 PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController> helper = in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice_zoneHidden() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java294 BluetoothHidDeviceCallbackTestHelper helper = new BluetoothHidDeviceCallbackTestHelper(); in testRegistration() local
341 BluetoothHidDeviceCallbackTestHelper helper = new BluetoothHidDeviceCallbackTestHelper(); in testSendReport() local
386 BluetoothHidDeviceCallbackTestHelper helper = new BluetoothHidDeviceCallbackTestHelper(); in testReplyReport() local
427 BluetoothHidDeviceCallbackTestHelper helper = new BluetoothHidDeviceCallbackTestHelper(); in testReportError() local
570 BluetoothHidDeviceCallbackTestHelper helper = new BluetoothHidDeviceCallbackTestHelper(); in testCallbacks() local
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java131 PasswordHelper helper = new PasswordHelper(getApplicationContext(), getUserId()); in checkValidLock() local
154 PasswordHelper helper = new PasswordHelper(getApplicationContext(), userId); in setLock() local
178 PasswordHelper helper = new PasswordHelper(getApplicationContext(), getUserId()); in checkValidLockAndReturnError() local
/packages/apps/Dialer/java/com/android/voicemail/impl/
DActivationTask.java138 OmtpVvmCarrierConfigHelper helper; in onExecuteInBackgroundThread() local
176 onSuccess(getContext(), phoneAccountHandle, helper); in onExecuteInBackgroundThread() local
237 updateSource(getContext(), phoneAccountHandle, message, helper); in onExecuteInBackgroundThread() local
248 updateSource(getContext(), phoneAccountHandle, message, helper); in onExecuteInBackgroundThread() local
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamStateHandler.java48 AudioStreamsHelper helper) { in handleStateChange()
90 AudioStreamsHelper helper) {} in performAction()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetProvider.java48 PhotoDatabaseHelper helper = new PhotoDatabaseHelper(context); in onUpdate() local
64 PhotoDatabaseHelper helper = new PhotoDatabaseHelper(context); in onDeleted() local
75 PhotoDatabaseHelper helper) { in buildUpdate()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetConfigure.java128 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setPhotoWidget() local
165 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setChoosenAlbum() local
194 WidgetDatabaseHelper helper = new WidgetDatabaseHelper(this); in setWidgetType() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java233 DocumentsProviderHelper helper) throws Exception { in createDocuments()
290 private void loadImages(Uri root, DocumentsProviderHelper helper) throws Exception { in loadImages()
302 private void loadImageFromResources(Uri root, DocumentsProviderHelper helper, int resId, in loadImageFromResources()
410 DocumentsProviderHelper helper) throws Exception { in assertFilesCopied()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationUtil.java164 public static boolean migrate( in migrate()
275 private static void insertEntryInDb(DatabaseHelper helper, DbEntry entry, in insertEntryInDb()
289 private static int copyEntryAndUpdate(DatabaseHelper helper, in copyEntryAndUpdate()
294 private static int copyEntryAndUpdate(DatabaseHelper helper, in copyEntryAndUpdate()
299 private static int copyEntryAndUpdate(DatabaseHelper helper, DbEntry entry, in copyEntryAndUpdate()
343 private static void solveGridPlacement(@NonNull final DatabaseHelper helper, in solveGridPlacement()
406 private static void solveHotseatPlacement( in solveHotseatPlacement()

1234567