Home
last modified time | relevance | path

Searched refs:flagValue (Results 1 – 18 of 18) sorted by relevance

/packages/modules/StatsD/statsd/tests/flags/
DFlagProvider_test.cpp32 string flagValue; member
54 EXPECT_TRUE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
59 EXPECT_FALSE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
67 EXPECT_FALSE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
68 EXPECT_FALSE(FlagProvider::getInstance().getBootFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
72 EXPECT_TRUE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
73 EXPECT_TRUE(FlagProvider::getInstance().getBootFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
102 EXPECT_TRUE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
107 EXPECT_FALSE(FlagProvider::getInstance().getFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
123 EXPECT_TRUE(FlagProvider::getInstance().getBootFlagBool(TEST_FLAG, GetParam().flagValue)); in TEST_P()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DAndroidUtils.kt67 flags.fold(0, { mask2, (flag, flagValue) -> if (flagValue) mask2 or flag else mask2 }) in PackageManager() method
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DActiveUnlockTestUtils.java47 public static void enable(Context context, String flagValue) { in enable() argument
70 flagValue, in enable()
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/
DActiveUnlockTestUtils.java47 public static void enable(Context context, String flagValue) { in enable() argument
70 flagValue, in enable()
/packages/modules/StatsD/statsd/src/flags/
DFlagProvider.cpp63 void FlagProvider::overrideFlag(const string& flagName, const std::string& flagValue, in overrideFlag() argument
66 mLocalFlags[getLocalFlagKey(flagName, isBootFlag)] = flagValue; in overrideFlag()
DFlagProvider.h81 void overrideFlag(const std::string& flagName, const std::string& flagValue,
84 std::string getFlagStringInternal(const std::string& flagName, const std::string& flagValue,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt360 val flagValue: Int = flag.getValue() in <lambda>() constant
366 assertThat(flagValue).isEqualTo(0x4) in <lambda>()
404 val flagValue: Int = flag.getValue() in <lambda>() constant
412 assertThat(flagValue).isEqualTo(0x4) in <lambda>()
448 val flagValue: Int = flag.getValue() in <lambda>() constant
456 assertThat(flagValue).isEqualTo(Context.RECEIVER_NOT_EXPORTED) in <lambda>()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DDeviceConfigUtils.java232 final int flagValue = getDeviceConfigPropertyInt(namespace, name, 0 /* default value */); in isFeatureEnabled() local
233 switch (flagValue) { in isFeatureEnabled()
242 return packageVersion >= (long) flagValue; in isFeatureEnabled()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DSafetyLabelChangesJobServiceTest.kt153 private fun setSafetyLabelChangeNotificationsEnabled(flagValue: Boolean) { in setSafetyLabelChangeNotificationsEnabled()
161 .thenReturn(flagValue) in setSafetyLabelChangeNotificationsEnabled()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapEmailProviderTest.java315 final int flagValue = 1; in update_forAccountUri_success() local
317 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, flagValue); in update_forAccountUri_success()
320 verify(mProvider).updateAccount(ACCOUNT_ID, flagValue); in update_forAccountUri_success()
DBluetoothMapIMProviderTest.java362 final int flagValue = 1; in update_forAccountUri_success() local
364 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, flagValue); in update_forAccountUri_success()
367 verify(mProvider).updateAccount(ACCOUNT_ID, flagValue); in update_forAccountUri_success()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java208 final int flagValue = DeviceConfigUtils.getDeviceConfigPropertyInt( in isTetherForceUpstreamAutomaticFeatureEnabled() local
211 return flagValue > 0; in isTetherForceUpstreamAutomaticFeatureEnabled()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java2579 private void setCarPowerPolicyRefactoringFeatureFlag(boolean flagValue) { in setCarPowerPolicyRefactoringFeatureFlag() argument
2580 mFeatureFlags.setFlag(Flags.FLAG_CAR_POWER_POLICY_REFACTORING, flagValue); in setCarPowerPolicyRefactoringFeatureFlag()
2583 private void setServerlessRemoteAccessFlag(boolean flagValue) { in setServerlessRemoteAccessFlag() argument
2584 mFeatureFlags.setFlag(Flags.FLAG_SERVERLESS_REMOTE_ACCESS, flagValue); in setServerlessRemoteAccessFlag()
2587 private void setCarPowerCancelShellCommand(boolean flagValue) { in setCarPowerCancelShellCommand() argument
2588 mFeatureFlags.setFlag(Flags.FLAG_CAR_POWER_CANCEL_SHELL_COMMAND, flagValue); in setCarPowerCancelShellCommand()
2591 private void setStopProcessBeforeSuspendToDisk(boolean flagValue) { in setStopProcessBeforeSuspendToDisk() argument
2592 mFeatureFlags.setFlag(Flags.FLAG_STOP_PROCESS_BEFORE_SUSPEND_TO_DISK, flagValue); in setStopProcessBeforeSuspendToDisk()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h809 void writeFlag(const std::string& flagName, const std::string& flagValue);
811 void writeBootFlag(const std::string& flagName, const std::string& flagValue);
DMetricsManager_test.cpp253 string flagValue; member
Dstatsd_test_util.cpp2180 void writeFlag(const string& flagName, const string& flagValue) { in writeFlag() argument
2183 flagValue); in writeFlag()
2186 void writeBootFlag(const string& flagName, const string& flagValue) { in writeBootFlag() argument
2189 flagValue); in writeBootFlag()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/
DAttributionJobHandlerTest.java7672 float flagValue, in testNullAggregateReport_noSource() argument
7684 when(flagSupplier.get()).thenReturn(flagValue); in testNullAggregateReport_noSource()
7706 float flagValue, in testNullAggregateReports_topLevelFiltersDontMatch() argument
7734 when(flagSupplier.get()).thenReturn(flagValue); in testNullAggregateReports_topLevelFiltersDontMatch()
7762 float flagValue, in testNullAggregateReports_triggerTimePastAggReportWindow() argument
7782 when(flagSupplier.get()).thenReturn(flagValue); in testNullAggregateReports_triggerTimePastAggReportWindow()
7802 float flagValue, in testNullAggregateReports_numReportsPerDestExceedsMax() argument
7827 when(flagSupplier.get()).thenReturn(flagValue); in testNullAggregateReports_numReportsPerDestExceedsMax()
7847 float flagValue, in testNullAggregateReports_triggerAggDeduped() argument
7876 when(flagSupplier.get()).thenReturn(flagValue); in testNullAggregateReports_triggerAggDeduped()
[all …]
/packages/apps/TV/libs/m2/
Ddagger-android-processor-2.23.jarjava/dagger/android/processor/META-INF/gradle/incremental.annotation.processors ...