Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/nativemidi/java/android/nativemidi/cts/
DNativeMidiEchoTest.java483 public native int openNativeMidiDevice(long ctx, MidiDevice device); in openNativeMidiDevice()
484 public native int closeNativeMidiDevice(long ctx); in closeNativeMidiDevice()
486 public native int startReadingMidi(long ctx, int portNumber); in startReadingMidi()
487 public native int stopReadingMidi(long ctx); in stopReadingMidi()
489 public native int startWritingMidi(long ctx, int portNumber); in startWritingMidi()
490 public native int stopWritingMidi(long ctx); in stopWritingMidi()
492 public native int writeMidi(long ctx, byte[] data, int offset, int length); in writeMidi()
493 public native int writeMidiWithTimestamp(long ctx, byte[] data, int offset, int length, in writeMidiWithTimestamp()
495 public native int flushSentMessages(long ctx); in flushSentMessages()
498 public native int getNumSends(long ctx); in getNumSends()
[all …]
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java82 public static void doAction(Context ctx, String actionCode, String requestCode) { in doAction()
120 private static void showApplicationOverlay(Context ctx, String requestCode) { in showApplicationOverlay()
147 private static void doOptimizedBleScan(Context ctx, String requestCode) { in doOptimizedBleScan()
154 private static void doUnoptimizedBleScan(Context ctx, String requestCode) { in doUnoptimizedBleScan()
220 private static void doGpsUpdate(Context ctx, String requestCode) { in doGpsUpdate()
265 private static void doScheduleJob(Context ctx, String requestCode) { in doScheduleJob()
291 private static void doNothingAsync(Context ctx, String requestCode, String actionCode) { in doNothingAsync()
309 private static void doSync(Context ctx, String requestCode) { in doSync()
347 Context ctx, CountDownLatch onReceiveLatch, IntentFilter intentFilter) { in registerReceiver()
367 private static void waitForReceiver(Context ctx, in waitForReceiver()
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp353 JNIEnv* env, jobject, jlong ctx, jobject deviceObj) { in Java_android_nativemidi_cts_NativeMidiEchoTest_openNativeMidiDevice()
360 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_closeNativeMidiDevice()
370 JNIEnv*, jobject, jlong ctx, jint portNumber) { in Java_android_nativemidi_cts_NativeMidiEchoTest_startWritingMidi()
390 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_stopWritingMidi()
406 jlong ctx, jbyteArray data, jint offset, jint numBytes, jlong timestamp) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()
436 JNIEnv* env, jobject j_object, jlong ctx, jbyteArray data, jint offset, jint numBytes) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidi()
442 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_flushSentMessages()
448 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumSends()
453 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumBytesSent()
458 JNIEnv*, jobject, jlong ctx) { in Java_android_nativemidi_cts_NativeMidiEchoTest_getNumReceives()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewDataDirTest.java41 public void run(Context ctx) { in run()
86 public void run(Context ctx) { in run()
106 public void run(Context ctx) { in run()
128 public void run(Context ctx) { in run()
DTestProcessClient.java63 public abstract void run(Context ctx); in run()
72 public void run(Context ctx) { in run()
DWebViewTest.java2620 final MockContext ctx = new MockContext(getActivity()); in testStartSafeBrowsingUseApplicationContext() local
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.cpp51 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/database/src/android/database/sqlite/cts/
DDatabaseTestUtils.java46 Context ctx = InstrumentationRegistry.getInstrumentation().getContext(); in getDbInfoOutput() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDropBoxReceiver.java35 public DropBoxReceiver(Context ctx, String wantTag, String... wantInStackTrace) { in DropBoxReceiver()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderStaticNonce.java26 static Object ctx; field in ClassLoaderStaticNonce
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8434/
Dpoc.c87 struct kgsl_drawctxt_create ctx; in trigger_kgsl_create_drawctx() local
94 struct kgsl_drawctxt_destroy ctx; in trigger_kgsl_free_drawctx() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp48 EVP_CIPHER_CTX ctx; in android_security_cts_EncryptionTest_aesIsFast() local
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTestAppInterface.java49 TestAppInterface(Context ctx, int jobId) { in TestAppInterface()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRefocusTest.java58 Context ctx = getContext(); in refocus() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java75 public void onReceive(Context ctx, Intent intent) { in onReceive()
105 public void onDeleted(Context ctx, int[] ids) { in onDeleted()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/
DUtils.java80 public static int convertDpToPixel(Context ctx, int dp) { in convertDpToPixel()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java492 Context ctx, CountDownLatch onReceiveLatch, IntentFilter intentFilter) { in registerReceiver()
513 private static void waitForReceiver(Context ctx, in waitForReceiver()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DAppPredictionServiceTest.java276 Context ctx = InstrumentationRegistry.getTargetContext(); in createTestPredictor() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java195 private void initializeTestCases(Context ctx) { in initializeTestCases()
/cts/tests/app/src/android/app/cts/
DPendingIntentTest.java215 public void onReceive(Context ctx, Intent intent) { in onReceive()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java219 Context ctx = InstrumentationRegistry.getContext(); in getSettings() local
/cts/tests/tests/text/src/android/text/style/cts/
DTextAppearanceSpanTest.java434 final Context ctx = mContext.createPackageContext(mContext.getPackageName(), in testRestrictContext() local
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp3662 AvailabilityContext *ctx = new AvailabilityContext(); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_initializeAvailabilityCallbacksNative() local
3684 AvailabilityContext* ctx = reinterpret_cast<AvailabilityContext*>(context); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_getAccessCallbacksCountAndResetNative() local
3698 AvailabilityContext* ctx = reinterpret_cast<AvailabilityContext*>(context); in Java_android_hardware_multiprocess_camera_cts_CameraEvictionTest_releaseAvailabilityCallbacksNative() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java62 Context ctx = InstrumentationRegistry.getTargetContext(); in getTempFile() local
/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayWithCompositionTest.java1324 Context ctx = getContext(); in onCreate() local

12