/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyConstantsTest.java | 37 final DevicePolicyConstants constants = DevicePolicyConstants.loadFromString(""); in testDefaultValues() local 39 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC).isEqualTo(1 * 60 * 60); in testDefaultValues() 40 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_MAX_BACKOFF_SEC).isEqualTo(24 * 60 * 60); in testDefaultValues() 41 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_BACKOFF_INCREASE).isWithin(1.0e-10).of(2.0); in testDefaultValues() 46 final DevicePolicyConstants constants = DevicePolicyConstants.loadFromString( in testCustomValues() local 52 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC).isEqualTo(10); in testCustomValues() 53 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_MAX_BACKOFF_SEC).isEqualTo(15); in testCustomValues() 54 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_BACKOFF_INCREASE).isWithin(1.0e-10) in testCustomValues() 60 final DevicePolicyConstants constants = DevicePolicyConstants.loadFromString( in testMinMax() local 66 assertThat(constants.DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC).isEqualTo(5); in testMinMax() [all …]
|
/frameworks/rs/ |
D | rsProgramVertex.cpp | 43 if (mHal.state.constants[0] == nullptr) { in setup() 49 rsc, mHal.state.constants[0])); in setup() 58 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setup() 72 if (mHal.state.constants[0] == nullptr) { in setProjectionMatrix() 78 rsc, mHal.state.constants[0])); in setProjectionMatrix() 81 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setProjectionMatrix() 90 if (mHal.state.constants[0] == nullptr) { in setModelviewMatrix() 96 rsc, mHal.state.constants[0])); in setModelviewMatrix() 99 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setModelviewMatrix() 108 if (mHal.state.constants[0] == nullptr) { in setTextureMatrix() [all …]
|
D | rsProgram.cpp | 53 mHal.state.constants = new Allocation*[mHal.state.constantsCount]; in Program() 101 delete[] mHal.state.constants; in ~Program() 134 mHal.state.constants = nullptr; in initMemberVars() 174 mHal.state.constants[slot] = alloc; in bindAllocation() 212 void rsi_ProgramBindConstants(Context *rsc, RsProgram vp, uint32_t slot, RsAllocation constants) { in rsi_ProgramBindConstants() argument 214 p->bindAllocation(rsc, static_cast<Allocation *>(constants), slot); in rsi_ProgramBindConstants()
|
D | rsProgramFragment.cpp | 48 if (mHal.state.constants[0] == nullptr) { in setConstantColor() 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); in setConstantColor() 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); in setConstantColor()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueBackupJob.java | 67 public static void schedule(int userId, Context ctx, BackupManagerConstants constants) { in schedule() argument 68 schedule(userId, ctx, 0, constants); in schedule() 72 BackupManagerConstants constants) { in schedule() argument 83 synchronized (constants) { in schedule() 84 interval = constants.getKeyValueBackupIntervalMilliseconds(); in schedule() 85 fuzz = constants.getKeyValueBackupFuzzMilliseconds(); in schedule() 86 networkType = constants.getKeyValueBackupRequiredNetworkType(); in schedule() 87 needsCharging = constants.getKeyValueBackupRequireCharging(); in schedule()
|
D | FullBackupJob.java | 48 BackupManagerConstants constants) { in schedule() argument 51 synchronized (constants) { in schedule() 53 .setRequiredNetworkType(constants.getFullBackupRequiredNetworkType()) in schedule() 54 .setRequiresCharging(constants.getFullBackupRequireCharging()); in schedule()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthStatsWriter.java | 64 public HealthStatsWriter(HealthKeys.Constants constants) { in HealthStatsWriter() argument 65 mConstants = constants; in HealthStatsWriter() 68 final int timerCount = constants.getSize(HealthKeys.TYPE_TIMER); in HealthStatsWriter() 74 final int measurementCount = constants.getSize(HealthKeys.TYPE_MEASUREMENT); in HealthStatsWriter() 79 final int statsCount = constants.getSize(HealthKeys.TYPE_STATS); in HealthStatsWriter() 83 final int timersCount = constants.getSize(HealthKeys.TYPE_TIMERS); in HealthStatsWriter() 87 final int measurementsCount = constants.getSize(HealthKeys.TYPE_MEASUREMENTS); in HealthStatsWriter()
|
/frameworks/base/services/core/java/com/android/server/appbinding/finders/ |
D | CarrierMessagingClientServiceFinder.java | 57 protected boolean isEnabled(AppBindingConstants constants) { in isEnabled() argument 58 return constants.SMS_SERVICE_ENABLED in isEnabled() 117 public int getBindFlags(AppBindingConstants constants) { in getBindFlags() argument 118 return constants.SMS_APP_BIND_FLAGS; in getBindFlags()
|
D | AppServiceFinder.java | 73 protected boolean isEnabled(AppBindingConstants constants) { in isEnabled() argument 99 AppBindingConstants constants) { in findService() argument 105 if (!isEnabled(constants)) { in findService() 192 public abstract int getBindFlags(AppBindingConstants constants); in getBindFlags() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconsViewModel.kt | 48 private val constants: ConnectivityConstants, constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconsViewModel 65 constants, in viewModelForSub() 91 private val constants: ConnectivityConstants, constant in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconsViewModel.Factory 102 constants, in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyStateInflater.kt | 100 private val constants: SmartReplyConstants, in inflateSmartReplyState() constant in com.android.systemui.statusbar.policy.SmartReplyStateInflaterImpl 130 val smartReplyView = SmartReplyView.inflate(sysuiContext, constants) in inflateSmartReplyState() 179 if (!constants.isEnabled) { in inflateSmartReplyState() 189 val enableAppGeneratedSmartReplies = (!constants.requiresTargetingP() || in inflateSmartReplyState() 285 private val constants: SmartReplyConstants, in inflateActionButton() constant in com.android.systemui.statusbar.policy.SmartActionInflaterImpl 321 DelayedOnClickListener(onClickListener, constants.onClickInitDelay) in inflateActionButton() 360 private val constants: SmartReplyConstants, in inflateReplyButton() constant in com.android.systemui.statusbar.policy.SmartReplyInflaterImpl 390 DelayedOnClickListener(onClickListener, constants.onClickInitDelay) in inflateReplyButton() 417 val canEditBeforeSend = constants.getEffectiveEditChoicesBeforeSending( in inflateReplyButton()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NonAbUpdateInstaller.java | 36 DevicePolicyConstants constants) { in NonAbUpdateInstaller() argument 37 super(context, updateFileDescriptor, callback, injector, constants); in NonAbUpdateInstaller()
|
/frameworks/base/core/java/android/net/metrics/ |
D | ValidationProbeEvent.java | 163 return Decoder.constants.get(probeType & 0xff, "PROBE_???"); in getProbeName() 167 return Decoder.constants.get(probeType & 0xff00, "UNKNOWN"); in getValidationStage() 187 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in ValidationProbeEvent.Decoder
|
D | IpReachabilityEvent.java | 97 String eventName = Decoder.constants.get(hi); in toString() 109 static final SparseArray<String> constants = field in IpReachabilityEvent.Decoder
|
D | DhcpErrorEvent.java | 117 return String.format("DhcpErrorEvent(%s)", Decoder.constants.get(errorCode)); in toString() 121 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in DhcpErrorEvent.Decoder
|
D | IpManagerEvent.java | 106 Decoder.constants.get(eventType), durationMs); in toString() 118 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in IpManagerEvent.Decoder
|
D | NetworkEvent.java | 126 Decoder.constants.get(eventType), durationMs); in toString() 138 static final SparseArray<String> constants = MessageUtils.findMessageNames( field in NetworkEvent.Decoder
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/view/ |
D | ModernStatusBarMobileViewTest.kt | 65 @Mock private lateinit var constants: ConnectivityConstants variable in com.android.systemui.statusbar.pipeline.mobile.ui.view.ModernStatusBarMobileViewTest 78 whenever(constants.hasDataCapabilities).thenReturn(true) in setUp() 160 whenever(constants.hasDataCapabilities).thenReturn(false) in isIconVisible_noData_outputsFalse() 180 whenever(constants.hasDataCapabilities).thenReturn(true) in isIconVisible_hasData_outputsTrue() 298 constants, in createViewModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | PrimaryBouncerCallbackInteractor.kt | 21 import com.android.systemui.keyguard.shared.constants.KeyguardBouncerConstants.EXPANSION_HIDDEN 22 import com.android.systemui.keyguard.shared.constants.KeyguardBouncerConstants.EXPANSION_VISIBLE
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PendingIntentControllerTest.java | 86 ActivityManagerConstants constants = mock(ActivityManagerConstants.class); in setUp() local 87 constants.PENDINGINTENT_WARNING_THRESHOLD = 2000; in setUp() 89 mUserController, constants); in setUp()
|
/frameworks/base/services/incremental/ |
D | IncrementalService.cpp | 99 static const Constants& constants() { in constants() function 172 return std::string(constants().mountKeyPrefix) += res; in toMountKey() 237 return makeUniqueName(constants().mountpointMdPrefix); in makeBindMdName() 241 const auto markerPath = path::c_str(path::join(root, constants().readLogsDisabledMarkerName)); in checkReadLogsDisabledMarker() 260 incrementalService.mVold->unmountIncFs(path::join(root, constants().mount)); in ~IncFsMount() 269 base::StringAppendF(&name, "%.*s_%d_%d", int(constants().storagePrefix.size()), in makeStorage() 270 constants().storagePrefix.data(), id, no); in makeStorage() 271 auto fullName = path::join(root, constants().mount, name); in makeStorage() 335 rmDirContent(path::join(root, constants().backing).c_str()); in cleanupFilesystem() 336 ::rmdir(path::join(root, constants().backing).c_str()); in cleanupFilesystem() [all …]
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 23 // These constants are defined in hardware/interfaces/health/1.0/types.hal 38 // Note that NONE is not in BatteryManager.java's constants. 50 // These constants are defined in hardware/interfaces/health/1.0/types.hal 85 // These constants are defined in hardware/interfaces/thermal/1.0/types.hal 108 // These constants are defined in hardware/interfaces/thermal/2.0/types.hal. 130 // These constants are defined in hardware/interfaces/thermal/2.0/types.hal.
|
/frameworks/rs/script_api/ |
D | GenerateDocumentation.cpp | 289 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, in writeSummaryTables() argument 294 for (auto e : constants) { in writeSummaryTables() 642 const auto& constants = specFile.getDocumentedConstants(); in writeDetailedDocumentationFile() local 646 writeSummaryTables(&file, constants, types, functions, NON_DEPRECATED_ONLY, false); in writeDetailedDocumentationFile() 647 writeSummaryTables(&file, constants, types, functions, DEPRECATED_ONLY, false); in writeDetailedDocumentationFile() 650 if (!constants.empty()) { in writeDetailedDocumentationFile() 652 for (auto i : constants) { in writeDetailedDocumentationFile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/constants/ |
D | KeyguardBouncerConstants.kt | 18 package com.android.systemui.keyguard.shared.constants
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 434 AppServiceConnection(Context context, int userId, AppBindingConstants constants, in AppServiceConnection() argument 438 constants.SERVICE_RECONNECT_BACKOFF_SEC, in AppServiceConnection() 439 constants.SERVICE_RECONNECT_BACKOFF_INCREASE, in AppServiceConnection() 440 constants.SERVICE_RECONNECT_MAX_BACKOFF_SEC, in AppServiceConnection() 441 constants.SERVICE_STABLE_CONNECTION_THRESHOLD_SEC); in AppServiceConnection() 443 mConstants = constants; in AppServiceConnection()
|