/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/downloader/ |
D | DownloadedModelDatabaseTest.java | 27 import com.android.textclassifier.downloader.DownloadedModelDatabase.Manifest; 85 Manifest manifest = in insertManifestAndRead() 86 Manifest.create(MANIFEST_URL, Manifest.STATUS_SUCCEEDED, /* failureCounts= */ 0); in insertManifestAndRead() 88 List<Manifest> manifests = db.dao().queryAllManifests(); in insertManifestAndRead() 94 Manifest manifest = in insertManifestAndDelete() 95 Manifest.create(MANIFEST_URL, Manifest.STATUS_SUCCEEDED, /* failureCounts= */ 0); in insertManifestAndDelete() 98 List<Manifest> manifests = db.dao().queryAllManifests(); in insertManifestAndDelete() 106 Manifest manifest = in insertManifestModelCrossRefAndRead() 107 Manifest.create(MANIFEST_URL, Manifest.STATUS_SUCCEEDED, /* failureCounts= */ 0); in insertManifestModelCrossRefAndRead() 120 Manifest manifest = in insertManifestModelCrossRefAndDelete() [all …]
|
D | DownloadedModelManagerImplTest.java | 27 import com.android.textclassifier.downloader.DownloadedModelDatabase.Manifest; 164 Manifest manifest = downloadedModelManagerImpl.getManifest("manifestUrl"); in registerManifestDownloadFailure() 165 assertThat(manifest.getStatus()).isEqualTo(Manifest.STATUS_FAILED); in registerManifestDownloadFailure() 276 .isEqualTo(Manifest.STATUS_FAILED); in onDownloadCompleted_cleanUpFailureRecords() 368 .insert(Manifest.create(manifestUrl, Manifest.STATUS_SUCCEEDED, /* failureCounts= */ 0)); in registerManifestToDB()
|
/external/libtextclassifier/java/src/com/android/textclassifier/downloader/ |
D | DownloadedModelDatabase.java | 48 DownloadedModelDatabase.Manifest.class, 84 abstract static class Manifest { class in DownloadedModelDatabase 110 public static Manifest create(String manifestUrl, @StatusDef int status, int failureCounts) { in create() 128 entity = Manifest.class, 170 entity = Manifest.class, 234 abstract List<Manifest> queryAllManifests(); in queryAllManifests() 250 abstract List<Manifest> queryManifestWithManifestUrl(String manifestUrl); in queryManifestWithManifestUrl() 265 abstract List<Manifest> queryUnusedManifests(); in queryUnusedManifests() 270 abstract List<Manifest> queryUnusedManifestFailureRecords(List<String> manifestUrlsToKeep); in queryUnusedManifestFailureRecords() 283 abstract void insert(Manifest manifest); in insert() [all …]
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowColorDisplayManager.java | 5 import android.Manifest; 37 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 44 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 52 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 59 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 67 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 74 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 82 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 90 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS) 98 @RequiresPermission(Manifest.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS)
|
D | ShadowImsMmTelManager.java | 5 import android.Manifest; 76 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 90 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 91 android.Manifest.permission.READ_PRECISE_PHONE_STATE 105 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) 114 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 115 android.Manifest.permission.READ_PRECISE_PHONE_STATE 238 Manifest.permission.READ_PRIVILEGED_PHONE_STATE, 239 Manifest.permission.READ_PRECISE_PHONE_STATE 251 @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE) [all …]
|
/external/gson/gson/src/test/java/com/google/gson/regression/ |
D | OSGiTest.java | 24 import java.util.jar.Manifest; 30 Manifest mf = findManifest("com.google.gson"); in testComGoogleGsonAnnotationsPackage() 37 Manifest mf = findManifest("com.google.gson"); in testSunMiscImportPackage() 49 private Manifest findManifest(String pkg) throws IOException { in findManifest() 53 Manifest mf = new Manifest(is); in findManifest()
|
/external/guava/android/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 47 import java.util.jar.Manifest; 250 Manifest manifest = manifestClasspath("nosuchscheme:an_invalid^path"); in testGetClassPathFromManifest_badClassPath() 256 Manifest manifest = manifestClasspath("file:the^file.jar"); in testGetClassPathFromManifest_pathWithStrangeCharacter() 264 Manifest manifest = manifestClasspath("with/relative/dir"); in testGetClassPathFromManifest_relativeDirectory() 272 Manifest manifest = manifestClasspath("with/relative.jar"); in testGetClassPathFromManifest_relativeJar() 280 Manifest manifest = manifestClasspath("current.jar"); in testGetClassPathFromManifest_jarInCurrentDirectory() 287 Manifest manifest = manifestClasspath("file:/with/absolute/dir"); in testGetClassPathFromManifest_absoluteDirectory() 294 Manifest manifest = manifestClasspath("file:/with/absolute.jar"); in testGetClassPathFromManifest_absoluteJar() 301 Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar relative/dir"); in testGetClassPathFromManifest_multiplePaths() 312 Manifest manifest = manifestClasspath(" relative.jar"); in testGetClassPathFromManifest_leadingBlanks() [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 53 import java.util.jar.Manifest; 309 Manifest manifest = manifestClasspath("nosuchscheme:an_invalid^path"); in testGetClassPathFromManifest_badClassPath() 315 Manifest manifest = manifestClasspath("file:the^file.jar"); in testGetClassPathFromManifest_pathWithStrangeCharacter() 323 Manifest manifest = manifestClasspath("with/relative/dir"); in testGetClassPathFromManifest_relativeDirectory() 331 Manifest manifest = manifestClasspath("with/relative.jar"); in testGetClassPathFromManifest_relativeJar() 339 Manifest manifest = manifestClasspath("current.jar"); in testGetClassPathFromManifest_jarInCurrentDirectory() 346 Manifest manifest = manifestClasspath("file:/with/absolute/dir"); in testGetClassPathFromManifest_absoluteDirectory() 353 Manifest manifest = manifestClasspath("file:/with/absolute.jar"); in testGetClassPathFromManifest_absoluteJar() 360 Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar relative/dir"); in testGetClassPathFromManifest_multiplePaths() 371 Manifest manifest = manifestClasspath(" relative.jar"); in testGetClassPathFromManifest_leadingBlanks() [all …]
|
/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/notimportant/ |
D | DemoBase.java | 4 import android.Manifest; 74 …if (ActivityCompat.shouldShowRequestPermissionRationale(this, Manifest.permission.WRITE_EXTERNAL_S… in requestStoragePermission() 79 …ActivityCompat.requestPermissions(DemoBase.this, new String[]{Manifest.permission.WRITE_EXTERNAL_S… in requestStoragePermission() 85 …ActivityCompat.requestPermissions(DemoBase.this, new String[]{Manifest.permission.WRITE_EXTERNAL_S… in requestStoragePermission()
|
/external/dagger2/tools/shader/ |
D | build.gradle | 17 import java.util.jar.Manifest; 46 private Manifest manifest; 56 manifest = new Manifest(context.is); 58 Manifest toMerge = new Manifest(context.is);
|
/external/pigweed/pw_software_update/ |
D | manifest_accessor.cc | 40 Manifest::Fields::kTargetsMetadata))[kTopLevelTargetsName]; in FromManifest() 43 manifest.AsBytes(static_cast<uint32_t>(Manifest::Fields::kUserManifest)); in FromManifest() 71 static_cast<uint32_t>(Manifest::Fields::kTargetsMetadata), in Export() 84 static_cast<uint32_t>(Manifest::Fields::kUserManifest), in Export()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/instr/ |
D | SignatureRemover.java | 21 import java.util.jar.Manifest; 89 final Manifest mf = new Manifest(in); in filterEntry()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/mobileer/oboetester/ |
D | BaseOboeTesterActivity.java | 19 import android.Manifest; 54 Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED); in isRecordPermissionGranted() 60 new String[]{Manifest.permission.RECORD_AUDIO}, in requestRecordPermission()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
D | SignatureRemoverTest.java | 23 import java.util.jar.Manifest; 119 private static Manifest createManifest(final byte[] bytes) in createManifest() 121 return new Manifest(new ByteArrayInputStream(bytes)); in createManifest()
|
/external/jacoco/org.jacoco.agent.test/src/org/jacoco/agent/ |
D | AgentJarTest.java | 22 import java.util.jar.Manifest; 83 final Manifest manifest = new Manifest(zip); in assertAgentContents()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCrossProfileApps.java | 27 import android.Manifest; 28 import android.Manifest.permission; 76 Manifest.permission.INTERACT_ACROSS_PROFILES); 292 allOf={android.Manifest.permission.MANAGE_APP_OPS_MODES, 293 android.Manifest.permission.INTERACT_ACROSS_USERS}) 363 Manifest.permission.INTERACT_ACROSS_PROFILES); in canUserAttemptToConfigureInteractAcrossProfiles()
|
/external/turbine/java/com/google/turbine/main/ |
D | Main.java | 70 import java.util.jar.Manifest; 416 ManifestProto.Manifest.Builder manifest = ManifestProto.Manifest.newBuilder(); in writeManifestProto() 447 private static void writeManifest(JarOutputStream jos, Manifest manifest) throws IOException { in writeManifest() 455 private static Manifest manifest() { in manifest() 456 Manifest manifest = new Manifest(); in manifest() 467 private static Manifest manifest(TurbineOptions turbineOptions) { in manifest() 468 Manifest manifest = manifest(); in manifest()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | MainActivity.java | 21 import android.Manifest; 423 Manifest.permission.WRITE_EXTERNAL_STORAGE); in attemptSaveAndShareLog() 429 new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, in attemptSaveAndShareLog() 436 Manifest.permission.WRITE_EXTERNAL_STORAGE); in attemptSaveLog() 441 new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, in attemptSaveLog() 448 Manifest.permission.WRITE_EXTERNAL_STORAGE); in attemptClearLog() 453 new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, in attemptClearLog() 608 Manifest.permission.WRITE_EXTERNAL_STORAGE); in requestSystraceWritePermission() 611 new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, in requestSystraceWritePermission()
|
/external/emma/core/java12/com/vladium/util/ |
D | IPathEnumerator.java | 23 import java.util.jar.Manifest; 50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); in handleArchiveStart() 223 Manifest manifest = in.getManifest (); // can be null in enumeratePathArchive() 291 private static Manifest readManifestViaJarFile (final File archive) in readManifestViaJarFile() 293 Manifest result = null; in readManifestViaJarFile()
|
/external/grpc-grpc/src/objective-c/tests/Tests.xcodeproj/ |
D | project.pbxproj | 492 F58F17E425446B15028B9F74 /* [CP] Check Pods Manifest.lock */, 512 80E2DDD2EC04A4009F45E933 /* [CP] Check Pods Manifest.lock */, 532 483CDBBAEAEFCB530ADDDDD5 /* [CP] Check Pods Manifest.lock */, 551 252A376345E38FD452A89C3D /* [CP] Check Pods Manifest.lock */, 570 F3D5B2CDA172580341682830 /* [CP] Check Pods Manifest.lock */, 589 C0F7B1FF6F88CC5FBF362F4C /* [CP] Check Pods Manifest.lock */, 610 914ADDD7106BA9BB8A7E569F /* [CP] Check Pods Manifest.lock */, 647 B2986CEEE8CDD4901C97598B /* [CP] Check Pods Manifest.lock */, 667 4C406327D3907A5E5FBA8AC9 /* [CP] Check Pods Manifest.lock */, 687 5C20DCCB71C3991E6FE78C22 /* [CP] Check Pods Manifest.lock */, [all …]
|
/external/cronet/base/android/java/src/org/chromium/base/ |
D | RadioUtils.java | 7 import android.Manifest; 54 Manifest.permission.ACCESS_NETWORK_STATE, Process.myPid(), in haveAccessNetworkState() 67 Manifest.permission.ACCESS_WIFI_STATE, Process.myPid(), Process.myUid()) in haveAccessWifiState()
|
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/utils/ |
D | ManifestUtils.kt | 17 import java.util.jar.Manifest in <lambda>() 28 val manifest = Manifest(inputStream) in <lambda>()
|
/external/grpc-grpc/test/cpp/cocoapods/GRPCCppTests.xcodeproj/ |
D | project.pbxproj | 108 6D8317CF72F9E252442662F8 /* [CP] Check Pods Manifest.lock */, 128 4844599DC62113265AB660B3 /* [CP] Check Pods Manifest.lock */, 230 4844599DC62113265AB660B3 /* [CP] Check Pods Manifest.lock */ = { 237 "${PODS_ROOT}/Manifest.lock", 239 name = "[CP] Check Pods Manifest.lock"; 245 …shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /de… 248 6D8317CF72F9E252442662F8 /* [CP] Check Pods Manifest.lock */ = { 255 "${PODS_ROOT}/Manifest.lock", 257 name = "[CP] Check Pods Manifest.lock"; 263 …shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /de…
|
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/ |
D | MainActivity.kt | 19 import android.Manifest in <lambda>() 60 if (ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) in <lambda>() 65 arrayOf(Manifest.permission.RECORD_AUDIO), in <lambda>() 120 if (ContextCompat.checkSelfPermission(this, Manifest.permission.RECORD_AUDIO) in <lambda>()
|
/external/robolectric/integration_tests/androidx_test/src/test/java/org/robolectric/integrationtests/axt/ |
D | GrantPermissionRuleTest.java | 6 import android.Manifest.permission; 25 GrantPermissionRule.grant(android.Manifest.permission.READ_CONTACTS);
|