/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
H A D | OverrideValidatorImplTest.java | 52 private static final String PACKAGE_NAME = "my.package"; field in OverrideValidatorImplTest 104 when(mPackageManager.getApplicationInfo(eq(PACKAGE_NAME), anyInt())) in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 108 .withPackageName(PACKAGE_NAME).build()); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 111 overrideValidator.getOverrideAllowedState(1, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 113 overrideValidator.getOverrideAllowedState(2, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 115 overrideValidator.getOverrideAllowedState(3, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 117 overrideValidator.getOverrideAllowedState(4, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 119 overrideValidator.getOverrideAllowedState(5, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 121 overrideValidator.getOverrideAllowedState(6, PACKAGE_NAME); in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 148 when(mPackageManager.getApplicationInfo(eq(PACKAGE_NAME), anyInt())) in getOverrideAllowedState_debugBuildAnyChangeReleaseApp_allowOverride() [all …]
|
H A D | PlatformCompatTest.java | 66 private static final String PACKAGE_NAME = "my.package"; field in PlatformCompatTest 90 when(mPackageManager.getPackageUid(eq(PACKAGE_NAME), eq(0))).thenThrow( in setUp() 92 when(mPackageManagerInternal.getPackageUid(eq(PACKAGE_NAME), eq(0), anyInt())) in setUp() 94 when(mPackageManager.getApplicationInfo(eq(PACKAGE_NAME), anyInt())) in setUp() 188 assertThat(mPlatformCompat.isChangeEnabledByPackageName(1, PACKAGE_NAME, 0)).isTrue(); in testOverrideAtInstallTime() 189 assertThat(mPlatformCompat.isChangeEnabledByPackageName(2, PACKAGE_NAME, 0)).isFalse(); in testOverrideAtInstallTime() 190 assertThat(mPlatformCompat.isChangeEnabledByPackageName(3, PACKAGE_NAME, 0)).isTrue(); in testOverrideAtInstallTime() 201 mPlatformCompat.setOverridesForTest(compatibilityChangeConfig, PACKAGE_NAME); in testOverrideAtInstallTime() 204 assertThat(mPlatformCompat.isChangeEnabledByPackageName(1, PACKAGE_NAME, 0)).isFalse(); in testOverrideAtInstallTime() 205 assertThat(mPlatformCompat.isChangeEnabledByPackageName(2, PACKAGE_NAME, 0)).isTrue(); in testOverrideAtInstallTime() [all …]
|
/aosp_15_r20/cts/tests/tests/content/src/android/content/pm/cts/ |
H A D | PackageInstallerArchiveTest.java | 114 private static final String PACKAGE_NAME = "android.content.cts.mocklauncherapp"; field in PackageInstallerArchiveTest 118 private static final String ACTIVITY_NAME = PACKAGE_NAME + ".Launcher"; 176 uninstallPackage(PACKAGE_NAME); in uninstall() 184 installPackage(PACKAGE_NAME, APK_PATH); in archiveApp_dataIsKept() 200 mPackageInstaller.requestArchive(PACKAGE_NAME, in archiveApp_dataIsKept() 203 PACKAGE_NAME); in archiveApp_dataIsKept() 224 installPackage(PACKAGE_NAME, APK_PATH); in archiveApp_getApplicationIcon() 228 mPackageInstaller.requestArchive(PACKAGE_NAME, in archiveApp_getApplicationIcon() 234 ApplicationInfo applicationInfo = mPackageManager.getPackageInfo(PACKAGE_NAME, in archiveApp_getApplicationIcon() 245 installPackage(PACKAGE_NAME, APK_PATH); in archiveApp_getApplicationIcon_compatOptionsOn() [all …]
|
/aosp_15_r20/external/gflags/cmake/ |
H A D | config.cmake.in | 15 set (@PACKAGE_PREFIX@_TARGET_NAMESPACE @PACKAGE_NAME@) 17 include ("${CMAKE_CURRENT_LIST_DIR}/@PACKAGE_NAME@-nonamespace-targets.cmake") 37 if (@PACKAGE_NAME@_FIND_COMPONENTS) 38 foreach (@PACKAGE_NAME@_FIND_COMPONENT IN LISTS @PACKAGE_NAME@_FIND_COMPONENTS) 39 …if (@PACKAGE_NAME@_FIND_REQUIRED_${@PACKAGE_NAME@_FIND_COMPONENT} AND NOT TARGET @PACKAGE_NAME@_${… 40 …message (FATAL_ERROR "Package @PACKAGE_NAME@ was installed without required component ${@PACKAGE_N… 43 list (GET @PACKAGE_NAME@_FIND_COMPONENTS 0 @PACKAGE_NAME@_FIND_COMPONENT) 45 set (@PACKAGE_NAME@_FIND_COMPONENT) 52 # - find_package(@PACKAGE_NAME@ REQUIRED) 53 # - find_package(@PACKAGE_NAME@ COMPONENTS nothreads_static) [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppManifestConfigHelperTest.java | 80 private static final String PACKAGE_NAME = "TEST_PACKAGE"; field in AppManifestConfigHelperTest 111 mockGetPropertySucceeds(PACKAGE_NAME, AD_SERVICES_CONFIG_PROPERTY, RESOURCE_ID); in testIsAllowedAttributionAccess_sPlus() 115 assertWithMessage("isAllowedAttributionAccess(ctx, %s, %s)", PACKAGE_NAME, ENROLLMENT_ID) in testIsAllowedAttributionAccess_sPlus() 118 PACKAGE_NAME, ENROLLMENT_ID)) in testIsAllowedAttributionAccess_sPlus() 126 mockGetPropertySucceeds(PACKAGE_NAME, AD_SERVICES_CONFIG_PROPERTY, RESOURCE_ID); in testIsAllowedCustomAudiencesAccess_sPlus() 131 "isAllowedCustomAudiencesAccess(ctx, %s, %s)", PACKAGE_NAME, ENROLLMENT_ID) in testIsAllowedCustomAudiencesAccess_sPlus() 134 PACKAGE_NAME, ENROLLMENT_ID)) in testIsAllowedCustomAudiencesAccess_sPlus() 142 mockGetPropertySucceeds(PACKAGE_NAME, AD_SERVICES_CONFIG_PROPERTY, RESOURCE_ID); in testIsAllowedProtectedSignalsAccess_sPlus() 147 "isAllowedProtectedSignalsAccess(ctx, %s, %s)", PACKAGE_NAME, ENROLLMENT_ID) in testIsAllowedProtectedSignalsAccess_sPlus() 150 PACKAGE_NAME, ENROLLMENT_ID)) in testIsAllowedProtectedSignalsAccess_sPlus() [all …]
|
/aosp_15_r20/packages/services/Car/car_product/app_overlays/car-ui-customizations/ |
D | Android.bp | 32 package_name: "com.android.car.ui.paintbooth.googlecarui.rro", 39 package_name: "com.android.car.rotaryplayground.googlecarui.rro", 46 package_name: "com.android.car.themeplayground.googlecarui.rro", 53 package_name: "com.android.car.carlauncher.googlecarui.rro", 60 package_name: "com.android.car.home.googlecarui.rro", 67 package_name: "com.android.car.media.googlecarui.rro", 74 package_name: "com.android.car.messenger.googlecarui.rro", 81 package_name: "com.android.car.radio.googlecarui.rro", 88 package_name: "com.android.car.calendar.googlecarui.rro", 95 package_name: "com.android.car.systemupdater.googlecarui.rro", [all …]
|
/aosp_15_r20/frameworks/base/keystore/java/android/security/keystore2/ |
H A D | AndroidKeyStoreBCWorkaroundProvider.java | 43 private static final String PACKAGE_NAME = "android.security.keystore2"; field in AndroidKeyStoreBCWorkaroundProvider 45 PACKAGE_NAME + ".AndroidKeyStoreSecretKey"; 47 PACKAGE_NAME + ".AndroidKeyStorePrivateKey"; 49 PACKAGE_NAME + ".AndroidKeyStorePublicKey"; 59 putMacImpl("HmacSHA1", PACKAGE_NAME + ".AndroidKeyStoreHmacSpi$HmacSHA1"); in AndroidKeyStoreBCWorkaroundProvider() 64 putMacImpl("HmacSHA224", PACKAGE_NAME + ".AndroidKeyStoreHmacSpi$HmacSHA224"); in AndroidKeyStoreBCWorkaroundProvider() 69 putMacImpl("HmacSHA256", PACKAGE_NAME + ".AndroidKeyStoreHmacSpi$HmacSHA256"); in AndroidKeyStoreBCWorkaroundProvider() 74 putMacImpl("HmacSHA384", PACKAGE_NAME + ".AndroidKeyStoreHmacSpi$HmacSHA384"); in AndroidKeyStoreBCWorkaroundProvider() 79 putMacImpl("HmacSHA512", PACKAGE_NAME + ".AndroidKeyStoreHmacSpi$HmacSHA512"); in AndroidKeyStoreBCWorkaroundProvider() 86 PACKAGE_NAME + ".AndroidKeyStoreUnauthenticatedAESCipherSpi$ECB$NoPadding"); in AndroidKeyStoreBCWorkaroundProvider() [all …]
|
/aosp_15_r20/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 57 private static final String PACKAGE_NAME = "package.mcpackageface"; field in AppStateUsageStatsBridgeTest 100 addPackageToPackageManager(PACKAGE_NAME, TimeUnit.DAYS.toMillis(1000)); in test_appInstalledSameDayNeverUsed_isInvalid() 102 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_appInstalledSameDayNeverUsed_isInvalid() 114 addPackageToPackageManager(PACKAGE_NAME, TimeUnit.DAYS.toMillis(1000)); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() 116 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid() 128 addPackageToPackageManager(PACKAGE_NAME, TimeUnit.DAYS.toMillis(910)); in test_unusedApp_isValid() 130 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_unusedApp_isValid() 142 addPackageToPackageManager(PACKAGE_NAME, TimeUnit.DAYS.toMillis(910)); in test_noThresholdFilter_unusedApp_isValid() 144 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_noThresholdFilter_unusedApp_isValid() 156 addPackageToPackageManager(PACKAGE_NAME, TimeUnit.DAYS.toMillis(910)); in test_unknownLastUse_isFilteredOut() [all …]
|
/aosp_15_r20/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarOccupantConnectionServiceTest.java | 74 private static final String PACKAGE_NAME = "my_package_name"; field in CarOccupantConnectionServiceTest 156 () -> mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, in testRegisterReceiverWithoutPermission_throwsException() 172 mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, mPayloadCallback); in testRegisterReceiverWithDuplicateId_throwsException() 179 () -> mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, in testRegisterReceiverWithDuplicateId_throwsException() 188 mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, mPayloadCallback); in testRegisterTwoReceiversWithoutReceiverServiceConnected() 198 assertThat(clientId.packageName).isEqualTo(PACKAGE_NAME); in testRegisterTwoReceiversWithoutReceiverServiceConnected() 210 mService.registerReceiver(PACKAGE_NAME, endpointId2, payloadCallback2); in testRegisterTwoReceiversWithoutReceiverServiceConnected() 242 mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, mPayloadCallback); in testRegisterReceiverThenConnectReceiverService() 286 mService.registerReceiver(PACKAGE_NAME, RECEIVER_ENDPOINT_ID, mPayloadCallback); in testRegisterReceiverWithReceiverServiceConnected() 301 mService.registerReceiver(PACKAGE_NAME, endpointId2, payloadCallback2); in testRegisterReceiverWithReceiverServiceConnected() [all …]
|
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/ |
D | WebViewAppPickerTest.java | 73 private static final String PACKAGE_NAME = "com.example.test"; field in WebViewAppPickerTest 97 applicationInfo.name = PACKAGE_NAME; in setUp() 100 applicationInfo.packageName = PACKAGE_NAME; in setUp() 103 packageInfo.packageName = PACKAGE_NAME; in setUp() 107 mPackageManager.setUnbadgedApplicationIcon(PACKAGE_NAME, new ColorDrawable()); in setUp() 125 mPackageManager.removePackage(PACKAGE_NAME); in tearDown() 155 createApplicationInfo(PACKAGE_NAME), "disabled"); in testDisabledPackageShownAsDisabled() 158 mPicker.bindPreference(preference, PACKAGE_NAME, webviewAppInfo, null); in testDisabledPackageShownAsDisabled() 159 mPicker.bindPreferenceExtra(preference, PACKAGE_NAME, webviewAppInfo, null, null); in testDisabledPackageShownAsDisabled() 169 createApplicationInfo(PACKAGE_NAME), disabledReason); in testEnabledPackageShownAsEnabled() [all …]
|
/aosp_15_r20/cts/tests/tests/appop/src/android/app/appops/cts/ |
H A D | DiscreteAppopsTest.kt | 65 private const val PACKAGE_NAME = "android.app.appops.cts.appfordiscretetest" in <lambda>() constant 88 private val uid = context.packageManager.getPackageUid(PACKAGE_NAME, 0) in <lambda>() 106 appOpsManager.noteOp(OPSTR_FINE_LOCATION, uid, PACKAGE_NAME, null, null) in <lambda>() 138 val serviceIntent = Intent().setComponent(ComponentName(PACKAGE_NAME, in <lambda>() 139 "$PACKAGE_NAME.AppOpsForegroundControlService")) in <lambda>() 193 noteOp(OPSTR_RESERVED_FOR_TESTING, uid, PACKAGE_NAME, null, null) in <lambda>() 211 assertThat(packageOps.packageName).isEqualTo(PACKAGE_NAME) in <lambda>() 235 assertThat(packageOps.packageName).isEqualTo(PACKAGE_NAME) in <lambda>() 259 assertThat(packageOps.packageName).isEqualTo(PACKAGE_NAME) in <lambda>() 271 noteOp(OPSTR_RESERVED_FOR_TESTING, uid, PACKAGE_NAME, null, null) in <lambda>() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
H A D | UiModeManagerServiceTest.java | 129 private static final String PACKAGE_NAME = "Diane Coffee"; field in UiModeManagerServiceTest 970 when(mPackageManager.getPackageUidAsUser(eq(PACKAGE_NAME), anyInt())) in requestProjection_failsForBogusPackageName() 974 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsForBogusPackageName() 980 when(mPackageManager.getPackageUidAsUser(eq(PACKAGE_NAME), anyInt())) in requestProjection_failsIfNameNotFound() 984 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsIfNameNotFound() 990 when(mPackageManager.getPackageUidAsUser(eq(PACKAGE_NAME), anyInt())) in requestProjection_failsIfNoProjectionTypes() 994 () -> mService.requestProjection(mBinder, PROJECTION_TYPE_NONE, PACKAGE_NAME)); in requestProjection_failsIfNoProjectionTypes() 1003 when(mPackageManager.getPackageUidAsUser(eq(PACKAGE_NAME), anyInt())) in requestProjection_failsIfMultipleProjectionTypes() 1010 () -> mService.requestProjection(mBinder, multipleProjectionTypes, PACKAGE_NAME)); in requestProjection_failsIfMultipleProjectionTypes() 1020 .when(mPackageManager).getPackageUidAsUser(eq(PACKAGE_NAME), anyInt()); in requestProjection_enforcesToggleAutomotiveProjectionPermission() [all …]
|
/aosp_15_r20/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 49 public static final String PACKAGE_NAME = "com.android.test_package"; field in ModuleLicenseProviderTest 86 .appendPath(PACKAGE_NAME) in getType_notContentScheme_throwsIllegalArgumentException() 97 .appendPath(PACKAGE_NAME) in getType_invalidAuthority_throwsIllegalArgumentException() 127 .appendPath(PACKAGE_NAME) in getType_missingFileName_throwsIllegalArgumentException() 137 .appendPath(PACKAGE_NAME) in getType_incorrectFileName_throwsIllegalArgumentException() 150 when(packageManager.getModuleInfo(PACKAGE_NAME, 0)) in getType_packageNotAModule_throwsIllegalArgumentException() 156 .appendPath(PACKAGE_NAME) in getType_packageNotAModule_throwsIllegalArgumentException() 169 when(packageManager.getModuleInfo(PACKAGE_NAME, 0)) in getType_validUri_returnsHtmlMimeType() 175 .appendPath(PACKAGE_NAME) in getType_validUri_returnsHtmlMimeType() 186 .appendPath(PACKAGE_NAME) in openFile_notContentScheme_throwsIllegalArgumentException() [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
H A D | LegacyMediaDataManagerImplTest.kt | 119 private const val PACKAGE_NAME = "com.example.app" constant 264 setPkg(PACKAGE_NAME) in setup() 307 putString("package_name", PACKAGE_NAME) in setup() 350 verify(logger).logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(data.instanceId)) in testSetTimedOut_active_deactivatesMedia() 369 PACKAGE_NAME, in testsetInactive_resume_dismissesMedia() 377 eq(PACKAGE_NAME), in testsetInactive_resume_dismissesMedia() 385 mediaDataManager.setInactive(PACKAGE_NAME, timedOut = true) in testsetInactive_resume_dismissesMedia() 387 .logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(mediaDataCaptor.value.instanceId)) in testsetInactive_resume_dismissesMedia() 392 verify(listener).onMediaDataRemoved(PACKAGE_NAME, false) in testsetInactive_resume_dismissesMedia() 453 eq(PACKAGE_NAME), in testOnMetaDataLoaded_callsListener() [all …]
|
H A D | MediaDataProcessorTest.kt | 126 private const val PACKAGE_NAME = "com.example.app" constant 287 setPkg(PACKAGE_NAME) in setup() 330 putString("package_name", PACKAGE_NAME) in setup() 373 verify(logger).logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(data.instanceId)) in testsetInactive_active_deactivatesMedia() 391 PACKAGE_NAME, in testsetInactive_resume_dismissesMedia() 399 eq(PACKAGE_NAME), in testsetInactive_resume_dismissesMedia() 407 mediaDataProcessor.setInactive(PACKAGE_NAME, timedOut = true) in testsetInactive_resume_dismissesMedia() 409 .logMediaTimeout(anyInt(), eq(PACKAGE_NAME), eq(mediaDataCaptor.value.instanceId)) in testsetInactive_resume_dismissesMedia() 414 verify(listener).onMediaDataRemoved(PACKAGE_NAME, false) in testsetInactive_resume_dismissesMedia() 473 eq(PACKAGE_NAME), in testOnMetaDataLoaded_callsListener() [all …]
|
/aosp_15_r20/cts/tests/tests/widget/src/android/widget/cts/ |
H A D | RemoteViewsFixedCollectionAdapterTest.java | 85 private static final String PACKAGE_NAME = "android.widget.cts"; field in RemoteViewsFixedCollectionAdapterTest 114 mRemoteViews = new RemoteViews(PACKAGE_NAME, R.layout.remoteviews_adapters); in setUp() 134 .addItem(3 /* id */, new RemoteViews(PACKAGE_NAME, R.layout.textview_singleline)) in testParcelingAndUnparceling() 135 .addItem(5 /* id */, new RemoteViews(PACKAGE_NAME, R.layout.textview_gravity)) in testParcelingAndUnparceling() 170 .addItem(3 /* id */, new RemoteViews(PACKAGE_NAME, R.layout.textview_singleline)) in testParcelingAndUnparceling_afterAttaching() 171 .addItem(5 /* id */, new RemoteViews(PACKAGE_NAME, R.layout.textview_gravity)) in testParcelingAndUnparceling_afterAttaching() 174 RemoteViews parent = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testParcelingAndUnparceling_afterAttaching() 197 .addItem(3 /* id */, new RemoteViews(PACKAGE_NAME, R.layout.textview_singleline)) in testParcelingAndUnparceling_multiplePackages() 203 RemoteViews parent = new RemoteViews(PACKAGE_NAME, R.layout.listview_layout); in testParcelingAndUnparceling_multiplePackages() 216 assertEquals(PACKAGE_NAME, unparceled.getItemView(0).mApplication.packageName); in testParcelingAndUnparceling_multiplePackages() [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/common/ |
D | FledgeAuthorizationFilterTest.java | 99 private static final String PACKAGE_NAME = "pkg_name"; field in FledgeAuthorizationFilterTest 131 .thenReturn(new String[] {PACKAGE_NAME, PACKAGE_NAME_OTHER}); in testAssertCallingPackageName_isCallingPackageName() 133 mChecker.assertCallingPackageName(PACKAGE_NAME, UID, API_NAME_LOGGING_ID); in testAssertCallingPackageName_isCallingPackageName() 163 PACKAGE_NAME, UID, API_NAME_LOGGING_ID)); in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException() 172 eq(PACKAGE_NAME), in testAssertCallingPackageName_isNotCallingPackageName_throwSecurityException() 191 PACKAGE_NAME, UID, API_NAME_LOGGING_ID)); in testAssertCallingPackageName_packageNotExist_throwSecurityException() 200 eq(PACKAGE_NAME), in testAssertCallingPackageName_packageNotExist_throwSecurityException() 219 PACKAGE_NAME, UID, apiNameLoggingId)); in testAssertCallingPackageName_packageNotExist_logPersistAdSelectionResultCel() 228 eq(PACKAGE_NAME), in testAssertCallingPackageName_packageNotExist_logPersistAdSelectionResultCel() 635 when(AppManifestConfigHelper.isAllowedCustomAudiencesAccess(PACKAGE_NAME, ENROLLMENT_ID)) in testAssertAdTechHasPermission_hasPermission() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/ |
H A D | ApexSharedLibraryUpdaterTest.java | 91 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in checkNoChanges() 95 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in checkNoChanges() 105 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSince30Applied() 110 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSince30Applied() 123 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithoutLibrary() 127 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithoutLibrary() 139 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithLibrary() 145 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpSinceFutureNotAppliedWithLibrary() 159 ParsedPackage before = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpBefore30NotApplied() 163 AndroidPackage after = ((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME) in testBcpBefore30NotApplied() [all …]
|
/aosp_15_r20/external/angle/build/android/ |
H A D | apk_operations.py | 156 def _UninstallApk(devices, install_dict, package_name): argument 159 installer.Uninstall(device, package_name) 161 device.Uninstall(package_name) 171 def _SetWebViewProvider(devices, package_name): argument 178 device.SetWebViewImplementation(package_name) 183 def _NormalizeProcessName(debug_process_name, package_name): argument 185 debug_process_name = package_name 187 debug_process_name = package_name + debug_process_name 189 debug_process_name = package_name + ':' + debug_process_name 193 def _ResolveActivity(device, package_name, category, action): argument [all …]
|
/aosp_15_r20/external/cronet/build/android/ |
H A D | apk_operations.py | 152 def _UninstallApk(devices, install_dict, package_name): argument 155 installer.Uninstall(device, package_name) 157 device.Uninstall(package_name) 167 def _SetWebViewProvider(devices, package_name): argument 174 device.SetWebViewImplementation(package_name) 179 def _NormalizeProcessName(debug_process_name, package_name): argument 181 debug_process_name = package_name 183 debug_process_name = package_name + debug_process_name 185 debug_process_name = package_name + ':' + debug_process_name 189 def _ResolveActivity(device, package_name, category, action): argument [all …]
|
/aosp_15_r20/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/ |
D | SafetySourceTest.kt | 69 assertThat(DYNAMIC_BAREBONE.packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 70 assertThat(dynamicAllOptional().packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 71 assertThat(DYNAMIC_HIDDEN.packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 72 assertThat(DYNAMIC_HIDDEN_WITH_SEARCH.packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 73 assertThat(DYNAMIC_DISABLED.packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 76 assertThat(ISSUE_ONLY_BAREBONE.packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 77 assertThat(issueOnlyAllOptional().packageName).isEqualTo(PACKAGE_NAME) in getPackageName_returnsPackageNameOrThrows() 83 assertThat(DYNAMIC_BAREBONE.optionalPackageName).isEqualTo(PACKAGE_NAME) in getOptionalPackageName_returnsPackageNameOrNull() 84 assertThat(dynamicAllOptional().optionalPackageName).isEqualTo(PACKAGE_NAME) in getOptionalPackageName_returnsPackageNameOrNull() 85 assertThat(DYNAMIC_HIDDEN.optionalPackageName).isEqualTo(PACKAGE_NAME) in getOptionalPackageName_returnsPackageNameOrNull() [all …]
|
/aosp_15_r20/packages/services/Car/car_product/car_ui_portrait/rro/car-ui-customizations/ |
D | Android.bp | 31 package_name: "com.android.car.ui.paintbooth.googlecaruiportrait.rro", 39 package_name: "com.android.car.rotaryplayground.googlecaruiportrait.rro", 47 package_name: "com.android.car.themeplayground.googlecaruiportrait.rro", 55 package_name: "com.android.car.carlauncher.googlecaruiportrait.rro", 63 package_name: "com.android.car.home.googlecaruiportrait.rro", 71 package_name: "com.android.car.media.googlecaruiportrait.rro", 79 package_name: "com.android.car.messenger.googlecaruiportrait.rro", 87 package_name: "com.android.car.radio.googlecaruiportrait.rro", 95 package_name: "com.android.car.calendar.googlecaruiportrait.rro", 103 package_name: "com.android.car.systemupdater.googlecaruiportrait.rro", [all …]
|
/aosp_15_r20/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/ |
D | CarToastUITest.java | 62 private static final String PACKAGE_NAME = "PACKAGE_NAME"; field in CarToastUITest 100 any(), any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt())) in setUp() 117 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 120 verify(mToastFactory, never()).createToast(any(), any(), eq(TEXT), eq(PACKAGE_NAME), in showToast_notSystemNotPrivilegedNotPlatformKey_createToastNotCalled() 130 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled() 134 any(), any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemNotPrivilegedIsPlatformKey_createToastCalled() 143 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled() 147 any(), any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(),anyInt()); in showToast_notSystemIsPrivilegedNotPlatformKey_createToastNotCalled() 156 mCarToastUI.showToast(UID, PACKAGE_NAME, mIBinder, TEXT, mIBinder, DURATION, in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled() 160 any(), any(), eq(TEXT), eq(PACKAGE_NAME), anyInt(), anyInt()); in showToast_notSystemIsPrivilegedIsPlatformKey_createToastCalled() [all …]
|
/aosp_15_r20/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
H A D | UiBenchJankTests.java | 20 import static com.android.uibench.janktests.UiBenchJankTestsHelper.PACKAGE_NAME; 67 @GfxMonitor(processName = PACKAGE_NAME) 78 @GfxMonitor(processName = PACKAGE_NAME) 89 @GfxMonitor(processName = PACKAGE_NAME) 100 @GfxMonitor(processName = PACKAGE_NAME) 111 @GfxMonitor(processName = PACKAGE_NAME) 122 @GfxMonitor(processName = PACKAGE_NAME) 132 @GfxMonitor(processName = PACKAGE_NAME) 142 @GfxMonitor(processName = PACKAGE_NAME) 153 @GfxMonitor(processName = PACKAGE_NAME) [all …]
|
/aosp_15_r20/cts/tests/JobScheduler/JobTestApp/src/android/jobscheduler/cts/jobtestapp/ |
H A D | TestJobSchedulerReceiver.java | 41 static final String PACKAGE_NAME = "android.jobscheduler.cts.jobtestapp"; field in TestJobSchedulerReceiver 50 PACKAGE_NAME + ".action.SCHEDULE_RESULT"; 51 public static final String EXTRA_SCHEDULE_RESULT = PACKAGE_NAME + ".extra.SCHEDULE_RESULT"; 53 public static final String EXTRA_JOB_ID_KEY = PACKAGE_NAME + ".extra.JOB_ID"; 54 public static final String EXTRA_ALLOW_IN_IDLE = PACKAGE_NAME + ".extra.ALLOW_IN_IDLE"; 55 public static final String EXTRA_DEADLINE = PACKAGE_NAME + ".extra.DEADLINE"; 57 PACKAGE_NAME + ".extra.REQUIRED_NETWORK_TYPE"; 59 PACKAGE_NAME + ".extra.REQUIRES_STORAGE_NOT_LOW"; 60 public static final String EXTRA_AS_EXPEDITED = PACKAGE_NAME + ".extra.AS_EXPEDITED"; 61 public static final String EXTRA_AS_USER_INITIATED = PACKAGE_NAME + ".extra.AS_USER_INITIATED"; [all …]
|