/cts/suite/audio_quality/lib/include/ |
D | Log.h | 26 class Log: public FileUtil { 36 static Log* Instance(const char* dirName = NULL); 46 Log(); 47 virtual ~Log(); 51 static Log* mInstance; 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | LogTest.java | 20 import android.util.Log; 39 Log.e(TAG, msg); in testLogOperations() 40 Log.e(TAG, msg, tr); in testLogOperations() 41 Log.w(TAG, msg); in testLogOperations() 42 Log.w(TAG, tr); in testLogOperations() 43 Log.w(TAG, msg, tr); in testLogOperations() 44 Log.i(TAG, msg); in testLogOperations() 45 Log.i(TAG, msg, tr); in testLogOperations() 46 Log.d(TAG, msg); in testLogOperations() 47 Log.d(TAG, msg, tr); in testLogOperations() [all …]
|
D | LogPrinterTest.java | 20 import android.util.Log; 31 int[] priorities = { Log.ASSERT, Log.DEBUG, Log.ERROR, Log.INFO, in testConstructor() 32 Log.VERBOSE, Log.WARN }; in testConstructor() 39 LogPrinter logPrinter = new LogPrinter(Log.DEBUG, mTag); in testPrintln()
|
/cts/suite/audio_quality/lib/src/ |
D | Log.cpp | 22 Log* Log::mInstance = NULL; 28 Log* Log::Instance(const char* dirName) in Instance() 31 mInstance = new Log(); in Instance() 36 void Log::Finalize() in Finalize() 41 void Log::printf(LogLevel level, const char* fmt, ...) in printf() 49 void Log::setLogLevel(LogLevel level) in setLogLevel() 54 Log::Log() in Log() function in Log 60 Log::~Log() in ~Log() 65 bool Log::init(const char* dirName) in init()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 27 import android.util.Log; 74 Log.v(TAG, e.toString()); in printCpuInfo() 81 Log.v(TAG, "getDuration - " + filePath); in getDuration() 87 Log.v(TAG, e.toString()); in getDuration() 90 Log.v(TAG, "Duration " + duration); in getDuration() 92 Log.v(TAG, "release"); in getDuration() 97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition() 104 Log.v(TAG, "start playback"); in getCurrentPosition() 113 Log.v(TAG, e.toString()); in getCurrentPosition() 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() [all …]
|
/cts/tests/tests/alarmclock/src/android/alarmclock/cts/ |
D | TestStartActivity.java | 24 import android.util.Log; 32 Log.i(TAG, " in onCreate"); in onCreate() 38 Log.i(TAG, " in onResume"); in onResume() 43 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 53 Log.i(TAG, " in onPause"); in onPause() 60 Log.i(TAG, " in onStart"); in onStart() 66 Log.i(TAG, " in onRestart"); in onRestart() 71 Log.i(TAG, " in onStop"); in onStop() 77 Log.i(TAG, " in onDestroy"); in onDestroy()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | TestStartActivity.java | 23 import android.util.Log; 33 Log.i(TAG, " in onCreate"); in onCreate() 39 Log.i(TAG, " in onResume"); in onResume() 44 Log.i(TAG, "received_testcasetype = " + testCaseType); in startTest() 54 Log.i(TAG, " in onPause"); in onPause() 61 Log.i(TAG, " in onStart"); in onStart() 67 Log.i(TAG, " in onRestart"); in onRestart() 72 Log.i(TAG, " in onStop"); in onStop() 78 Log.i(TAG, " in onDestroy"); in onDestroy()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExtractDecodeEditEncodeMuxTest.java | 29 import android.util.Log; 218 Log.w(TAG, "WARNING: width or height not multiple of 16"); in setSize() 290 if (VERBOSE) Log.d(TAG, "video format: " + outputVideoFormat); in extractDecodeEditEncodeMux() 295 Log.e(TAG, "Unable to find an appropriate codec for " + outputVideoFormat); in extractDecodeEditEncodeMux() 298 if (VERBOSE) Log.d(TAG, "video found codec: " + videoEncoderName); in extractDecodeEditEncodeMux() 310 Log.e(TAG, "Unable to find an appropriate codec for " + outputAudioFormat); in extractDecodeEditEncodeMux() 313 if (VERBOSE) Log.d(TAG, "audio found codec: " + audioEncoderName); in extractDecodeEditEncodeMux() 373 if (VERBOSE) Log.d(TAG, "releasing extractor, decoder, encoder, and muxer"); in extractDecodeEditEncodeMux() 384 Log.e(TAG, "error while releasing videoExtractor", e); in extractDecodeEditEncodeMux() 394 Log.e(TAG, "error while releasing audioExtractor", e); in extractDecodeEditEncodeMux() [all …]
|
D | ResourceManagerTestActivityBase.java | 27 import android.util.Log; 46 Log.d(TAG, "onInputBufferAvailable " + codec.toString()); in onInputBufferAvailable() 52 Log.d(TAG, "onOutputBufferAvailable " + codec.toString()); in onOutputBufferAvailable() 57 Log.d(TAG, "onError " + codec.toString() + " errorCode " + e.getErrorCode()); in onError() 62 Log.d(TAG, "onOutputFormatChanged " + codec.toString()); in onOutputFormatChanged() 101 Log.d(TAG, "securePlayback " + securePlayback + " will use " + info.getName()); in getTestCodecInfo() 103 Log.d(TAG, "securePlayback " + securePlayback + " skip " + info.getName()); in getTestCodecInfo() 121 Log.d(TAG, "type is: " + type); in allocateCodecs() 149 Log.d(TAG, "test skipped as there's no supported codec."); in allocateCodecs() 153 Log.d(TAG, "allocateCodecs returned " + mCodecs.size()); in allocateCodecs() [all …]
|
D | CompositionTextureView.java | 25 import android.util.Log; 41 Log.i(TAG, "CompositionTextureView"); in CompositionTextureView() 48 Log.i(TAG, "CompositionTextureView"); in CompositionTextureView() 55 Log.i(TAG, "CompositionTextureView"); in CompositionTextureView() 61 Log.i(TAG, "startListening"); in startListening() 69 Log.i(TAG, "onSurfaceTextureAvailable"); in onSurfaceTextureAvailable() 78 Log.i(TAG, "onSurfaceTextureDestroyed"); in onSurfaceTextureDestroyed() 86 Log.i(TAG, "onSurfaceTextureSizeChanged"); in onSurfaceTextureSizeChanged() 95 Log.i(TAG, "onSurfaceTextureUpdated"); in onSurfaceTextureUpdated()
|
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
D | AlmostFullTest.java | 19 import android.util.Log; 47 Log.i(TAG, "++currentCounter: " + currentCounter); in AlmostFullTest() 54 Log.i(TAG, "Filling disk"); in setUp() 60 Log.i(TAG, "free disk " + freeDisk + ", to fill " + diskToFill); in setUp() 62 Log.i(TAG, "free disk " + freeDisk + " too small, needs " + FREE_SPACE_FINAL); in setUp() 72 Log.i(TAG, "Generating file " + toFill); in setUp() 78 Log.i(TAG, "free disk " + SystemUtil.getFreeDiskSize(getContext())); in setUp() 83 Log.i(TAG, "tearDown free disk " + SystemUtil.getFreeDiskSize(getContext())); in tearDown() 85 Log.i(TAG, "--currentCounter: " + currentCounter); in tearDown() 92 Log.i(TAG, "tearDown free disk " + SystemUtil.getFreeDiskSize(getContext())); in tearDown() [all …]
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
D | NotificationBot.java | 24 import android.util.Log; 36 Log.i(TAG, "received intent: " + intent); in onReceive() 38 Log.i(TAG, ACTION_POST); in onReceive() 40 Log.e(TAG, "received post action with missing content"); in onReceive() 44 Log.i(TAG, "id: " + id); in onReceive() 46 Log.i(TAG, "n: " + n); in onReceive() 52 Log.i(TAG, ACTION_CANCEL); in onReceive() 54 Log.i(TAG, "id: " + id); in onReceive() 56 Log.e(TAG, "received cancel action with no ID"); in onReceive() 64 Log.i(TAG, "received unexpected action: " + intent.getAction()); in onReceive()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | TestStartActivity.java | 24 import android.util.Log; 34 Log.i(TAG, " in onCreate"); in onCreate() 40 Log.i(TAG, " in onResume"); in onResume() 49 Log.i(TAG, " in onPause"); in onPause() 55 Log.i(TAG, " in onStart"); in onStart() 60 Log.i(TAG, " in onRestart"); in onRestart() 64 Log.i(TAG, " in onStop"); in onStop() 70 Log.i(TAG, " in onDestroy"); in onDestroy()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 27 import android.util.Log; 71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); in handleMessage() 109 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfFailure() 117 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfSuccess() 146 Log.e(TAG, "testFileReadAccess: test file does not exists."); in testFileReadAccess() 150 Log.e(TAG, "testFileReadAccess: no permission to read test file."); in testFileReadAccess() 162 Log.e(TAG, "testFileReadAccess: failed to read test file, IOException."); in testFileReadAccess() 166 Log.e(TAG, "testFileReadAccess: failed to read test file."); in testFileReadAccess() 170 Log.e(TAG, "testFileReadAccess: wrong data read from test file."); in testFileReadAccess() 175 Log.e(TAG, "testFileReadAccess: failed to read test file, FileNotFoundException."); in testFileReadAccess() [all …]
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainRecognitionService.java | 21 import android.util.Log; 32 Log.i(TAG, "onCreate"); in onCreate() 37 Log.i(TAG, "onStartListening"); in onStartListening() 42 Log.i(TAG, "onCancel"); in onCancel() 47 Log.i(TAG, "onStopListening"); in onStopListening() 53 Log.i(TAG, "onDestroy"); in onDestroy()
|
D | MainInteractionService.java | 23 import android.util.Log; 39 Log.i(TAG, "onStartCommand received"); in onStartCommand() 41 Log.i(TAG, "received_testcasetype = " + mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in onStartCommand() 48 Log.wtf(TAG, "Can't start session because either intent is null or onReady() " in maybeStart() 51 Log.i(TAG, "Yay! about to start MainInteractionSession"); in maybeStart() 55 Log.i(TAG, "xferring_testcasetype = " + args.getString(Utils.TESTCASE_TYPE)); in maybeStart() 58 Log.wtf(TAG, "**** Not starting MainInteractionService because" + in maybeStart()
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainRecognitionService.java | 21 import android.util.Log; 32 Log.i(TAG, "onCreate"); in onCreate() 37 Log.i(TAG, "onStartListening"); in onStartListening() 42 Log.i(TAG, "onCancel"); in onCancel() 47 Log.i(TAG, "onStopListening"); in onStopListening() 53 Log.i(TAG, "onDestroy"); in onDestroy()
|
D | MainInteractionService.java | 31 import android.util.Log; 53 Log.i(TAG, "onStartCommand received - intent: " + intent); in onStartCommand() 61 Log.wtf(TAG, "Can't start session because either intent is null or onReady() " in maybeStart() 72 Log.i(TAG, "Registered receiver to start session later"); in maybeStart() 77 Log.i(TAG, "Registered receiver for resuming activity"); in maybeStart() 81 Log.i(TAG, "Yay! about to start session"); in maybeStart() 89 Log.wtf(TAG, "**** Not starting MainInteractionService because" + in maybeStart() 98 Log.i(MainInteractionService.TAG, "Recieved broadcast to start session now."); in onReceive() 101 Log.i(MainInteractionService.TAG, "trying to start 3p activity: " + testCaseName); in onReceive() 111 Log.i(TAG, "starting the 3p app again"); in onReceive() [all …]
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainRecognitionService.java | 21 import android.util.Log; 32 Log.i(TAG, "onCreate"); in onCreate() 37 Log.i(TAG, "onStartListening"); in onStartListening() 42 Log.i(TAG, "onCancel"); in onCancel() 47 Log.i(TAG, "onStopListening"); in onStopListening() 53 Log.i(TAG, "onDestroy"); in onDestroy()
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
D | MainRecognitionService.java | 21 import android.util.Log; 32 Log.i(TAG, "onCreate"); in onCreate() 37 Log.i(TAG, "onStartListening"); in onStartListening() 42 Log.i(TAG, "onCancel"); in onCancel() 47 Log.i(TAG, "onStopListening"); in onStopListening() 53 Log.i(TAG, "onDestroy"); in onDestroy()
|
D | MainInteractionService.java | 24 import android.util.Log; 39 Log.i(TAG, "onStartCommand received"); in onStartCommand() 41 Log.i(TAG, "received_testcasetype = " + mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in onStartCommand() 48 Log.wtf(TAG, "Can't start session because either intent is null or onReady() " in maybeStart() 51 Log.i(TAG, in maybeStart() 56 Log.i(TAG, "xferring_testcasetype = " + args.getString(Utils.TESTCASE_TYPE)); in maybeStart() 59 Log.wtf(TAG, "**** Not starting MainInteractionService because" + in maybeStart()
|
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/ |
D | LifecycleActivity.java | 22 import android.util.Log; 30 Log.i(TAG, "LifecycleActivity created"); in onCreate() 36 Log.i(TAG, "Activity has resumed"); in onResume() 43 Log.i(TAG, "activity was paused"); in onPause() 50 Log.i(TAG, "activity was stopped"); in onStop() 57 Log.i(TAG, "activity was destroyed"); in onDestroy()
|
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/ |
D | Camera2Activity.java | 27 import android.util.Log; 42 Log.i(TAG, "onCreate called."); in onCreate() 50 Log.i(TAG, "onPause called."); in onPause() 56 Log.i(TAG, "onResume called."); in onResume() 81 Log.i(TAG, "Camera " + cameraId + " is available"); in onResume() 89 Log.i(TAG, "Camera " + cameraId + " is unavailable"); in onResume() 100 Log.i(TAG, "Camera " + chosen + " is opened"); in onResume() 107 Log.i(TAG, "Camera " + chosen + " is disconnected"); in onResume() 114 Log.e(TAG, "Camera " + chosen + " onError called with error " + i); in onResume() 120 Log.e(TAG, "Access exception: " + e); in onResume() [all …]
|
D | Camera1Activity.java | 23 import android.util.Log; 39 Log.i(TAG, "onCreate called."); in onCreate() 47 Log.i(TAG, "onResume called."); in onResume() 61 Log.e(TAG, "onError called with event " + i + ", camera evicted"); in onResume() 65 Log.e(TAG, "onError called with event " + i + ", camera error"); in onResume() 74 Log.e(TAG, "Runtime error: " + e); in onResume() 80 Log.i(TAG, "onPause called."); in onPause() 86 Log.i(TAG, "onDestroy called."); in onDestroy()
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 22 import android.util.Log; 52 Log.d(TAG, "Started with " + received); in onCreate() 57 Log.d(TAG, "Requesting permission " + mPermission); in onCreate() 60 Log.d(TAG, "Checking permission " + mPermission); in onCreate() 63 Log.w(TAG, "Unknown intent received: " + received); in onCreate() 74 Log.d(TAG, "Received wrong permissions result"); in onRequestPermissionsResult() 77 Log.d(TAG, "Received valid permission result: " + grantResults[0]); in onRequestPermissionsResult() 83 Log.d(TAG, "Sending result broadcast: " + result); in sendResultBroadcast()
|