Home
last modified time | relevance | path

Searched refs:PREFIX (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java75 private static final String PREFIX = "OperationScheduler_"; field in OperationScheduler
151 boolean enabledState = mStorage.getBoolean(PREFIX + "enabledState", true); in getNextTimeMillis()
154 boolean permanentError = mStorage.getBoolean(PREFIX + "permanentError", false); in getNextTimeMillis()
161 int errorCount = mStorage.getInt(PREFIX + "errorCount", 0); in getNextTimeMillis()
163 long lastSuccessTimeMillis = getTimeBefore(PREFIX + "lastSuccessTimeMillis", now); in getNextTimeMillis()
164 long lastErrorTimeMillis = getTimeBefore(PREFIX + "lastErrorTimeMillis", now); in getNextTimeMillis()
165 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); in getNextTimeMillis()
166 long moratoriumSetMillis = getTimeBefore(PREFIX + "moratoriumSetTimeMillis", now); in getNextTimeMillis()
167 long moratoriumTimeMillis = getTimeBefore(PREFIX + "moratoriumTimeMillis", in getNextTimeMillis()
200 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0); in getLastSuccessTimeMillis()
[all …]
/frameworks/compile/slang/
Drs_cc_options.cpp39 #define PREFIX(NAME, VALUE) macro
40 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
46 #undef PREFIX
49 #define PREFIX(NAME, VALUE) const char *const NAME[] = VALUE; macro
50 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
54 #undef PREFIX
57 #define PREFIX(NAME, VALUE) macro
58 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
67 #undef PREFIX
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverterTest.java58 private static final String PREFIX = "package$databaseName/"; field in GenericDocumentToProtoConverterTest
61 PREFIX + SCHEMA_TYPE_1, SCHEMA_PROTO_1, PREFIX + SCHEMA_TYPE_2, SCHEMA_PROTO_2);
130 documentProto, PREFIX, SCHEMA_MAP); in testDocumentProtoConvert()
163 ImmutableMap.of(PREFIX + SCHEMA_TYPE_1, schemaTypeConfigProto); in testConvertDocument_whenPropertyHasEmptyList()
166 GenericDocumentToProtoConverter.toGenericDocument(documentProto, PREFIX, schemaMap); in testConvertDocument_whenPropertyHasEmptyList()
229 PREFIX + SCHEMA_TYPE_1, in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
231 PREFIX + SCHEMA_TYPE_2, in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
235 GenericDocumentToProtoConverter.toGenericDocument(documentProto, PREFIX, schemaMap); in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
DSchemaToProtoConverterTest.java75 TermMatchType.Code.PREFIX))) in testGetProto_Email()
88 TermMatchType.Code.PREFIX))) in testGetProto_Email()
135 TermMatchType.Code.PREFIX))) in testGetProto_MusicRecording()
DSnippetTest.java41 private static final String PREFIX = PrefixUtil.createPrefix(PACKAGE_NAME, DATABASE_NAME); field in SnippetTest
43 SchemaTypeConfigProto.newBuilder().setSchemaType(PREFIX + SCHEMA_TYPE).build();
46 PREFIX,
47 Collections.singletonMap(PREFIX + SCHEMA_TYPE, SCHEMA_TYPE_CONFIG_PROTO));
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java55 private static final String PREFIX = "rotator"; field in FileRotatorTest
72 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testEmpty()
90 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testCombine()
111 mBasePath, PREFIX, DAY_IN_MILLIS, WEEK_IN_MILLIS); in testRotate()
143 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testDelete()
173 mBasePath, PREFIX, MINUTE_IN_MILLIS, DAY_IN_MILLIS); in testThrowRestoresBackup()
206 mBasePath, PREFIX, SECOND_IN_MILLIS, SECOND_IN_MILLIS); in testOtherFilesAndMalformed()
234 mBasePath, PREFIX, HOUR_IN_MILLIS, YEAR_IN_MILLIS); in testQueryMatch()
282 mBasePath, PREFIX, DAY_IN_MILLIS, YEAR_IN_MILLIS); in testClockRollingBackwards()
331 mBasePath, PREFIX, HOUR_IN_MILLIS, DAY_IN_MILLIS); in testFuzz()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java45 public static final String PREFIX="com.android.packageinstaller."; field in PackageUtil
46 public static final String INTENT_ATTR_INSTALL_STATUS = PREFIX+"installStatus";
47 public static final String INTENT_ATTR_APPLICATION_INFO=PREFIX+"applicationInfo";
48 public static final String INTENT_ATTR_PERMISSIONS_LIST=PREFIX+"PermissionsList";
50 public static final String INTENT_ATTR_PACKAGE_NAME=PREFIX+"PackageName";
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DTimeouts.java60 private static final String PREFIX = "telephony.d2d."; field in Timeouts
72 return Settings.Secure.getLong(contentResolver, PREFIX + key, defaultValue); in get()
/frameworks/base/core/java/android/security/net/config/
DNetworkSecurityConfigProvider.java28 private static final String PREFIX = field in NetworkSecurityConfigProvider
34 put("TrustManagerFactory.PKIX", PREFIX + "RootTrustManagerFactorySpi"); in NetworkSecurityConfigProvider()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardTestUtilsTests.java63 .put(StructuredName.PREFIX, "D") in testShouldFailAtContentValueVerification()
84 .put(StructuredName.PREFIX, "\n") in testShouldFailAtLineVerification()
DVCardExporterTests.java68 .put(StructuredName.PREFIX, "AppropriatePrefix") in testStructuredNameBasic()
106 .put(StructuredName.PREFIX, "DoNotEmitPrefix1") in testStructuredNameUsePrimaryCommon()
115 .put(StructuredName.PREFIX, "AppropriatePrefix") in testStructuredNameUsePrimaryCommon()
129 .put(StructuredName.PREFIX, "DoNotEmitPrefix2") in testStructuredNameUsePrimaryCommon()
166 .put(StructuredName.PREFIX, "DoNotEmitPrefix1") in testStructuredNameUseSuperPrimaryCommon()
175 .put(StructuredName.PREFIX, "DoNotEmitPrefix2") in testStructuredNameUseSuperPrimaryCommon()
185 .put(StructuredName.PREFIX, "AppropriatePrefix") in testStructuredNameUseSuperPrimaryCommon()
194 .put(StructuredName.PREFIX, "DoNotEmitPrefix3") in testStructuredNameUseSuperPrimaryCommon()
236 .put(StructuredName.PREFIX, "AppropriatePrefix") in testStructuredNamePhoneticNameCommon()
301 .put(StructuredName.PREFIX, "DoNotEmitPrefix1") in testStructuredNameComplicatedCommon()
[all …]
DVCardJapanizationTests.java42 .put(StructuredName.PREFIX, "Dr.") in testNameUtf8Common()
70 .put(StructuredName.PREFIX, "Dr.") in testNameShiftJis()
92 .put(StructuredName.PREFIX, "Dr.") in testNameDoCoMo()
DVCardImporterTests.java479 .put(StructuredName.PREFIX, "D") in testV21BackslashCase()
633 .put(StructuredName.PREFIX, "Pos") in testComplicatedCase()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java72 public static final String PREFIX = "custom("; field in CustomTile
463 return PREFIX + name.flattenToShortString() + ")"; in toSpec()
467 final String action = spec.substring(PREFIX.length(), spec.length() - 1); in getComponentFromSpec()
475 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) { in getAction()
478 final String action = spec.substring(PREFIX.length(), spec.length() - 1); in getAction()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java50 private static final IpPrefix PREFIX = new IpPrefix(toInetAddress("75.208.6.0"), 24); field in LinkPropertiesUtilsTest
63 private static final RouteInfo RT_INFO1 = new RouteInfo(PREFIX, GATEWAY1, IF_NAME);
64 private static final RouteInfo RT_INFO2 = new RouteInfo(PREFIX, GATEWAY2, IF_NAME);
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java194 return TermMatchType.Code.PREFIX; in convertTermMatchTypeToProto()
207 case PREFIX: in convertTermMatchTypeFromProto()
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp67 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
77 #define PREFIX(NAME, VALUE) \ macro
80 #undef PREFIX
120 #define PREFIX(NAME, VALUE) \ macro
123 #undef PREFIX
126 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ argument
128 { PREFIX, NAME, HELPTEXT, METAVAR, kOpt_ ## ID, \
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSFactoryImpl.java227 if (tileSpec.startsWith(CustomTile.PREFIX)) { in createTileInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java124 if (spec.startsWith(CustomTile.PREFIX)) continue; in addCurrentAndStockTiles()
DTileAdapter.java536 if (spec.startsWith(CustomTile.PREFIX)) { in strip()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java423 if (mSpec.startsWith(CustomTile.PREFIX)) { in handleValueChanged()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageHelperTests.java40 protected final String PREFIX = "android.content.pm"; field in PackageHelperTests
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java436 if (!tileSpec.startsWith(CustomTile.PREFIX)) continue; in changeTiles()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java209 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in containsNonEmptyName()
295 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in appendNamePropertiesV40()
399 final String prefix = contentValues.getAsString(StructuredName.PREFIX); in appendNameProperties()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java129 .setTermMatchType(TermMatchType.Code.PREFIX) in testRewriteSchema_addType()
206 .PREFIX) in testRewriteSchema_addType()

12