| /cts/tests/tests/widget/src/android/widget/cts/ |
| D | TextViewStyleShortcutTest.java | 179 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testStyleShortcutEnabled() local 205 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testBold() local 223 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testBoldOnlySelectedRegion() local 247 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testBoldSelectIntersectedRegion() local 273 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testBoldSelectCoveredRegion() local 299 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testBoldSelectSubRegion() local 320 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testItalic() local 338 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testItalicOnlySelectedRegion() local 362 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testItalicSelectIntersectedRegion() local 388 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testItalicSelectCoveredRegion() local [all …]
|
| D | TextViewKeyboardShortcutTest.java | 50 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testUndoInvoke() local 76 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testRedoInvoke_byCtrlShiftZ() local 112 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testRedoInvoke_byCtrlY() local
|
| /cts/tests/tests/nativemidi/java/android/nativemidi/cts/ |
| D | NativeMidiEchoTest.java | 496 public native int openNativeMidiDevice(long ctx, MidiDevice device); in openNativeMidiDevice() 497 public native int closeNativeMidiDevice(long ctx); in closeNativeMidiDevice() 499 public native int startReadingMidi(long ctx, int portNumber); in startReadingMidi() 500 public native int stopReadingMidi(long ctx); in stopReadingMidi() 502 public native int startWritingMidi(long ctx, int portNumber); in startWritingMidi() 503 public native int stopWritingMidi(long ctx); in stopWritingMidi() 505 public native int writeMidi(long ctx, byte[] data, int offset, int length); in writeMidi() 506 public native int writeMidiWithTimestamp(long ctx, byte[] data, int offset, int length, in writeMidiWithTimestamp() 508 public native int flushSentMessages(long ctx); in flushSentMessages() 511 public native int getNumSends(long ctx); in getNumSends() [all …]
|
| /cts/tests/tests/packageinstaller/contentprovider/src/android/packageinstaller/contentprovider/cts/multiuser/ |
| D | ContentProviderMultiUserTests.kt | 121 val ctx = instrumentation.context in <lambda>() constant 129 val ctx = instrumentation.context in <lambda>() constant 145 val ctx = instrumentation.context in <lambda>() constant 160 val ctx = instrumentation.context in <lambda>() constant 175 val ctx = instrumentation.context in <lambda>() constant 209 val ctx = instrumentation.context in <lambda>() constant 233 val ctx = instrumentation.context in <lambda>() constant 257 val ctx = instrumentation.context in <lambda>() constant 281 val ctx = instrumentation.context in <lambda>() constant
|
| /cts/tests/tests/webkit/src/android/webkit/cts/ |
| D | TestProcessClientTest.java | 42 protected void runOnUiThread(Context ctx) throws Throwable { in runOnUiThread() 53 public void run(Context ctx) throws Throwable { in run() 79 public void run(Context ctx) throws Throwable { in run() 101 public void run(Context ctx) throws Throwable { in run() 122 public void run(Context ctx) throws Throwable { in run()
|
| D | WebViewStartupTest.java | 59 private static void runCurrentWebViewPackageTest(Context ctx, boolean alreadyOnMainThread) in runCurrentWebViewPackageTest() 103 protected void runOnUiThread(Context ctx) throws Throwable { in runOnUiThread() 121 public void run(Context ctx) throws Throwable { in run() 138 protected void runOnUiThread(Context ctx) { in runOnUiThread() 161 public void run(Context ctx) { in run() 192 public void run(Context ctx) throws InterruptedException { in run()
|
| D | PacProcessorTest.java | 59 public void run(Context ctx) { in run() 99 public void run(Context ctx) { in run() 118 public void run(Context ctx) { in run()
|
| D | WebViewDataDirTest.java | 65 public void run(Context ctx) { in run() 101 public void run(Context ctx) { in run() 118 public void run(Context ctx) { in run() 137 public void run(Context ctx) { in run()
|
| D | TestProcessClient.java | 70 public abstract void run(Context ctx) throws Throwable; in run() 79 public final void run(Context ctx) throws Throwable { in run() 95 protected abstract void runOnUiThread(Context ctx) throws Throwable; in runOnUiThread() 105 public void run(Context ctx) { in run()
|
| /cts/tests/tests/nativemidi/jni/ |
| D | native-lib.cpp | 356 JNIEnv* env, jobject, jlong ctx, jobject deviceObj) { in Java_android_nativemidi_cts_NativeMidiEchoTest_openNativeMidiDevice() 363 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_closeNativeMidiDevice() 373 JNIEnv*, jobject, jlong ctx, jint portNumber) { in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi() 393 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_stopWritingMidi() 409 jlong ctx, jbyteArray data, jint offset, jint numBytes, jlong timestamp) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp() 439 JNIEnv* env, jobject j_object, jlong ctx, jbyteArray data, jint offset, jint numBytes) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidi() 445 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_flushSentMessages() 451 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumSends() 456 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumBytesSent() 461 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumReceives() [all …]
|
| /cts/tests/tests/security/src/android/security/cts/ |
| D | ContentProviderMultiUserTests.kt | 97 val ctx = inst.context in testAccessFromInitialUser() constant 106 val ctx = inst.context in testAccessFromSecondaryUser() constant 123 val ctx = inst.context in testCrossUserAccess() constant 139 val ctx = inst.context in testCrossUserAccessNoPermission() constant
|
| /cts/tests/tests/wifi/src/android/net/wifi/cts/ |
| D | WifiBuildCompat.java | 55 private static long getWifiApexVersionCode(@NonNull Context ctx) { in getWifiApexVersionCode() 74 public static boolean isPlatformOrWifiModuleAtLeastS(@NonNull Context ctx) { in isPlatformOrWifiModuleAtLeastS()
|
| /cts/tests/tests/libthermalndk/jni/ |
| D | NativeThermalTest.cpp | 63 AThermalTestContext *ctx = static_cast<AThermalTestContext *>(data); in onStatusChange() local 75 AThermalTestContext *ctx = static_cast<AThermalTestContext *>(data); in onHeadroomChange() local 101 AThermalTestContext ctx; in testGetCurrentThermalStatus() local 129 AThermalTestContext ctx; in testRegisterThermalStatusListener() local 191 AThermalTestContext ctx; in testThermalStatusRegisterNullListener() local 236 AThermalTestContext ctx; in testThermalStatusListenerDoubleRegistration() local 306 AThermalTestContext ctx; in testRegisterThermalHeadroomListener() local 390 AThermalTestContext ctx; in testThermalHeadroomRegisterNullListener() local 433 AThermalTestContext ctx; in testThermalHeadroomListenerDoubleRegistration() local 508 AThermalTestContext ctx; in testGetThermalHeadroom() local [all …]
|
| /cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0925/ |
| D | t4t.cpp | 85 static bool Init_UpdateNDef(Fuzz_Context& ctx) { in Init_UpdateNDef() 101 static bool Fuzz_Init(Fuzz_Context& ctx) { in Fuzz_Init() 151 static void Fuzz_Run(Fuzz_Context& ctx) { in Fuzz_Run() 201 Fuzz_Context ctx(SubType % SUB_TYPE_MAX, Data); in Type4_Fuzz() local
|
| /cts/tests/contextualsearch/caller/src/android/contextualsearch/caller/ |
| D | CallerFgService.kt | 31 val ctx = getApplicationContext() in onStartCommand() constant
|
| /cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
| D | ManagedProfileCallerIdAccessTest.java | 211 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileCallerIdAccess_blocklistPackages_hasProperAccess() local 232 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileCallerIdAccess_allowlistPackages_hasProperAccess() local 255 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileCallerIdAccess_allowlistAndSystemPackages_hasProperAccess() local
|
| D | ManagedProfileContactsAccessTest.java | 211 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileContactsAccess_blocklistPackages_hasProperAccess() local 232 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileContactsAccess_allowlistPackages_hasProperAccess() local 255 Context ctx = TestApis.context().instrumentedContext(); in hasManagedProfileContactsAccess_allowlistAndSystemPackages_hasProperAccess() local
|
| /cts/tests/tests/text/src/android/text/cts/ |
| D | FontResourceTest.java | 62 private TextView inflateWithRemoteViews(Context ctx) { in inflateWithRemoteViews() 67 private TextView inflateWithInflator(Context ctx) { in inflateWithInflator()
|
| D | SerifFallbackTest.java | 74 Context ctx = InstrumentationRegistry.getInstrumentation().getTargetContext(); in isWearDevice() local
|
| /cts/tests/tests/media/common/jni/ |
| D | md5_utils.cpp | 51 MD5Init(struct MD5Context *ctx) { in MD5Init() 66 MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) { in MD5Update() 108 MD5Final(md5byte digest[16], struct MD5Context *ctx) { in MD5Final()
|
| /cts/tests/tests/keystore/src/android/keystore/cts/util/ |
| D | StrictModeDetector.java | 31 public StrictModeDetector(Context ctx) { in StrictModeDetector()
|
| /cts/tests/tests/database/src/android/database/sqlite/cts/ |
| D | DatabaseTestUtils.java | 46 Context ctx = InstrumentationRegistry.getInstrumentation().getContext(); in getDbInfoOutput() local
|
| /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | DropBoxReceiver.java | 36 public DropBoxReceiver(Context ctx, String wantTag, Object... wantInStackTrace) { in DropBoxReceiver()
|
| /cts/tests/tests/jni/src/android/jni/cts/ |
| D | ClassLoaderStaticNonce.java | 26 static Object ctx; field in ClassLoaderStaticNonce
|
| /cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
| D | MediaTranscodingTestUtil.java | 71 static VideoFileInfo extractVideoFileInfo(Context ctx, Uri videoUri) throws IOException { in extractVideoFileInfo() 127 static void dumpYuvToExternal(final Context ctx, Uri yuvUri) { in dumpYuvToExternal() 142 static VideoTranscodingStatistics computeStats(final Context ctx, final Uri sourceMp4, in computeStats() 175 private static void decodeMp4ToYuv(final Context ctx, final Uri fileUri, final Uri yuvUri) in decodeMp4ToYuv() 432 Context ctx, in computePsnr()
|