Home
last modified time | relevance | path

Searched refs:columnName (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DTableChangeTest.kt37 columnName = "fakeName", in setString_isString()
53 columnName = "fakeName", in setString_null()
69 columnName = "fakeName", in setBoolean_isBoolean()
85 columnName = "fakeName", in setInt_isInt()
101 columnName = "fakeName", in setInt_null()
117 columnName = "fakeName", in setThenReset_isEmpty()
124 columnName = "name", in setThenReset_isEmpty()
134 val underTest = TableChange(columnPrefix = "fakePrefix", columnName = "fakeName") in getName_hasPrefix()
142 val underTest = TableChange(columnPrefix = "", columnName = "fakeName") in getName_noPrefix()
149 val underTest = TableChange(columnName = "name", isInitial = false) in getVal_notInitial()
[all …]
DTableLogBufferTest.kt494 underTest.logChange(prefix = "", columnName = "first", value = "val1", isInitial = true) in <lambda>()
496 underTest.logChange(prefix = "", columnName = "second", value = "val2", isInitial = true) in <lambda>()
498 underTest.logChange(prefix = "", columnName = "first", value = 11, isInitial = false) in <lambda>()
500 underTest.logChange(prefix = "", columnName = "first", value = false, isInitial = false) in <lambda>()
502 underTest.logChange(prefix = "", columnName = "third", value = 33, isInitial = true) in <lambda>()
582 columnName = "name", in <lambda>()
620 columnName = "N".repeat(MAX_STRING_LENGTH + 10), in <lambda>()
637 row.logChange(columnName = "N".repeat(MAX_STRING_LENGTH + 10), "value") in <lambda>()
654 columnName = "name", in <lambda>()
715 underTest.logChange(prefix = "", columnName = "willBeEvicted", value = "evictedValue") in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/log/
DTableLogBufferBase.kt28 fun logChange(prefix: String, columnName: String, value: String?) { in logChange()
29 logChange(prefix, columnName, value, isInitial = false) in logChange()
33 fun logChange(prefix: String, columnName: String, value: String?, isInitial: Boolean) in logChange()
40 fun logChange(prefix: String, columnName: String, value: Boolean) { in logChange()
41 logChange(prefix, columnName, value, isInitial = false) in logChange()
45 fun logChange(prefix: String, columnName: String, value: Boolean, isInitial: Boolean) in logChange()
52 fun logChange(prefix: String, columnName: String, value: Int?) { in logChange()
53 logChange(prefix, columnName, value, isInitial = false) in logChange()
57 fun logChange(prefix: String, columnName: String, value: Int?, isInitial: Boolean)
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/
DDiffable.kt91 columnName: String, in logDiffsForTable()
95 tableLogBuffer.logChange(columnPrefix, columnName, initialValue, isInitial = true) in logDiffsForTable()
100 tableLogBuffer.logChange(columnPrefix, columnName, newVal) in logDiffsForTable()
110 columnName: String, in logDiffsForTable()
114 tableLogBuffer.logChange(columnPrefix, columnName, initialValue, isInitial = true) in logDiffsForTable()
119 tableLogBuffer.logChange(columnPrefix, columnName, newVal) in logDiffsForTable()
129 columnName: String, in logDiffsForTable()
133 tableLogBuffer.logChange(columnPrefix, columnName, initialValue, isInitial = true) in logDiffsForTable()
138 tableLogBuffer.logChange(columnPrefix, columnName, newVal) in logDiffsForTable()
148 columnName: String, in logDiffsForTable()
[all …]
DTableLogBuffer.kt167 override fun logChange(prefix: String, columnName: String, value: String?, isInitial: Boolean) { in logChange()
168 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange()
176 override fun logChange(prefix: String, columnName: String, value: Boolean, isInitial: Boolean) { in logChange()
177 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange()
185 override fun logChange(prefix: String, columnName: String, value: Int?, isInitial: Boolean) { in logChange()
186 logChange(systemClock.currentTimeMillis(), prefix, columnName, value, isInitial) in logChange()
195 columnName: String, in logChange()
200 val change = obtain(timestamp, prefix, columnName, isInitial) in logChange()
209 columnName: String, in logChange()
214 val change = obtain(timestamp, prefix, columnName, isInitial) in logChange()
[all …]
DTableChange.kt31 private var columnName: String = "", variable in com.android.systemui.log.table.TableChange
42 this.columnName = columnName.take(MAX_STRING_LENGTH)
47 fun reset(timestamp: Long, columnPrefix: String, columnName: String, isInitial: Boolean) { in reset()
50 this.columnName = columnName.take(MAX_STRING_LENGTH) in reset()
78 reset(change.timestamp, change.columnPrefix, change.columnName, change.isInitial) in updateTo()
89 return columnName.isNotBlank() && type != DataType.EMPTY in hasData()
94 "$columnPrefix.$columnName" in getName()
96 columnName in getName()
100 fun getColumnName() = columnName in getColumnName()
DTableRowLogger.kt28 fun logChange(columnName: String, value: String?)
31 fun logChange(columnName: String, value: Boolean)
34 fun logChange(columnName: String, value: Int)
/frameworks/opt/telephony/testing/src/com/android/internal/telephony/testing/
DCursorSubject.java100 public CursorSubject hasRowValue(String columnName, Object value) { in hasRowValue() argument
101 int index = mActual.getColumnIndex(columnName); in hasRowValue()
104 check("Row[%s]: %s", columnName, index).that(mActual.getString(index)) in hasRowValue()
110 public IntegerSubject intField(String columnName) { in intField() argument
111 int index = mActual.getColumnIndex(columnName); in intField()
119 public StringSubject stringField(String columnName) { in stringField() argument
120 int index = mActual.getColumnIndex(columnName); in stringField()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DFullMobileConnectionRepository.kt79 columnName = "isCarrierMerged", in <lambda>()
134 columnName = COL_EMERGENCY, in <lambda>()
149 columnName = COL_ROAMING, in <lambda>()
160 columnName = COL_OPERATOR, in <lambda>()
175 columnName = COL_IS_IN_SERVICE, in <lambda>()
186 columnName = COL_IS_NTN, in <lambda>()
201 columnName = COL_IS_GSM, in <lambda>()
212 columnName = COL_CDMA_LEVEL, in <lambda>()
223 columnName = COL_PRIMARY_LEVEL, in <lambda>()
262 columnName = COL_CARRIER_NETWORK_CHANGE, in <lambda>()
[all …]
DMobileConnectionsRepositoryImpl.kt154 columnName = "carrierMergedSubId", in <lambda>()
219 columnName = "subscriptions", in <lambda>()
245 columnName = "activeSubId", in <lambda>()
272 columnName = "defaultSubId", in <lambda>()
324 columnName = "isAnySimSecure", in <lambda>()
347 columnName = "mobileIsDefault", in <lambda>()
359 columnName = "hasCarrierMergedConnection", in <lambda>()
371 columnName = "defaultConnectionIsValidated", in <lambda>()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java166 public int getColumnIndex(String columnName) { in getColumnIndex() argument
179 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex()
182 Log.e(TAG, "requesting column name with table name -- " + columnName, e); in getColumnIndex()
183 columnName = columnName.substring(periodIndex + 1); in getColumnIndex()
186 Integer i = mColumnNameMap.get(columnName); in getColumnIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
DDemoMobileConnectionRepository.kt66 columnName = COL_CARRIER_ID, in <lambda>()
77 columnName = "inflate", in <lambda>()
91 columnName = COL_EMERGENCY, in <lambda>()
102 columnName = COL_ROAMING, in <lambda>()
113 columnName = COL_OPERATOR, in <lambda>()
124 columnName = COL_IS_IN_SERVICE, in <lambda>()
135 columnName = COL_IS_NTN, in <lambda>()
146 columnName = COL_IS_GSM, in <lambda>()
157 columnName = COL_CDMA_LEVEL, in <lambda>()
168 columnName = COL_PRIMARY_LEVEL, in <lambda>()
[all …]
/frameworks/base/core/java/android/database/
DAbstractCursor.java337 public int getColumnIndex(String columnName) { in getColumnIndex() argument
339 final int periodIndex = columnName.lastIndexOf('.'); in getColumnIndex()
342 Log.e(TAG, "requesting column name with table name -- " + columnName, e); in getColumnIndex()
343 columnName = columnName.substring(periodIndex + 1); in getColumnIndex()
349 if (columnNames[i].equalsIgnoreCase(columnName)) { in getColumnIndex()
356 Log.w("AbstractCursor", "Unknown column " + columnName); in getColumnIndex()
363 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() argument
364 final int index = getColumnIndex(columnName); in getColumnIndexOrThrow()
372 throw new IllegalArgumentException("column '" + columnName in getColumnIndexOrThrow()
DCursorWrapper.java85 public int getColumnIndex(String columnName) { in getColumnIndex() argument
86 return mCursor.getColumnIndex(columnName); in getColumnIndex()
90 public int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() argument
92 return mCursor.getColumnIndexOrThrow(columnName); in getColumnIndexOrThrow()
DCursor.java200 @IntRange(from = -1) int getColumnIndex(String columnName); in getColumnIndex() argument
213 @IntRange(from = 0) int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/shared/model/
DGammaBrightness.kt37 columnName: String, in <lambda>()
41 tableLogBuffer.logChange(columnPrefix, columnName, initialValue?.value, isInitial = true) in <lambda>()
46 tableLogBuffer.logChange(columnPrefix, columnName, newVal.value) in <lambda>()
DLinearBrightness.kt46 columnName: String, in logDiffForTable()
52 columnName, in logDiffForTable()
61 tableLogBuffer.logChange(columnPrefix, columnName, newVal.loggableString) in logDiffForTable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/model/
DCommunalMediaModel.kt37 columnName = "isMediaActive", in logDiffs()
44 columnName = "mediaCreationTimestamp", in logDiffs()
DCommunalEnabledState.kt57 columnName = reason.loggingString, in logDiffs()
66 row.logChange(columnName = reason.loggingString, value = contains(reason)) in logFull()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/
DWifiNetworkModelTest.kt253 override fun logChange(columnName: String, value: String?) { in <lambda>()
254 changes.add(Pair(columnName, value.toString())) in <lambda>()
257 override fun logChange(columnName: String, value: Int) { in <lambda>()
258 changes.add(Pair(columnName, value.toString())) in <lambda>()
261 override fun logChange(columnName: String, value: Boolean) { in <lambda>()
262 changes.add(Pair(columnName, value.toString())) in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionDatabaseManager.java699 @NonNull SubscriptionInfoInternal subInfo, @NonNull String columnName) { in getSubscriptionInfoFieldByColumnName() argument
700 if (SUBSCRIPTION_GET_METHOD_MAP.containsKey(columnName)) { in getSubscriptionInfoFieldByColumnName()
701 return SUBSCRIPTION_GET_METHOD_MAP.get(columnName).apply(subInfo); in getSubscriptionInfoFieldByColumnName()
703 throw new IllegalArgumentException("Invalid column name " + columnName); in getSubscriptionInfoFieldByColumnName()
719 public Object getSubscriptionProperty(int subId, @NonNull String columnName) { in getSubscriptionProperty() argument
723 + ", columnName=" + columnName); in getSubscriptionProperty()
726 return getSubscriptionInfoFieldByColumnName(subInfo, columnName); in getSubscriptionProperty()
743 public void setSubscriptionProperty(int subId, @NonNull String columnName, in setSubscriptionProperty() argument
745 if (SUBSCRIPTION_SET_INTEGER_METHOD_MAP.containsKey(columnName)) { in setSubscriptionProperty()
754 throw new ClassCastException("columnName=" + columnName + ", cannot cast " in setSubscriptionProperty()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/
DMobileIconsInteractor.kt158 columnName = "mobileIsDefault",
233 columnName = "filteredSubscriptions",
311 columnName = "forcingValidation",
343 columnName = "isSingleCarrier",
375 columnName = "isDefaultConnectionFailed",
/frameworks/base/telecomm/java/android/telecom/
DCallerInfo.java626 String columnName = null; in getColumnIndexForPersonId() local
631 columnName = RawContacts.CONTACT_ID; in getColumnIndexForPersonId()
637 columnName = Data.CONTACT_ID; in getColumnIndexForPersonId()
643 columnName = PhoneLookup._ID; in getColumnIndexForPersonId()
647 int columnIndex = (columnName != null) ? cursor.getColumnIndex(columnName) : -1; in getColumnIndexForPersonId()
648 if (VDBG) Log.v(TAG, "==> Using column '" + columnName in getColumnIndexForPersonId()
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java49 public int getColumnIndex(String columnName) { in getColumnIndex() argument
54 public int getColumnIndexOrThrow(String columnName) { in getColumnIndexOrThrow() argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DExportTestProvider.java157 public int getColumnIndex(String columnName) {
158 TestCase.assertEquals(Data.CONTACT_ID, columnName);

12