/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceInfoTest.java | 65 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME); in testServiceNameWithDefaults() local 78 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService() local 88 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=bind"); in bindService() local 96 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=startForeground"); in startServiceInForeground() local 104 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=asap"); in triggerAsap() local 111 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=userUnlocked"); in triggerUnlocked() local 118 VendorServiceInfo info = VendorServiceInfo.parse( in triggerPostUnlocked() local 126 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=resume"); in triggerResume() local 139 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=foreground"); in userScopeForeground() local 150 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=system"); in userScopeSystem() local [all …]
|
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/ |
D | ONSStatsInfoTest.java | 36 ONSStatsInfo info; in testProvisioningResult() local 45 ONSStatsInfo info; in testDownloadResult() local 54 ONSStatsInfo info; in testPrimarySimSubId() local 61 ONSStatsInfo info; in testOppSimCarrierId() local 68 ONSStatsInfo info; in testRetryCount() local 75 ONSStatsInfo info; in testDetailedErrCode() local 82 ONSStatsInfo info; in testIsWifiConnected() local 89 ONSStatsInfo info; in testIsProvisioningResultUpdated() local
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ShortcutUtil.java | 29 public static boolean supportsShortcuts(ItemInfo info) { in supportsShortcuts() 36 public static boolean supportsDeepShortcuts(ItemInfo info) { in supportsDeepShortcuts() 43 public static String getShortcutIdIfPinnedShortcut(ItemInfo info) { in getShortcutIdIfPinnedShortcut() 51 public static String[] getPersonKeysIfPinnedShortcut(ItemInfo info) { in getPersonKeysIfPinnedShortcut() 59 public static boolean isDeepShortcut(ItemInfo info) { in isDeepShortcut() 64 private static boolean isActive(ItemInfo info) { in isActive() 70 private static boolean isApp(ItemInfo info) { in isApp() 74 private static boolean isPinnedShortcut(ItemInfo info) { in isPinnedShortcut()
|
D | PackageManagerHelper.java | 82 final ApplicationInfo info = getApplicationInfo( in isAppOnSdcard() local 93 final ApplicationInfo info = getApplicationInfo(packageName, user, 0); in isAppSuspended() local 102 final ApplicationInfo info = getApplicationInfo(packageName, user, 0); in isAppInstalled() local 113 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, flags, user); in getApplicationInfo() local 136 public static boolean isAppSuspended(ApplicationInfo info) { in isAppSuspended() 170 public void startDetailsActivityForInfo(ItemInfo info, Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() 205 ResolveInfo info = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in isSystemApp() local 217 PackageInfo info = pm.getPackageInfo(packageName, 0); in isSystemApp() local 264 public static int getLoadingProgress(LauncherActivityInfo info) { in getLoadingProgress()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoTest.java | 109 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, in testGetBatteryInfo_hasStatusLabel() local 120 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_hasRemainingTime() local 129 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_noRemainingTime() local 139 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData() local 151 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() local 171 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() local 180 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageFalse_usesDefaultString() local 196 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_charging_usesChargeTime() local 209 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_pluggedInWithFullBattery_onlyShowBatteryLevel() local 224 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_chargingWithDefender_updateChargeLabel() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtilTest.java | 136 InputMethodInfo info = createMockInputMethodInfoWithSubtypes( in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() local 182 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageIcon_hasApplicationIcon() local 190 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageIcon_noApplicationIcon() local 200 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageLabel() local 208 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getSummaryString() local 216 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, PLACEHOLDER_PACKAGE_NAME); in isInputMethodEnabled_isDisabled_returnsFalse() local 225 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, PLACEHOLDER_PACKAGE_NAME); in isInputMethodEnabled_isEnabled_returnsTrue() local 234 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, PLACEHOLDER_PACKAGE_NAME); in enableInputMethod_alreadyEnabled_remainsUnchanged() local 237 InputMethodUtil.enableInputMethod(mContext.getContentResolver(), info); in enableInputMethod_alreadyEnabled_remainsUnchanged() local 248 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, PLACEHOLDER_PACKAGE_NAME); in enableInputMethod_noEnabledInputMethods_addsIME() local [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/ |
D | LauncherAppWidgetProviderInfoTest.java | 64 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minWidthSmallerThanCellWidth_shouldInitializeSpansToOne() local 77 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minWidthLargerThanCellWidth_shouldInitializeSpans() local 91 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minWidthLargerThanGridColumns_shouldInitializeSpansToAtMostTheGridColumns() local 104 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minHeightLargerThanGridRows_shouldInitializeSpansToAtMostTheGridRows() local 117 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthUnspecified_shouldInitializeMinSpansToOne() local 128 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthSmallerThanCellWidth_shouldInitializeMinSpansToOne() local 143 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthLargerThanCellWidth_shouldInitializeMinSpans() local 166 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans() local 187 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans() local 202 LauncherAppWidgetProviderInfo info = new LauncherAppWidgetProviderInfo(); in initSpans_minResizeWidthHeightLargerThanMinWidth_shouldUseMinWidthHeightAsMinSpans() local [all …]
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/ |
D | AnnotatedUserHandlesTest.kt | 29 val info = AnnotatedUserHandles.newBuilder() in testBasicProperties() constant 46 val info = AnnotatedUserHandles.newBuilder() in testWorkTabInitiallySelectedWhenLaunchedFromWorkProfile() constant 58 val info = AnnotatedUserHandles.newBuilder() in testPersonalTabInitiallySelectedWhenLaunchedFromPersonalProfile() constant 70 val info = AnnotatedUserHandles.newBuilder() in testPersonalTabInitiallySelectedWhenLaunchedFromOtherProfile() constant
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioContextInfoTest.java | 110 CarAudioContextInfo info = new CarAudioContextInfo( in getId_withValidId() local 119 CarAudioContextInfo info = new CarAudioContextInfo(TEST_AUDIO_ATTRIBUTES_ARRAY, in geName_withValidName() local 128 CarAudioContextInfo info = new CarAudioContextInfo(TEST_AUDIO_ATTRIBUTES_ARRAY, in geAudioAttributes_withValidAudioAttributes() local 138 CarAudioContextInfo info = new CarAudioContextInfo(TEST_AUDIO_ATTRIBUTES_ARRAY, in toString_withValidParameters() local 154 CarAudioContextInfo info = new CarAudioContextInfo(TEST_ALL_AUDIO_ATTRIBUTES_ARRAY, in equals_forSameInfo() local 162 CarAudioContextInfo info = new CarAudioContextInfo(TEST_ALL_AUDIO_ATTRIBUTES_ARRAY, in equals_forSameObject() local 172 CarAudioContextInfo info = new CarAudioContextInfo(TEST_ALL_AUDIO_ATTRIBUTES_ARRAY, in equals_forNull() local 183 CarAudioContextInfo info = new CarAudioContextInfo(TEST_ALL_AUDIO_ATTRIBUTES_ARRAY, in equals_forDifferentId() local 195 CarAudioContextInfo info = new CarAudioContextInfo(TEST_ALL_AUDIO_ATTRIBUTES_ARRAY, in equals_forDifferentName() local 206 CarAudioContextInfo info = new CarAudioContextInfo( in equals_forDifferentAttributes() local [all …]
|
D | CarAudioDeviceInfoTest.java | 150 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getSampleRate_withMultipleSampleRates_returnsMax() local 161 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getSampleRate_withNullSampleRate_returnsDefault() local 171 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getAddress_returnsValueFromDeviceInfo() local 179 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getMaxGain_returnsValueFromDeviceInfo() local 188 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getMinGain_returnsValueFromDeviceInfo() local 197 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getDefaultGain_returnsValueFromDeviceInfo() local 206 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getStepValue_returnsValueFromDeviceInfo() local 215 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getChannelCount_withNoChannelMasks_returnsOne() local 227 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getChannelCount_withMultipleChannels_returnsHighestCount() local 237 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManager, audioDeviceInfo); in getAudioDeviceInfo_returnsConstructorParameter() local [all …]
|
D | CarVolumeGroupMutingTest.java | 211 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withNoGroupMuted_forSingleZone_setsEmptyMutedDevices() local 228 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withNoGroupMuted_forSingleZone_setsAllDeviceUnMuted() local 247 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withMusicGroupMuted_forSingleZone_setsMusicDeviceToMuted() local 264 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withMusicGroupMuted_forSingleZone_setOtherDeviceToUnMuted() local 282 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withAllGroupsMuted_forSingleZone_setsAllDevicesMuted() local 300 MutingInfo info = mutingInfo.get(mutingInfo.size() - 1); in carMuteChanged_withAllGroupsMuted_forSingleZone_setsUnMutedDevicesToEmpty() local 410 MutingInfo info = CarVolumeGroupMuting.generateMutingInfoFromZone(mPrimaryAudioZone, in generateMutingInfoFromZone_withNoGroupsMuted_returnsEmptyMutedList() local 423 MutingInfo info = CarVolumeGroupMuting.generateMutingInfoFromZone(mPrimaryAudioZone, in generateMutingInfoFromZone_withOneGroupMuted_returnsOneMutedDevice() local 436 MutingInfo info = CarVolumeGroupMuting.generateMutingInfoFromZone(mPrimaryAudioZone, in generateMutingInfoFromZone_withAllGroupsMuted_returnsAllDevicesMuted() local 454 MutingInfo info = CarVolumeGroupMuting.generateMutingInfoFromZone(primaryZone, in generateMutingInfoFromZone_withMutedMultiDeviceGroup_returnsAllDevicesMuted() local [all …]
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/discovery/info/ |
D | FiraProfileSupportInfoTest.java | 46 FiraProfileSupportInfo info = in fromBytes_noProfile() local 55 FiraProfileSupportInfo info = in fromBytes_undefinedProfile() local 64 FiraProfileSupportInfo info = FiraProfileSupportInfo.fromBytes(new byte[] {0x0, 0x0, 0x1}); in fromBytes_succeed() local 72 FiraProfileSupportInfo info = new FiraProfileSupportInfo(new FiraProfile[] {}); in toBytes_noProfile() local 81 FiraProfileSupportInfo info = in toBytes_duplicateProfile() local 92 FiraProfileSupportInfo info = new FiraProfileSupportInfo(PROFILES); in toBytes_succeed() local
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/ |
D | ManifestTest.kt | 35 val info = intent.resolveActivityInfo(context.packageManager, PackageManager.MATCH_ALL) in onboardingActivity_shouldNotBeExported() constant 42 val info = intent.resolveActivityInfo(context.packageManager, PackageManager.MATCH_ALL) in migrationActivity_shouldBeExported() constant 49 val info = intent.resolveActivityInfo(context.packageManager, PackageManager.MATCH_ALL) in routeActivity_shouldBeProtectedByPermissionReadExercise() constant 57 val info = intent.resolveActivityInfo(context.packageManager, PackageManager.MATCH_ALL) in routeRequestActivity_shouldBeExported() constant
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/media/ |
D | CarVolumeGroupInfoUnitTest.java | 71 CarVolumeGroupInfo info = new CarVolumeGroupInfo in build_buildsGroupInfo() local 98 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setVolumeGainIndex(9_001).build(); in setVolumeGainIndex_buildsGroupInfo() local 106 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setMinVolumeGainIndex(10).build(); in setMinVolumeGainIndex_buildsGroupInfo() local 114 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setMaxVolumeGainIndex(9_002).build(); in setMaxVolumeGainIndex_buildsGroupInfo() local 148 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setMuted(true).build(); in setMuted_buildsGroupInfo() local 156 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setAttenuated(true).build(); in setAttenuated_buildsGroupInfo() local 164 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setBlocked(true).build(); in setBlocked_buildsGroupInfo() local 172 CarVolumeGroupInfo info = mTestGroupInfoBuilder.setAudioAttributes(TEST_AUDIO_ATTRIBUTES) in setAudioAttribute_buildsGroupInfo() local 248 CarVolumeGroupInfo info = new CarVolumeGroupInfo.Builder(TEST_GROUP_NAME, TEST_ZONE_ID, in equals_forNull() local 260 CarVolumeGroupInfo info = new CarVolumeGroupInfo.Builder(TEST_GROUP_NAME, TEST_ZONE_ID, in describeContents() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | CertificateSubjectInfoTest.java | 49 CertificateSubjectInfo info = CertificateSubjectInfo.parse(TEST_SUBJECT_INFO); in verifyStandardSubjectInfoString() local 57 CertificateSubjectInfo info = in verifySubjectInfoStringWithIgnoredRdns() local 66 CertificateSubjectInfo info = CertificateSubjectInfo.parse(TEST_SUBJECT_INFO in verifySubjectInfoStringWithDuplicateRdns() local 71 private void verifySubjectInfoString(CertificateSubjectInfo info) { in verifySubjectInfoString() 85 CertificateSubjectInfo info = CertificateSubjectInfo.parse(subjectInfo); in verifySubjectInfoStringWithMaliciousRdns() local 104 CertificateSubjectInfo info = CertificateSubjectInfo.parse(subjectInfo); in testEscapedSubjectString() local 114 CertificateSubjectInfo info = CertificateSubjectInfo.parse(subjectInfo); in testEscapedSubjectStringWithDoubleTrailingSlash() local
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/ |
D | OemCarVolumeChangeInfoUnitTest.java | 39 OemCarVolumeChangeInfo info = in build() local 48 OemCarVolumeChangeInfo info = in setChangedVolumeGroup() local 74 OemCarVolumeChangeInfo info = in writeToParcel() local 93 OemCarVolumeChangeInfo info = in equals_forSameContent() local 105 OemCarVolumeChangeInfo info = in equals_forDifferentContent() local 118 OemCarVolumeChangeInfo info = in equals_forNull() local 127 OemCarVolumeChangeInfo info = in hashCode_forSameContent() local
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/chooser/ |
D | ImmutableTargetInfoTest.kt | 85 val info = ImmutableTargetInfo.newBuilder() in testBasicProperties() constant 159 val info = infoToCopyFrom.toBuilder().build() in testToBuilderPreservesBasicProperties() constant 191 val info = ImmutableTargetInfo.newBuilder().setResolvedIntent(resolvedIntent).build() in testBaseIntentToSend_defaultsToResolvedIntent() constant 203 val info = ImmutableTargetInfo.newBuilder() in testBaseIntentToSend_fillsInFromReferrerIntent() constant 223 val info = originalInfo.tryToCloneWithAppliedRefinement(refinementIntent) in testBaseIntentToSend_fillsInFromRefinementIntent() constant 246 val info = infoWithReferrerFillIn.tryToCloneWithAppliedRefinement(refinementIntent) in testBaseIntentToSend_twoFillInSourcesFavorsRefinementRequest() constant 333 val info = ImmutableTargetInfo.newBuilder() in testLegacySubclassRelationships_empty() constant 348 val info = ImmutableTargetInfo.newBuilder() in testLegacySubclassRelationships_placeholder() constant 363 val info = ImmutableTargetInfo.newBuilder() in testLegacySubclassRelationships_selectable() constant 378 val info = ImmutableTargetInfo.newBuilder() in testLegacySubclassRelationships_displayResolveInfo() constant [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | DefaultLayoutProviderTest.java | 73 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_icon_on_hotseat() local 88 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_folder() local 103 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_folder_custom_title() local 126 ItemInfo info = mModelHelper.getBgDataModel().appWidgets.get(0); in testCustomProfileLoaded_with_widget() local 140 ItemInfo info = mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_shortcut_on_hotseat() local 156 FolderInfo info = (FolderInfo) mModelHelper.getBgDataModel().workspaceItems.get(0); in testCustomProfileLoaded_with_shortcut_in_folder() local
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | PredictionHelper.java | 48 public static AppTarget getAppTargetFromItemInfo(Context context, ItemInfo info) { in getAppTargetFromItemInfo() 79 AppTarget target, int action, ItemInfo info) { in wrapAppTargetWithItemLocation() 91 public static boolean isTrackedForHotseatPrediction(ItemInfo info) { in isTrackedForHotseatPrediction() 101 public static boolean isTrackedForHotseatPrediction(LauncherAtom.ItemInfo info) { in isTrackedForHotseatPrediction() 117 public static boolean isTrackedForWidgetPrediction(ItemInfo info) { in isTrackedForWidgetPrediction() 126 public static boolean isTrackedForWidgetPrediction(LauncherAtom.ItemInfo info) { in isTrackedForWidgetPrediction()
|
/packages/providers/MediaProvider/jni/ |
D | RedactionInfoTest.cpp | 37 RedactionInfo info(0, nullptr); in TEST() local 53 RedactionInfo info(1, ranges); in TEST() local 108 RedactionInfo info = RedactionInfo(2, ranges); in TEST() local 160 RedactionInfo info = RedactionInfo(2, ranges); in TEST() local 195 RedactionInfo info = RedactionInfo(3, ranges); in TEST() local 237 RedactionInfo info = RedactionInfo(4, ranges); in TEST() local 260 RedactionInfo info = RedactionInfo(4, ranges); in TEST() local 283 RedactionInfo info = RedactionInfo(4, ranges); in TEST() local 312 RedactionInfo info = RedactionInfo(4, ranges); in TEST() local 331 RedactionInfo info = RedactionInfo(3, ranges); in TEST() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceControllerTest.java | 92 ApplicationInfo info = new ApplicationInfo(); in onCreate_isBrowserApp_isDisabled() local 109 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_noDomainUrls_isDisabled() local 127 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_isEnabled() local 145 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk() local 166 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk() local 187 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways() local 208 ApplicationInfo info = new ApplicationInfo(); in onCreate_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever() local
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfoTest.java | 72 BluetoothOppReceiveFileInfo info = in createInstance_withStatus_createCorrectly() local 82 BluetoothOppReceiveFileInfo info = in createInstance_withData_createCorrectly() local 96 BluetoothOppReceiveFileInfo info = in createInstance_withFileName_createCorrectly() local 123 BluetoothOppReceiveFileInfo info = in generateFileInfo_wrongHint_fileError() local 135 BluetoothOppReceiveFileInfo info = in generateFileInfo_noMediaMounted_noSdcardError() local 162 BluetoothOppReceiveFileInfo info = in generateFileInfo_noInsertUri_returnFileError() local 192 BluetoothOppReceiveFileInfo info = in generateFileInfo_withInsertUri_workCorrectly() local 224 BluetoothOppReceiveFileInfo info = in generateFileInfo_longFileName_trimFileName() local
|
D | BluetoothOppSendFileInfoTest.java | 78 BluetoothOppSendFileInfo info = in createInstance_withFileInputStream() local 94 BluetoothOppSendFileInfo info = in createInstance_withoutFileInputStream() local 108 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withUnsupportedScheme_returnsSendFileInfoError() local 118 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withForbiddenExternalUri_returnsSendFileInfoError() local 132 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withoutPermissionForAccessingUri_returnsSendFileInfoError() local 165 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withUncorrectableMismatch_returnsSendFileInfoError() local 201 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withCorrectableMismatch_returnInfoWithCorrectLength() local 215 BluetoothOppSendFileInfo info = BluetoothOppSendFileInfo.generateFileInfo(mContext, uri, in generateFileInfo_withFileUriNotInExternalStorageDir_returnFileErrorInfo() local
|
/packages/modules/Connectivity/Cronet/tests/cts/src/android/net/http/cts/ |
D | HttpEngineTest.java | 112 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_Default() local 134 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_EnableHttpCache() local 159 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_DisableHttp2() local 237 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_EnableQuic() local 259 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_requestUsesDefaultUserAgent() local 282 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_requestUsesCustomUserAgent() local 332 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_unbindFromNetwork() local 347 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_setConnectionMigrationOptions_requestSucceeds() local 362 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_setDnsOptions_requestSucceeds() local 386 UrlResponseInfo info = mCallback.mResponseInfo; in testHttpEngine_SetQuicOptions_RequestSucceedsWithQuic() local [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioUserAssignmentFragment.java | 100 private void handleResetMediaOnPrimaryZone(OccupantZoneInfo info, in handleResetMediaOnPrimaryZone() 111 private void handleRequestMediaOnPrimaryZone(OccupantZoneInfo info, in handleRequestMediaOnPrimaryZone() 133 private String getUserName(OccupantZoneInfo info) { in getUserName() 184 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleResetUserAudio() local 193 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleToggleAssignUserAudio() local 205 OccupantZoneInfo info = getOccupantZoneForUser(userId); in handleRequestUserToPlayInMainCabin() local 229 private void requestToPlayAudioInPrimaryZone(OccupantZoneInfo info) { in requestToPlayAudioInPrimaryZone() 249 private void handleRequestRejected(OccupantZoneInfo info) { in handleRequestRejected() 262 private void handleRequestAccepted(OccupantZoneInfo info) { in handleRequestAccepted() 274 OccupantZoneInfo info = occupants.get(index); in getOccupantZoneForUser() local [all …]
|