/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | AppManagementFragmentTest.java | 44 private static final String FAKE_PACKAGE_NAME = "com.fake.package.name"; field in AppManagementFragmentTest 87 mFragment.init(FAKE_PACKAGE_NAME, in updateRestrictedViews_isNotAdvancedVpn_showsForgetPreference() 97 mFragment.init(FAKE_PACKAGE_NAME, in updateRestrictedViews_isAdvancedVpnRemovable_showsForgetPreference()
|
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/connectivity/ |
D | Utils.java | 33 public static final String FAKE_PACKAGE_NAME = "FAKE-PACKAGE-NAME"; field in Utils 87 (new AssociationInfo.Builder(i, FAKE_USER_ID, FAKE_PACKAGE_NAME)) in getFakeAssociationInfoList()
|
/packages/services/Car/tests/CarTelemetryApp/tests/src/com/android/car/ |
D | ConfigParserTest.java | 59 private static final String FAKE_PACKAGE_NAME = "fake_package_name"; field in ConfigParserTest 76 when(mMockContext.getPackageName()).thenReturn(FAKE_PACKAGE_NAME); in setUp() 115 assertThat(mPackageNameCaptor.getValue()).isEqualTo(FAKE_PACKAGE_NAME); in test_parseConfigReturnsCorrectMetricsConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | CarOccupantConnectionServiceTest.java | 75 private static final String FAKE_PACKAGE_NAME = "fake_package_name"; field in CarOccupantConnectionServiceTest 163 () -> mService.registerReceiver(FAKE_PACKAGE_NAME, RECEIVER_ENDPOINT_ID, in testRegisterReceiverWithFakePackageName_throwsException() 333 () -> mService.unregisterReceiver(FAKE_PACKAGE_NAME, RECEIVER_ENDPOINT_ID)); in testUnregisterReceiverWithFakePackageName_throwsException() 459 () -> mService.requestConnection(FAKE_PACKAGE_NAME, mReceiverZone, in testRequestConnectionWithFakePackageName_throwsException() 615 () -> mService.cancelConnection(FAKE_PACKAGE_NAME, any(OccupantZoneInfo.class))); in testCancelConnectionWithFakePackageName_throwsException() 753 () -> mService.sendPayload(FAKE_PACKAGE_NAME, mReceiverZone, any(Payload.class))); in testSendPayloadWithFakePackageName_throwsException() 804 () -> mService.isConnected(FAKE_PACKAGE_NAME, any(OccupantZoneInfo.class))); in testIsConnectedWithFakePackageName_throwsException() 833 () -> mService.disconnect(FAKE_PACKAGE_NAME, mReceiverZone)); in testDisconnectWithFakePackageName_throwsException()
|
D | CarRemoteDeviceServiceTest.java | 105 private static final String FAKE_PACKAGE_NAME = "fake_package_name"; field in CarRemoteDeviceServiceTest 316 () -> mService.getEndpointPackageInfo(OCCUPANT_ZONE_ID, FAKE_PACKAGE_NAME)); in testGetEndpointPackageInfoWithFakePackageName_throwsException() 446 () -> mService.registerStateCallback(FAKE_PACKAGE_NAME, any(IStateCallback.class))); in testRegisterStateCallbackWithFakePackageName_throwsException() 820 () -> mService.unregisterStateCallback(FAKE_PACKAGE_NAME)); in testUnregisterStateCallbackWithFakePackageName_throwsException()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffDataTest.java | 84 Set.of(ConvertUtils.FAKE_PACKAGE_NAME), in needsCombineInSystemApp_isSystemApp_returnTrue() 186 ConvertUtils.FAKE_PACKAGE_NAME, in createBatteryDiffEntry()
|
D | DataProcessorTest.java | 19 import static com.android.settings.fuelgauge.batteryusage.ConvertUtils.FAKE_PACKAGE_NAME; 892 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 894 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 909 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 911 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 926 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 928 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 951 FAKE_PACKAGE_NAME, in getBatteryDiffDataMap_normalFlow_returnExpectedResult() 985 FAKE_PACKAGE_NAME, in generateBatteryUsageMap_returnsExpectedResult()
|
D | ConvertUtilsTest.java | 239 .isEqualTo(ConvertUtils.FAKE_PACKAGE_NAME); in convertBatteryEntryToContentValues_nullBatteryEntry_returnsExpectedContentValues() 360 assertThat(batteryHistEntry.mPackageName).isEqualTo(ConvertUtils.FAKE_PACKAGE_NAME); in convertToBatteryHistEntry_nullBatteryEntry_returnsExpectedResult()
|
D | DatabaseUtilsTest.java | 583 assertThat(values.getAsString("packageName")).isEqualTo(ConvertUtils.FAKE_PACKAGE_NAME); in verifyFakeBatteryEntryContentValues()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/ |
D | ConvertUtils.java | 58 public static final String FAKE_PACKAGE_NAME = "fake_package"; field in ConvertUtils 119 values.put(BatteryHistEntry.KEY_PACKAGE_NAME, FAKE_PACKAGE_NAME); in convertBatteryEntryToContentValues()
|
D | BatteryDiffData.java | 165 || ConvertUtils.FAKE_PACKAGE_NAME.equals(packageName) in purgeBatteryDiffData()
|